| |
| |
| |
One button installation
iex (irm ' https://imotao.com/sh/pal-server/Ubuntu/install.ps1 ')
Optional server
choice Windows Server 2022
Deployment environment
-
Region: Take Wuhan, Hubei Province as an example -
Server package configuration: CPU 56 cores, memory 16GB -
Operating system: Windows Server 2022
Operation steps
Step 1: Download the C++runtime library (click the link to download it), which needs to be installed manually
Download address: https://aka.ms/vs/17/release/vc_redist.x64.exe
Step 2: Download the DirectX support library (click the link to download it), which needs to be installed manually
Download address: https://www.microsoft.com/en-us/download/details.aspx?id=35
Step 3: Download Steamcmd (click the link to download it), which needs to be decompressed manually
Download address: https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
Log in to Steam account
Login steam account password Enter for example login zhanghao 123456 You may be asked to enter the verification code after entering
Run (the black screen is normal when the configuration file is generated PalServer Pal Saved)
Step 4: Enter PowerShell and open the directory where steamcmd is located:
Method 1
steamcmd +login anonymous +app_update 2394010 validate +quit cd .\steamapps\common\PalServer PalServer.exe port=8211
Method 2
Relevant startup parameters
; This configuration file is a sample of the default server settings. ; Changes to this file will NOT be reflected on the server. ; To change the server settings, modify Pal/Saved/Config/WindowsServer/PalWorldSettings.ini. [/Script/Pal.PalGameWorldSettings] OptionSettings=(Difficulty=None, DayTimeSpeedRate=1.000000,NightTimeSpeedRate=1.000000,ExpRate=1.000000,PalCaptureRate=1.000000,PalSpawnNumRate=1.000000,PalDamageRateAttack=1.000000,PalDamageRateDefense=1.000000,PlayerDamageRateAttack=1.000000,PlayerDamageRateDefense=1.000000,PlayerStomachDecreaceRate=1.000000,PlayerStaminaDecreaceRate=1.000000,PlayerAutoHPRegeneRate=1.000000, PlayerAutoHpRegeneRateInSleep=1.000000,PalStomachDecreaceRate=1.000000,PalStaminaDecreaceRate=1.000000,PalAutoHPRegeneRate=1.000000,PalAutoHpRegeneRateInSleep=1.000000,BuildObjectDamageRate=1.000000,BuildObjectDeteriorationDamageRate=1.000000,CollectionDropRate=1.000000,CollectionObjectHpRate=1.000000,CollectionObjectRespawnSpeedRate=1.000000, EnemyDropItemRate=1.000000,DeathPenalty=All,bEnablePlayerToPlayerDamage=False,bEnableFriendlyFire=False,bEnableInvaderEnemy=True,bActiveUNKO=False,bEnableAimAssistPad=True,bEnableAimAssistKeyboard=False,DropItemMaxNum=3000,DropItemMaxNum_UNKO=100,BaseCampMaxNum=128,BaseCampWorkerMaxNum=15,DropItemAliveMaxHours=1.000000, bAutoResetGuildNoOnlinePlayers=False,AutoResetGuildTimeNoOnlinePlayers=72.000000,GuildPlayerMaxNum=20,PalEggDefaultHatchingTime=72.000000,WorkSpeedRate=1.000000,bIsMultiplay=False,bIsPvP=False,bCanPickupOtherGuildDeathPenaltyDrop=False,bEnableNonLoginPenalty=True,bEnableFastTravel=True,bIsStartLocationSelectByMap=True,bExistPlayerAfterLogout=False, bEnableDefenseOtherGuildPlayer=False,CoopPlayerMaxNum=4,ServerPlayerMaxNum=32,ServerName="Default Palworld Server",ServerDescription="",AdminPassword="",ServerPassword="",PublicPort=8211,PublicIP="",RCONEnabled=False,RCONPort=25575,Region="",bUseAuth=True,BanListURL=" https://api.palworldgame.com/api/banlist.txt ")
Difficulty=None, ; None or Difficulty DayTimeSpeedRate=1.000000, ; Daytime lapse rate NightTimeSpeedRate=1.000000, ; Night passage speed ExpRate=1.000000, ; Multiplication of experience value PalCaptureRate=1.000000, ; Capture probability multiplier PalSpawnNumRate=1.000000, ; Number multiplying rate of Paru PalDamageRateAttack=1.000000, ; Palu attack damage multiplier PalDamageRateDefense=1.000000, ; Paru suffers damage multiplier PlayerDamageRateAttack=1.000000, ; Player attack damage multiplier PlayerDamageRateDefense=1.000000, ; Player suffers damage multiplier PlayerStomachDecreaceRate=1.000000, ; Players' satiety reduced by multiple PlayerStaminaDecreaceRate=1.000000, ; Player endurance multiplier PlayerAutoHPRegeneRate=1.000000, ; Player's HP recovery rate PlayerAutoHpRegeneRateInSleep=1.000000, ; Life recovery rate of players during sleep PalStomachDecreaceRate=1.000000, ; Palu satiety reduction ratio PalStaminaDecreaceRate=1.000000, ; Paru endurance reduction ratio PalAutoHPRegeneRate=1.000000, ; Palu HP natural recovery multiplier PalAutoHpRegeneRateInSleep=1.000000, ; Palu's life recovery rate during sleep BuildObjectDamageRate=1.000000, ; Multiplication of damage to buildings BuildObjectDeteriorationDamageRate=1.000000, ; Building deterioration rate multiplier CollectionDropRate=1.000000, ; Can collect the drop rate of articles CollectionObjectHpRate=1.000000, ; Can collect multiple of item's HP CollectionObjectRespawnSpeedRate=1.000000, ; Collection item generation rate EnemyDropItemRate=1.000000, ; Enemy dropped items rate DeathPenalty=All, ; Death Penalty None No Item No Equipment Item And Equipment All bEnablePlayerToPlayerDamage=False, ; Enable player to player damage function bEnableFriendlyFire=False, ; Fire damage bEnableInvaderEnemy=True, ; Whether there will be attacks bActiveUNKO=False, ; ?? bEnableAimAssistPad=True, ; Enable aiming assist handle bEnableAimAssistKeyboard=False, ; The collimator is on DropItemMaxNum=3000, ; Maximum number of dropped objects DropItemMaxNum_UNKO=100, ; Maximum number of dropped objects _UNKO BaseCampMaxNum=128, ; Maximum number of headquarters BaseCampWorkerMaxNum=15, ; The largest number of workers in the base camp DropItemAliveMaxHours=1.000000, ; Maximum duration of falling objects bAutoResetGuildNoOnlinePlayers=False, ; Automatically reset guilds without online players AutoResetGuildTimeNoOnlinePlayers=72.000000, ; Automatically reset the generation time when there is no online player GuildPlayerMaxNum=20, ; Maximum number of guild players PalEggDefaultHatchingTime=72.000000, ; Default incubation time of Paru eggs WorkSpeedRate=1.000000, ; Operating rate bIsMultiplay=False, ; Multiplayer game bIsPvP=False, ; PvP bCanPickupOtherGuildDeathPenaltyDrop=False, ; You can pick up the dead drops of other guilds bEnableNonLoginPenalty=True, ; Enable no login penalty bEnableFastTravel=True, ; Enable fast travel bIsStartLocationSelectByMap=True, ; Select the starting position through the map bExistPlayerAfterLogout=False, ; Players still exist after logout bEnableDefenseOtherGuildPlayer=False, ; Enable the function of defending other guild players CoopPlayerMaxNum=4, ; Maximum number of cooperative players ServerPlayerMaxNum=32, ; Maximum number of server players ServerName="Default Palworld Server", ; Server name ServerDescription="", ; Server description AdminPassword="", ; Administrator Password ServerPassword="", ; Server Password PublicPort=8211, ; Server Port PublicIP="", ; Server ip RCONEnabled=False, ; Enable RCON RCONPort=25575, ; RCON port Region="", ; region bUseAuth=True, ; Use authorization BanListURL=" https://api.palworldgame.com/api/banlist.txt ") ; Block user URL Difficulty DayTimeSpeedRate daytime speed NightTimeSpeedRate ExpRate experience rate PalCaptureRate friend capture rate PalSpawnNumRate Pal occurrence rate PalDamageRateAttack damage caused by friend multiplier PalDamageRateDefense causes damage to friend multiplier PlayerDamageRateAttack Multiply the damage caused by players The damage multiplier caused by PlayerDamageRateDefense to players PlayerStomachDecreaceRate hunger consumption rate of players PlayerStaminaDecreaseRate PlayerAutoHPRegeneRate Player's automatic HP response rate PlayerAutoHpRegeneRateInSleep Player Sleep HP Response Rate Gastric decline rate partner hunger consumption rate Partner endurance reduction rate Parr endurance reduction rate PalAutoHP regeneration rate PalAutoHP recovery rate PalAutoHpRegeneRateInSleep Pal Sleep Health Recovery Rate (in Palbox) BuildObjectDamageRate multi-layer structure is damaged BuildObjectDeterminationDamageRate CollectionDropRate collectable item multiplier CollectionObjectHpRate Collectable object HP multiplier CollectionObjectRespawnSpeedRate can collect the regeneration interval of objects EnemyDropItemRate Drop item multiplier Death Penalty None: no loss, Item: lost items without equipment, ItemAndEquipment: lost items and equipment, All: lost all items, equipment, friends (in storage) GuildPlayerMaxNum Guild Maximum Players PalEggDefaultHatchingTime Default incubation time: incubation time of large eggs (h) The maximum number of people that can join the ServerPlayerMaxNum server ServerName Server name ServerDescription AdminPassword Administrator password ServerPassword Sets the server password. PublicPort Public port number PublicIP Public IP RCONEnabled RCONPort RCON port number
Set the server as a community server
Server commands
If you want to use the command there. You need to set the AdminPassword and use the/AdminPassword command to obtain administrative permissions. /Shutdown {Seconds} {MessageText} The number of seconds after the server is shut down will notify your MessageText. /DoExit forces the server to stop. /Broadcast {MessageText} sends messages to all players in the server. /KickPlayer {SteamID} kicks players out of the server. /BanPlayer {SteamID} prohibits players from the server. /TeleportToPlayer {SteamID} is transmitted to the current position of the target player. /TeleportToMe {SteamID} target player is transferred to your current location /ShowPlayers displays information about all connected players. /Info Displays server information. /Save saves the world data.
Configure virtual memory for Windows servers
This section takes Windows Server 2022 as an example. Other versions of Windows operating systems are similar and can be used for reference.
1. Initial size: It is generally recommended to set the initial size to 1.5 to 2 times the physical memory. For example, if the current server has 8GB of physical memory, the initial size can be set to 12GB to 16GB. 2. Maximum size: It is generally recommended to set the maximum size to 2 to 4 times the physical memory. For example, if the current server has 8GB of physical memory, the maximum size can be set to 16GB to 32GB. 1GB = 1000MB
Performance option pop-up window: Apply first, then confirm! System attribute pop-up window: OK.
The pet Paru game process deployed by one click has a self starting mechanism, so you don't need to worry about the game failing to start after restarting the computer.
Sign in to the game
Preconditions
-
First, you need to download the Steam client locally. -
Next, you need to work in Steam Purchase the pet Palworld 。
Login steps
Configure automatic restart for pet Paru server
Since the game program itself has a memory leak problem, you can also clean the memory by restarting the game in the server after you play for a period of time.
iex (irm ' https://imotao.com/sh/pal-server/Ubuntu/auto_restart_on_high_memory.ps1 ')