Jump to content

How to run a command before the server starts?


Recommended Posts

So I need a way to run a command to fix a bug I found.

 

I tried to change the spawn rate of birds by using the command 

TheWorld.topology.overrides.original.birds = "lots"

however, LOTS is not used in that file, it supposed to be "ALWAYS" I believe.

 

So i need a way to run a command before the server reads that line of script, because it is causing my server from failing to launch.

 

Another way would be to add "LOTS" as a value in the tuningoverwrite file. 

 

Does anyone know what command to use and where to run the command to fix this?

 

Logs proof this is the cause of the bug

First of all, you can't run a command on a server before the server started.

You can try editing the line in the script that you've mentioned to the correct value.

Btw it should be

TheWorld.topology.overrides.birds = "always"

(without the original). Possible vallues are: "never", "rare", "default", "often", "always"

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...