sergivb01 / Toastr

Authentication plugin written for VelocityPowered
1 stars 0 forks source link

basic antibot system #39

Open sergivb01 opened 3 years ago

sergivb01 commented 3 years ago

Integrate with IPTables and IPSet

puttydotexe commented 3 years ago

/^\w{3,16}$/i is the valid regex for Minecraft account usernames. Including size limit and allowed chars.

puttydotexe commented 3 years ago

Found an intresting framework/method of manipulating IPTables without much aids. It can be found here.

sergivb01 commented 3 years ago

/^\w{3,16}$/i is the valid regex for Minecraft account usernames. Including size limit and allowed chars.

More strict regexp: https://github.com/sergivb01/Toastr/blob/2f31d4fb6914183cbcfd56ffca07724392de8e68/src/main/java/dev/sergivos/toastr/listeners/AuthListener.java#L39

I'm looking more into adding something such as the following, which can protect from many bots using the default settings https://github.com/2LStudios-MC/AntiBot/blob/5acce83b18591a8399bf3c8fc4e0bb003cea9579/src/twolovers/antibot/bungee/module/NicknameModule.java#L15