Changeset 239 for scripts/usr/local/lib/7dtd/serverconfig.sh
- Timestamp:
- Jul 3, 2015, 4:16:25 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/serverconfig.sh
r204 r239 320 320 321 321 322 serverconfig_DisableNAT_QueryName() {323 echo "Disable NAT"324 }325 serverconfig_DisableNAT_Type() {326 echo "boolean"327 }328 serverconfig_DisableNAT_Default() {329 echo "true"330 }331 serverconfig_DisableNAT_ErrorMessage() {332 echo "Not a valid boolean given (true/false or yes/no or y/n)."333 }334 335 336 337 338 322 serverconfig_DropOnDeath_QueryName() { 339 323 echo "Drop on Death" … … 455 439 456 440 457 serverconfig_ NightPercentage_QueryName() {441 serverconfig_DayLightLength_QueryName() { 458 442 echo "Night percentage" 459 443 } 460 serverconfig_ NightPercentage_Type() {461 echo "number" 462 } 463 serverconfig_ NightPercentage_Default() {464 echo " 35"465 } 466 serverconfig_ NightPercentage_Range() {467 echo " 10-90"444 serverconfig_DayLightLength_Type() { 445 echo "number" 446 } 447 serverconfig_DayLightLength_Default() { 448 echo "18" 449 } 450 serverconfig_DayLightLength_Range() { 451 echo "0-24" 468 452 } 469 453 … … 629 613 for CV in \ 630 614 ServerName ServerPassword ServerIsPublic ServerPort ServerMaxPlayerCount ServerDescription ServerWebsiteURL \ 631 DisableNATEACEnabled MaxSpawnedZombies \615 EACEnabled MaxSpawnedZombies \ 632 616 ; do 633 617 $1 $CV … … 705 689 for CV in \ 706 690 CraftTimer LootTimer \ 707 DayNightLength NightPercentage\691 DayNightLength DayLightLength \ 708 692 ; do 709 693 $1 $CV
Note:
See TracChangeset
for help on using the changeset viewer.