What can I do with DeathCoordinates? This plugins allows the users of your server to teleport to their death locations by clicking on a message on chat. Of course, this need a specific permission, so you decide who is going to be able to do that. You can modify the message as you want and also you can define in which worlds the plugin will work. Is a simple and lightweight plugin.
Features: - ✓ Configurable Death Message with Click event - ✓ Disable plugin in certain worlds - ✓ Teleport Max Time - ✓Teleport Cooldown Time - ✓Invulnerability Time - ✓ Lava and Void Protection - ✓PlaceholderAPI variables - ✓Money Required (configurable) - ✓ Works with 1.8+
WORKS ONLY ON SPIGOT!
Tutorial: It is very easy to use, first you need a Permissions plugin and add the permission deathcoordinates.teleport and deathcoordinates.message to the groups you want. That group will be able to see and click the message after they die, so they will be teleported to their death location.
Code (YAML):
# -------------------------------------------------- # DeathCoordinates by Ajneb97 # If you find bugs, please contact with me: # https://www.spigotmc.org/resources/deathcoordinates-1-8-1-12.43318/ # -------------------------------------------------- Config:
new-version-reminder: true
lava_protection: true
void_protection: true
invulnerability_on_teleport:
enabled: true
time: 10
teleport-maxtime:
enabled: true
time: 300
teleport-cooldown: 15
enabled-worlds: - world
- world_nether
- world_the_end
teleport_money_required: 0
console_notification:
enabled: false
message: "&cPlayer &e%player% &cjust died in: &8(&7%coord-x% %coord-y% %coord-z%&8, &cWorld: &7%world%&8)" world_alias:
world: "Main World" minigames: "MiniGames World" Messages:
death-message: -
"&cYou died! Your &4death coordinates &care:" -
"&8(&7%coord-x% %coord-y% %coord-z%&8, &cWorld: &7%world%&8)" death-message-extra: "&cClick on this message to teleport you to your death position" no-died-recently: "&7You haven't died recently." incorrect-world: "&7You can't do that on this world" prefix: "&4[&cDeathCoordinates&4]" plugin-reload: "&aConfig Reloaded" console-command: "&7You need to be a player to use that command" nopermissions: "&7You don't have permissions to do that" wrongcommand: "&7That command doesn't exists" error-lava: "&7You can't go back to your death location because there is lava nearby" error-void: "&7You can't go back to your death location because you will fall in the void" error-money: "&7You need &a$%money% &7to teleport you to your death position" teleporting-message: "&7Teleporting..."
teleport-maxtime This part means that the player will have a certain amount of time, in this case 300 seconds, to go to their death location. After that time, they will not be able to teleport. You are free to enable or disable this option.
teleport-cooldown Here you can define how long do players need to wait before teleporting again to their death location.
invulnerability_on_teleport Here you can enable an invulnerability time when players teleport to their death location.
enabled-worlds Here you can put all the worlds you want to be used by this plugin. That means that if the player dies, the message will be only sended to the player if he is in one if these worlds.
teleport_money_required Here you can set a specific amount of money for teleporting to the player's death location. You need Vault for this option to work:
https://dev.bukkit.org/projects/vault If you set it to 0, this option will be disabled.
world_alias: world: "Main World"
minigames: "MiniGames World"
Here you can define custom names/alias for your worlds to be shown in the %world% variable in the teleport death message.
Commands: -/dc teleport <player> Teleports to a player's death coordinates.
-/dc show Shows your current death location message. -/dc info Shows plugin info -/dc reloadReload the plugin config -/dc tp Teleport you to your death location (alias: /deathcoordinates)
Permissions: - deathcoordinates.teleport (Allows you to teleport to death location) - deathcoordinates.message (Allows you to see the message of your death location coordinates) - deathcoordinates.bypasstime (Ignores the max time in config) - deathcoordinates.bypassmoney (Ignores the required money in config) - deathcoordinates.admin (Allows you to use the commands)