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'.
It should work with any permission plugin. If you have problems please tell me which permission plugin you are using and I will check it out.
The thing is I dont have any. Im totally green at plugins. So is this necessery to install one like permissionsEx to let my players use backpacks? I mean, theres little bit of work with adding all those permissions for all kind of players. I thought this is default setting that You can use backpack w/out having an OP.
You don't have to install a permission plugin, bukkit has a permissions.yml with allows you to give your players the permission without an additional plugin.
Here is a short example what to put in your permissions.yml in order to use the plugin.
this may sound stupid but with PermissionsEx how do I give people different sizes of backpacks?
For players: /pex user [username] add backpack.size.[1-6]
For groups: /pex group [groupname] add backpack.size.[1-6]
thanks :)
Thanks for update! :)
Thankyou, MinePacks-1.16-SNAPSHOT.jar works good.
Sorry for the late replay, I have overseen the coment over here, dev.bukkit.org or spigot.org are better ways to contact me.
@willis1030
The size is controlled by the permissions. I guess you are op so you have every permission -> you have the permission for the biggest possible backpack size (which is 9x9 since V1.13). The next update allows to change the max size in the config so you can limit the size to whatever you like. You can grab the latest dev build (which already includes the config option) from here: https://ci.pcgamingfreaks.at/job/Bukkit_Minepacks/40/artifact/target/MinePacks-1.16-SNAPSHOT.jar
Hi, open other's backpack when they are offline, this is what I want. but, why 9*9 slots in 1.9.2 version? need update please!
@noket
Are there still errors in the console? I have tested it with my local test database which worked fine, but it only has about 1k names in it. Could you may send me your db file (via private message) so that I can test it with your data?
@GeorgH93
Hi GeorgH93. We tried the updated plugin, but it's still not working.
When I cracked open the sqlite database file, the column for UUID showed "NULL" for all players. Something is going wrong.
Perhaps add a method for Lazy UUID update, instead of Aggressive? For example, only update the UUID entry for a player when they log in (instead of trying to update the whole database at once).
@RhmulKrian
Please tell me what you have set the title to in the config.
I ma getting this error in console http://pastebin.com/kh3NGhjW
@noket
I have changed the uuid updater some time ago, however I haven't released the update yet (needs some more polishing but it's working). If you like to use it you can download the latest dev build from here: https://ci.pcgamingfreaks.at/job/Bukkit_Minepacks/32/artifact/target/MinePacks-1.16-SNAPSHOT.jar
Please update your minecraft username conversion system to use a job queue with a hard delay. Otherwise, I see the following error message:
Line 20 Spelling error in the Config File. Is flase, instead of false. also i can get the mod to work for me bot nobody else is able to open their pack. says they don't have permissions. and i don't know what to do now, cause i gave them all the permissions to use it.
permissions:
backpack.use
backpack.size.6
backpack.clean
backpack.noCooldown
backpack.KeepOnDeath
Is this not correct?
Please update for 1.9. MySQL isn't working anymore.
Nevermind.... I didn't see the last update :D
@jordanallen6
You can use your permissions plugin to limit the worlds the players can use the backpack in (take away the "backpack" permission).