Changeset 303 for scripts/usr/local
- Timestamp:
- Jun 23, 2017, 1:14:19 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/serverconfig.sh
r302 r303 28 28 } 29 29 serverconfig_ServerPort_Default() { 30 echo "2 5000"30 echo "26900" 31 31 } 32 32 serverconfig_ServerPort_Range() { … … 46 46 47 47 48 serverconfig_ServerDisabledNetworkProtocols_QueryName() { 49 echo "Disabled network protocols" 50 } 51 serverconfig_ServerDisabledNetworkProtocols_Type() { 52 echo "enum" 53 } 54 serverconfig_ServerDisabledNetworkProtocols_Default() { 55 echo "1" 56 } 57 serverconfig_ServerDisabledNetworkProtocols_Values() { 58 config_allowed_values=("None" "UNET" "UNET,SteamNetworking" "UNET,RakNet" "UNET,SteamNetworking,RakNet" "SteamNetworking" "SteamNetworking,RakNet" "RakNet") 59 } 60 48 61 49 62 serverconfig_ServerIsPublic_QueryName() { … … 162 175 } 163 176 serverconfig_ServerReservedSlots_Range() { 164 echo " 1-64"177 echo "0-64" 165 178 } 166 179 … … 190 203 } 191 204 serverconfig_ServerAdminSlots_Range() { 192 echo " 1-64"205 echo "0-64" 193 206 } 194 207 … … 754 767 echo "--------------------------------" 755 768 for CV in \ 756 ServerName ServerPassword ServerIsPublic ServerPort ServerD escription ServerWebsiteURL \769 ServerName ServerPassword ServerIsPublic ServerPort ServerDisabledNetworkProtocols ServerDescription ServerWebsiteURL \ 757 770 HideCommandExecutionLog MaxUncoveredMapChunksPerPlayer EACEnabled MaxSpawnedZombies MaxSpawnedAnimals \ 758 771 ; do … … 884 897 configEditAll() { 885 898 configEditServer "$1" 899 configEditSlots "$1" 886 900 configEditRemoteControl "$1" 887 901 configEditGameType "$1"
Note:
See TracChangeset
for help on using the changeset viewer.