Rewards bag
- Overview:
This plugin add some Rewards bag like in the mod Hardcore questing mode. There is 8 bag with some fun loots. This plugin can be use like an API, see below for more information.
- New:Added bag: Hats
- For 1.7: One commands avaible(/rb hats)
- New:Added bag: Hats
- Bag:
/I\Don't forget to uptade the config if you were using an old version
There is 8 types of bag (craft then right click and don't forget to pick item or you will lose them). You can disable each bag in the config. Mobs and players drops rewards bag (1/1000 to drop a legendary by kiling mobs and 1/100 by killing a player)
1. Basic:
craft: [A] = wood | [B] = redstone
[A][A][A]
[A][B][A]
[A][A][A]
2. Good:
craft: [A] = Quartz block | [B] = lapis lazuli
[A][A][A]
[A][B][A]
[A][A][A]
3. Greater:
craft: [A] = Ender stone | [B] = emerald
[A][A][A]
[A][B][A]
[A][A][A]
4. Epic:
craft: [A] = Iron block | [B] = Diamond
[A][A][A]
[A][B][A]
[A][A][A]
5. Legendary:
craft: [A] = Diamond block | [B] = nether star
[A][A][A]
[A][B][A]
[A][A][A]
6. Effect:(Produce 8 bag)
craft: [A] = ghast tear | [B] = Water bottle
[A][A][A]
[A][B][A]
[A][A][A]
7. Field:
craft: [A] = Dirt | [B] = Bone meal
[A][A][A]
[A][B][A]
[A][A][A]
8. Hats:
craft: [A] = Diamond | [B] = Emeraldl
[A][A][A]
[A][B][A]
[A][A][A]
- Configuration:
In the config file, you can disable:
-recipe(set it to false)
-basic(set it to false)
-good(set it to false)
-greater(set it to false)
-epic(set it to false)
-legendary(set it to false)
-effect(set it to false)
-field(set it to false)
-mobs loot(set it to false)
-players loot(set it to false)
You can now configure the loot. You need to set to value (min and max). If the random number is between min and max, it will be drop. The "max" at the end is the maximum number which can be choose (so the random number is between 0 and "max").
- Commands & permissions:
/rb bag: show you all the bag.
/rb give <bag> <amount>: Give you some bag.(You need the permission RewardsBag.give)
/rb help: show you the help
/rb stats <player>: Show you player stats.(You need the permissions RewardsBag.stats)
/rb resetstats <player>: Reset stats for a player.(You need the permissions RewardsBag.resetstats)
/rb hats: Equip the block you held (Blocks can only provide from the bag hat), (You need the permissions RewardsBag.hat), (This command is avaible on the version 1.7)
- API:
Little change, you can now set the amount of bag
Add the plugin to your libraries. Then add this:
public boolean setupRB(){ me.saphirant.rewardsBag.Main apiRB = (me.saphirant.rewardsBag.Main) Bukkit.getServer().getPluginManager().getPlugin("RewardsBag"); return (apiRB != null); }
and in the onEnable():
setubRB();
Now to give a bag to a player (with p a Player & i an int):
RBapi.basicbag(p,i); RBapi.goodbag(p,i); RBapi.greaterbag(p,i); RBapi.epicbag(p,i); RBapi.legendarybag(p,i); RBapi.effectbag(p,i); RBapi.fieldbag(p,i); RBapi.hatbag(p,i);
or you can drop a reward bag(with e an Entity for the location & i an int):
RBapi.dropbasicbag(e,i); RBapi.dropgoodbag(e,i); RBapi.dropgreaterbag(e,i); RBapi.dropepicbag(e,i); RBapi.droplegendarybag(e,i); RBapi.dropeffectbag(e,i); RBapi.dropfieldbag(e,i); RBapi.drophatbag(e,i);
- Other:
If you have suggestions for more loots or more bags.
- Thanks all for download :p
If you want to donate for my job: DONATE
- Thanks all for download :p
-
View User Profile
-
Send Message
Posted Dec 17, 2017Hi, are you going to upgrade it to 1.8.9?
-
View User Profile
-
Send Message
Posted Aug 21, 2016Could it be possible for the reward bags to drop instead of crafting them? The tier one drops has a 2% chance to drop, the ucommon a 1% the rare a .5% the legendary a .1%
Something like that and can be configurable.
-
View User Profile
-
Send Message
Posted Dec 8, 2015im using the latest j7 version but when i am using the command a getting this error [08-12 22:19:29 ] [Server] [Informatie] org.bukkit.command.CommandException: Unhandled exception executing command 'rb' in plugin RewardsBag v1.5.1 [08-12 22:19:29 ] [Server] [Informatie] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot1.8.7.jar:git-Spigot-6d16e64-09ddd9b] [08-12 22:19:29 ] [Server] [Informatie] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot1.8.7.jar:git-Spigot-6d16e64-09ddd9b] [08-12 22:19:29 ] [Server] [Informatie] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:640) [spigot1.8.7.jar:git-Spigot-6d16e64-09ddd9b] [08-12 22:19:29 ] [Server] [Informatie] at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1135) [spigot1.8.7.jar:git-Spigot-6d16e64-09ddd9b] [08-12 22:19:29 ] [Server] [Informatie] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:970) [spigot1.8.7.jar:git-Spigot-6d16e64-09ddd9b] [08-12 22:19:29 ] [Server] [Informatie] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot1.8.7.jar:git-Spigot-6d16e64-09ddd9b] [08-12 22:19:29 ] [Server] [Informatie] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot1.8.7.jar:git-Spigot-6d16e64-09ddd9b] [08-12 22:19:29 ] [Server] [Informatie] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot1.8.7.jar:git-Spigot-6d16e64-09ddd9b] [08-12 22:19:29 ] [Server] [Informatie] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_79] [08-12 22:19:29 ] [Server] [Informatie] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_79] [08-12 22:19:29 ] [Server] [Informatie] at net.minecraft.server.v1_8_R3.SystemUtils.a(SystemUtils.java:19) [spigot1.8.7.jar:git-Spigot-6d16e64-09ddd9b] [08-12 22:19:29 ] [Server] [Informatie] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:714) [spigot1.8.7.jar:git-Spigot-6d16e64-09ddd9b] [08-12 22:19:29 ] [Server] [Informatie] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot1.8.7.jar:git-Spigot-6d16e64-09ddd9b] [08-12 22:19:29 ] [Server] [Informatie] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [spigot1.8.7.jar:git-Spigot-6d16e64-09ddd9b] [08-12 22:19:29 ] [Server] [Informatie] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [spigot1.8.7.jar:git-Spigot-6d16e64-09ddd9b] [08-12 22:19:29 ] [Server] [Informatie] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79] [08-12 22:19:29 ] [Server] [Informatie] Caused by: java.lang.NumberFormatException: For input string: "good" [08-12 22:19:29 ] [Server] [Informatie] at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) [?:1.7.0_79] [08-12 22:19:29 ] [Server] [Informatie] at java.lang.Integer.parseInt(Integer.java:492) [?:1.7.0_79] [08-12 22:19:29 ] [Server] [Informatie] at java.lang.Integer.valueOf(Integer.java:582) [?:1.7.0_79] [08-12 22:19:29 ] [Server] [Informatie] at me.saphirant.rewardsBag.Main.onCommand(Main.java:1355) [?:?] [08-12 22:19:29 ] [Server] [Informatie] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot1.8.7.jar:git-Spigot-6d16e64-09ddd9b] [08-12 22:19:29 ] [Server] [
-
View User Profile
-
Send Message
Posted Dec 8, 2015i cant get the crafting to work. everytime i get a noteblock
-
View User Profile
-
Send Message
Posted May 19, 2015@saphirant
Is there a way to change the loot table?
I'm using Rewards bag J7 M7 v1.1.1 and so far, it working without errors.
-
View User Profile
-
Send Message
Posted Apr 30, 2015@madtomic
Sorry but I can't, i have some problems with loots and commands :/. But I can do the plugin just with the bag and without commands or config.
-
View User Profile
-
Send Message
Posted Apr 30, 2015@saphirant
Can you add support for 1.7.10?
-
View User Profile
-
Send Message
Posted Apr 17, 2015@xH3LLRAIZ3Rx
It's a great ideas :D. I'll add this on the next update.(maybe a bag :p)
-
View User Profile
-
Send Message
Posted Apr 16, 2015Can you add a config where we can modify the Loot Table
-
View User Profile
-
Send Message
Posted Apr 15, 2015@Rakkaa21
You can already set the loot to false (config file. If you used the version 1.0, you need to delete config file and reload server). I don't understand what is "set the rewards"
-
View User Profile
-
Send Message
Posted Apr 14, 2015Good plugin, Especially if you have a MineZ Server.
Can u do that u can Configer it by yourself that you want that you can set the rewards or that you can set, Randomly loot : False / True
-
View User Profile
-
Send Message
Posted Apr 12, 2015@MrDelayyy
I'll do it. Thanks for the ideas. I think 1/1000 to drop legendary(on mobs) and 1/100 to drop legendary(on players). Next version soon :p
-
View User Profile
-
Send Message
Posted Apr 11, 2015Nice I like this looks like it has some potential! Would be great if you added if the bags dropped randomly from killing hostile mobs and players!
-
View User Profile
-
Send Message
Posted Apr 11, 2015can you make it where the Reward Bags get randomly dropped from Mobs?