Search code examples
minecraftbukkit

How to disable bukkit server auto-disabling?


Hello I wanted to debug some of my bukkit plugins, but the problem is I can do brakepoint for max of 1 min, because after this time server auto-stops how can I disable it?


Solution

  • Minecraft's server.properties defines how long a tick can be before shutting down

    max-tick-time=60000
    

    Increasing this should let you pause the tick for a longer period of time

    The time is in ms, so for a 1 hour pause use 1*60*60*1000=3600000

    max-tick-time=3600000
    

    If you wish to disable the feature entirely, -1 can be used

    max-tick-time=-1