SavageGraveyards
Description:
This plugin implements discoverable graveyards. Players will respawn at the nearest graveyard location that they have previously discovered, with temporary immunity from mob attack.Features:
- Create hidden graveyards that require discovery, or unhidden that are always available.
- Enable or disable graveyards individually, without deleting them (to make a graveyard temporarily unavailable, for instance).
- Custom discovery message per graveyard location, or use the default message in the customizable language file.
- Custom respawn message per graveyard location, or use the default message in the customizable language file.
- Safety cooldown prevents mobs from attacking after respawn for a configurable amount of time. Per graveyard setting overrides default in configuration file.
- Customizable discovery range, can be set per graveyard location or use configured default.
- Teleport command allows admins to instantly travel to any graveyard.
- Group permissions setting per graveyard, so graveyards can be made available only to players within a certain group.
- Intelligent tab completion for all commands.
- Custom messages and language localization.
- Per world enabled in configuration.
- Uses sqlite for persistent storage.
- A perfect compliment to SavageDeathChest and SavageDeathCompass.
Permissions:
Player's are granted all necessary permissions by default.All admin permissions are granted with
graveyard.admin
Complete list of permission nodes here
Commands:
Complete command reference hereInstallation
Put the jar in your plugins folder and restart your server. Edit the generated configuration file to your liking, then reload the plugin settings with the/graveyard reload
command. No server restart necessary!
Configuration
HereSource
Source code for this plugin is hosted on github and distributed under the GPLv3 license.https://github.com/tim-savage/SavageGraveyards
A new version (v1.13.4) has been uploaded. This version fixes an issue where setting attributes on a non-existent graveyard would result in a NullPointerException being thrown. Additional checks for valid method parameters have also been implemented.
The language file has had new messages added, so once again, backup and remove the language yaml file to allow the plugin to install the new version.
A new version (v1.13.3) has been uploaded. This version fixes an issue when overwriting an existing graveyard. Note that a user needs to have permission node graveyard.overwrite to perform this action, which is intentionally NOT a child node of graveyard.admin, and thus needs to be set explicitly.
Also fixed is an issue where the mob protection would time out early if a player died a second time before the first safety period had expired. The timer is now reset if a second death occurs before the first timer has expired.
No changes have been made to any configuration files for this version.
In reply to timsavage:
A new version (v1.13.2) has been uploaded. A new command has been added to 'forget' a discovered graveyard for a player. New location coordinate placeholders have been added for messages, and new sounds and messages have been added to the teleport command.
Changes have been made to the config.yml, sounds.yml and language files. Please backup and remove these files to allow the plugin to install new versions.
A new version (v1.13.1) has been uploaded. This is a maintenance release that fixes a bug that prevents the plugin from loading when a user provided language file is used. The embedded english language resource file will now be used as a fallback when a message can not be found in a user supplied language file.
No changes have been made to any configuration files in this version.
A new version (v1.13.0) has been released, and the plugin has been renamed to better reflect its function. There are changes in the language files, so please back-up and remove them to allow the plugin to install the new versions. The config.yml file has only had changes made to the comments.
There are no new features, just lots of code cleanup and upgrade to the bukkit 1.13.x API. Older servers should use the previous version (SavageDeathSpawn v1.2.2).
Enjoy!
Curious, how do you deal with other plugins intercepting? I have essentials spawn installed which places players at /spawn when they die. I created a graveyard, had a player discover it but when they died they still ended up at spawn.
Would love to use this plugin. I also installed the chest and compass one, they both work.
There is an option in the configuration file to set the priority at which this plugin listens for the player respawn event. Giving this plugin a higher (happens later) priority can help mitigate contention with other plugins that respond to the player respawn event if it is not feasible to disable the respawn feature of the other plugin.
Essentials also has a configurable respawn priority. On my server, I have Essentials respawn-listener-priority set to lowest, and SavageDeathSpawn at the default normal.
I had set the Essentials priority to lowest before writing this plugin, to allow Multiverse to handle player respawn events.
A new version (1.2.2) has been uploaded. This is a maintenance release, there are no new features. This version now supports bukkit/spigot versions up to 1.11.2, as well as older (pre-1.9) versions, with the caveat that pre-1.9 servers will need to replace the custom sound names in the sounds.yml file. A pre-1.9_sounds.yml file is included for convenience, and and can be simply renamed to sounds.yml for these older server versions.
There are some minor changes to the configuration file, so you should backup/remove the config.yml file, then issue the /deathspawn reload command or restart your server to allow the plugin to generate a new config.yml file.
@res83
I am unable to reproduce this issue with latest spigot 1.10 build (882). Do you have any other plugins that operate on player death or respawn events? Any console errors?
Please Spigot 1.10 Problem not location that they have previously discovered
@xH3LLRAIZ3Rx
That's an intriguing idea. I will look into the possibility of implementing that in a future version, but no promises.
and make it where they have to go back to their body within a set time to get their items back like in WoW
can you make the players Ghosts?
@Drakortha
I'm so glad it's working for you. I couldn't properly test it because it was working fine on my linux server, and I believe the bug only affected those on Windows. It had to do with Windows using a different character between folders and files in path names. It usually doesn't matter because Java will translate the character for you, but this was a fringe case where it didn't.
I'm also glad you like the plugin. I'm really happy with it on my own server, it turned out even better than I expected. It's definitely my most polished plugin to date. The tab-completion is a huge help when you can't remember the exact commands to use or the names of your graveyards.
Trying it now
update:
can confirm the plugin works FLAWLESSLY! Thanks so much! This is an absolute game changer for our server and we're going to have a lot of fun with it.
v1.2.1 has just been uploaded, which contains the bug fix for 1.9 servers. It
should be available for download soonis now available for download.@Drakortha
Version 1.1.2 has the fix for pre-1.9 servers. Version 1.2.1 (unfortunately similar version number) will have the fix for 1.9 servers. I was waiting for v1.1.2 to become available before uploading v1.2.1, to try to keep the listed order somewhat sane, with 1.9 versions listed above the equivalent pre-1.9 versions.
Sorry for the confusion, I probably could have chosen a better versioning scheme, but I'm going to stick with it for now. 1.1.x versions will always be for pre-1.9 servers. Higher versions including the 1.2.x series will be for 1.9 and later servers.
Hello again,
Is 1.1.2 the update you were talking about? Thanks :)
Great! I'll check back for any updates. Thank you.