Reserved Slots - Alderon-Games/pot-community-servers GitHub Wiki

You can adjust and change the number of reserved slots on your server, and change what server roles can use reserved slots. We highly suggest adding your server's admin roles to use reserved slots to ensure you can have admins login and moderate even if the server is full.

Important Note: The server must be stopped while editing server files. You must save your edits and restart your server for any edits to take effect.

You must edit two areas to set reserved slots. First you must set the number of reserved slots your server uses, then you must specify which roles can take advantage of reserve slots.

Setting Reserved Slot Limit

You must add this line under the [/Script/PathOfTitans.IGameSession] header in your Game.ini file.

Path: Config/WindowsServer/Game.ini

Example contents of Game.ini

[/Script/PathOfTitans.IGameSession]
ReservedSlots=20

If the player limit is 100, the ReservedSlots line will allow the server go up to 120 players, with 20 slots being reserved for admins. By default your server will use 20 reserve slots. If you are fine with using 20 reserve slots you don't need to add this line, as it applies automatically.

Enabling Reserved Slots on your Admin Roles

To take advantage of reserved slots, you must enable it on your admin roles.

For more information about creating server roles, see the Add or Remove Player Roles page.

You must edit your Commands.ini file and add the ReservedSlot=True line under each role you want to have access to reserved slots.

Path: /Config/WindowsServer/Commands.ini

Example contents of Commands.ini

[Role:Teleporter]
+Permission=teleport
ReservedSlot=True

[PlayerRoles]
123-456-789=Teleporter