BackpacksRemastered
Backpacks
BackpacksRemastered adds -- well -- backpacks, to Minecraft, the catch being without the use of any client-side modifications. Completely vanilla backpacks! This plugin was the first of its kind due to the fact that it adds backpacks as an ItemStack
that will persist its inventory even without the plugin installed! Backpacks also allows you to inspect the NBT data of items which is handy for getting an under-the-hood look at how the game works.
Features
- Large version compatibility - Adaptable NMS solution currently supporting back to MC1.12 via a single plugin jar. Even if a version isn't explicitly stated as being supported, give it a try. It may still work.
- NBT Data Storage - Backpack data is stored in that item's NBT data (the same way Minecraft stores data about enchantments). This means you don't have to worry about databases, configs, or anything like that. You can even backup the world and all of the backpack's contents will be backed up with it.
- Fully functioning backpack item - Backpacks from this plugin are just like backpacks from a mod. They can be traded, destroyed, cloned, etc.
- Different backpack types - This plugin introduces many different backpack types that extend far beyond just simply storage. Check them out under the crafting section of this page.
- Highly customizable - Almost every aspect of the backpacks is customizable, including the crafting recipe! So if you don't like the default recipes, change them to something you do.
- Multilingual support - Backpacks uses a proprietary automatic translation system known as i18nExtractor in its build chain. This means that you can automatically translate Backpacks into ANY language supported by Google Translate. See the GitHub about building Backpacks in your language.
Commands
- /bp - Shows help information.
- /bp help - Also shows help info.
- /bp config:reload - Reloads the configuration.
- /bp info - Displays info about the plugin.
- /bp item:info - Lists NBT data keys about the item you are holding.
- /bp item:info:get - Gets the type/data of a particular NBT data key.
- /bp item:give - Gives a player a backpack.
- /bp split - Splits the backpack held in your hand.
- /bp materials - Lists all item types available to custom recipes in the configuration.
- /bp materials:search - Searches all of these materials for a specified one.
- /bp vfurnace - Lists all virtual furnaces and that vfurnace's current inventory location, whether it be a chest, player's inventory, the ground, etc. Note: A virtual furnace is the underlying furnace operation tied to a furnace backpack.
Permissions
See a full list of permissions (as well as their default status) in the plugin.yml
Configuration
You can view the configuration file here.
Crafting
Backpack recipes, names, lore, etc. may be customized via the configuration. Below are the defaults:
Key - Used to open the backpacks.
Small - Smallest of the backpacks. Size of normal chest.
Large - A pretty dang large backpack. Size of double chest.
Linked - A backpack capable of interfacing with many different types of containers: chest, double chests, furnaces, etc. It works at any distance, even across dimensions. It is the ultimate backpack. To link it, hold it in your hand and left-click the desired container.
Combined - A backpack which can store multiple backpacks for quick use.
To add, place the combined backpack along with the to-be-inserted bag in a crafting grid.
To remove, see: /bp split.
Craft - A crafting table in a backpack.
Ender - An enderchest in a backpack.
Furnace - A first of its kind portable furnace.
Usage
Backpacks exist as chestplate items, however, they may be combined in a crafting grid w/ any item that can be equipped in this slot. To open, right-click with a backpack key in your hand.
Backpacks may be removed from their combined item using the /bp split command.
Donate
You can donate by using the button at the top of the page or here. Any donation is appreciated. :D
Installation
The installation is literally just drag and drop, so if you are used to installing plugins, you shouldn't have to read this next part.
- Locate your "plugins" folder which is located in your servers home folder.
- Drop the downloaded .jar file into the plugins folder.
- Run the server once to complete the installation!
- NOTE: Backpacks will create some files. Do NOT delete or modify these files unless you know what you are doing. You could mess up someones backpack.
Showcases
NOTE: This tutorial is of a much older version of backpacks. ITS NOT EVEN REMOTELY THE SAME.
Known Bugs
See the open issues here for a list of known bugs.
10-19-2022: I changed the project name from Backpacks -> BackpacksRemastered because bukkit had a bug where I couldn't update the project settings for the longest due to conflicting legacy projects by the same name (you used to be able to do that). Anyhow, its better this way.
@drew6017
Hi, was hoping you could help me with an issue that I just noticed today. Backpacks has been working perfectly fine on my McMyAdmin 1.8.8 server. Today I was informed that suddenly users were unable to open backpacks using their key. Permissions and in game commands all appear to be working; just not the ability to open the backpack. Not sure if another plugin or McMyAdmin initiated an update that broke it. First off I noticed I was running Backpacks-0.0.9.jar so updated to 0.1.2.jar. I am receiving the following error in my logs.
Console : [13:58:32 ERROR]: Error occurred while enabling Backpacks v0.1.2 (Is it up to date?)
Console : java.lang.NullPointerException
Console : at drew6017.io.BackpackIO.loadInventories(BackpackIO.java:42) [?:?]
Console : at drew6017.main.Backpack.onEnable(Backpack.java:59) [?:?]
Console : at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [spigot.jar:git-Spigot-6c9b0a1-de5c261]
Console : at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot.jar:git-Spigot-6c9b0a1-de5c261]
Console : at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-6c9b0a1-de5c261]
Console : at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:356) [spigot.jar:git-Spigot-6c9b0a1-de5c261]
Console : at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:316) [spigot.jar:git-Spigot-6c9b0a1-de5c261]
Console : at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [spigot.jar:git-Spigot-6c9b0a1-de5c261]
Console : at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [spigot.jar:git-Spigot-6c9b0a1-de5c261]
Console : at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [spigot.jar:git-Spigot-6c9b0a1-de5c261]
Console : at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [spigot.jar:git-Spigot-6c9b0a1-de5c261]
Console : at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:524) [spigot.jar:git-Spigot-6c9b0a1-de5c261]
Console : at java.lang.Thread.run(Unknown Source) [?:1.8.0_60]
@drew6017
[Server thread/ERROR]: [Backpacks] Plugin Backpacks v0.1.1 has failed to register events for class drew6017.main.Backpack because org/bukkit/event/player/PlayerItemDamageEvent does not exist.
Running on 1.8.7 Looks like it's not fully compatible with higher 1.8.X versions. Kindly asking to check and update plugin, thanks in advance!
(Crafting works, it wont register new backpacks, nor open them)
Can someone send me resource pack with leather armors changed to backpacks?
Wish they had this for 1.7.10
@0ct0ber
From where did you get the assumption I did not understand it? It is basic java. And the methods are very efficient and optimized with technology from LaggRemover. Please PM me with any complaints/suggestions.
my server jar since i started with this server. I know how updating things like mods/plugins and what not can screw with things. Everything else seems to be working with the exception of that plugin. 23 of 24 plugins work. All plugins worked prior to 9/11 and after 9/11 this plugin is the only one not working.
@Ballzz06
Your version is not supported. You must have updated your server jar around 9/11.
I believe i ran into a bug. I was able to use the backpack plugin on my server prior to 9/11/15 and now i get this message everytime i restart the server.
13.09 21:37:31 [Server] ERROR Plugin Backpacks v0.1.1 has failed to register events for class drew6017.main.Backpack because org/bukkit/event/player/PlayerItemDamageEvent does not exist.
I notice it will not give the backpacks any type of id number and when i assign a back pack using the commands it gives them an id number but the key doesn't open it. I have tried giving the backpack then giving a key, crafting a backpack and crafting a key, crafting a backpack and giving a key, and giving a backpack and crafting a key. nothing seems to work anymore. Any suggestions on a fix?
@0ct0ber
Backpacks is designed to use less CPU and Disk at the expense of RAM because RAM is often times what servers have excess of, and I know how to make an inventory lol. Thanks though.
when i make the backpack, it says its unassigned and does not work... it says to put it in your hand to get an ID number, but i do and it just says its unassigned. How to I assign it a ID?
Thanks,
Join everyone / Csatlakozzon mindenki!
> southforest.servegame.com <
@omgitsbob12
The config option craft adds the recipe to the server for the backpack to be crafted, the permission allows players to bind the backpack to an id (which is required for it to be used), and the user permission only allows players to toggle their backpack resource pack.
Does the backpack.craft.small permission require the config option to craft be on true? And the permission backpack.user just allows a person to open a backpack with a key?
Edit: Also this error when wearing a backpack and you get shot by arrow. http://pastebin.com/Turu3Hxp
@0ct0ber
Change the autosave time in the config. Note: It is in minutes.
@0ct0ber
I'll look into it.
@skunkmunkee
Psssss. I have, however, it is a work in progress. Don't tell anyone. :)
Have you thought of doing a furnace backpack? Also, if you link a backpack to a chest that is part of a double chest, could you make it access the whole thing?
@cracingbozo7
You have to switch the backpack around in your hand a few times. Please watch the video, it explains all of this.
I am running a 1.8 bukkit+bukkitGUI 2 server and running it with opftifine 1.8.4 and im having issues assigning backpacks. when i put it in my hand and wait, nothing happens. What do I do?
@Wulfsky
Screenshot?