Changeset 356 for scripts/usr/local
- Timestamp:
- Oct 5, 2019, 4:54:16 PM (5 years ago)
- Location:
- scripts/usr/local/lib/7dtd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/VERSION
r353 r356 1 Version: 11 22 Release: 2019- 03-051 Version: 113 2 Release: 2019-10-05 3 3 -
scripts/usr/local/lib/7dtd/serverconfig.sh
r353 r356 133 133 } 134 134 135 serverconfig_ServerMaxWorldTransferSpeedKiBs_QueryName() { 136 echo "Max download speed for the world (KiB/s" 137 } 138 serverconfig_ServerMaxWorldTransferSpeedKiBs_Type() { 139 echo "number" 140 } 141 serverconfig_ServerMaxWorldTransferSpeedKiBs_Default() { 142 echo "512" 143 } 144 serverconfig_ServerMaxWorldTransferSpeedKiBs_Range() { 145 echo "64-1300" 146 } 147 148 serverconfig_ServerMaxAllowedViewDistance_QueryName() { 149 echo "Limit allowed view distance settings of clients" 150 } 151 serverconfig_ServerMaxAllowedViewDistance_Type() { 152 echo "number" 153 } 154 serverconfig_ServerMaxAllowedViewDistance_Default() { 155 echo "12" 156 } 157 serverconfig_ServerMaxAllowedViewDistance_Range() { 158 echo "5-12" 159 } 135 160 136 161 serverconfig_HideCommandExecutionLog_QueryName() { … … 636 661 } 637 662 serverconfig_DropOnDeath_Default() { 638 echo " 0"663 echo "1" 639 664 } 640 665 serverconfig_DropOnDeath_Range() { 641 echo "0- 3"666 echo "0-4" 642 667 } 643 668 serverconfig_DropOnDeath_Values() { 644 config_allowed_values=(" Everything" "Toolbelt only" "Backpack only" "Delete all")669 config_allowed_values=("Nothing" "Everything (incl. Equip)" "Toolbelt only" "Backpack only" "Delete all") 645 670 } 646 671 … … 653 678 } 654 679 serverconfig_DropOnQuit_Default() { 655 echo " 1"680 echo "0" 656 681 } 657 682 serverconfig_DropOnQuit_Range() { … … 659 684 } 660 685 serverconfig_DropOnQuit_Values() { 661 config_allowed_values=("Nothing" "Everything " "Toolbelt only" "Backpack only")686 config_allowed_values=("Nothing" "Everything (incl. Equip)" "Toolbelt only" "Backpack only") 662 687 } 663 688 … … 779 804 } 780 805 806 serverconfig_BedrollExpiryTime_QueryName() { 807 echo "Bedroll expiry time (days)" 808 } 809 serverconfig_BedrollExpiryTime_Type() { 810 echo "number" 811 } 812 serverconfig_BedrollExpiryTime_Default() { 813 echo "45" 814 } 781 815 782 816 … … 930 964 for CV in \ 931 965 ServerName ServerPassword ServerVisibility ServerPort ServerDisabledNetworkProtocols ServerDescription ServerWebsiteURL \ 932 HideCommandExecutionLog MaxUncoveredMapChunksPerPlayer EACEnabled MaxSpawnedZombies MaxSpawnedAnimals \966 HideCommandExecutionLog MaxUncoveredMapChunksPerPlayer ServerMaxWorldTransferSpeedKiBs ServerMaxAllowedViewDistance EACEnabled MaxSpawnedZombies MaxSpawnedAnimals \ 933 967 ; do 934 968 $1 $CV … … 1037 1071 GameDifficulty ZombieMove ZombieMoveNight ZombieFeralMove ZombieBMMove \ 1038 1072 EnemySpawnMode EnemyDifficulty \ 1039 BloodMoonEnemyCount BedrollDeadZoneSize \1073 BloodMoonEnemyCount BedrollDeadZoneSize BedrollExpiryTime \ 1040 1074 ; do 1041 1075 $1 $CV
Note:
See TracChangeset
for help on using the changeset viewer.