Ignore:
Timestamp:
Jul 10, 2014, 9:59:02 PM (10 years ago)
Author:
alloc
Message:

v25: Fixes #22, #23. Also adds new serverconfig options

File:
1 edited

Legend:

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

    r45 r67  
    684684
    685685
     686serverconfig_MaxSpawnedZombies_QueryName() {
     687        echo "Maximum number of concurrent zombies"
     688}
     689serverconfig_MaxSpawnedZombies_Type() {
     690        echo "number"
     691}
     692serverconfig_MaxSpawnedZombies_Default() {
     693        echo "60"
     694}
     695
     696
     697serverconfig_VACEnabled_QueryName() {
     698        echo "Enable Valve Anti Cheat"
     699}
     700serverconfig_VACEnabled_Type() {
     701        echo "boolean"
     702}
     703serverconfig_VACEnabled_Default() {
     704        echo "true"
     705}
     706serverconfig_VACEnabled_ErrorMessage() {
     707        echo "Not a valid boolean given (true/false or yes/no or y/n)."
     708}
     709
     710
    686711
    687712
     
    696721        for CV in \
    697722                        ServerName ServerPassword ServerIsPublic ServerPort ServerMaxPlayerCount \
    698                         DisableNAT \
     723                        DisableNAT VACEnabled MaxSpawnedZombies \
    699724                        ; do
    700725                $1 $CV
Note: See TracChangeset for help on using the changeset viewer.