Cuberite Forum
Disable automatic kicking when placing/breaking too many blocks? - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: Disable automatic kicking when placing/breaking too many blocks? (/thread-1871.html)



Disable automatic kicking when placing/breaking too many blocks? - Mathias - 04-13-2015

Hello,
Is there any way to deactivate the automatic kicking when placing/destroying too many blocks per unit time? I run a testing/OP server, where I'd like to allow users to test out e.g fastplace and nuker-hacks, if they want to.

Thank you!


RE: Disable automatic kicking when placing/breaking too many blocks? - xoft - 04-13-2015

Those checks are there because of the potential CPU strain the players could do on the server when using such hacks. There is currently no way to configure those checks away; the only possibility would be for you to remove them from the code and recompile the server for yourself. If you remove these four lines: https://github.com/mc-server/MCServer/blob/master/src/ClientHandle.cpp#L1852-L1855 the server will no longer check the amount of blocks interacted with per tick.


RE: Disable automatic kicking when placing/breaking too many blocks? - jan64 - 04-14-2015

That limit seems a bit excessive - there is no way a player can interact with 400 blocks / second.