-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from Johnny-Knighten/next
Next
- Loading branch information
Showing
10 changed files
with
337 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 100 additions & 0 deletions
100
bin/ark-sa/config-templating/GameUserSettings.template.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
[ServerSettings] | ||
DifficultyOffset=0.20 | ||
PlayerDamageMultiplier=1.0 | ||
StructureResistanceMultiplier=1.0 | ||
XPMultiplier=1.0 | ||
TamingSpeedMultiplier=1.0 | ||
HarvestAmountMultiplier=1.0 | ||
PlayerCharacterWaterDrainMultiplier=1.0 | ||
PlayerCharacterFoodDrainMultiplier=1.0 | ||
DinoCharacterFoodDrainMultiplier=1.0 | ||
PlayerCharacterStaminaDrainMultiplier=1.0 | ||
DinoCharacterStaminaDrainMultiplier=1.0 | ||
PlayerCharacterHealthRecoveryMultiplier=1.0 | ||
DinoCharacterHealthRecoveryMultiplier=1.0 | ||
HarvestHealthMultiplier=1.0 | ||
StartTimeOverride=False | ||
StartTimeHour=10.0 | ||
ListenServerTetherDistanceMultiplier=1.0 | ||
RaidDinoCharacterFoodDrainMultiplier=1.0 | ||
StructurePreventResourceRadiusMultiplier=1.0 | ||
PvEDinoDecayPeriodMultiplier=1.0 | ||
AllowRaidDinoFeeding=False | ||
PerPlatformMaxStructuresMultiplier=1 | ||
GlobalVoiceChat=False | ||
ProximityChat=False | ||
NoTributeDownloads=False | ||
AllowThirdPersonPlayer=True | ||
AlwaysNotifyPlayerLeft=False | ||
DontAlwaysNotifyPlayerJoined=False | ||
ServerHardcore=False | ||
ServerPVE=<<ARK_ENABLE_PVE>> | ||
ServerCrosshair=True | ||
ServerForceNoHUD=False | ||
ShowMapPlayerLocation=True | ||
EnablePvPGamma=True | ||
DisableStructureDecayPvE=False | ||
AllowFlyerCarryPvE=False | ||
OnlyAllowSpecifiedEngrams=False | ||
AllowHideDamageSourceFromLogs=True | ||
RandomSupplyCratePoints=False | ||
DisableWeatherFog=False | ||
PreventDownloadSurvivors=False | ||
PreventDownloadItems=False | ||
PreventDownloadDinos=False | ||
DisablePvEGamma=False | ||
DisableDinoDecayPvE=False | ||
AdminLogging=False | ||
AllowCaveBuildingPvE=False | ||
ForceAllowCaveFlyers=False | ||
PreventOfflinePvP=False | ||
PvPDinoDecay=False | ||
OverrideStructurePlatformPrevention=False | ||
AllowAnyoneBabyImprintCuddle=False | ||
DisableImprintDinoBuff=False | ||
ShowFloatingDamageText=False | ||
PreventDiseases=False | ||
NonPermanentDiseases=False | ||
EnableExtraStructurePreventionVolumes=False | ||
PreventTribeAlliances=False | ||
bAllowSpeedLeveling=False | ||
bAllowFlyerSpeedLeveling=False | ||
PreventOfflinePvPInterval=-0 | ||
CraftingSkillBonusMultiplier=1 | ||
SupplyCrateLootQualityMultiplier=1 | ||
ActiveEvent= | ||
OverrideStartTime=False | ||
ActiveMapMod=0 | ||
RCONEnabled=<<ARK_ENABLE_RCON>> | ||
RCONPort=<<ARK_RCON_PORT>> | ||
TheMaxStructuresInRange=10500 | ||
OxygenSwimSpeedStatMultiplier=1 | ||
TribeNameChangeCooldown=15 | ||
PlatformSaddleBuildAreaBoundsMultiplier=1 | ||
AlwaysAllowStructurePickup=True | ||
StructurePickupTimeAfterPlacement=30 | ||
StructurePickupHoldDuration=0.5 | ||
KickIdlePlayersPeriod=3600 | ||
AutoSavePeriodMinutes=15 | ||
MaxTamedDinos=5000 | ||
ItemStackSizeMultiplier=1 | ||
RCONServerGameLogBuffer=600 | ||
ImplantSuicideCD=28800 | ||
AllowHitMarkers=True | ||
ServerPassword=<<ARK_SERVER_PASSWORD>> | ||
ServerAdminPassword=<<ARK_SERVER_ADMIN_PASSWORD>> | ||
DayCycleSpeedScale=1.0 | ||
DayTimeSpeedScale=1.0 | ||
NightTimeSpeedScale=1.0 | ||
DinoDamageMultiplier=1.0 | ||
StructureDamageMultiplier=1.0 | ||
PlayerResistanceMultiplier=1.0 | ||
DinoResistanceMultiplier=1.0 | ||
PvEStructureDecayPeriodMultiplier=1.0 | ||
|
||
[SessionSettings] | ||
SessionName=<<ARK_SERVER_NAME>> | ||
|
||
[/Script/Engine.GameSession] | ||
MaxPlayers=<<ARK_MAX_PLAYERS>> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
[[ -z "${DEBUG}" ]] || [[ "${DEBUG,,}" = "false" ]] || [[ "${DEBUG,,}" = "0" ]] || set -x | ||
|
||
config_template="${CONTAINER_BIN_DIR}/ark-sa/config-templating/GameUserSettings.template.ini" | ||
config_file="${ARK_SERVER_DIR}/server/ShooterGame/Saved/Config/WindowsServer/GameUserSettings.ini" | ||
|
||
if [[ ! -f "$config_file" ]] || [[ "$ARK_REBUILD_CONFIG" = "True" ]]; then | ||
|
||
if [ "$ARK_REBUILD_CONFIG" = "True" ]; then | ||
echo "ARK_REBUILD_CONFIG is set to True, rebuilding existing GameUserSettings.ini..." | ||
else | ||
echo "GameUserSettings.ini not found, creating from template..." | ||
fi | ||
|
||
if [ -f "$config_template" ]; then | ||
mkdir -p "${ARK_SERVER_DIR}/server/ShooterGame/Saved/Config/WindowsServer" | ||
cp "$config_template" "$config_file" | ||
sed -i "s/SessionName=<<ARK_SERVER_NAME>>/SessionName=$ARK_SERVER_NAME/" "$config_file" | ||
sed -i "s/RCONEnabled=<<ARK_ENABLE_RCON>>/RCONEnabled=$ARK_ENABLE_RCON/" "$config_file" | ||
sed -i "s/RCONPort=<<ARK_RCON_PORT>>/RCONPort=$ARK_RCON_PORT/" "$config_file" | ||
sed -i "s/MaxPlayers=<<ARK_MAX_PLAYERS>>/MaxPlayers=$ARK_MAX_PLAYERS/" "$config_file" | ||
sed -i "s/ServerPassword=<<ARK_SERVER_PASSWORD>>/ServerPassword=$ARK_SERVER_PASSWORD/" "$config_file" | ||
sed -i "s/ServerAdminPassword=<<ARK_SERVER_ADMIN_PASSWORD>>/ServerAdminPassword=$ARK_SERVER_ADMIN_PASSWORD/" "$config_file" | ||
sed -i "s/ServerPVE=<<ARK_ENABLE_PVE>>/ServerPVE=$ARK_ENABLE_PVE/" "$config_file" | ||
else | ||
echo "GameUserSettings template not found at $config_template" | ||
exit 1 | ||
fi | ||
else | ||
echo "GameUserSettings.ini found, skipping creation from template..." | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.