Clicks Per Second
This plugin will work on 1.7, AND 1.8. Since this plugin has nothing to do with UUIDs, I wouldn't need to change anything to make it support 1.8.
Clicks Per Second
Have you ever wanted to stop people just stop spamming clicks? Well here is your plugin!
Milestones!
2000 downloads! Thank you all!
Features
- Works good against Anti Kill Aura, and Auto Clickers
- Custom Max Clicks
- Custom Click Intervals
- Custom Commands to Run - Multiple Allowed
- Timed Broadcast
- View Player's Clicks Per Second
- Worlds to enable in
- Metrics!
Commands and Permissions
Permission | Description | Version | |
---|---|---|---|
/cps reload | cps.reload OR cps.admin | This command reloads the config | 1.0 |
/cps view [Player] | cps.view OR cps.admin | This command allows you to see the CPS a player currently has | 1.2.2 |
Bypass CPS | cps.bypass OR cps.admin | This command allows you to bypass CPS | 1.2.4 |
Configuration
Click here for the Configuration Page!
Note
This plugin uses metrics, which sends anonymous data to mcstats.net. There is no way to disable it as of now.
To Do List
Make events inside this pluginAdd metrics
Metrics
Developer API
Click here if your a developer and want to use this plugin.
I will be adding more code to the Event in a bit.
@kemmeo
Depend if they was jitterclicking, i set mine to 28, i can do 18 cps so 26 is fine i think
In reply to _ForgeUser19012508:
Jitter clicking is somehow dangerous for health but if you need very high CPS you can use jitter clicking.
check jitter click test: https://clickspeeder.com/jitter-click-test/
if its possible, could it tell us how many click an player do per seconde ?
Can you add every few seconds the message? every few seconds the message? Example: Every 5 seconds appears "[CPS] CPS player has more ...." 5 seconds later if you keep using that say it again This is to prevent spam. And if you can fix the error: In gamemode 1 if you put on a pressure plate (and you not click) appear the message "CPS player has more .."
@kemmeo
@helptiger
In the newest version, I added custom commands and auto max clicks.
@kemmeo
Made some research myself, tested 10 people's clicks per seconds. Their average was 5.5 clicks a second.
There, thanks for your help -.-
Any recommendations as to what a good default max clicks should be? :)
Would be very useful for me to define a custom command:
example:
CustomCommandUse: true
CustomCommand: jail %player% jail 5m
@BlazingBroGamer
Thanks for fix!
@helptiger
Fixed! I am sorry about that
with V. 1.1.5 on Spigot 1.8:
[20:10:16 ERROR]: Could not pass event PlayerInteractEvent to ClicksPerSecond v1.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) [spigot.jar:git-Spigot-612de46-07c2162] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-612de46-07c2162] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-612de46-07c2162] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-612de46-07c2162] at org.bukkit.craftbukkit.v1_8_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:226) [spigot.jar:git-Spigot-612de46-07c2162] at org.bukkit.craftbukkit.v1_8_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:193) [spigot.jar:git-Spigot-612de46-07c2162] at net.minecraft.server.v1_8_R1.PlayerInteractManager.a(PlayerInteractManager.java:107) [spigot.jar:git-Spigot-612de46-07c2162] at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:588) [spigot.jar:git-Spigot-612de46-07c2162] at net.minecraft.server.v1_8_R1.PacketPlayInBlockDig.a(SourceFile:40) [spigot.jar:git-Spigot-612de46-07c2162] at net.minecraft.server.v1_8_R1.PacketPlayInBlockDig.a(SourceFile:10) [spigot.jar:git-Spigot-612de46-07c2162] at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot.jar:git-Spigot-612de46-07c2162] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_25] at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683) [spigot.jar:git-Spigot-612de46-07c2162] at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot.jar:git-Spigot-612de46-07c2162] at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot.jar:git-Spigot-612de46-07c2162] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot.jar:git-Spigot-612de46-07c2162] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25] Caused by: java.lang.IllegalArgumentException: Permission name cannot be null at org.bukkit.permissions.PermissibleBase.isPermissionSet(PermissibleBase.java:50) [spigot.jar:git-Spigot-612de46-07c2162] at ru.tehkode.permissions.bukkit.regexperms.PermissiblePEX.hasPermission(PermissiblePEX.java:135) [?:?] at org.bukkit.craftbukkit.v1_8_R1.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:102) [spigot.jar:git-Spigot-612de46-07c2162] at me.BlazingBroGamer.CPS.Main.onClick(Main.java:106) [?:?] at sun.reflect.GeneratedMethodAccessor611.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_25] at java.lang.reflect.Method.invoke(Method.java:483) [?:1.8.0_25] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) [spigot.jar:git-Spigot-612de46-07c2162] ... 17 more