diff --git a/Server_Install_Pack/@epochhive/EpochServer.ini b/Server_Install_Pack/@epochhive/EpochServer.ini index c9150191b..91b53a84f 100644 --- a/Server_Install_Pack/@epochhive/EpochServer.ini +++ b/Server_Install_Pack/@epochhive/EpochServer.ini @@ -5,13 +5,13 @@ LogAbuse = 1 LogLimit = 999 IP = 127.0.0.1 Port = 2307 -Password = changemen0w +Password = changeThisRConPasswd [Redis] IP = 127.0.0.1 Port = 6379 DB = 0 -Password = Changeme9832 +Password = changeThisRedisPasswd [SteamAPI] Logging = 0 diff --git a/Server_Install_Pack/@epochhive/addons/Epoch_server_RyanZ_Spawner.pbo b/Server_Install_Pack/@epochhive/addons/epoch_server_ryana_spawner.pbo similarity index 100% rename from Server_Install_Pack/@epochhive/addons/Epoch_server_RyanZ_Spawner.pbo rename to Server_Install_Pack/@epochhive/addons/epoch_server_ryana_spawner.pbo diff --git a/Server_Install_Pack/DB/redis-example.conf b/Server_Install_Pack/DB/redis-example.conf index fd2eb73d4..14d7c4fbc 100644 --- a/Server_Install_Pack/DB/redis-example.conf +++ b/Server_Install_Pack/DB/redis-example.conf @@ -383,7 +383,7 @@ slave-priority 100 # 150k passwords per second against a good box. This means that you should # use a very strong password otherwise it will be very easy to break. # -requirepass Changeme9832 +requirepass changeThisRedisPasswd # Command renaming. # diff --git a/Server_Install_Pack/DB/redis.conf b/Server_Install_Pack/DB/redis.conf index cd10864e4..b0ca02fc7 100644 --- a/Server_Install_Pack/DB/redis.conf +++ b/Server_Install_Pack/DB/redis.conf @@ -4,4 +4,4 @@ maxmemory 1gb save 900 1 save 300 10 save 60 1000 -requirepass Changeme9832 \ No newline at end of file +requirepass changeThisRedisPasswd \ No newline at end of file diff --git a/Server_Install_Pack/Tools/makeLowerCase.bash b/Server_Install_Pack/Tools/makeLowerCase.bash new file mode 100644 index 000000000..0b6a27f15 --- /dev/null +++ b/Server_Install_Pack/Tools/makeLowerCase.bash @@ -0,0 +1,27 @@ +#!/bin/bash +#print usage +if [ -z $1 ];then + echo "Usage :$(basename $0) makes all files in the passed directory lowercase, one level deep. Prints new file names to screen." + exit 1 +fi + +#process all subdirectories and files in directory passed to this script +all="$(find $1 -depth)" + +for name in ${all}; do + #set new name in lower case for files and directories + new_name="$(dirname "${name}")/$(basename "${name}" | tr '[A-Z]' '[a-z]')" + + #check if new name already exists + if [ "${name}" != "${new_name}" ]; then + [ ! -e "${new_name}" ] && mv -T "${name}" "${new_name}"; echo "${name} was renamed to ${new_name}" || echo "${name} wasn't renamed!" + fi +done + +echo +echo +#list directories and file new names in lowercase +echo "Directories and files with new names in lowercase letters" +find $(echo $1 | tr 'A-Z' 'a-z') -depth + +exit 0 \ No newline at end of file diff --git a/Server_Install_Pack/mpmissions/epoch._ChangeMe.pbo b/Server_Install_Pack/mpmissions/epoch._changeme.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch._ChangeMe.pbo rename to Server_Install_Pack/mpmissions/epoch._changeme.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Altis.pbo b/Server_Install_Pack/mpmissions/epoch.altis.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Altis.pbo rename to Server_Install_Pack/mpmissions/epoch.altis.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Australia.pbo b/Server_Install_Pack/mpmissions/epoch.australia.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Australia.pbo rename to Server_Install_Pack/mpmissions/epoch.australia.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Bootcamp_ACR.pbo b/Server_Install_Pack/mpmissions/epoch.bootcamp_acr.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Bootcamp_ACR.pbo rename to Server_Install_Pack/mpmissions/epoch.bootcamp_acr.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Bornholm.pbo b/Server_Install_Pack/mpmissions/epoch.bornholm.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Bornholm.pbo rename to Server_Install_Pack/mpmissions/epoch.bornholm.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Chernarus.pbo b/Server_Install_Pack/mpmissions/epoch.chernarus.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Chernarus.pbo rename to Server_Install_Pack/mpmissions/epoch.chernarus.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Chernarus_Summer.pbo b/Server_Install_Pack/mpmissions/epoch.chernarus_summer.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Chernarus_Summer.pbo rename to Server_Install_Pack/mpmissions/epoch.chernarus_summer.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.ChernarusRedux.pbo b/Server_Install_Pack/mpmissions/epoch.chernarusredux.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.ChernarusRedux.pbo rename to Server_Install_Pack/mpmissions/epoch.chernarusredux.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Desert_E.pbo b/Server_Install_Pack/mpmissions/epoch.desert_e.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Desert_E.pbo rename to Server_Install_Pack/mpmissions/epoch.desert_e.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Enoch.pbo b/Server_Install_Pack/mpmissions/epoch.enoch.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Enoch.pbo rename to Server_Install_Pack/mpmissions/epoch.enoch.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Esseker.pbo b/Server_Install_Pack/mpmissions/epoch.esseker.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Esseker.pbo rename to Server_Install_Pack/mpmissions/epoch.esseker.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.IslaDuala3.pbo b/Server_Install_Pack/mpmissions/epoch.isladuala3.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.IslaDuala3.pbo rename to Server_Install_Pack/mpmissions/epoch.isladuala3.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Kapaulio.pbo b/Server_Install_Pack/mpmissions/epoch.kapaulio.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Kapaulio.pbo rename to Server_Install_Pack/mpmissions/epoch.kapaulio.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Malden.pbo b/Server_Install_Pack/mpmissions/epoch.malden.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Malden.pbo rename to Server_Install_Pack/mpmissions/epoch.malden.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Mountains_ACR.pbo b/Server_Install_Pack/mpmissions/epoch.mountains_acr.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Mountains_ACR.pbo rename to Server_Install_Pack/mpmissions/epoch.mountains_acr.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Napf.pbo b/Server_Install_Pack/mpmissions/epoch.napf.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Napf.pbo rename to Server_Install_Pack/mpmissions/epoch.napf.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Panthera3.pbo b/Server_Install_Pack/mpmissions/epoch.panthera3.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Panthera3.pbo rename to Server_Install_Pack/mpmissions/epoch.panthera3.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Porto.pbo b/Server_Install_Pack/mpmissions/epoch.porto.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Porto.pbo rename to Server_Install_Pack/mpmissions/epoch.porto.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.ProvingGrounds_PMC.pbo b/Server_Install_Pack/mpmissions/epoch.provinggrounds_pmc.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.ProvingGrounds_PMC.pbo rename to Server_Install_Pack/mpmissions/epoch.provinggrounds_pmc.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Sara.pbo b/Server_Install_Pack/mpmissions/epoch.sara.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Sara.pbo rename to Server_Install_Pack/mpmissions/epoch.sara.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Sara_dbe1.pbo b/Server_Install_Pack/mpmissions/epoch.sara_dbe1.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Sara_dbe1.pbo rename to Server_Install_Pack/mpmissions/epoch.sara_dbe1.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.SaraLite.pbo b/Server_Install_Pack/mpmissions/epoch.saralite.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.SaraLite.pbo rename to Server_Install_Pack/mpmissions/epoch.saralite.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Shapur_BAF.pbo b/Server_Install_Pack/mpmissions/epoch.shapur_baf.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Shapur_BAF.pbo rename to Server_Install_Pack/mpmissions/epoch.shapur_baf.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Stratis.pbo b/Server_Install_Pack/mpmissions/epoch.stratis.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Stratis.pbo rename to Server_Install_Pack/mpmissions/epoch.stratis.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Takistan.pbo b/Server_Install_Pack/mpmissions/epoch.takistan.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Takistan.pbo rename to Server_Install_Pack/mpmissions/epoch.takistan.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Tanoa.pbo b/Server_Install_Pack/mpmissions/epoch.tanoa.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Tanoa.pbo rename to Server_Install_Pack/mpmissions/epoch.tanoa.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.VR.pbo b/Server_Install_Pack/mpmissions/epoch.vr.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.VR.pbo rename to Server_Install_Pack/mpmissions/epoch.vr.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Winthera3.pbo b/Server_Install_Pack/mpmissions/epoch.winthera3.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Winthera3.pbo rename to Server_Install_Pack/mpmissions/epoch.winthera3.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Woodland_ACR.pbo b/Server_Install_Pack/mpmissions/epoch.woodland_acr.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Woodland_ACR.pbo rename to Server_Install_Pack/mpmissions/epoch.woodland_acr.pbo diff --git a/Server_Install_Pack/mpmissions/epoch.Zargabad.pbo b/Server_Install_Pack/mpmissions/epoch.zargabad.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch.Zargabad.pbo rename to Server_Install_Pack/mpmissions/epoch.zargabad.pbo diff --git a/Server_Install_Pack/mpmissions/epoch_RyanZed.Tanoa.pbo b/Server_Install_Pack/mpmissions/epoch_ryanzed.tanoa.pbo similarity index 100% rename from Server_Install_Pack/mpmissions/epoch_RyanZed.Tanoa.pbo rename to Server_Install_Pack/mpmissions/epoch_ryanzed.tanoa.pbo diff --git a/Server_Install_Pack/sc/battleye/example-beserver.cfg b/Server_Install_Pack/sc/battleye/example-beserver.cfg index 18441ab6c..e52e0bee1 100644 --- a/Server_Install_Pack/sc/battleye/example-beserver.cfg +++ b/Server_Install_Pack/sc/battleye/example-beserver.cfg @@ -1,5 +1,5 @@ RConPort 2307 -RConPassword changemen0w +RConPassword changeThisRConPasswd MaxPing 350 MaxCreateVehiclePerInterval 72 1 diff --git a/Server_Install_Pack/sc/battleye/example-beserver_x64.cfg b/Server_Install_Pack/sc/battleye/example-beserver_x64.cfg index 18441ab6c..e52e0bee1 100644 --- a/Server_Install_Pack/sc/battleye/example-beserver_x64.cfg +++ b/Server_Install_Pack/sc/battleye/example-beserver_x64.cfg @@ -1,5 +1,5 @@ RConPort 2307 -RConPassword changemen0w +RConPassword changeThisRConPasswd MaxPing 350 MaxCreateVehiclePerInterval 72 1 diff --git a/Server_Install_Pack/sc/server-example.cfg b/Server_Install_Pack/sc/server-example.cfg index 6c9bfd942..f649e42a2 100644 --- a/Server_Install_Pack/sc/server-example.cfg +++ b/Server_Install_Pack/sc/server-example.cfg @@ -3,8 +3,8 @@ // GLOBAL SETTINGS hostname = "EpochMod.com (0.5|1.68) ID02 YourHost"; password = ""; -passwordAdmin = "!CHANGE_THIS_PASSWORD!"; -serverCommandPassword = "!CHANGE_THIS_PASSWORD!"; +passwordAdmin = "!CHANGE_THE_ADMIN_PASSWORD!"; +serverCommandPassword = "!CHANGE_THE_COMMAND_PASSWORD!"; logFile = "A3Master.log"; verifySignatures = 2; BattlEye = 1; @@ -43,11 +43,11 @@ vonCodecQuality = 30; // Quality from 1 to 30 forceRotorLibSimulation = 0; // Enforces the Advanced Flight Model on the server. Default = 0 (up to the player). 1 - forced AFM, 2 - forced SFM. persistent = 1; // If 1, missions still run on even after the last player disconnected. -// MISSIONS CYCLE (see below) (epoch.Altis, epoch.Stratis, epoch.Chernarus, epoch.Bornholm) +// MISSIONS CYCLE (see below) (epoch.altis, epoch.stratis, epoch.chernarus, epoch.bornholm) class Missions { class Epoch { - template = epoch.Altis; // DO NOT CHANGE THIS, IT WILL BREAK YOUR SERVER + template = epoch.altis; // DO NOT CHANGE THIS, IT WILL BREAK YOUR SERVER difficulty = "custom"; // difficulty settings: Recruit, Regular Veteran, Custom }; }; diff --git a/Tools/makeLowerCase.bash b/Tools/makeLowerCase.bash new file mode 100644 index 000000000..12e84e539 --- /dev/null +++ b/Tools/makeLowerCase.bash @@ -0,0 +1,27 @@ +#!/bin/bash +#print usage +if [ -z $1 ];then + echo "Usage :$(basename $0) directory to recursivly make lowercase" + exit 1 +fi + +#process all subdirectories and files in parent directory +all="$(find $1 -depth)" + +for name in ${all}; do + #set new name in lower case for files and directories + new_name="$(dirname "${name}")/$(basename "${name}" | tr '[A-Z]' '[a-z]')" + + #check if new name already exists + if [ "${name}" != "${new_name}" ]; then + [ ! -e "${new_name}" ] && mv -T "${name}" "${new_name}"; echo "${name} was renamed to ${new_name}" || echo "${name} wasn't renamed!" + fi +done + +echo +echo +#list directories and file new names in lowercase +echo "Directories and files with new names in lowercase letters" +find $(echo $1 | tr 'A-Z' 'a-z') -depth + +exit 0 \ No newline at end of file