Been trying to know if there is an easy way to update the worldserver.conf
when changes are committed to worldserver.conf.dist
. Or it is necessary to do it manually always?
Update wordserver.conf
124 Views Asked by naravena At
1
Been trying to know if there is an easy way to update the worldserver.conf
when changes are committed to worldserver.conf.dist
. Or it is necessary to do it manually always?
There is no automated way, however you can use the
diff
command to make it easy to spot the differences between yourworldserver.conf
and the newworldserver.conf.dist
.Assuming that you have those two files in the same folder, you can run:
this will generate a diff file
worldserver.diff
containing all the differences betweenworldserver.conf.dist
andworldserver.conf
so it will easy for you to spot what the new additions are and update yourworldserver.conf
accordingly.When you're done you can of of course delete the
worldserver.diff