Backpacks
Backpacks
What is it?
Backpacks is a plugin that provides each player with a backpack in which they can store items. You can configure how much space each player's backpack has, as well as other aspects of the backpack, using permissions (see below). I have recently added SQL support that enables the backpacks to work cross-server if you use servers linked by bungeecord, lilypad etc. A recent addition to the plugin is that if a player with a backpack has a full inventory and they pickup an item, it goes into their backpack.
Permissions
backpack.1 Sets the backpack to the size: 9x1
backpack.2 Sets the backpack to the size: 9x2
backpack.3 Sets the backpack to the size: 9x3
backpack.4 Sets the backpack to the size: 9x4
backpack.5 Sets the backpack to the size: 9x5
backpack.6 Sets the backpack to the size: 9x6
backpack.keepOnDeath Allows players to bypass the config value for dropping items on death.
Commands
User Commands
/backpack Opens the backpack you have permission for!
Admin (OP) Commands
/backpack [Player name] Opens a player's backpack.
Configuration
Drop-On-Death
If this is set to true the content of the players backpack will drop on death. If the player had the permission 'backpack.keepOnDeath', this would not affect them.
Title
This is the title on the top of each backpack. On the example backpack it is "Your Backpack". You can set a title for each size of backpack (1 to 6).
DisabledWorlds
Here you can define the worlds in which players cannot open their backpacks incase you have, for example, a creative world.
[21:57:41] [Server thread/ERROR]: Error occurred while enabling Backpacks v4.1 (Is it up to date?) java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R3/EntityItem at com.rb2750.backpack.CustomEntityType.<clinit>(CustomEntityType.java:15) [?:?] at com.rb2750.backpack.Backpack.onEnable(Backpack.java:67) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:412) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:476) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:394) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:153) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:458) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R3.EntityItem at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0_51] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0_51] ... 10 more
Noo inactive? Don't please
Is this available on Github? its become inactive now?
Inactive????
@Ryex95
I am using group manager, try with it
so far, 3.7 is the only version work for me. it created the folder with 2 config files. however, if you change the permission from backpack.3 to backpack.4 the backpack is broken. i dont' know if this is fix in 4.1 because I can't get it working and now way to test it. I hope a new fix is on way to fix not working issue. anyway, no error but only Backpack invalid! message. I found out in backpacks.yml stores the size. this is the cause of the error. if you have backpack.3 and have size already set to size: 18. it would break the backpack after you upgrade the user to bigger or smaller size backpack.
what is this?
[23:22:51 INFO]: [Backpacks] Enabling Backpacks v4.0 [23:22:51 ERROR]: Error occurred while enabling Backpacks v4.0 (Is it up to date ?) java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R3/EntityItem at com.rb2750.backpack.CustomEntityType.<clinit>(CustomEntityType.java:1 5) [?:?] at com.rb2750.backpack.Backpack.onEnable(Backpack.java:67) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) [c raftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:350) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:389) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.jav a:439) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer. java:375) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:31 3) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [c raftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14 ) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.jav a:126) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java :424) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6 17) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R3.Entity Item at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:67) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:62) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0] ... 13 more
Can I use the latest build on cb1.7.2-r0.3? no config file created? I'm using 3.8 with cb1.7.2-r0.3? even with latest build. nothing. bug??? how to config the mysql?
@xDizasterCYx
I'm using PEX
could you make a version for 1.7.10 please?
oh, and people still get kicked when they build on this version. v 3.8 is the only stable version that doesn't kick people for building.
players r exploiting a dupe glitch with their backpacks.
I had someone show me how it works, but we cant simulate it so I don't have 100% details just yet, but it has to do with the disguisecraft plugin and backpacks plugin
1. /bp and put a nonstackable item into the backpack (fishing rod, pick, etc)
2. Use disguise craft to disguise yourself.
3. /bp and remove the items from the backpack while disguised.
4. /u and remove the disguisecraft disguise.
5. open /bp and the item is back in the backpack as well as in ur inv.
Again, I cant simulate this, but this is the steps everyone is telling me that makes the dupe. Im hoping that someone else also runs disguisecraft and maybe knows about this.
How to give permission to the player?!?
How to give permission to the player
@rb2750
thak you, I am really waiting for it =D
@LordKainzo
Yes, it should.
@LordKainzo
Does it not save them? I have only fixed the ticking error in the new version, that should still work.
@madtomic
Yes you can.
@guerocraft
I will try to fix this soon.
Can I use this on CB1.7.2-r0.3?
Hi, can you make a hotfix please? I am usint Spigot 1387 build, which means 1.7.5 API and i am getting errors.
[04:56:28] [Server thread/ERROR]: Error occurred while enabling Backpacks v4.0 (Is it up to date?) java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R3/EntityItem at com.rb2750.backpack.CustomEntityType.<clinit>(CustomEntityType.java:15) [?:?] at com.rb2750.backpack.Backpack.onEnable(Backpack.java:67) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) [core.jar:git-Spigot-1387] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [core.jar:git-Spigot-1387] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [core.jar:git-Spigot-1387] at org.bukkit.craftbukkit.v1_7_R2.CraftServer.loadPlugin(CraftServer.java:462) [core.jar:git-Spigot-1387] at org.bukkit.craftbukkit.v1_7_R2.CraftServer.enablePlugins(CraftServer.java:380) [core.jar:git-Spigot-1387] at net.minecraft.server.v1_7_R2.DedicatedServer.init(DedicatedServer.java:136) [core.jar:git-Spigot-1387] at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:442) [core.jar:git-Spigot-1387] at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [core.jar:git-Spigot-1387] Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R3.EntityItem at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67) [core.jar:git-Spigot-1387] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [core.jar:git-Spigot-1387] at java.lang.ClassLoader.loadClass(ClassLoader.java:425) [?:1.7.0_55] at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [?:1.7.0_55] ... 10 more
Latest plugin does not save NBT tags or custom item lore. It saves the name fine - this is a requirement for plugins that store to SQL and other things.
Please save to json (or whatever) - if you need to save NBT Tags there are several libs that can do this.
@rb2750
Nifty. Does this address the previous issues as well as the ticking user error?
Appreciate it!