This Is V2 since the last one got wiped from my computer
This is my first plugin Please join the discord and tell me how i can improve Join the discord HERE
This has in-game reward adding crate Creation works on 1.21.11 will continue to improve more if people are interested
TAB COMPLETION IS A FEATURE
Click here to go to website
This is not a visual plugin its not pretty its basic
i spent 5 hours making it as simple use as possible because in all honestly this was easier for me than finding a plugin that can do the same thing i aim to update this a much as possible
The Plugin has full NBT memory so it can remember names of items it can remember enchants im working on luckperms integration so people can win permissions and commands
Bellow is all the commands so far
Commands
- /crates (alias: /crate)
- admin: Open Admin GUI (permission: crates.command.admin)
- editor: Open Editor GUI (permission: crates.command.editor)
- preview <crate>: Preview crate rewards (permission: crates.command.preview)
- open: Open crate with key in hand (permission: crates.command.open)
- create <id> [display name]: Create a new crate (permission: crates.command.create)
- delete <id>: Delete a crate (permission: crates.command.delete)
- rename <id> <new name>: Rename a crate (permission: crates.command.rename)
- keyname <id> <new key name>: Rename a crate key (permission: crates.command.keyname)
- set <crate>: Set a crate block at looked-at position (permission: crates.command.set)
- setkey <crate>: Set held item as crate key (permission: crates.command.setkey)
- additem <crate> <chance>: Add held item as reward with chance (permission: crates.command.additem)
- addreward <crate> <chance>: Alias of additem (permission: crates.command.additem)
- removereward <crate> <index|name>: Remove a reward by index or name (permission: crates.command.removereward)
- reload: Reload plugin configuration and crates (permission: crates.command.reload)
- /key <give|take> <player> <crate> [amount]: Give or take crate keys (permission: crates.command.key)
- Alias /key <player> ... is treated as 'give' for backward compatibility.
Permissions
- crates.command.admin (default: op)
Description: Allows access to the admin GUI.
- crates.command.editor (default: op)
Description: Allows access to the editor GUI.
- crates.command.key (default: op)
Description: Allows giving crate keys.
- crates.command.set (default: op)
Description: Allows setting crate blocks.
- crates.command.setkey (default: op)
Description: Allows setting crate keys.
- crates.command.additem (default: op)
Description: Allows adding items to crates.
- crates.command.reload (default: op)
Description: Allows reloading the plugin.
- crates.command.preview (default: true)
Description: Allows previewing crates.
- crates.command.open (default: true)
Description: Allows opening crates with /crates open.
- crates.command.create (default: op)
Description: Allows creating crates.
- crates.command.delete (default: op)
Description: Allows deleting crates.
- crates.command.rename (default: op)
Description: Allows renaming crates.
- crates.command.keyname (default: op)
Description: Allows renaming crate keys.
This is my first plugin Please join the discord and tell me how i can improve Join the discord HERE
This has in-game reward adding crate Creation works on 1.21.11 will continue to improve more if people are interested
TAB COMPLETION IS A FEATURE
Click here to go to website
This is not a visual plugin its not pretty its basic
i spent 5 hours making it as simple use as possible because in all honestly this was easier for me than finding a plugin that can do the same thing i aim to update this a much as possible
The Plugin has full NBT memory so it can remember names of items it can remember enchants im working on luckperms integration so people can win permissions and commands
Bellow is all the commands so far
Commands
- /crates (alias: /crate)
- admin: Open Admin GUI (permission: crates.command.admin)
- editor: Open Editor GUI (permission: crates.command.editor)
- preview <crate>: Preview crate rewards (permission: crates.command.preview)
- open: Open crate with key in hand (permission: crates.command.open)
- create <id> [display name]: Create a new crate (permission: crates.command.create)
- delete <id>: Delete a crate (permission: crates.command.delete)
- rename <id> <new name>: Rename a crate (permission: crates.command.rename)
- keyname <id> <new key name>: Rename a crate key (permission: crates.command.keyname)
- set <crate>: Set a crate block at looked-at position (permission: crates.command.set)
- setkey <crate>: Set held item as crate key (permission: crates.command.setkey)
- additem <crate> <chance>: Add held item as reward with chance (permission: crates.command.additem)
- addreward <crate> <chance>: Alias of additem (permission: crates.command.additem)
- removereward <crate> <index|name>: Remove a reward by index or name (permission: crates.command.removereward)
- reload: Reload plugin configuration and crates (permission: crates.command.reload)
- /key <give|take> <player> <crate> [amount]: Give or take crate keys (permission: crates.command.key)
- Alias /key <player> ... is treated as 'give' for backward compatibility.
Permissions
- crates.command.admin (default: op)
Description: Allows access to the admin GUI.
- crates.command.editor (default: op)
Description: Allows access to the editor GUI.
- crates.command.key (default: op)
Description: Allows giving crate keys.
- crates.command.set (default: op)
Description: Allows setting crate blocks.
- crates.command.setkey (default: op)
Description: Allows setting crate keys.
- crates.command.additem (default: op)
Description: Allows adding items to crates.
- crates.command.reload (default: op)
Description: Allows reloading the plugin.
- crates.command.preview (default: true)
Description: Allows previewing crates.
- crates.command.open (default: true)
Description: Allows opening crates with /crates open.
- crates.command.create (default: op)
Description: Allows creating crates.
- crates.command.delete (default: op)
Description: Allows deleting crates.
- crates.command.rename (default: op)
Description: Allows renaming crates.
- crates.command.keyname (default: op)
Description: Allows renaming crate keys.
