PearlFix
While currently considered by some to be a "feature" players are able to use pearls to Teleport through any number of blocks. On many pvp, Towny, and Faction based servers this is a very serious issue which has caused most servers to remove Pearl teleportation all together. Rather than remove teleportation, I wrote this quick plugin for my Civilization themed server at http://avrgaming.com.
How it Works
It simply checks the position that the player would teleport to during a pearl teleportation event, and verifies that the block is a "passable" block, aka that the block can be moved through normally. If the position the player is trying to teleport to is not passable, then this plugin denies the teleport event, and optionally sends a message to the player notifying the player that teleportation was cancelled. Players are also refunded their pearl.
Sample Configuration
Pretty lean configuration, the defaults should work fine for most servers. Biggest concern would be if you want to customize your message or not display one at all.
# If true, displays a message to the player when this plugin prevents teleportation show_message: true # The message to show the player when this plugin prevents teleportation message: 'Teleport failed, you cannot teleport into blocks' # This is a list of ID's for blocks that are "passable" aka # blocks that a player can walk through. This list is used # to make sure the player is moving into a passable block. # The default list should work as-is but it is here in case # Mojang adds new blocks, you can fix the plugin yourself. passable_blocks:
Like this Plugin? Want to say thanks?
Feel free to donate using this link.
This plugin no longer works as of 1.7. PLEASE update it. I had to disable ender pearls again. :/
Would be nice if the message could include color codes
Update please!
@zeebra456
Use a plugin like boosCooldowns.
@netizen539
Hey anyway to integrate a cool down? i have made i cool-down on a plugin i made but if its a fail it still makes the user wait.
@matagin
Yeah it works just fine 1.4.7, I foresee no issues moving forward to later versions.
I've updated it anyway, I'll try to keep it current as pest I can. Thanks for using it!
The plugin is working great! Can we get an update to 1.4.7? I know probably nothing has changed but it's nice to see it at 1.4.7. More people use it when it's been updated. Thanks.
@vortechjsbz
You're very welcome. Donation link added ;)
I'd just like to say thank you and recommend you add a donation link.
I've been waiting for this for a LONG time! Thank you very much! :D
The file was waiting on mod approval. Should be available now. Enjoy!
This is what I have been looking for. Can I have the download link?