Changeset 353
- Timestamp:
- Mar 5, 2019, 5:27:27 PM (6 years ago)
- Location:
- scripts/usr/local/lib/7dtd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/VERSION
r344 r353 1 Version: 11 12 Release: 2019-0 1-051 Version: 112 2 Release: 2019-03-05 3 3 -
scripts/usr/local/lib/7dtd/commands/backup.sh
r308 r353 29 29 for I in $(getInstanceList); do 30 30 if [ $(isRunning $I) -eq 1 ]; then 31 telnetCommand $I saveworld 2 31 telnetCommand $I saveworld 2 > /dev/null 32 32 fi 33 33 done -
scripts/usr/local/lib/7dtd/serverconfig.sh
r344 r353 441 441 442 442 443 444 serverconfig_XPMultiplier_QueryName() { 445 echo "XP gain multiplier (%)" 446 } 447 serverconfig_XPMultiplier_Type() { 448 echo "number" 449 } 450 serverconfig_XPMultiplier_Default() { 451 echo "100" 452 } 453 454 443 455 serverconfig_PartySharedKillRange_QueryName() { 444 456 echo "Party range to share kill / quest XP rewards" … … 700 712 701 713 702 serverconfig_BlockD urabilityModifier_QueryName() {703 echo "Block d urability(%)"704 } 705 serverconfig_BlockD urabilityModifier_Type() {706 echo "number" 707 } 708 serverconfig_BlockD urabilityModifier_Default() {714 serverconfig_BlockDamagePlayer_QueryName() { 715 echo "Block damage modifier for players (%)" 716 } 717 serverconfig_BlockDamagePlayer_Type() { 718 echo "number" 719 } 720 serverconfig_BlockDamagePlayer_Default() { 709 721 echo "100" 710 722 } 723 724 725 serverconfig_BlockDamageAI_QueryName() { 726 echo "Block damage modifier for AIs (%)" 727 } 728 serverconfig_BlockDamageAI_Type() { 729 echo "number" 730 } 731 serverconfig_BlockDamageAI_Default() { 732 echo "100" 733 } 734 735 736 serverconfig_BlockDamageAIBM_QueryName() { 737 echo "Block damage modifier for AIs during blood moons (%)" 738 } 739 serverconfig_BlockDamageAIBM_Type() { 740 echo "number" 741 } 742 serverconfig_BlockDamageAIBM_Default() { 743 echo "100" 744 } 745 711 746 712 747 … … 955 990 echo "--------------------------------" 956 991 for CV in \ 992 XPMultiplier \ 957 993 PartySharedKillRange PlayerKillingMode PersistentPlayerProfiles \ 958 994 PlayerSafeZoneLevel PlayerSafeZoneHours \ 959 995 BuildCreate \ 960 BlockD urabilityModifier\996 BlockDamagePlayer BlockDamageAI BlockDamageAIBM \ 961 997 ; do 962 998 $1 $CV … … 1214 1250 # - AdminFileName is made to point to the local instance admins.xml 1215 1251 # - SaveGameFolder is made to point to the instance folder 1252 # - UserDataFolder (for GeneratedWorlds) is made to point to the <user home directory>/serverdata/ 1216 1253 # Params: 1217 1254 # 1: Instance name … … 1220 1257 configCurrent_AdminFileName=admins.xml 1221 1258 configCurrent_SaveGameFolder="$(getInstancePath "$1")" 1259 configCurrent_UserDataFolder=$SDTD_BASE/serverdata 1222 1260 } 1223 1261 … … 1275 1313 saveCurrentConfigValues() { 1276 1314 local CV 1277 for CV in $(listConfigValues) TelnetEnabled AdminFileName SaveGameFolder ; do1315 for CV in $(listConfigValues) TelnetEnabled AdminFileName SaveGameFolder UserDataFolder; do 1278 1316 local currentValName=configCurrent_$CV 1279 1317 local val="${!currentValName}"
Note:
See TracChangeset
for help on using the changeset viewer.