SCUM
25 ratings
Setting up Dedicated SCUM Game server
By 💖⎛⎝Silver Knight⎠⎞💂☢☣
This guide shows you what is required to get your very own SCUM dedicated server up and running. Not too much is known about SCUM right now due to just being released and i will update this guide as more is known. If you see any errors, please let me know and i will update them here in the guide.

We will be creating a dedicated server via steamcmd for windows operating system in this guide.
   
Award
Favorite
Favorited
Unfavorite
Introduction
This guide shows you what is required to get your very own SCUM dedicated server up and running. Not too much is known about SCUM right now due to just being released and i will update this guide as more is known. If you see any errors, please let me know and i will update them here in the guide.

We will be creating a dedicated server via steamcmd for windows operating system in this guide.
Installation of SCUM Server files
The first step is to retrieve the files for the game, this is done via SteamCMD.

Follow the guide here on how to use STEAMCMD.

Download SteamCMD for Windows

Once you have STEAMCMD, run the following command in cmd/batch file:

steamcmd +force_install_dir C:\scumserver +login anonymous +app_update 3792580 validate +exit

Where it says USERNAME - Input your steam username and where it says PASSWORD input your steam password. At current they are requiring you to provide your login to download the scum server client ( Which sucks and should not be a requirement )

Update: You can now download the game server files without owning the game, use anonymous as shown above.

Note: You can adjust the +force_install_dir parameter to the directory you want to download the server to.

This will then download the entire game, Once completed, it's time to setup the server configuration.
Server Configuration - Commandline
In this section we define the options on configuration and some basic commandline parameters

The best method for a self-hosted solution is to use the provided .batch file

Inside scumserver\ folder where you downloaded the game files, create a bat file e.g. start.bat

Inside the .bat file enter in this:

start SCUM\Binaries\Win64\SCUMServer.exe -log -port=7777 -MaxPlayers=64

You can adjust the port here to a different number, adjust maxplayers to your desired playercount ( or do this in the config file ) and also disable battleye ( the anti-cheat system ) by adding: -nobattleye to the end.

Note: As prior stated, change the save directory to where your save files are, this is where it will read a config file.

You can define important server settings inside the SCUM\Saved\Config\WindowsServer\ServerSettings.ini server file, here you can define the server name, password, max players and many more configuration options. This file is generated when you run the server for the first time.

The typical ports for this game is 7777 and 7779. This is the game and query port, the query port is always +2 of the game port. ( You will have to portforward/open them )

Change name to what you want your server name to be.

Change password to what you want.

I will include the template in the next section for ease of use.
Server Configuration - Configuration file
Note: The file is not generated automatically until you run the server and run the save command in the console, for the sake of skipping that, here is the configuration file template below.

Change where it says "scum.ServerName" to the server name you want. Change "scum.ServerDescription" to what you want to display and change the "scum.ServerPassword" if you want it to be private.

