Commands

List of useful commands for the basic functions of your server using our asset, you can execute them using ExecuteCommand or read them informatively.

CommandDescription

/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

Last updated