EnderPearl Cooldown
Ender Pearl Cooldown
Simple Bukkit plugin to add a cooldown or cost to ender pearls.
Goals
- balance PvP
- prevent ender pearl glitching (moving through protected blocks by spamming pearls)
Features
- add cooldown to ender pearls
- disable ender pearls completely on a per-user basis (permission)
- charge money for throwing pearls
- customizable messages for failed pearl throws
Installation
Drop the jar in your craftbukkit/plugins folder. Per default, enderpearls will have a cooldown of 3 seconds.
Configuration
Example plugin.yml
(default settings):
cooldown: 3000
price: 0
showMessage: true
cooldown
is the time in milliseconds that players need to wait before throwing pearls.price
is how much each pearl throw costsshowMessage
determines whether users get feedback on unsuccessful throws or it just silently fails.
Permissions
enderpearl.cooldown:
default: true
Ender pearl cooldown applies to players with this permission.
enderpearl.use:
default: true
Ender pearls may be used by players with this permission.
enderpearl.pay:
default: true
Players with this permission pay for each pearl throw.
enderpearl.admin:
default: op
Use admin command /epc reload
Help and resources
Find me on Twitter, see the source on Github, report issues.
Stat Collections
We use metrics to collect stats! We only collect basic things such as version type, and players online. If you want to see everything, click on the graph. Go into /plugins/PluginMetrics/config.yml to disable stat collecting if you wish.
@Bco1981
Thanks, I'll look into it. For now, the error looks like adding Vault will fix the problem.
@ebenwert
I use Essentials economy is that why i can't load it ? i don't have vault either since i havent had the need for it.
2012-12-20 08:14:21 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.5-R1.0-b2543jnks (MC: 1.4.5) (Implementing API version 1.4.5-R1.0)
-2012-12-20 08:14:25 [INFO] [EnderPearlCoolDown] Enabling EnderPearlCoolDown v1.2.0 2012-12-20 08:14:25 [SEVERE] Error occurred while enabling EnderPearlCoolDown v1.2.0 (Is it up to date?) Caused by: java.lang.ClassNotFoundException: net.milkbowl.vault.economy.Economy
@Bco1981
I tested it with the CB1.4.5-R1.0 recommended build, and it still works fine.
@noxturno
Sure, I'll consider it. But I probably won't get around to it soon.
is there gonna be a update for 1.4.5 ? Or is it just me that can't get it to work ?
anyway you can make a potion cooldown plugin too ? that would be great !!!
@Grave9912
That's probably more complicated, but I'll have a look if there is a way.
I was wondering if this could be reversed to a warpmup instead of a cool down so the player has to wait a couple of seconds to teleport and if they get hit it resets.
@NinjaW0lf
I suppose seconds are more intuitive, but considering backwards compatibility, I won't change the configuration just for that :)
@ebenwert Eh, i guess. i chose to use seconds with my pearlcontrol plugin, but ii guess its all just comes down to preference.
@NinjaW0lf
Why? I think milliseconds are fine and allow shorter cooldowns without fractions.
Dont u think u should change milliseconds to seconds?
@Zombiemold
I agree. Thank you (so much) for this plugin! :-)
As an owner of a PvP server where balance is always a concern, this is definitely a very welcome plugin. Can't wait.