bcbwilla / fouriermc Goto Github PK
View Code? Open in Web Editor NEWA Minecraft server plugin which detects suspicious player clicking activity.
License: MIT License
A Minecraft server plugin which detects suspicious player clicking activity.
License: MIT License
PlayerInteractEvent is also called for right clicks and for interacting with pressureplates, which is not accounted for when incrementing the click counter for the player.
Add data logging option. Probably just log the clicking signals as arrays in a json file so that it can easily be played with later.
[{player: uuid, signal: [0,1,0,0,0,1,1...]}, ...]
Add option to only log certain percentage for if larger servers want to collect a portion of data over time.
Note that I'm going to ease of later analysis over efficient storage here.
Need a good way to record / log user violations (i.e. when they fail a clicking signal test). Possibly something that keeps track of violations over time and notifies server staff after a certain number of violations. This should be general and play well with other standard server plugins.
Add get/set commands for each of the config parameters so that clicking signal tests can be modified in game. This would be primarily for debugging and testing purposes.
Similar to /ncp info <playername>
in NoCheatPlus, it would allow you to see a player's recent violations.
Basic permissions are needed for commands and violation notifications
For Java 7 and up, there is the Diamond operator which is convention for initiating collections.
instead of: public Map<UUID, Violation> violationLogger = new HashMap<UUID, Violation>();
set your programming language to 7 (diamonds & multi-catch) and do:
public Map<UUID, Violation> violationLogger = new HashMap<>();
You shouldn't notice a performance difference, just a little thing I caught while reading your code! :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.