Changeset 294 for scripts/usr/local/lib/7dtd/serverconfig.sh
- Timestamp:
- Oct 6, 2016, 4:45:58 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/serverconfig.sh
r262 r294 133 133 } 134 134 serverconfig_GameWorld_Values() { 135 config_allowed_values=("Random Gen" "Navezgane" "MP Wasteland Horde" "MP Wasteland Skirmish" "MP Wasteland War")135 config_allowed_values=("Random Gen" "Navezgane") # "MP Wasteland Horde" "MP Wasteland Skirmish" "MP Wasteland War" 136 136 } 137 137 … … 230 230 } 231 231 serverconfig_DayNightLength_Default() { 232 echo "40" 233 } 234 235 236 237 serverconfig_FriendlyFire_QueryName() { 238 echo "Friendly fire" 239 } 240 serverconfig_FriendlyFire_Type() { 232 echo "50" 233 } 234 235 236 237 serverconfig_DayLightLength_QueryName() { 238 echo "Duration of daylight (in ingame hours)" 239 } 240 serverconfig_DayLightLength_Type() { 241 echo "number" 242 } 243 serverconfig_DayLightLength_Default() { 244 echo "18" 245 } 246 serverconfig_DayLightLength_Range() { 247 echo "0-24" 248 } 249 250 251 252 serverconfig_PlayerKillingMode_QueryName() { 253 echo "Player killing" 254 } 255 serverconfig_PlayerKillingMode_Type() { 256 echo "enum" 257 } 258 serverconfig_PlayerKillingMode_Default() { 259 echo "3" 260 } 261 serverconfig_PlayerKillingMode_Values() { 262 config_allowed_values=("No player killing" "Kill allies only" "Kill strangers only" "Kill everyone") 263 } 264 265 266 267 serverconfig_PersistentPlayerProfiles_QueryName() { 268 echo "Persistent player profiles" 269 } 270 serverconfig_PersistentPlayerProfiles_Type() { 241 271 echo "boolean" 242 272 } 243 serverconfig_ FriendlyFire_Default() {273 serverconfig_PersistentPlayerProfiles_Default() { 244 274 echo "false" 245 275 } 246 serverconfig_ FriendlyFire_ErrorMessage() {276 serverconfig_PersistentPlayerProfiles_ErrorMessage() { 247 277 echo "Not a valid boolean given (true/false or yes/no or y/n)." 248 278 } 249 279 280 281 282 serverconfig_PlayerSafeZoneLevel_QueryName() { 283 echo "Safe zone up to player level" 284 } 285 serverconfig_PlayerSafeZoneLevel_Type() { 286 echo "number" 287 } 288 serverconfig_PlayerSafeZoneLevel_Default() { 289 echo "5" 290 } 291 292 293 serverconfig_PlayerSafeZoneHours_QueryName() { 294 echo "Safe zone up to played hours" 295 } 296 serverconfig_PlayerSafeZoneHours_Type() { 297 echo "number" 298 } 299 serverconfig_PlayerSafeZoneHours_Default() { 300 echo "5" 301 } 250 302 251 303 … … 418 470 419 471 420 serverconfig_DayLightLength_QueryName() {421 echo "Day length"422 }423 serverconfig_DayLightLength_Type() {424 echo "number"425 }426 serverconfig_DayLightLength_Default() {427 echo "18"428 }429 serverconfig_DayLightLength_Range() {430 echo "0-24"431 }432 433 434 435 472 serverconfig_BlockDurabilityModifier_QueryName() { 436 473 echo "Block durability (%)" … … 555 592 556 593 594 serverconfig_AirDropMarker_QueryName() { 595 echo "Enable AirDrop markers" 596 } 597 serverconfig_AirDropMarker_Type() { 598 echo "boolean" 599 } 600 serverconfig_AirDropMarker_Default() { 601 echo "false" 602 } 603 serverconfig_AirDropMarker_ErrorMessage() { 604 echo "Not a valid boolean given (true/false or yes/no or y/n)." 605 } 606 607 608 557 609 serverconfig_MaxSpawnedZombies_QueryName() { 558 610 echo "Maximum number of concurrent zombies" … … 563 615 serverconfig_MaxSpawnedZombies_Default() { 564 616 echo "60" 617 } 618 619 620 serverconfig_MaxSpawnedAnimals_QueryName() { 621 echo "Maximum number of concurrent animals" 622 } 623 serverconfig_MaxSpawnedAnimals_Type() { 624 echo "number" 625 } 626 serverconfig_MaxSpawnedAnimals_Default() { 627 echo "50" 565 628 } 566 629 … … 592 655 for CV in \ 593 656 ServerName ServerPassword ServerIsPublic ServerPort ServerMaxPlayerCount ServerDescription ServerWebsiteURL \ 594 EACEnabled MaxSpawnedZombies \657 EACEnabled MaxSpawnedZombies MaxSpawnedAnimals \ 595 658 ; do 596 659 $1 $CV … … 639 702 echo "--------------------------------" 640 703 for CV in \ 641 FriendlyFire BuildCreate \ 704 PlayerKillingMode PersistentProfiles \ 705 PlayerSafeZoneLevel PlayerSafeZoneHours \ 706 BuildCreate \ 642 707 BlockDurabilityModifier \ 643 708 ; do … … 654 719 for CV in \ 655 720 DropOnDeath DropOnQuit \ 656 LootAbundance LootRespawnDays AirDropFrequency \ 721 LootAbundance LootRespawnDays \ 722 AirDropFrequency AirDropMarker \ 657 723 ; do 658 724 $1 $CV
Note:
See TracChangeset
for help on using the changeset viewer.