Minecraft Name: priMELval Suggestion: Block tp commands in pvp regions so you can't get tp'd into a pvp region. Or at the very least have a warning that the region is tp. Reason: Random builder joins and stands in a pvp arena and says "Help I need someone to tp soandso to me". Someone tps to them and gets killed. Any Other Information: This is becoming a real problem... Link To This Plugin/Is this a custom addition?: did a quick google and found http://dev.bukkit.org/bukkit-plugins/worldguard-custom-flags/ but idk if that's useful.
Why block it? It may come in use sometimes. Instead, perhaps have @JamieSinn code something that gives you a warning upon receiving a TP request in a PvP region. That would work much better and inform users that they might be killed.
It would interfere quite a lot with essentials' tp mechanism, sadly, not realistic. The plugin, quite possibly an idea.
Why not have it set to where if player X does /tpa player Y a message is sent to player Y that player X is in a pvp zone? It would be totally separate from essentials and probably decently easy to make. I'm no expert but it seems like it would work.
Sorry, I should have explained what I was trying to say better. I mean have a plugin thing totally separate from essentials. When someone uses the tp command, it tests to see if that player is in a pvp zone. The essentials tp command itself is not effected by the new plugin thing.
Assuming you mean rewriting teleport entirely, it's not really feasible and would still need to hook into essentials for use with /back.
I'm having trouble explaining what I mean... We would still have the exact same system. We would add something that did something along the lines of If chat message sent If /tpa command used If player in pvp zone Send player warning Essentials tpa would not be effected at all.
•Player X: "/tpahere miner1975" •is player X in pvp zone? •yes, message "miner1975" Warning! So before the command is processed the new plugin thing will check to see if the user is in a pvp zone. For example, This would be similar to having a plugin that told you what town you were in when you spoke, or even copy what you said. Miner1975 says "hello guys" and the plugin could copy "hello" or "guys" or "hello guys". The plugin could also put a / before "hello" or "guys". I know I am terrible at explaining this, but think of a chat filter macro. If you type .help into chat it runs a command. Or you could write a macro that when I say "talk to miner1975" it would recognize "talk to" and "miner1975" so it would /pm "miner1975". You could do the same thing with what I said above in the 1st paragraph. The new plugin would recognize "tpahere" sent to player "miner1975" from player "X". The plugin would check if player X is in a pvp world. If so, it would send "miner1975" a warning. Keep in mind the receiver of the tp would still be able to accept and tpa and all, they would just get a message before the tpa (that has NOTHING to do with essentials). Edit: after going back and reading this it sounds like im crazy, sorry lol. Just know that what I said in the second and third paragraph is an example and NOT what I am suggesting the new plugin would do.
Which the custom plugin already does! It's pretty easy to hook into both, but to rip the tp commands out of essentials and put them in their own plugin does require some work.