You can also increase the bot default count ( see it below, the default is 8 )
[General] scum.ServerName=servername scum.ServerDescription=Server Description scum.ServerPassword=password scum.MaxPlayers=64 scum.ServerBannerUrl= scum.ServerPlaystyle=PVE scum.WelcomeMessage=Welcome to our SCUM Server scum.MessageOfTheDay=This is the Message of the Day. scum.MessageOfTheDayCooldown=10.000000 scum.MinServerTickRate=5 scum.MaxServerTickRate=30 scum.MaxPing=400.000000 scum.LogoutTimer=60.000000 scum.LogoutTimerWhileCaptured=120.000000 scum.LogoutTimerInBunker=30000.000000 scum.AllowFirstPerson=1 scum.AllowThirdPerson=1 scum.AllowCrosshair=1 scum.AllowVoting=1 scum.AllowMapScreen=1 scum.AllowKillClaiming=1 scum.AllowComa=1 scum.AllowMinesAndTraps=1 scum.AllowSkillGainInSafeZones=0 scum.AllowEvents=1 scum.LimitGlobalChat=0 scum.AllowGlobalChat=1 scum.AllowLocalChat=1 scum.AllowSquadChat=1 scum.AllowAdminChat=1 scum.RustyLocksLogging=0 scum.HideKillNotification=1 scum.DisableTimedGifts=0 scum.UseMapBaseBuildingRestriction=1 scum.DisableBaseBuilding=0 scum.VotingDuration=60.000000 scum.PlayerMinimalVotingInterest=0.500000 scum.PlayerPositiveVotePercentage=0.500000 scum.MasterServerEndpoints= scum.MasterServerUpdateSendInterval=60.000000 scum.PartialWipe=0 scum.GoldWipe=0 scum.FullWipe=0 scum.ItemVirtualizationRelevancyUpdatePeriod=1.000000 scum.ItemVirtualizationEventProcessingTimeBudget=5.000000 scum.ItemVirtualizationVisitorDistanceTravelledForUpdate=100.000000 scum.ItemVirtualizationVisitorBounds=10000.000000 scum.VirtualizedItemBounds=100.000000 scum.FameGainMultiplier=1.000000 scum.FamePointPenaltyOnDeath=0.100000 scum.FamePointPenaltyOnKilled=0.500000 scum.FamePointRewardOnKill=0.250000 scum.LogSuicides=0 scum.EnableSpawnOnGround=0 scum.DeleteInactiveUsers=1 scum.DaysSinceLastLoginToBecomeInactive=180 scum.DeleteBannedUsers=0 scum.MaximumTimeForChestsInForbiddenZones=02:00:00 scum.LogChestOwnership=1 scum.SettingsVersion=3 [World] scum.MaxAllowedBirds=15 scum.MaxAllowedCharacters=-1 scum.MaxAllowedPuppets=-1 scum.MaxAllowedAnimals=-1 scum.MaxAllowedNPCs=-1 scum.EncounterBaseCharacterAmountMultiplier=1.000000 scum.EncounterExtraCharacterPerPlayerMultiplier=1.000000 scum.EncounterExtraCharacterPlayerCapMultiplier=1.000000 scum.EncounterCharacterRespawnTimeMultiplier=1.000000 scum.EncounterCharacterRespawnBatchSizeMultiplier=1.000000 scum.EncounterCharacterAggressiveSpawnChanceOverride=-1.000000 scum.EncounterCharacterAINoiseResponseRadiusMultiplier=1.000000 scum.EncounterHordeGroupBaseCharacterAmountMultiplier=1.000000 scum.EncounterHordeGroupExtraCharacterPerPlayerMultiplier=1.000000 scum.EncounterHordeGroupExtraCharacterPlayerCapMultiplier=1.000000 scum.EncounterHordeBaseCharacterAmountMultiplier=1.000000 scum.EncounterHordeExtraCharacterPerPlayerMultiplier=1.000000 scum.EncounterHordeExtraCharacterPlayerCapMultiplier=1.000000 scum.EncounterHordeActivationChanceMultiplier=1.000000 scum.EncounterHordeNoiseCheckCooldownMultiplier=1.000000 scum.EncounterHordeSpawnDistanceMultiplier=1.000000 scum.EncounterHordeGroupRefillTimeMultiplier=1.000000 scum.EncounterHordeShouldPlayActivationSound=0 scum.EncounterHordePuppetHordeActivationScreamOverrideChance=-1.000000 scum.EncounterCanRemoveLowPriorityCharacters=1 scum.EncounterCanClampCharacterNumWhenOutOfResources=1 scum.EncounterGlobalZoneCooldownMultiplier=1.000000 scum.EncounterEnableSpawnPreventionAreaSpawnOnCharacterDeath=0 scum.PuppetWorldEncounterSpawnWeightMultiplier=1.000000 scum.AnimalWorldEncounterSpawnWeightMultiplier=1.000000 scum.DropshipWorldEncounterSpawnWeightMultiplier=1.000000 scum.EnableDropshipAbandonedBunkerEncounter=1 scum.DropshipAbandonedBunkerEncounterTriggerChance=-1.000000 scum.BaseBuildingEncounterTriggerChance=-1.000000 scum.BaseBuildingEncounterTriggerTimeMultiplier=1.000000 scum.EnableDropshipBaseBuildingEncounter=0 scum.SpawnEncountersInThreatZonesIgnoringBaseBuilding=0 scum.EnableEncounterManagerLowPlayerCountMode=0 scum.BaseBuildingEncounterMinNumElementsToStart=-1 scum.BaseBuildingEncounterMinNumElementsToEnd=-1 scum.BaseBuildingEncounterDamagePercentageIncreasePerSquadMember=0.000000 scum.BaseBuildingEncounterTimeToFullMinNumToEnd=-1.000000 scum.BaseBuildingEncounterMaximumMinToEndReduction=-1 scum.MaxAllowedDrones=0 scum.DisableSentrySpawning=0 scum.EnableSentryRespawning=1 scum.DisableSuicidePuppetSpawning=0 scum.AbandonedBunkerCommotionThreshold=-1.000000 scum.AbandonedBunkerCommotionThresholdPerPlayerExtra=-1.000000 scum.AbandonedBunkerEnemyActivationThreshold=-1.000000 scum.AbandonedBunkerEnemyActivationThresholdPerPlayerExtra=-1.000000 scum.AbandonedBunkerResetArmoryLockersOnActivationOnly=1 scum.PuppetsCanOpenDoors=1 scum.PuppetsCanVaultWindows=1 scum.PuppetHealthMultiplier=1.000000 scum.DropshipHealthMultiplier=1.000000 scum.SentryHealthMultiplier=1.000000 scum.BaseBuildingAttackerSentryHealthMultiplier=1.000000 scum.ArmedNPCDifficultyLevel=2 scum.ProbabilityForArmedNPCToDropItemFromHandsWhenSearched=0.400000 scum.StartTimeOfDay=08:00:00 scum.TimeOfDaySpeed=3.840000 scum.NighttimeDarkness=0.000000 scum.SunriseTime=06:00:00 scum.SunsetTime=21:00:00 scum.ShouldDestroyEntitiesOutsideMapLimitsOnRestart=1 scum.EnableLockedLootContainers=1 scum.CustomMapEnabled=0 scum.CustomMapCenterXCoordinate=0.000000 scum.CustomMapCenterYCoordinate=0.000000 scum.CustomMapWidth=15.240000 scum.CustomMapHeight=15.240000 scum.DoorLockability.Garage=0 scum.CargoDropCooldownMinimum=90.000000 scum.CargoDropCooldownMaximum=120.000000 scum.CargoDropFallDelay=540.000000 scum.CargoDropFallDuration=60.000000 scum.CargoDropSelfdestructTime=1200.000000 scum.CargoDropZombieEncounterWeightMultiplier=1.000000 scum.CargoDropDropshipEncounterWeightMultiplier=1.000000 scum.MaxAllowedHunts=20 scum.HuntTriggerChanceOverride_ContinentalForest=-1.000000 scum.HuntTriggerChanceOverride_ContinentalMeadow=-1.000000 scum.HuntTriggerChanceOverride_Mediterranean=-1.000000 scum.HuntTriggerChanceOverride_Mountain=-1.000000 scum.HuntTriggerChanceOverride_Urban=-1.000000 scum.HuntTriggerChanceOverride_Village=-1.000000 scum.HuntFailureTime=150.000000 scum.HuntFailureDistance=300.000000 scum.BearMaxHealthMultiplier=1.000000 scum.BoarMaxHealthMultiplier=1.000000 scum.ChickenMaxHealthMultiplier=1.000000 scum.DeerMaxHealthMultiplier=1.000000 scum.DonkeyMaxHealthMultiplier=1.000000 scum.GoatMaxHealthMultiplier=1.000000 scum.HorseMaxHealthMultiplier=1.000000 scum.RabbitMaxHealthMultiplier=1.000000 scum.WolfMaxHealthMultiplier=1.000000 scum.MaxAllowedKillboxKeycards=2 scum.MaxAllowedKillboxKeycards_PoliceStation=1 scum.MaxAllowedKillboxKeycards_RadiationZone=1 scum.AbandonedBunkerMaxSimultaneouslyActive=2 scum.AbandonedBunkerActiveDurationHours=24.000000 scum.AbandonedBunkerKeyCardActiveDurationHours=3.000000 scum.SecretBunkerKeyCardActiveDurationHours=0.500000 [Respawn] scum.AllowSectorRespawn=1 scum.AllowShelterRespawn=1 scum.AllowSquadmateRespawn=1 scum.RandomRespawnPrice=250 scum.SectorRespawnPrice=1000 scum.ShelterRespawnPrice=1g scum.SquadRespawnPrice=3g scum.RandomRespawnInitialTime=0.000000 scum.SectorRespawnInitialTime=60.000000 scum.ShelterRespawnInitialTime=60.000000 scum.SquadRespawnInitialTime=60.000000 scum.RandomRespawnCooldown=0.000000 scum.SectorRespawnCooldown=240.000000 scum.ShelterRespawnCooldown=240.000000 scum.SquadRespawnCooldown=60.000000 scum.RandomCooldownResetMultiplier=0.000000 scum.SectorCooldownResetMultiplier=3.000000 scum.ShelterCooldownResetMultiplier=3.000000 scum.SquadCooldownResetMultiplier=2.000000
Server Configuration part 2 ( continued )
scum.RandomPricePerSquadmateModifier=0.000000 scum.SectorPricePerSquadmateModifier=0.000000 scum.ShelterPricePerSquadmateModifier=0.000000 scum.CommitSuicideInitialTime=0.000000 scum.CommitSuicideCooldown=60.000000 scum.CommitSuicideCooldownResetMultiplier=1.250000 scum.MaximumBaseProximityWhenSpawning=10000.000000 scum.PermadeathThreshold=-2500 [Vehicles] scum.FuelDrainFromEngineMultiplier=1.000000 scum.BatteryDrainFromEngineMultiplier=1.000000 scum.BatteryDrainFromDevicesMultiplier=1.000000 scum.BatteryDrainFromInactivityMultiplier=1.000000 scum.BatteryChargeWithAlternatorMultiplier=1.000000 scum.BatteryChargeWithDynamoMultiplier=1.000000 scum.KingletDusterMaxAmount=2 scum.KingletDusterMaxFunctionalAmount=2 scum.KingletDusterMinPurchasedAmount=0 scum.DirtbikeMaxAmount=20 scum.DirtbikeMaxFunctionalAmount=20 scum.DirtbikeMinPurchasedAmount=5 scum.LaikaMaxAmount=50 scum.LaikaMaxFunctionalAmount=20 scum.LaikaMinPurchasedAmount=5 scum.MotorboatMaxAmount=11 scum.MotorboatMaxFunctionalAmount=11 scum.MotorboatMinPurchasedAmount=5 scum.WheelbarrowMaxAmount=20 scum.WheelbarrowMaxFunctionalAmount=20 scum.WheelbarrowMinPurchasedAmount=10 scum.WolfswagenMaxAmount=50 scum.WolfswagenMaxFunctionalAmount=20 scum.WolfswagenMinPurchasedAmount=5 scum.BicycleMaxAmount=20 scum.BicycleMaxFunctionalAmount=20 scum.BicycleMinPurchasedAmount=5 scum.RagerMaxAmount=50 scum.RagerMaxFunctionalAmount=20 scum.RagerMinPurchasedAmount=5 scum.CruiserMaxAmount=50 scum.CruiserMaxFunctionalAmount=20 scum.CruiserMinPurchasedAmount=5 scum.RisMaxAmount=50 scum.RisMaxFunctionalAmount=20 scum.RisMinPurchasedAmount=5 scum.SUPMaxAmount=30 scum.SUPMaxFunctionalAmount=20 scum.SUPMinPurchasedAmount=5 scum.KingletMarinerMaxAmount=1 scum.KingletMarinerMaxFunctionalAmount=1 scum.KingletMarinerMinPurchasedAmount=0 scum.TractorMaxAmount=50 scum.TractorMaxFunctionalAmount=20 scum.TractorMinPurchasedAmount=5 scum.MaximumTimeOfVehicleInactivity=240:00:00 scum.MaximumTimeForVehiclesInForbiddenZones=02:00:00 scum.LogVehicleDestroyed=1 [Damage] scum.HumanToHumanDamageMultiplier=1.000000 scum.HumanToHumanArmedMeleeDamageMultiplier=1.000000 scum.HumanToHumanUnarmedMeleeDamageMultiplier=1.000000 scum.HumanToHumanThrowingDamageMultiplier=1.000000 scum.SentryDamageMultiplier=1.000000 scum.SentryRailgunDamageMultiplier=1.000000 scum.SentryGrenadeDamageMultiplier=1.000000 scum.BaseBuildingAttackerSentryDamageMultiplier=1.000000 scum.BaseBuildingAttackerSentryRailgunDamageMultiplier=1.000000 scum.BaseBuildingAttackerSentryGrenadeDamageMultiplier=1.000000 scum.SentryBaseBuildingDamageMultiplier=1.000000 scum.DropshipDamageMultiplier=1.000000 scum.DropshipRailgunDamageMultiplier=1.000000 scum.DropshipBaseBuildingElementsDamageMultiplier=1.000000 scum.ZombieDamageMultiplier=1.000000 scum.ItemDecayDamageMultiplier=0.500000 scum.FoodDecayDamageMultiplier=1.000000 scum.WeaponDecayDamageOnFiring=1.000000 scum.LockProtectionDamageMultiplier=1.000000 [Features] scum.FlagOvertakeDuration=24:00:00 scum.MaximumAmountOfElementsPerFlag=100 scum.ExtraElementsPerFlagForAdditionalSquadMember=25 scum.MaximumNumberOfExpandedElementsPerFlag=75 scum.AllowMultipleFlagsPerPlayer=0 scum.AllowFlagPlacementOnBBElements=0 scum.ChestAcquisitionDuration=24.000000 scum.WeaponRackMaxAmountPerFlagArea=-1 scum.WeaponRackStartDecayingIfFlagAreaHasMoreThan=-1 scum.WallWeaponRackMaxAmountPerFlagArea=-1 scum.WallWeaponRackStartDecayingIfFlagAreaHasMoreThan=-1 scum.WellMaxAmountPerFlagArea=-1 scum.WellStartDecayingIfFlagAreaHasMoreThan=-1 scum.TurretMaxAmountPerFlagArea=-1 scum.TurretStartDecayingIfFlagAreaHasMoreThan=-1 scum.GardenMaxAmountPerFlagArea=-1 scum.AllowFloorPlacementOnHalfAndLowWalls=0 scum.AllowWallPlacementOnHalfAndLowWalls=1 scum.RaidProtectionType=0 scum.RaidProtectionEnableLog=0 scum.RaidProtectionFlagSpecificChangeSettingCooldown=120:00:00 scum.RaidProtectionFlagSpecificChangeSettingPrice=10g scum.RaidProtectionFlagSpecificMaxProtectionTime=08:00:00 scum.RaidProtectionOfflineProtectionStartDelay=00:30:00 scum.RaidProtectionOfflineMaxProtectionTime=- scum.RaidProtectionGlobalShouldShowRaidTimesMessage=1 scum.RaidProtectionGlobalShouldShowRaidAnnouncementMessage=1 scum.RaidProtectionGlobalShouldShowRaidStartEndMessages=1 scum.WaterPricePerUnitMultiplier=1.000000 scum.WaterPeriodicInitialAmountMultiplier=1.000000 scum.WaterPeriodicMaxAmountMultiplier=1.000000 scum.WaterPeriodicReplenishAmountMultiplier=1.000000 scum.WaterPeriodicReplenishIntervalMultiplier=1.000000 scum.WaterProximityReplenishAmountMultiplier=1.000000 scum.WaterProximityReplenishChanceMultiplier=1.000000 scum.WaterProximityReplenishTimeoutMultiplier=1.000000 scum.GasolinePricePerUnitMultiplier=1.000000 scum.GasolinePeriodicInitialAmountMultiplier=1.000000 scum.GasolinePeriodicMaxAmountMultiplier=1.000000 scum.GasolinePeriodicReplenishAmountMultiplier=1.000000 scum.GasolinePeriodicReplenishIntervalMultiplier=1.000000 scum.GasolineProximityReplenishAmountMultiplier=1.000000 scum.GasolineProximityReplenishChanceMultiplier=1.000000 scum.GasolineProximityReplenishTimeoutMultiplier=1.000000 scum.PropanePricePerUnitMultiplier=1.000000 scum.PropanePeriodicInitialAmountMultiplier=1.000000 scum.PropanePeriodicMaxAmountMultiplier=1.000000 scum.PropanePeriodicReplenishAmountMultiplier=1.000000 scum.PropanePeriodicReplenishIntervalMultiplier=1.000000 scum.PropaneProximityReplenishAmountMultiplier=1.000000 scum.PropaneProximityReplenishChanceMultiplier=1.000000 scum.PropaneProximityReplenishTimeoutMultiplier=1.000000 scum.SpawnerProbabilityMultiplier=1.000000 scum.ExamineSpawnerProbabilityMultiplier=1.000000 scum.ExamineSpawnerExpirationTimeMultiplier=1.000000 scum.SpawnerExpirationTimeMultiplier=1.000000 scum.EnableItemCooldownGroups=1 scum.ItemCooldownGroupsDurationMultiplier=1.000000 scum.SquadMemberCountAtIntLevel1=2 scum.SquadMemberCountAtIntLevel2=4 scum.SquadMemberCountAtIntLevel3=6 scum.SquadMemberCountAtIntLevel4=8 scum.SquadMemberCountAtIntLevel5=10 scum.SquadMemberCountLimitForPunishment=2 scum.RTSquadProbationDuration=1.000000 scum.SquadMoneyPenaltyPerPrevSquadMember=0 scum.SquadFamePointsPenaltyPerPrevSquadMember=0 scum.EnableSquadMemberNameWidget=0 scum.PlantHarvestExamineTimeMultiplier=1.000000 scum.FirstPlantHarvestAdditionalChance=1.000000 scum.ArcherySkillMultiplier=1.000000 scum.AviationSkillMultiplier=1.000000 scum.AwarenessSkillMultiplier=1.000000 scum.BrawlingSkillMultiplier=1.000000 scum.CamouflageSkillMultiplier=1.000000 scum.CookingSkillMultiplier=1.000000 scum.DemolitionSkillMultiplier=1.000000 scum.DrivingSkillMultiplier=1.000000 scum.EnduranceSkillMultiplier=1.000000 scum.EngineeringSkillMultiplier=1.000000 scum.FarmingSkillMultiplier=1.000000 scum.HandgunSkillMultiplier=1.000000 scum.MedicalSkillMultiplier=1.000000 scum.MeleeWeaponsSkillMultiplier=1.000000 scum.MotorcycleSkillMultiplier=1.000000 scum.RiflesSkillMultiplier=1.000000 scum.RunningSkillMultiplier=1.000000 scum.SnipingSkillMultiplier=1.000000 scum.StealthSkillMultiplier=1.000000 scum.SurvivalSkillMultiplier=1.000000 scum.ThieverySkillMultiplier=1.000000 scum.QuestsEnabled=1 scum.QuestsGlobalCycleDuration=23:59:59 scum.MaxQuestsPerCyclePerTrader=3 scum.MaxSimultaneousQuestsPerTrader=1 scum.QuestsTraderRefillCooldown=03:00:00 scum.QuestsPhoneRefillCooldown=01:00:00 scum.QuestsNoticeBoardRefillCooldown=02:00:00 scum.QuestRequirementsBlockTradeableItems=0 scum.TurretsAttackPrisoners=1 scum.TurretsAttackPuppets=1 scum.TurretsAttackVehicles=1 scum.TurretsAttackSentries=1 scum.TurretsAttackAnimals=1 scum.TurretsAttackArmedNPCs=1 scum.MovementInertiaAmount=1.000000 scum.StaminaDrainOnJumpMultiplier=1.000000 scum.StaminaDrainOnClimbMultiplier=1.000000 scum.DisableExhaustion=0 scum.BodySimulationSpeedMultiplier=3.840000 scum.MaintainItemsExpirationTime=360:00:00 scum.KillboxDefuseFailureBonus=0.200000 scum.BedrollVisibilityTimer=1.000000 scum.EnableBCULocking=1 scum.NameChangeCooldown=168.000000 scum.NameChangeCost=1000 scum.EnableNewPlayerProtection=1 scum.NewPlayerProtectionDuratio
Running the server
Next up, run your .bat file that you created, server should start correctly and show a screen similar to this.


