Realistic Backpacks
Realistic Backpacks is a plugin not similar to the other backpack/inventory extending plugins, but a unique experience. Backpacks are represented by a configurable item, not virtual commands. They also will give realistic features of what a backpack would give upon a user in real life, including slowed movement, increased need for hunger, and others. Of course, all of these features are customizable and can be turned off. If you just want backpacks that are opened via items and not commands and nothing else, then this plugin is also for you.
Features:
- Full customization of almost all features
- Lightweight as possible
- Flatfile and MySQL support
- Backpacks are items, not virtual commands
- Supports economies, and can purchase backpacks via commands
- Create multiple backpacks
- Custom recipes for backpacks
- Customize the names, lore, and item for backpacks
- Option to use a whitelist/blacklist for items with backpacks
- Backpacks can slow your movement speed
- Backpacks can increase hunger/decrease the amount of hunger food gives
- Full customization on what to do with backpack on death
- Admin friendly
-
Permissions:
<backpack> = Backpack name, example: rb.exampleBackpack.craft
Command Permissions:
- rb.reload - Access to the '/rb reload' command
- rb.list - Access to the '/rb list' command
- rb.filetomysql - Access to the '/rb filetomysql' command
- rb.<backpack>.buy - Access to the '/rb buy' command
- rb.<backpack>.give - Access to the '/rb give' command
- rb.fullview - Access to the '/rb view' command without restrictions
- rb.restrictedview - Access to the '/rb view' but can not edit the backpack in view
Backpack Permissions:
- rb.<backpack>.use - Can open the backpack
- rb.<backpack>.craft - Can craft the backpack if recipe is enabled
-
Commands:
Player Commands:
- /rb list - List all backpacks with their sizes and prices
- /rb buy <backpack> - Purchase a backpack for the price in the config file
Admin Commands:
- /rb reload - Reloads the config and messages file
- /rb filetomysql - Transfers the flatfile data to the mysql database set in the config
- /rb give <player> <backpack> - Give a player a backpack
- /rb view <player> <backpack> - View a player's backpack
-
Links:
-
Features that involve an economy require an economy plugin and Vault.
Consider donating to support the development of this project.
another one:
2013-09-20 07:00:05 [SEVERE] Exception in thread "pool-1-thread-44"
2013-09-20 07:00:05 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin RealisticBackpacks v1.3.2 generated an exception while executing task 81500
at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.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.NumberFormatException: For input string: "1.5"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.fatecrafters.plugins.util.RBUtil.getFoodLevel(RBUtil.java:34)
at org.fatecrafters.plugins.listeners.EntityListener$1.run(EntityListener.java:50)
at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 3 more
console spam error when players shift click:
2013-09-20 05:21:07 [SEVERE] Could not pass event InventoryClickEvent to RealisticBackpacks v1.3.2
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:36)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:1364)
at net.minecraft.server.v1_6_R2.Packet102WindowClick.handle(SourceFile:31)
at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296)
at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116)
at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.NumberFormatException: For input string: "backpackiv"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.fatecrafters.plugins.util.RBUtil.getItemstackFromString(RBUtil.java:51)
at org.fatecrafters.plugins.listeners.InventoryListener.onInventoryClick(InventoryListener.java:85)
at sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 15 more
check my ticket please there is a Huge problem with duping on this plugin!
thanks works great
@slayr288
They have different names backpack I , backpack II ... and so on
I've got problem, if you right click the backpack it zooms in and out but it does not open.
The config should be good.
@slayr288
Thank you.
Please take your time. Add me on skype @ Azekial07 if it is more convenient.
@shadvalentine
Do they have the same names in the config?
ok .. so I have made 9 recipes so that people can have up to 9 different backpacks .. however when I try to make them it does not work correctly .. these are the recipes I am using:
Backpack I
130,334,334
334,334,334
334,334,334
Backpack II
334,130,334
334,334,334
334,334,334
Backpack III <<< this one is seen as Backpack I
334,334,130
334,334,334
334,334,334
And so on ...
the last row is seen as the first row
@Azekial07
I'll look into your problem and implement your suggestion in the next update. But I don't know when that will be since I'm a tad busy.
Sorry to bother you again,
I have still have not found a solution for my current problem, but I have a suggestion.
I have archer ranks/tier for my groups and I want provide them with a quiver and I thought this plugin would be perfect for it. However, I would have to blacklist every single MC ID except for the arrows(I also have custom arrows) but I figure it would be too long and tedious.
Do you think in the next update there can be an Option to use a Whitelist or Blacklist, for situations like this. If not, don't worry about it.
Thank you once again,
Azekial07
slayr288,
I am running a server and have decided to use your plugin to add a unique feature to it, and so far, your plugin has been great, but I am running into a bit of a problem.
I have three packs MinePack, AdventurePack, and MerchantPack. 9,18 and 27 slots, in that order. However, my MerchantPack will not exceed 18 slots. The config is fine and it allows me to craft the item. Have you set a limit or something else?
Thank you for your time,
Azekial07
@jarred122345
That's decently hard to do, plus I'm busy, maybe later along the road.
Great PLUGIN. THANKS!
Im in 1.5.2 so is there a way you can make the version for 1.5.2 limit the number of backpacks one can carry? So say you can pick up bigger backpacks to upgrade like in dayz. If you can do that your boss
@FiberSprite
Needs approval, it's been 21 hours since I uploaded it. :/
@slayr288
Where is the most recent version for 1.6.2 ?
Sorry guys, first day back from my vacation.
I've uploaded version 1.3.2 which supports Minecraft 1.6.2 and fixes a bug with MySQL. I have also pushed the latest code to Github.
@lastrider
if you are running 1.6.2 this plugin will not work .. not until it gets updated
slayr288 said he will update it when he gets back from vacation ... wonder how long that vacation is ..
so .. any eta on the update?