Ignore:
Timestamp:
Oct 5, 2019, 4:54:16 PM (5 years ago)
Author:
alloc
Message:

Scripts 113

File:
1 edited

Legend:

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

    r353 r356  
    133133}
    134134
     135serverconfig_ServerMaxWorldTransferSpeedKiBs_QueryName() {
     136        echo "Max download speed for the world (KiB/s"
     137}
     138serverconfig_ServerMaxWorldTransferSpeedKiBs_Type() {
     139        echo "number"
     140}
     141serverconfig_ServerMaxWorldTransferSpeedKiBs_Default() {
     142        echo "512"
     143}
     144serverconfig_ServerMaxWorldTransferSpeedKiBs_Range() {
     145        echo "64-1300"
     146}
     147
     148serverconfig_ServerMaxAllowedViewDistance_QueryName() {
     149        echo "Limit allowed view distance settings of clients"
     150}
     151serverconfig_ServerMaxAllowedViewDistance_Type() {
     152        echo "number"
     153}
     154serverconfig_ServerMaxAllowedViewDistance_Default() {
     155        echo "12"
     156}
     157serverconfig_ServerMaxAllowedViewDistance_Range() {
     158        echo "5-12"
     159}
    135160
    136161serverconfig_HideCommandExecutionLog_QueryName() {
     
    636661}
    637662serverconfig_DropOnDeath_Default() {
    638         echo "0"
     663        echo "1"
    639664}
    640665serverconfig_DropOnDeath_Range() {
    641         echo "0-3"
     666        echo "0-4"
    642667}
    643668serverconfig_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")
    645670}
    646671
     
    653678}
    654679serverconfig_DropOnQuit_Default() {
    655         echo "1"
     680        echo "0"
    656681}
    657682serverconfig_DropOnQuit_Range() {
     
    659684}
    660685serverconfig_DropOnQuit_Values() {
    661         config_allowed_values=("Nothing" "Everything" "Toolbelt only" "Backpack only")
     686        config_allowed_values=("Nothing" "Everything (incl. Equip)" "Toolbelt only" "Backpack only")
    662687}
    663688
     
    779804}
    780805
     806serverconfig_BedrollExpiryTime_QueryName() {
     807        echo "Bedroll expiry time (days)"
     808}
     809serverconfig_BedrollExpiryTime_Type() {
     810        echo "number"
     811}
     812serverconfig_BedrollExpiryTime_Default() {
     813        echo "45"
     814}
    781815
    782816
     
    930964        for CV in \
    931965                        ServerName ServerPassword ServerVisibility ServerPort ServerDisabledNetworkProtocols ServerDescription ServerWebsiteURL \
    932                         HideCommandExecutionLog MaxUncoveredMapChunksPerPlayer EACEnabled MaxSpawnedZombies MaxSpawnedAnimals \
     966                        HideCommandExecutionLog MaxUncoveredMapChunksPerPlayer ServerMaxWorldTransferSpeedKiBs ServerMaxAllowedViewDistance EACEnabled MaxSpawnedZombies MaxSpawnedAnimals \
    933967                        ; do
    934968                $1 $CV
     
    10371071                        GameDifficulty ZombieMove ZombieMoveNight ZombieFeralMove ZombieBMMove \
    10381072                        EnemySpawnMode EnemyDifficulty \
    1039                         BloodMoonEnemyCount BedrollDeadZoneSize \
     1073                        BloodMoonEnemyCount BedrollDeadZoneSize BedrollExpiryTime \
    10401074                        ; do
    10411075                $1 $CV
Note: See TracChangeset for help on using the changeset viewer.