Please note some port-forwarding may be required, by default the server will use port 7777 and 7779, each server should use unique ports and runs a separate process. You should unblock these port in your firewall\router.

If setting up your own server is too much work for you, then please consider renting a server from Citadel Servers[citadelservers.com] -They setup everything for you and offer over 20 locations worldwide, i would highly recommend them
34 Comments
oleg 29 Jun @ 8:36am 
@echo off
chcp 65001 >nul
setlocal enabledelayedexpansion

:: Шляхи
set ServerPath=A:\servers\scum\SCUM\Binaries\Win64
set SteamCMDPath=A:\servers\steamcmd
set InstallPath=A:\servers\scum

:: Лог файл
set LogFile=%~dp0SCUM_RestartLog.txt
oleg 29 Jun @ 8:36am 
:: Стартова точка перезапуску
:StartServer

:: Логування запуску
echo [%date% %time%] Перевірка оновлень та запуск сервера >> "%LogFile%"

:: Оновлення без validate для швидкості
"%SteamCMDPath%\steamcmd.exe" +force_install_dir "%InstallPath%" +login anonymous +app_update 3792580 +quit

:: Перехід у папку сервера
cd /d "%ServerPath%"

:: Запуск сервера у фоновому режимі
start "SCUM Server" SCUMServer.exe -log

