List of commands

Each command has its explanation on the right side, if any command does not work, you can check if you used its syntax correctly, you can later claim it in a ticket.

Command
Description

/closeinv

Closes the player's inventory instantly.

/inventory

Opens the player's inventory instantly.

/hotbar

Opens the player's hotbar instantly.

/handsup

Raise your hands and enable the button to draw from said player if you open the inventory in a close range of the player.

/searchplayer

Search the nearest player to steal or check their items.

/randomitems

Test command that will give you a random amount of items, used for general testing of the asset.

/resetinv [id]

Resets the selected player's inventory.

/clearinv [id]

Clears the selected player's inventory and leaves it completely empty.

/giveitem [id] [item] [count]

Deliver items to a specific player, selecting his id, item name and quantity, he sends items and also sends weapons.

/giveweapon [id] [weapon] [ammo]

Deliver only weapons, you must select the id, weapon and number of ammo.

/repairweapon [id]

Repairs the weapons of the selected player through his id, all weapons go to 100% durability.

/openinventorytarget [id]

Administrative command to check the inventory of a target player.


How to execute commands using code

This step is very simple, you can use ExecuteCommand('command') anywhere in your code, but for this you should read the ExecuteCommand usage guide at the following link.

How to execute commands

Last updated