RPGraveyards
This plugin provides RPG respawning functionality. How it works is, you define "Graveyard" locations and when a player dies they respawn at the nearest Graveyard, whether this is in a city or in the middle of a graveyard, or the middle of nowhere. Rather simple plugin and can be used easily.
How to use (short tutorial)
- Stand at the location you would like respawns to happen at
- Type /gy set <name>, for example /gy set Lorinth, would make a spawn point called Lorinth
- Then if you walk anywhere and die, you'll respawn at your created graveyard.
- Make as many other graveyards as you like and you'll respawn at the closest one!
Config.yml
- useRespawnGUI - (true/false) - This will prompt the user with an option to teleport to the graveyard they would have respawned at, when they respawn at their bed location (Use this with any other plugins with respawn functionality)
- useDiscovery - (true/false) - If you want players to have to discover plugins to respawn at them, turn this on
- respawnParticleEffect - Select a particle from here to see fancy effects when they respawn at a graveyard!
Commands
- /gy - displays all commands to user
- /gy list - displays all graveyards in your world
- /gy add <name> [discoveryDistance] - creates a graveyard at your location with your look direction with a given name. Note : Takes color codes and use '_' as spaces. If using discovery in your config you can set the optional paramter for discoveryDistance using this command
- /gy set <id> [name] - updates a graveyard by id to your current location and look direction! Optional parameter to update the name as well
- /gy remove <id> - deletes a given graveyard by id
- /gy tp [id] - teleports to the closest graveyard, or to a specific graveyard if an id is given
- /gy info [id] - shows information about the closest graveyard, or a specific graveyard if an id is given
Permissions
- rpgraveyard.admin - gives access to all commands
- rpgraveyard.teleport - gives access to teleport to any graveyard by id (/gy tp <id>)
- rpgraveyard.teleport.closest - gives access to teleport only to the closest graveyard (/gy tp)
Discord
Hey guys! I have a discord server for discussion/requests/issues about the plugin. Feel free to come in and chat about plugin development as well! All discussion/conversation is welcome! If you are using the plugin you are welcome to advertise your server in the specified channel.
Link to Discord Server : https://discord.gg/s5f6gdC
@tierdal
Well it took variable triggers a long time before it slowed down when I used it. But I get your point, I mean the idea is that it should be sleek enough to work no matter the size...So I guess I'll make my own storage system to keep track of players.
So maybe, /graveyard set <id> [explorable]
So for one you want to be explorable you type /graveyard set Spawn true, this would create a respawn called Spawn, that is explorable. Should I make it so you can define a radius? So maybe it would look like
/graveyard set <id> [explorable] [radius]
If you don't put a radius it decides the radius is 10
@lorinthios
are you saying use this with the plugin variable triggers? always wanted to get it but haven't had the reason yet... but think this: you have over 200+ locations and if every one is perm based it gets bulky in the perm file. unless you can store it somewhere else it wont work too well for yml's can only get so big before they begin... slowing down
@tierdal
Ah good idea! I'll see if I can figure that out =)
Maybe make points explorable and others open. Someone requested maybe having some points be for VIPs only using permissions. So really it could be as simple as making them permissions oriented and using Variable triggers to give the permissions for a location on arrival. In fact that would probably be the most efficient coding wise too.
So I'll add in permissions checking and allow people to configure if graveyards are open, or permission based. If you don't know how to use variable triggers I can make a tutorial video using this and variable triggers!
this is almost perfect...
got a suggestion: You have to discover those locations before you can respawn there... before this I was using this ancient plugin Checkpoint and it was working off WorldGuard regions. it was limited in a sense that you'd respawn in whatever checkpoint you were last. But adding a checker about discovered "graveyards" would prevent possible exploits in getting to areas where you're not supposed to reach just yet.