Player Roles in Path of Titans

From Nitradopedia EN
Jump to: navigation, search
PoTBanner.jpg

Rent a prepaid Path of Titans Gameserver now at nitrado.net

How to set up player roles on your community server. These roles can be used to give players access to specific commands and give them unique colors in chat!

Changing player roles

Important Note: While editing server files, the server must be stopped. You must save your changes and restart the server for the changes to take effect.

For this you need to edit the Commands.ini file to change player roles.

Path: pathoftitans/PathOfTitans/Saved/Config/WindowsServer/Game.ini

1. Add player roles. For each player role you need to create a section with the title [Role:RoleName], where RoleName is the name of the role you want to create.

2. Add some command permissions to your player role so that someone with that role can execute those commands. To add a permission, you need to add a line below your role: +Permission=PermissionName<C/ode>, where PermissionName is the name of the command permission you want to allow. You can find a list of commands here.

3. Add a custom color to new roles. Adding a color is similar to adding a command permission: ChatColor={R=255,G=255,B=255,A=255} where the values for R, G, and B range from 0 to 255 and together make up the color. Changing the A value does nothing because it controls transparency and is fixed at 255. The default color, if not defined, is white.

4. Assign your new role to a player. You can do this by creating a new section [PlayerRoles], and entering the player's Alderon Games ID (AGID) below it, followed by =, and the role name. Alternatively, as a server admin, you can use the /promote (playername) (rolename) and /demote (playername) commands in-game to assign or unassign player roles.

5. There are additional customizations you can add to your player role. To use them, add one of the following lines to the section of your player role and set its value:

OverrideAdminChatColor=True/False - Set this value to True to allow the specific player role's chat color to override the default white list chat color for administrators. Default value == False

AllowSpectatorAccess=True/False - Set this value to True to allow the specific player role to access "Spectator" mode and the Admin panel. Default value = False

ReservedSlot=True/False - Set this value to True to allow the specific player role a reserved slot on the server. Default value = False

CreatorModeAccess=True/False - Set to True to allow a player to access creator mode. Default value = False

Hierarchy=0 -- Determines the hierarchy of player roles. A lower role cannot execute certain commands for a higher role. Default value = 0

Example Commands .ini

[Role:Teleporter]
+Permiss


ion=teleport
+Permission=teleportall
ChatColor=(R=0,G=255,B=0,A=255)
OverrideAdminChatColor=True
ReservedSlot=True

[PlayerRoles]
123-456-789=Teleporter