Cheeky54 Posted November 26, 2020 Share Posted November 26, 2020 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 Link to comment https://forums.kleientertainment.com/forums/topic/123806-how-to-run-a-command-before-the-server-starts/ Share on other sites More sharing options...
Daniel86268 Posted November 26, 2020 Share Posted November 26, 2020 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" Link to comment https://forums.kleientertainment.com/forums/topic/123806-how-to-run-a-command-before-the-server-starts/#findComment-1395077 Share on other sites More sharing options...
Recommended Posts
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.