- Fixed some properties in GameServerSettings not being saved due to being private.
- Fixed serversettings.xml overriding the settings entered in the "host server" menu in the client project. - Added a default serversettings.xml file. TODO: either add an error/warning of some sort if trying to use any of the ObjectProperty attributes on a non-public property or make ObjectProperty compatible with private properties. + Refactor Properties.cs, class/method naming in particular.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<serversettings
|
||||
name="Server"
|
||||
ServerMessage=""
|
||||
port="14242"
|
||||
password=""
|
||||
public="True"
|
||||
maxplayers="10"
|
||||
attemptupnp="false"
|
||||
randomizeseed="True"
|
||||
respawninterval="300"
|
||||
maxtransporttime="180"
|
||||
minrespawnratio="0.2"
|
||||
autorestartinterval="60"
|
||||
allowspectating="True"
|
||||
endroundatlevelend="True"
|
||||
saveserverlogs="True"
|
||||
allowfiletransfers="True"
|
||||
allowrespawn="True"
|
||||
allowvotekick="True"
|
||||
endvoterequiredratio="0.6"
|
||||
kickvoterequiredratio="0.6"
|
||||
SubSelection="Manual"
|
||||
ModeSelection="Manual"
|
||||
TraitorsEnabled="No"
|
||||
/>
|
||||
Reference in New Issue
Block a user