Cheeky54

How to run a command before the server starts?

Recommended Posts

Cheeky54    0

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

Share this post


Link to post
Share on other sites
Daniel86268    463

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"

  • Like 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now