Commands - jojodmo/CustomItems GitHub Wiki

Commands

Alot of the permissions are listed below for each command the rest can be found on the Permissions page, here

All commands are prefixed by the main command "/customitems or /cui"

Arguments in [] are mandatory Arguments in {} are optional

/cui list

Click for Description and example's and Permissions
Use : /cui list

Description : Opens a GUI containing all custom items 

Permissions:

customitems.list

Allows the usage of /customitems list

customitems.list.category.[category]

Allows the player to see the category [category] in /customitems list
Does Not grant permission to view the items in the category

customitems.list.category.*

Allows the player to see all categories in /customitems list
Does Not grant permission to view the items in the categories

customitems.list.item.[item]

Allows the player to see the item with the id [item] in /customitems list
Does Not grant permission to see the category that it's in

customitems.list.item.*

Allows the player to see all items, or, if you're using categories, allows them to see all of the items in the categories they have permission to see

customitems.list.item.category.[category]

Allows the player to see all items in the category [category]
Does Not grant permission to see the category itself. You should almost always also give the permission customitems.list.category.[category] with this permission

customitems.list.*

Allows the player to see all items and categories in /customitems list


/cui inspect

Click for Description and example's and Permissions
Use : /cui inspect

Description : Opens a GUI containing information about item in the player's hand

Permissions:

customitems.inspect.[item]

Allows the usage of /customitems inspect when holding the item [item]

customitems.inspect.native

Allows the usage of /customitems inspect when holding any native Minecraft item

customitems.inspect.*

Allows the usage of /customitems inspect when holding any item


/cui info

Click for Description and example's and Permissions
Use : /cui info [Item]

Info : 
[Item] = the id of the custom item to lookup

Description : Opens a GUI containing information about the specified item

Permissions:

customitems.info.[item]

Allows the usage of /customitems info [item], as well as /customitems inspect when holding this item

customitems.info.native

Allows the usage of /customitems info [native item], as well as /customitems inspect when holding any native Minecraft item

customitems.info.*

Allows the usage of /customitems info [item], as well as /customitems inspect when holding any item


/cui scan

Click for Description and example's and Permissions
Use : /cui scan

Description : Prints internal information about the item in the player's hand — it's item ID and the variables on it

Permissions:

customitems.scan

Allows usage of /customitems scan


/cui give

Click for Description and example's and Permissions
Use : /cui give [Player] [Item] {Amount}

Info :
[Player] = Player name
[Item] = the id of the custom item to lookup
{Amount} Amount of items Default is 1

Description : Gives a player a number of a custom item

Permissions:

customitems.give

Allows the usage of /customitems <give/get> Does not allow the player to run /customitems give @a

customitems.giveall

Allows the usage of /customitems give @a <item>, which gives all players <item>


/cui get

Click for Description and example's and Permissions
Use : /cui get [Item] {Amount}

Info : 
[Item] = the id of the custom item to lookup
{Amount} Amount of items Default is 1

Description : Gives yourself a number of a custom item

Permissions:

customitems.get

Allows the usage of /customitems get but NOT /customitems give


/cui take

Click for Description and example's and Permissions
Use : /cui take [Item] {Amount}

Info : 
[Item] = the id of the custom item to lookup
[Amount} Amount of items Default is 1

Description : Takes a number of a custom item from a player

Permissions:

customitems.take

Allows the usage of /customitems take


/cui repair

Click for Description and example's and Permissions
Use : /cui repair

Description : Repairs the item in your hand

Permissions:

customitems.repair

Allows the usage of /customitems repair


/cui create

Click for Description and example's and Permissions
Use : /cui create [ItemName]

Info : 
[ItemName] = The custom name you want your item to have

Description : Opens a GUI to create a custom item

Permissions:

customitems.create

Allows usage of /customitems create and /customitems edit


/cui edit

Click for Description and example's and Permissions
Use : /cui edit [ItemName]

Info : 
[ItemName] = The custom name you want your item to have

Description : Opens a GUI to edit a custom item

Permissions:

customitems.create

Allows usage of /customitems create and /customitems edit


/cui setblock

Click for Description and example's and Permissions
Use : /cui setblock [ItemName] [World] [x] [y] [x]

Info : 
[ItemName] = The custom name you want your item to have
[World] = the world you want to use
[x,y,z] = Coordinates for where you want the block

Description : Sets the block at the specified location to the item ID provided

Permissions:

customitems.setblock

Allows the usage of /customitems setblock


/cui drop

Click for Description and example's and Permissions
Use : /cui drop [ItemName] [World] [x] [y] [x] [amount] {naturally} {silent}

Info : 
[ItemName] = The custom name you want your item to have
[World] = the world you want to use
[x,y,z] = Coordinates for where you want the block
[amount] = Amount you want to drop
{naturally & silent} = true or false

{naturally} = By default, the item "pops" as if dropped by mining a block or slaying an entity. Set naturally to false to make the item drop without "popping"
{silent} = Making a message not show in colsole it running the command.

Description : Drops the item at the specified location

Example: /cui drop coal World -31 75 -69 1 true true

Permissions:

customitems.drop

Allows the usage of /customitems drop


/cui reload

Click for Description and example's and Permissions
Use : /cui reload

Info : 
This command isn't supported and should only be used for testing.
You should always restart your server to ensure your changes take effect.

Description : Reloads the item files.

Permissions:

customitems.reload

Allows the usage of /customitems reload


/cui blockstorage

Click for Description and example's and Permissions
Use : /cui blockstorage {migrate/verify} [migrate-from] [migrate-to]

Info : 
If you're running /cui blockstorage migrate
migrate-from and migrate-to can be SQLite, MySQL, YAML

Description : Manage blockstorage settings

Permissions:

?

⚠️ **GitHub.com Fallback** ⚠️