Palworld | Optimize your server to reduce lag, crashes and rubberbanding!
Optimizing your server to reduce lag, crashes and rubberbanding!
This list of suggestions will help you optimize your server if you have anything to please open a ticket!.
If you can join your server but your friends cannot join your server. Find your Palworldsettings.ini in file manager `Pal/Saved/Config/LinuxServer/Palworldsettings.in `i and change the option bIsMultiplay=False to bIsMultiplay=True then restart your server. make sure your server is off when you make the changes
By changing the follow settings you can reduce server crashes:
DropItemMaxNum=3000 -> DropItemMaxNum=500
DropItemAliveMaxHours=0.500000
bEnableInvaderEnemy=True -> bEnableInvaderEnemy=False
Engine.ini settings that can help alleviate these problems.
These settings should help in optimizing your PalWorld server, reducing lag and rubberbanding. Always backup your existing settings before making changes, and monitor server performance post-implementation for any necessary adjustments.
Ensure they're added after
/Pal/Saved/Config/LinuxServer
In your Engine.ini file.
Copy & Paste the Below: YOU NEED TO PASTE IT BELOW THE EXISTING TEXT
; Online Subsystem Utils Configuration
; Adjusting tick rates for LAN and Internet servers to enhance the frequency of game state updates,
; leading to smoother gameplay and less desynchronization between server and clients.
[/script/onlinesubsystemutils.ipnetdriver]
LanServerMaxTickRate=100 ; Sets maximum ticks per second for LAN servers, higher rates result in smoother gameplay.
NetServerMaxTickRate=100 ; Sets maximum ticks per second for Internet servers, similarly ensuring smoother online gameplay.
; Player Configuration
; These settings are crucial for optimizing the network bandwidth allocation per player,
; allowing for more data to be sent and received without bottlenecking.
[/script/engine.player]
ConfiguredInternetSpeed=104857600 ; Sets the assumed player internet speed in bytes per second. High value reduces chances of bandwidth throttling.
ConfiguredLanSpeed=104857600 ; Sets the LAN speed, ensuring LAN players can utilize maximum network capacity.
; Socket Subsystem Epic Configuration
; Tailoring the max client rate for both local and internet clients, this optimizes data transfer rates,
; ensuring that the server can handle high volumes of data without causing lag.
[/script/socketsubsystemepic.epicnetdriver]
MaxClientRate=104857600 ; Maximum data transfer rate per client for all connections, set to a high value to prevent data capping.
MaxInternetClientRate=104857600 ; Specifically targets internet clients, allowing for high-volume data transfer without restrictions.
; Engine Configuration
; These settings manage how the game's frame rate is handled, which can impact how smoothly the game runs.
; Smoother frame rates can lead to a better synchronization between client and server.
[/script/engine.engine]
bSmoothFrameRate=true ; Enables the game engine to smooth out frame rate fluctuations for a more consistent visual experience.
bUseFixedFrameRate=false ; Disables the use of a fixed frame rate, allowing the game to dynamically adjust frame rate for optimal performance.
SmoothedFrameRateRange=(LowerBound=(Type=Inclusive,Value=30.000000),UpperBound=(Type=Exclusive,Value=100.000000)) ; Sets a target frame rate range for smoothing.
MinDesiredFrameRate=30.000000 ; Specifies a minimum acceptable frame rate, ensuring the game runs smoothly at least at this frame rate.
FixedFrameRate=100.000000 ; (Not active due to bUseFixedFrameRate set to false) Placeholder for a fixed frame rate if needed.
NetClientTicksPerSecond=100 ; Increases the update frequency for clients, enhancing responsiveness and reducing lag.
These settings should help in optimizing your PalWorld server, reducing lag and rubberbanding. Always backup your existing settings before making changes, and monitor server performance post-implementation for any necessary adjustments.
Here's a detailed explanation of what each setting provided above in the Engine.ini file does for PalWorld servers:
LanServerMaxTickRate: This setting is for Local Area Network (LAN) servers. It specifies the maximum number of updates, or "ticks," the server processes per second. A higher tick rate (set to 120 here) means the server updates more frequently, which can result in smoother gameplay and more immediate responses to player actions in a LAN setting.
NetServerMaxTickRate: Similar to the LAN setting, but for Internet-based servers. It also sets the server's maximum tick rate to 120. This high tick rate is beneficial for reducing lag and improving the overall responsiveness of the game for players connecting over the Internet.
ConfiguredInternetSpeed: This setting is crucial for optimizing the network bandwidth allocation for each player. It sets a high assumed internet speed (100 Mbps) for players, which helps in reducing the chances of network bandwidth throttling. This means the server expects that each player has a high-speed internet connection and sends and receives data accordingly, which can help in reducing lag.
ConfiguredLanSpeed: Similar to the internet speed setting but specifically for players on a LAN. This ensures that players on a LAN can utilize the maximum capacity of their network without any artificial limitations imposed by the game server.
MaxClientRate and MaxInternetClientRate: These settings are for optimizing data transfer rates for clients (players). Both are set to the same high value (100 Mbps) and aim to ensure that the server can handle high volumes of data without causing lag. This is particularly important in scenarios where there's a lot of player activity or when the game is transmitting large amounts of data.
bSmoothFrameRate: This setting enables the game engine to smooth out fluctuations in frame rate. By doing so, it aims to provide a more consistent and visually stable gaming experience. Frame rate smoothing is especially beneficial in maintaining a balance between game performance and visual quality.
bUseFixedFrameRate: Set to 'false' in your settings, this option allows the game to dynamically adjust the frame rate rather than locking it to a fixed value. This dynamic adjustment can lead to better overall performance as the game can adapt to varying processing demands.
SmoothedFrameRateRange: This sets the target range for the smoothed frame rate, with a lower bound of 30 FPS and an upper bound of 120 FPS. The game will try to keep the frame rate within this range, smoothing out any jumps or drops in frame rate to maintain consistent gameplay.
MinDesiredFrameRate: This is a minimum threshold for the frame rate, set at 60 FPS. It's a baseline to ensure that, at the very least, the game runs smoothly at this frame rate.
NetClientTicksPerSecond: Increased to 120, this setting boosts the frequency of client updates. More frequent updates mean that the game state is refreshed more often, which can lead to more responsive gameplay and reduced lag, especially in fast-paced scenarios.
If you do not have a Palworld server with Skynode yet, you can find our plans and pricing here
Updated on: 01/02/2024
Thank you!