RandomBox
Since bukkit.org reviews every plugin file and this process takes from one to several days, you may want to get updates from RandomBox page on SpigotMC, where plugin updates become available instantly.
RandomBox adds random boxes (the items that can drop you other random items) to your server.
Random box (or just box) is an enchanted item with custom name and lore (which contains list of names and amounts of items, that can drop).
GitHub source code | SpigotMC plugin page (I'm more active here. Updates are still going to be posted on both sites).
Videos
GUI
RandomBlocks
Configuring Plugin
You can read about Randombox configuration at documentation page.
Commands
- /givebox <player> <box id>: gives box to player.
- /openbox: opens the box in your hand.
- /randombox, /rb: plugin info.
- /randombox reload: reload config from disk.
- /randombox list: show all boxes in config.
- /randomblock create <box id> <cost or 0>: create a RandomBlock (it will open box gui, when player clicks on it).
- /randomblock remove: remove RandomBlocks
Permissions
- randombox.*: Allows you to do everything.
- randombox.main: Allows you to use /randombox command.
- randombox.main.reload: Allows you to reload plugin config.
- randombox.openbox: Allows you to open boxes.
- randombox.givebox: Allows you to give boxes.
- randombox.infinitebox: The box will not dissapear after opening (to use this permission, you need to set "useInfinitePermission" to true).
- randombox.open.<box id>: Allows you to open boxe with <id>. Checks, only if value checkPermission in box config set to true.
- randombox.open.*: Allows you to open all boxes. Checks, only if value checkPermission in box config set to true.
- randombox.randomblock: Allows you to create and remove RandomBlocks.
Video-guides
Slovak
Português
Changelog
Changelog is available on SpigotMC updates page.
"Unacceptable character '?' (0xFFFD)"
If you are getting this error when server starts, add "-Dfile.encoding=UTF-8" argument in your server launch script.
Boxes have been parsed, but doesn't open!
Check whether the box id starts with 0. If so, remove these zeros; if not -- write a bug report.
Can you increase your odds of 1/1000 or 1/10000?
@saharNooby great
@Takaishii
What did you mean? Out the gui?
Hey, is it possible to deny to grab items out the box?
@ABugsTheater
@MC_DeWil
Inventory bug fixed.
@MC_DeWil
I will see, what's the problem ^:(
@MC_DeWil
You get not current items, but other random items.
Another Bug: Thoose items, the player won are completely unmoveble in inventories or chests etc. Only dropping works.
Using Spigot 1.8.7 and Latest 2.4.1
Bug: When the random generator starts, it is possible to just press escape to get the current item(s) / to stop rotating !
Hi! Very nice plugin, but i have the same issue as AbugsTheater, once you open a box, you are not able to use GUI anymore (even your inventory), if you are in creativemode, when you take an item it just remove it instantly '
Using Spigot 1.8.8 and randombox v2.4.1
@ABugsTheater
Lol, that's VEEERY strange. What's your version of server?
@saharNooby
Ok so the duplication bug is gone but now when I recreate the bug it disables my ability to use ANY Gui in my server...
EDIT: After some testing, I found that if a player uses this plugin at all it will now disable that player's ability to use any Gui on the server until they log off and log back on...
@ABugsTheater
I think the bug is fixed now.
@djager339
Версия какая?
@ABugsTheater
Sorry for that, I just often don't read comments. I'll fix it soon.
Wow, out of your 17-18 updates you still haven't fixed the biggest problem of them all, the duplication bug...
To those server owners looking at this plugin I suggest that you prepare to NOT use this plugin, and look elsewhere for one that focuses on finding problems and actually fixing them...
If you want to recreate this duplication bug, simply shift+right click and press E at the same time on the 'spinning' items and the plugin will give you the item that you preformed this action on...
Welp off to look for a plugin that works I guess...
There is a serious problem! From GUI can take an object, the one that you want ... at the time of the draw Fix please.
Very good Plugin!! Good Job My Friend <3 :)
Create plugin on the cases and keys, please ^_^
@KirillKonyaev
Plugin created for simple boxes, not for cases and keys, sorry.
Please, saharNooby ^_^