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.
@LilOu1227
There may be something wrong with your config.yml. Please paste the complete document to http://pastebin.com/ or so and provide the link.
@ebenwert
How?
http://prntscr.com/61ujog
@LilOu1227
Be sure that your config.yml file is saved in UTF-8 encoding, and that your system encoding is also set to UTF-8.
@ebenwert
This: http://prntscr.com/61m4xx
just to be sure, this is a mistake?
[21:44:12] [Server thread/WARN]: [EnderPearlCoolDown] Default system encoding may have misread config.yml from plugin jar
@LilOu1227
What's wrong with message color?
Please fix the color of messages!
@ebenwert
is there anyway?
@JaseDBZ
not with this plugin
how do you delay a enderpearly for say 30 seconds from when the mini game starts?
@mobilephone2003
Yeah, eventually ;)
Looking good, but I'm not seeing feedback that a player has been charged money when they throw the enderpearl.
Any chance that can be thrown in?
@OldPrelude
It's now updated to reflect changes in the Vault API, which was changed in response to the UUID introduction.
@OldPrelude
Since EPC doesn't keep any data about players, it should be as compatible as the permission plugin you use. But yeah, I think I just might re-upload..
Great plugin. Really need this updated with UUID just to be sure! I dont know f its compatible with the latest version. Or could you re-upload it as 1.7.2 maybe? Keeps out the confusion.
Thanks.
Getting this error, it is saved in UTF-8 format.
2013-11-16 14:06:36 [INFO] [EnderPearlCoolDown] Enabling EnderPearlCoolDown v1.4 2013-11-16 14:06:36 [INFO] [EnderPearlCoolDown] Vault hooked. Enderpearl throwing price enabled. 2013-11-16 14:06:36 [SEVERE] Cannot load plugins/EnderPearlCoolDown/config.yml org.bukkit.configuration.InvalidConfigurationException: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 0 at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175) at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117) at net.sqdmc.enderpearlcooldown.EPC.reloadConfig(EPC.java:80) at net.sqdmc.enderpearlcooldown.EPC.onEnable(EPC.java:53) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugin(CraftServer.java:284) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.enablePlugins(CraftServer.java:266) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.reload(CraftServer.java:615) at org.bukkit.Bukkit.reload(Bukkit.java:277) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:528) at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerConnection.java:968) at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.java:886) at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:837) at net.minecraft.server.v1_6_R3.Packet3Chat.handle(SourceFile:49) at net.minecraft.server.v1_6_R3.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R3.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:592) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 0 at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70) at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50) at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ... 29 more
@ebenwert
== Thanks Alot , And Very Nice Plugins you have there! :D ==
Keep Making Plugins Man! You really good at this! :)
@avian960
With your permission manager, allow the enderpearl.use permission for the group.
i Need help!
I Have Prison Server And I Made
enderpearl.use: default: false
So When People Throw Ender pearl , it says they cant , But if i want to enable it For Free Rank Group ONLY , Howi i Do It ?
Please Some One Help!
@dotapurex1
"special characters are not allowed in "<string>""
@ebenwert
It is saved in utf-8 format.