DeathPackage
DeathPackage
What is DeathPackage?
DeathPackage is a plugin that saves specific slots of a player's inventory, and gives them those items back when they respawn. The plugin is fully customisable, and supports permission based slot saving.
Note: I am back from a hiatus (09/2014-12/2015), and am trying to bring the plugin up to date, its currently in testing to make sure there's no new bugs and then version 1.2 should be released soon.
How to install:
Install SimpyCore first. Download the latest recommended version of the plugin, and simply drop it into your plugins directory. Reload or restart your server, and that's it: DeathPackage is installed!
How to configure:
Please look at the the config help page. If you are a more advanced user you might also want to check out the custom lang file config help page.
How to use:
- Player commands
- /dpackage - gives you a nice display of your protected slots.
- /dpackage <playername> - gives you a nice display of the player's protected slots. (the executor needs deathpackage.others)
- Admin commands
- /deathpackage reload - reloads the plugin. Also reloads the config etc.
You should probably give admins/owners deathpackage.admin.* so that they can reload the plugin if a player is having a problem.
TODO:
- Provide better user documentation.
- Make default group actually default.
- Add Vault support to be able to use all permissions plugins.
- Add in a '/dpackage help' custom message.
- Provide other language help & lang file.
Changelog
v1.4.0a
- Added proper support for armour and offhand items in spigot-1.10.2-R0.1
- Default config now explains armour, offhand, individual-slot in more detail
v1.3.0a
- Updated to support spigot-1.10.2-R0.1
v1.2.1a
- Added individual-slot permissions
- Updated to support spigot-1.8.8-R0.1
Known bugs:
- /dpackage <player> does not format well in the console.
- Currently only confirmed testing with PermissionsEx, but I don't think it works with any other permissions plugin.
- Apparently it's bad practice to use dynamic permissions, either I find some hacky (still not NMS) way to do that, or I switch to some sort of complex permissions pre-loader.
- If a player dies, the plugin gets disabled (ie reload, server restart etc.), and then they respawn, no slots are saved. To fix this I need to save to a file on reload. Might come in 2.1
- Currently armour and offhand support is broken thanks to an update of PlayerInventory.getItem(int) no longer supporting armour. I may have missed this in the old version, or just messed it up, but I'm in the process of fixing this anyway.
- Config file is not generated on first launch. Either copy it out of the jar or the page on here.
Thanks for 100 downloads guys!
You are allowed to expand on this plugin with your own, and I will provide documentation if anyone is interested.
Please report any suggestions or bugs to me, and I'll be happy to take a look. Also any suggestions for the description eg. how it could be more detailed. Also, if you are using this plugin on your server, feel free to leave the IP in the comments and I might come check it out!
Downloads
10
50
100
500
1000
5000
wonderful plugin!
would you fix this if possible?
Thanks!
Config
I really don't know about the config and permissions. Can anyone help me with this?? By the way, I love this plugin, I was searching for months for this.
This is exactly what I have been looking for! I'm using this on the server I am creating. Thanks heaps, I do hope you decide to continue updating this plugin. (There are a serious lack of plugins like this) Also, what are the permissions for this plugin?
@Airos18
Hi, I know its a bit late but do you still want the feature?
@Airos18
@Airos18
Sorry, I've been/am very busy this week so I won't be able to update until probably this time-sh next week. If not then, it'll probably be at the first weekend of september.
@Airos18
OK, the features are implemented in my development build, but there are 2 large bugs (basically one of the features that you need for what what you want, doesn't work yet; also getting the details for each player is not quite working properly). When I have a working version I will release it as a beta build, and let you report any bugs you find before I make it a full release.
Thanks for bearing with me, I'll get there :)
@TheSimpZone
great, thanks a lot ;)
@Airos18
I'll have a look and see what I can do, it might mean the config has to be completely redone. but I'll try. If not, I'll try and make it as a separate plugin for you.
can u add option to keep certain item,? for example emeralds?