Skip to content

Server crash with nuker (PlotSquared and/or possibly others) [DBO 980] #58

@asofold

Description

@asofold

Seems NCP can't prevent a server crash 'out of memory', having a client use a block break nuker cheat. This only happens on PlotSquared plots where the player can NOT build.

Assumed reason is that another plugin (PlotSquared?) is getting interact/blockbreak events before NCP, with the plugin using a considerable lot of resources and cancelling the event, so that NCP doesn't check anything.

Suggested hack attempt (no feedback yet):

  • Add a loadbefore: [PlotSquared] entry to the plugin.yml inside of the NoCheatPlus.jar with a zip/jar editor.

Suggestion for other plugin developers (without really being able to confirm this is the issue):

  • Check for the events on LOW priority for region protection and more heavy checks. Have anti cheating be on lowest, thinking of simple checks like clicking wrong block/direction and event frequency.

What could be done in NCP:

  • Still run checks for cancelled events, possibly configurable. THIS MIGHT NOT HELP, the other plugin will still receive events before NCP and use up resources, only kicking could help.
  • Add the loadbefore entry to NCP by default - might help with this case.
  • Add a packet level check for frequency of block breaking and interacting with blocks - might need some concept which type of checks to prefer (bukkit/packet).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions