Anti-cheat fixes, settings and API (#287)

* Added options to disable movement checks and anti-instabreak and API methods to control this
* Fixed anti-flight false positives
* Fix flight toggle kick cannot be disabled
* Added PlayerIllegalMoveEvent
This commit is contained in:
Dylan K. Taylor
2017-01-25 09:40:48 +00:00
committed by GitHub
parent 77456702e9
commit 661f17b6e0
7 changed files with 121 additions and 16 deletions

View File

@ -99,6 +99,11 @@ debug:
player:
#Choose whether to enable player data saving.
save-player-data: true
anti-cheat:
#If false, will try to prevent speed and noclip cheats. May cause movement issues with some blocks which are not yet properly implemented.
allow-movement-cheats: false
#If false, times block breaks to ensure players are not cheating. May cause issues with some blocks which are not yet properly implemented.
allow-instabreak: false
level-settings:
#The default format that levels will use when created