S_TimeLimit : change default value
Posted: 30 Apr 2020, 19:00
Hello,
I want to know if it is possible de overwrite the default value of some server variables ?
For script TimeAttack.Script.txt :
> S_TimeLimit (default 300 seconds = 5 minutes) => I want to be equal to 43200 secondes (12 hours)
For script Rounds.Script.txt :
> S_WarmUpNb (default 0) => I want to be equal to 2
> S_RoundsPerMap (default -1) => I want to be equal to 3
> ...
Every time I reload my servers, I have to log on them and use pyplanet to change the values.
I have tried to used specific script file :
> I have added this file on my server : ~/maniaplanet-docker/UserData/Scripts/Modes/TrackMania/TimeAttack12h.Script.txt
> I have copied it from official file Modes/TrackMania/Base/ModeTrackmania.Script.txt
> I have only changed the line 18 : #Setting S_TimeLimit 43200 as _("Time limit :") ///< Time limit before going to the next map
> When I run the server, it is working by the dedimania plugin (pyplanet) doesn't work anymore because the game mode is not official
What else can I do ?
Thank you by adance for your help,
Regards,
Jocio.
I want to know if it is possible de overwrite the default value of some server variables ?
For script TimeAttack.Script.txt :
> S_TimeLimit (default 300 seconds = 5 minutes) => I want to be equal to 43200 secondes (12 hours)
For script Rounds.Script.txt :
> S_WarmUpNb (default 0) => I want to be equal to 2
> S_RoundsPerMap (default -1) => I want to be equal to 3
> ...
Every time I reload my servers, I have to log on them and use pyplanet to change the values.
I have tried to used specific script file :
> I have added this file on my server : ~/maniaplanet-docker/UserData/Scripts/Modes/TrackMania/TimeAttack12h.Script.txt
> I have copied it from official file Modes/TrackMania/Base/ModeTrackmania.Script.txt
> I have only changed the line 18 : #Setting S_TimeLimit 43200 as _("Time limit :") ///< Time limit before going to the next map
> When I run the server, it is working by the dedimania plugin (pyplanet) doesn't work anymore because the game mode is not official
What else can I do ?
Thank you by adance for your help,
Regards,
Jocio.