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.
For most of the Click Tools, I see the accuracy is not good. Finally, i found a game which is most accurate for clicking purpose click here.
I'm using this for my server, but I've come into a pretty tricky issue. The CPS detector not only detects left clicking, but it also detects right clicking as well. Also, when spamming a fishing rod (by jitter-clicking) your CPS is displayed as a much higher number than what your real CPS actually is. I would like to be able to configure the plugin to only detect left clicking. Please fix this, or tell me how I can fix it myself.
decompile the plugin,
find the clicking event,
make it so that if(action.RIGHT_CLICK){return false;} (Something like this)
so that it doesn't even start the event if it is right clicked,
not spoon-feeding :D
Spigot 1.8.8 Last build. Doesn't work. No errors in console.
@MelloJelloGames
No problem! Glad to see it working for you!
@BlazingBroGamer
Huh for some reason it wasn't working for me. I will re-download it and see if I get it to work. Thanks for the help. (Edit: I just had groupPermissions owner set to false sorry about that)
@MelloJelloGames
I am not 100% sure what you are expecting, but yes there is an option to message people with the permission once a player hits above a certain amount of clicks per second.
Minimum amount of clicks before it notifies the staffs with the permission CPSNotifyAmount: 3 (From the Configuration Page) This will be the option to notify the staffs with permission wether a player has hit above a certain cps
How do I make it so if a player hits a certain amount of clicks it will show up in OP's chat or Mod's chat. See the server I am creating will have no macro protection so I want to see if they hit a certain amount but I don't want to have to do /cps view (player) I would like it if you can set the clicks per second that will show up in chat and if they hit anything higher than that setting it will also show up in ops chat can you do this? Like make a command that views everyones clicks all at one time/all the time if they hit anything higher than a setting?
@ItsDestron
Sorry I have been slacking on editing the page recently. All the in game config editing commands have been removed as for some programming issues. That is not a bug, and those commands will not be added back in the future.
I installed the plugin but all it let's me do is /cps reload or /cps [player] please help
1.5.2?
@mod_masta
Sorry for the late reply I was busy recently. Anyways, it should work for anything including fishing rods. Fishing rods are one of the examples, since I have been getting complaints from another person, saying it was bugged.
Is it possible to make it work for right clicking with anything, not just a fishing rod?
@LilOu1227
I have been getting suggestions of banning from another person, but thats where the commands come in use. You can add a /ban %player% to the list of commands, allowing you to pass an automatic ban.
As for the custom commands handling colours, I am not sure what you mean. If you run a command, it will automatically change to the command from another plugin, meaning that lets say if you put "/msg %player% &4Do not spam!", essentials will automatically put the colours in as usual. The console is running the command, so you wouldn't need to worry about permissions.
Some suggestions: The kick can pass an automatic ban? A method for the CustomCommand can handle colors?
@axelg4mer
Thanks for the good idea! I will put this in the next update.
EDIT: Updated. It is uploading right now
i think, can you add a method for select world? Default is "All worlds"? and if you want select worlds Example: Worlds: False (all worlds in the server)
Worlds: True (select worlds)
EnabledWorlds: - Test
@madtomic
I wouldn't necessarily need to update it to 1.8, since my plugin wouldn't have anything to do with saving usernames.
Bypass permissions should be added in the next update.
Can you add support for 1.8
update: it seems to be working.
Can you add permission to bypass this?
Thanks
@Phnomz Added in the newest update!
@axelg4mer
I have added it in the newest update! Also, if its possible, please send the error message to me please.