:: Очікування запуску процесу
timeout /t 10 >nul
oleg 29 Jun @ 8:36am 
:: Моніторинг процесу та часу
:Monitor
:: Отримання поточного часу
set "HOUR=%time:~0,2%"
set "MINUTE=%time:~3,2%"
if "%HOUR:~0,1%" == " " set "HOUR=0%HOUR:~1,1%"

:: Перевірка, чи зараз час перезапуску
if "%HOUR%:%MINUTE%"=="05:00" (
goto RestartServer
)
if "%HOUR%:%MINUTE%"=="12:00" (
goto RestartServer
)
if "%HOUR%:%MINUTE%"=="18:00" (
goto RestartServer
)
oleg 29 Jun @ 8:35am 
:: Перевірка, чи запущений сервер
tasklist /FI "IMAGENAME eq SCUMServer.exe" | find /I "SCUMServer.exe" >nul
if errorlevel 1 (
echo [%date% %time%] Сервер впав, перезапуск >> "%LogFile%"
timeout /t 5 >nul
goto StartServer
)

:: Перевірка кожні 60 секунд
timeout /t 60 >nul
goto Monitor

:RestartServer
echo [%date% %time%] Запланований щоденний перезапуск сервера >> "%LogFile%"
taskkill /IM SCUMServer.exe /F
timeout /t 20 >nul
goto StartServer
BigKush 22 Jun @ 4:27am 
Can you tell me how I can enable logging of chat messages in the log files?
Ideally, I would like to log them in a separate log file.
Aussie 22 Jun @ 3:55am 
you can setup a Deamon tool for auto restarts
Aussie 22 Jun @ 3:53am 
you need to make sure your provider has not enabled CGNAT. I had to ask them to disable it, then my server worked fine, make sure also you have port forwarded the ports in your router to your server, also helps to make sure it has a static IP
George32 21 Jun @ 2:03am 
I did everything and i get hit with failed to connect...
Any solution for that?
SexyMime 20 Jun @ 12:09pm 
any linux version?
D'Jesus 20 Jun @ 5:08am 
Since the update, the servers are no longer found in the game. They are also not found on Battlemetrics. An entry by IP is the only working method, which does not attract players.