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.
-
View User Profile
-
Send Message
Posted May 10, 2015@KirillKonyaev
Keys will be never added. :)
-
View User Profile
-
Send Message
Posted May 9, 2015Please. Add key for box, please.
-
View User Profile
-
Send Message
Posted May 3, 2015I love you! Gratitude beyond words! I want to sleep! Good night!
-
View User Profile
-
Send Message
Posted May 3, 2015@qqlikebu
Open plugin config in plugins/RandomBox/config.yml, find 'metrics: true' and replace it with 'metrics: false'. Don't touch anything else.
-
View User Profile
-
Send Message
Posted May 3, 2015# http://mcstats.org
opt-out: false
guid: 7989df51-9654-4d04-ba5d-eba338c9c227
debug: false
is false way error?
-
View User Profile
-
Send Message
Posted May 3, 2015Very, very grateful! I get it! The last question!
How to false [metrics] error?
i Love You! You are one of the best developer!
-
View User Profile
-
Send Message
Posted May 3, 2015@qqlikebu
This is metrics error, not plugin. Set 'metrics' setting in config to false.
-
View User Profile
-
Send Message
Posted May 3, 2015[23:24:12 WARN]: org.apache.commons.lang.UnhandledException Plugin RandomBox v2
.2 generated an exception while executing task 2
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyn
cTask.java:56
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError org.bukkit.Server.getOnlinePlayers()Ljav
a/util/Collection;
at saharnooby.randombox.metrics.MetricsLite.postPlugin(MetricsLite.java:
287)
at saharnooby.randombox.metrics.MetricsLite.access$3(MetricsLite.java:28
0)
at saharnooby.randombox.metrics.MetricsLite$1.run(MetricsLite.java:175)
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java
:53)
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyn
cTask.java:53
... 3 more
[23:24:12 WARN]: Could not get latest artifact information: FileNotFoundExceptio
n
Even Added UTF8,error! OGM! I'm going crazy T A T
-
View User Profile
-
Send Message
Posted May 3, 2015@qqlikebu
-
View User Profile
-
Send Message
Posted May 3, 2015@echo OFF
title BC登陆端:25566
"C:\Program Files\Java\jre7\bin\java.exe" -Xincgc -Xmx1024M -XX:MaxPermSize=128M -jar Spigot.jar -nojline
This is my .bat how to modify? Very grateful!
My English is very bad! Sorry!
-
View User Profile
-
Send Message
Posted May 3, 2015@qqlikebu
And don't use 2.2, it contains a serious bug.
-
View User Profile
-
Send Message
Posted May 3, 2015@qqlikebu
OMG, please, use PasteBin. Add "-Dfile.encoding=UTF-8" argument in your server launch script (.bat or .sh).
-
View User Profile
-
Send Message
Posted May 3, 2015BUKKIT 2.2 version does not work or will not work SPIGOT error:
[23:04:56 INFO]: [RandomBox] Enabling RandomBox v2.2
[23:04:56 INFO]: [RandomBox] Loading config...
[23:04:56 INFO]: [RandomBox] Created default config.
[23:04:56 ERROR]: Cannot load plugins\RandomBox\config.yml
org.bukkit.configuration.InvalidConfigurationException unacceptable character '
?' (0xFFFD) special characters are not allowed
in "<string>", position 8157
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlCo
nfiguration.java:55 ~[Spigot.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguratio
n.java:149) ~[Spigot.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguratio
n.java:114) ~[Spigot.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(Yam
lConfiguration.java:176 [Spigot.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:150) [
Spigot.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at saharnooby.randombox.RandomBox.loadConfig(RandomBox.java:54) [RandomB
ox.jar]
at saharnooby.randombox.RandomBox.onEnable(RandomBox.java:78) [RandomBox
.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) [Sp
igot.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
-
View User Profile
-
Send Message
Posted May 3, 2015@Dyenx999
If you want to edit plugin messages, go to 'plugins/RandomBox/locales/' and open file 'en.yml'. Here is all messages.
-
View User Profile
-
Send Message
Posted May 3, 2015@saharNooby
Can u please add a langauge.yml please
-
View User Profile
-
Send Message
Posted May 3, 2015@xQxQx
See "Changelog" section :)
-
View User Profile
-
Send Message
Posted May 3, 2015-
View User Profile
-
Send Message
Posted Mar 21, 2015@Bajads
Create new section by copying other box section, change box id and items.
-
View User Profile
-
Send Message
Posted Mar 21, 2015How do you make multiple different boxes? (warrior, potions...)
-
View User Profile
-
Send Message
Posted Mar 10, 2015@captainlewiz110
If you said about this, then just use instructions from "CE's in Kits" section.