Jump to content

Commands Item 2.0.2

$15.00
   (4 reviews)
Message added by YaMang-w-,

Backup your config and language files!!!

 

Version 2.0.0 now requires item display names to match in order for the command to execute

If you are inserting command items into loot table, or a shop be sure to match item display name

If you are using Rust Kits, you can change display name in the kits_data.json data file

(thanks translate help Zoreeno)

1 Screenshot

  • 6,056
  • 146
  • 35.75 kB

Works with

About Commands Item

 

Add commands to items. Press Unwrap to run the command. And Throw Items (smoke, f1, etc...)

Effect List: Effects | https://umod.org/plugins/effects-panel 

Config:

{
  "General Settings": {
    "Prefix": "<color=#5892bf>[Commands-Item]</color>\n",
    "SteamID": 0,
    "Commands": "ci",
    "Use Throw Commands": true,
    "Debug": false
  },
  "Item Settings (custom name)": {
    "Supply Space Fanny Drop": {
      "Item short name": "grenade.smoke",
      "Item skin": 2867732572,
      "Commands": [
        "ad.dropspace $player.id"
      ],
      "Message on use (leave blank for no message)": "Warning Space Drop !!",
      "Cooldown (0 for disable - ※second※)": 0,
      "Sound Effect (blink notting)": null,
      "Effect (blink notting)": "assets/bundled/prefabs/fx/smoke_signal_full.prefab",
      "Flags": [
        ""
      ]
    },
    "Teleport Granade": {
      "Item short name": "grenade.smoke",
      "Item skin": 2814909703,
      "Commands": [
        "teleport.topos $player.id $entity.x $entity.y $entity.z"
      ],
      "Message on use (leave blank for no message)": "Teleporting",
      "Cooldown (0 for disable - ※second※)": 0,
      "Sound Effect (blink notting)": null,
      "Effect (blink notting)": null,
      "Flags": [
        "IsBuildingBlock",
        "IsPlayerInZone-12345-123123"
      ]
    },
    "Unwarp Space Drop": {
      "Item short name": "xmas.present.medium",
      "Item skin": 2814909703,
      "Commands": [
        "ad.dropspace $player.id"
      ],
      "Message on use (leave blank for no message)": "Warning Space Drop !!",
      "Cooldown (0 for disable - ※second※)": 0,
      "Sound Effect (blink notting)": null,
      "Effect (blink notting)": null,
      "Flags": [
        ""
      ]
    },
    "Abcde": {
      "Item short name": "grenade.smoke",
      "Item skin": 2814909703,
      "Commands": [
        "teleport.topos $player.id $entity.x $entity.y $entity.z"
      ],
      "Message on use (leave blank for no message)": "Teleporting",
      "Cooldown (0 for disable - ※second※)": 0,
      "Sound Effect (blink notting)": null,
      "Effect (blink notting)": null,
      "Flags": [
        ""
      ]
    }
  },
  "Version": {
    "Major": 2,
    "Minor": 0,
    "Patch": 0
  }
}

Permission:

CommandsItem.allow - access command

Lang:

{
  "NotExist": "<color=#d0d0d0>Item (<color=orange>{0}</color>) could not be found. Please use a valid SkinID!</color>\n<color=#5892bf>Usage: /{1} <skinid></color>",
  "UsageCI": "<color=red>Usage Sta: /{0} <Name> [Amount]</color>",
  "InvFull": "<color=#d0d0d0>Inventory is full. Clear some space and try again!</color>",
  "Received": "<color=yellow>[{0}] Was added to your inventory.</color>",
  "NoPerm": "<color=#d0d0d0>You dont have permission!</color>",
  "HasCooldown": "<color=yellow>{0}</color> <color=red>can be used after {1}</color>"
}

 

Flags:

  • IsBuildingBlock - Unusable while player is build block
  • IsSwimming - Unusable while player is swimming
  • InSafeZone - Unusable while player is  in safe zone
  • IsBleeding - Unusable while player is bleeding
  • IsPlayerInZone - Unusable while player is special zone ※Require Zone Manager※
  • IsPlayerInGrid - Unusable while player is special grid

 

Format:

  • pconsole - player input console ex) pconsole chat.say /shop
  • $player.id - player steam id
  • $player.name - player name
  • $player.x - player x location
  • $player.y - player y location
  • $player.z - player z location
  • $entity.x - entity x location (※Only Throw Items※)
  • $entity.y - entity z location (※Only Throw Items※)
  • $entity.z - entity y location (※Only Throw Items※)

 

@Azmo idea Thanks 😄 image, text fleids

  • Like 3
  • Love 1

User Feedback

549.5k

Downloads

Total number of downloads.

3.1k

Customers

Total customers served.

40.9k

Files Sold

Total number of files sold.

708.9k

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.