New variable:
randomseedonwipe="on/off"
Upon wipe, if [ "${randomseedonwipe}" == "on" ]; then
wipe the server
generate randomseedwithin the supported range
apply seed="rand"
edit ${rootdir}/${selfname} and apply seed="rand"
fi
Anything being done on this? This feature is kind of important on my current rustserver project.
If someone is wondering about this/having the same problem that I am (the seed not being random). I resolved this by having my wipe bashscript replace the seed="" with a random number generated by bash.
#!/bin/bash
RDM="$(( ( RANDOM % 2147483647 ) + 1 ))"
sed -i -- 's/^seed=.*/seed="'$RDM'"/g' /path/to/rustserver.cfg
will this get done?
At this point it's probably on one of us to make a PR
I will be doing this for the next release
closing this as a duplicate using issue #2915
Most helpful comment
I will be doing this for the next release