Minepacks
Minepacks is a backpack plugin with different backpack sizes, multilanguage and MySQL storage support. It is a simple plugin, but still has a lot of functions.
Now also on spigot.org!
Features:
- Configuration
- Backpack size controlled by permissions
- Auto item-collect on full inventory (can be enabled in the config)
- Multiple storage back-ends (Files, SQLite, MySQL)
- Multi language support (multiple language file included)
- Item filter (block items from being stored in the backpack)
- Preserves the NBT data of items (everything that can be stored in a chest can be stored in the backpack)
- Support for name changing / UUIDs
- Auto-updater
- API for developers
Requirements:
- Java 8
- Bukkit, Spigot or Paper for Minecraft 1.7 or newer
- (Optional) PCGF PluginLib (Advantages of using the PCGF PluginLib)
Commands:
- /backpack help - Lists all the commands of this plugin.
- /backpack - Opens the players backpack.
- /backpack clean - Removes all items from the players backpack.
- /backpack clean <playername> - Removes all items from another players backpack.
- /backpack <playername> - Shows the backpack of another player.
Permissions:
- backpack.* - Gives access to the full MinePacks functionality. (for admins)
- backpack.use - Allows a player to open the backpack.
- backpack.fullpickup - Allows the player to automatically pick up items when their inventory is full (function needs to be enabled in the config)
- backpack.size.1 - Mini size for a backpack, if the player has backpack permission he will also have at least a backpack with the size 1.
- backpack.size.2 - 2*9 backpack
- backpack.size.3 - 3*9 backpack
- backpack.size.4 - 4*9 backpack
- backpack.size.5 - 5*9 backpack
- backpack.size.6 - 6*9 backpack
- backpack.clean - Allows the player to clean their own backpack.
- backpack.clean.other - Allows the player to clean other players backpacks.
- backpack.others - Allows the player open backpacks of other players.
- backpack.others.edit - Allows the player to edit backpacks of other players.
- backpack.keepOnDeath - Allows the player to keep their items in their backpack on death.
- backpack.noCooldown - Allows to bypass the cooldown to open the backpack.
You can find the full list of permissions as well as their default states in the wiki
Support the plugin:
Developing a plugin like this requires a lot of time. If you like it please consider supporting it with a small donation.
PayPal:
Bitcoin: 3QLAjcZ8CX2E9EayV2D8ACBS5rWf8fY1Lr
Ethereum: 0x0B384d9c99280a9fCDE7DbfF4Ae2A77Cfb227DB9
Litecoin: MX6iPkP52rJu4CXtLRM1gWK7VBkaQi28Ho
Nano: xrb_3qowsxqp4q9ddkeeoci878et97kent77u6qs17ckju1wcmq8qgdbyikkwqk9
If you have donated and would like to be shown in the Special Thanks selection please send me a pm with your transaction details.
Special Thanks:
I would like to thank everyone who has used this plugin, reported bugs, suggested feature, ..., without you guys this plugin would not be what it is now!
I also would like to especially thank some peoples for their support:
- xDizasterCYx - Logo
This plugin has a system to convert Minecraft usernames to Mojang UUIDs; therefore, it uses web connections to the Mojang servers. If you don't want these connections to occur, disable "UseUUIDs" in the config.
This plugin uses the HikariCP library, which includes classes for metrics (but requires an additional library to work, which is not included). All of HikariCP's optional metrics functionality is disabled! This plugin neither collect any data, nor dose it send any data about your server!
This plugin has an auto update function. To disable auto updating, set 'AutoUpdate' to 'false' in 'plugins/Minepacks/config.yml'.
@CloudeLecaw
Your problem was that the plugin wasn't able to finde the players id in the DB. The only thing I could think of would be the bukkit yml parser reading some characters he shouldn't read to the string. In the case of this happening again try to put the string values under quotes (e.g.: Owner_ID: "owner").
The error log you see is cause your database server has closed the connection. Will add an fix to this in the next update.
Edit: New Update! http://dev.bukkit.org/bukkit-plugins/minepacks/files/10-minepacks-v1-7/
@CloudeLecaw
Have found the bug (one missing bug) and fixing it right now. Will upload a fix soon. Wasn't at home and have done the mysql test on my server (which already had the tables) so I have overseen the bug. Offline editing should also work with sqlite.
Edit: Fixed, should work now. http://dev.bukkit.org/bukkit-plugins/minepacks/files/9-minepacks-v1-6/
@CloudeLecaw
Have found a bug where the backpack wasn't saved (maybe the bug you have found). Also the setting for tables with UUIDs without "-" are now in it. http://dev.bukkit.org/bukkit-plugins/minepacks/files/8-minepacks-v1-5/
@CloudeLecaw
Set the "UpdatePlayer" under "Database" option to "false", so the plugin isn't even trying to add an user to the table (should be done by your other plugin). Also I have seen that the plugin you are using is saving the "-" in the uuids and thats the reason for the problem. If the plugin is updating the player name on the join of the player you could disable uuids. I will add an option to allow uuids with "-" in the db tomorrow.
@CloudeLecaw
Sorry, there was a small mistake in the code. Bugfix
@CloudeLecaw
Ok, I will check this out.
You could try this build. Have put & color code translation and mysql field settings into it.
@CloudeLecaw
Should be no problem as long as you have the "backpack.others" and "backpack.others.edit" permission.
Colors are supportet (kind off), but you have to use the § Symbol like in vanilla minecraft. Will change this soon.
Is there an error in the console when this happens?
Will add an option for field definitions soon.
@doomlordking
Please use "/pex user [name] list" to make sure that the player realy has the permission. If he realy has the permission please open a ticketand tell me the pex version.
Bugfix update for everyone using UUIDs and SQLite storage: http://dev.bukkit.org/bukkit-plugins/minepacks/files/7-minepacks-v1-4/
@Aikesa
No, it should save the data. Are you using V1.3? If so, please make a ticket and enter all the required information. If you are using V1.2 please update the plugin.
Players aren't keeping items in their backpacks upon logging out.
Is this supposed to be the case?
@QIIxGriimZzQ
Bug fixed: http://dev.bukkit.org/bukkit-plugins/minepacks/files/6-minepacks-v1-3/
Ok. Thanks! Nice plugin.. :)
@QIIxGriimZzQ
Thx for the report. Will check it out.
Edit: Bug is fixed. But I found an other one too, will fix it and update the plugin then.
Hi, i have this error with version V1 .2.
I thought its problem with old db, i tried delete and restart server, but error is still in console..
@AriKira
Update is finished. And now I finished testing too (and hopefully haven't overseen a bug). Waiting for Bukkit to approve it.
maybe its time update to 1.8?
@Gh0ztbuster
Will fix this mid february. I currently don't have the time (cause off school).
This plugin doesn't register the new NBT tags attached to items, like "BlockEntityTag"s and such. Could you please update your plugin to save these strings?
Example
Spawners and some other items are now identified by {BlockEntityTag{EntityId:Spider}}
"/give @p 52 1 0 {BlockEntityTag:{EntityId:Spider}}"
@AriKira Fixed and updated.