Documentation
Commands
Code (Text):
/db <name> - Retrieve an item from the database
/db add <name> - Save the item in your main hand
/db remove <name> - Delete an item from the database
/db giveitem <name> <player> - Give an item to another player
/db show - Open the Items GUI
Permissions
Code (Text):
net.devvoxel.itemdb.use - Use /db <name>
net.devvoxel.itemdb.add - Use /db add <name>
net.devvoxel.itemdb.remove - Use /db remove <name>
net.devvoxel.itemdb.giveitem - Use /db giveitem <name> <player>
net.devvoxel.itemdb.show - Use /db show
net.devvoxel.itemdb.* - Access to all ItemDB commands
Configuration
Code (YAML):
config.yml
Prefix
:
"&8[&cItemDB&8]&7 "
Database:
Type
:
"mysql"
Host
:
"127.0.0.1"
Port
: 3306
Database
:
"itemdb"
User
:
"root"
Password
:
"password"
Table
:
"itemdb_items"
messages.yml
no-permission
:
"&cYou don't have permission to do that!"
only-players
:
"{prefix}&cThis command can only be executed by players."
item-added
:
"{prefix}&aItem &e{name}&a has been saved."
item-exists
:
"{prefix}&cItem &e{name}&c already exists."
no-hand
:
"{prefix}&cYou must hold an item in your hand."
item-removed
:
"{prefix}&aItem &e{name}&a has been removed."
item-not-found
:
"{prefix}&cItem &e{name}&c was not found."
item-given-self
:
"{prefix}&aYou have received &e{name}&a."
item-given-other
:
"{prefix}&aYou gave &e{name}&a to &e{player}&a."
player-not-found
:
"{prefix}&cPlayer &e{player}&c was not found."
gui-title
:
"ItemDB » Items"
gui-lore
:
-
"&7Click to receive this item."
- "&8Name
:
&f{name}"
- "&8Source
:
&fItemDB"
gui-back
:
"&aBack"
gui-next
:
"&aNext"
gui-close
:
"&cClose"
Metrics
This plugin uses
bStats to collect anonymous usage data (server count, Minecraft version, etc.).
You can disable this at any time in the config.