Changeset 303 for scripts/usr


Ignore:
Timestamp:
Jun 23, 2017, 1:14:19 PM (8 years ago)
Author:
alloc
Message:

v107 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/lib/7dtd/serverconfig.sh

    r302 r303  
    2828}
    2929serverconfig_ServerPort_Default() {
    30         echo "25000"
     30        echo "26900"
    3131}
    3232serverconfig_ServerPort_Range() {
     
    4646
    4747
     48serverconfig_ServerDisabledNetworkProtocols_QueryName() {
     49        echo "Disabled network protocols"
     50}
     51serverconfig_ServerDisabledNetworkProtocols_Type() {
     52        echo "enum"
     53}
     54serverconfig_ServerDisabledNetworkProtocols_Default() {
     55        echo "1"
     56}
     57serverconfig_ServerDisabledNetworkProtocols_Values() {
     58        config_allowed_values=("None" "UNET" "UNET,SteamNetworking" "UNET,RakNet" "UNET,SteamNetworking,RakNet" "SteamNetworking" "SteamNetworking,RakNet" "RakNet")
     59}
     60
    4861
    4962serverconfig_ServerIsPublic_QueryName() {
     
    162175}
    163176serverconfig_ServerReservedSlots_Range() {
    164         echo "1-64"
     177        echo "0-64"
    165178}
    166179
     
    190203}
    191204serverconfig_ServerAdminSlots_Range() {
    192         echo "1-64"
     205        echo "0-64"
    193206}
    194207
     
    754767        echo "--------------------------------"
    755768        for CV in \
    756                         ServerName ServerPassword ServerIsPublic ServerPort ServerDescription ServerWebsiteURL \
     769                        ServerName ServerPassword ServerIsPublic ServerPort ServerDisabledNetworkProtocols ServerDescription ServerWebsiteURL \
    757770                        HideCommandExecutionLog MaxUncoveredMapChunksPerPlayer EACEnabled MaxSpawnedZombies MaxSpawnedAnimals \
    758771                        ; do
     
    884897configEditAll() {
    885898        configEditServer "$1"
     899        configEditSlots "$1"
    886900        configEditRemoteControl "$1"
    887901        configEditGameType "$1"
Note: See TracChangeset for help on using the changeset viewer.