Simple Bukkit plugin to add a cooldown or cost to ender pearls.
- add cooldown to ender pearls
- disable ender pearls completely on a per-user basis (permission)
- charge money for throwing pearls
- customizable messages
Drop the jar in your craftbukkit/plugins folder. Per default, enderpearls will have a cooldown of 3 seconds.
Example plugin.yml (default settings):
cooldown: 3000
price: 0
showMessage: true
messages:
money: "§cNot enough money to throw pearl. Need at least {price}."
cooldown: "§cEnderpearl cooldown remaining: {seconds} seconds."
notallowed: "§cYou may not use ender pearls."
cooldownis the time in milliseconds that players need to wait before throwing pearls.priceis how much each pearl throw costsshowMessagedetermines whether users get feedback on unsuccessful throws or it just silently fails.messagesare the individual messages sent to players when pearl throws fail.
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