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