Create player roles Path of Titans

From 4netplayers Support Wiki
Revision as of 16:48, 17 January 2022 by Michael (talk | contribs) (Created page with "{{LP-Banner-POTITANS}} You can create your own roles for the players on your server.<br> Among other things, you need the <code>Alderon Games ID</code> of the respective play...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Rent a Path of Titans server
Rent your own Path of Titans server now at 4Netplayers.com

You can create your own roles for the players on your server.
Among other things, you need the Alderon Games ID of the respective player.
The Permission required for the role can be found HERE.

Basic Mode

In Basic Mode you create the roles under Game Settings -> Roles
An example of what a role can look like can be found below.

Advanced Mode

In Advanced Mode you create the roles in the Commands.ini.
An example of what a role can look like can be found below.

Example

[Role:Teleporter]
+Permission=teleport
+Permission=teleportall
ChatColor=(R=0,G=255,B=0,A=255)
OverrideAdminChatColor=True
ReservedSlot=True

[PlayerRoles]
123-456-789=Teleporter
  • [Role:Teleporter]: Defines the name for the role, in this example the name would be Teleporter
  • +Permission: Authorises the role to use the commands associated with the permission.
    Important: one permission per line!
  • ChatColor: Sets the chat colour for the role
  • OverrideAdminChatColor: If set to True, the role will use the chat color as defined under ChatColor. Else the role will use the default chat color.
  • ReservedSlot: Determines whether players of this role have a reserved slot on the server.

Additional possible settings:

  • AllowSpectatorAccess=True/False: allows use of the spectator mode as well as the admin panel.
  • CreatorModeAccess=True/False: allows players to use the creator mode
  • Hierarchy=0: Sets the hierarchy of the role. Roles with a lower hierarchy cannot use certain commands on roles of a higher hierarchy.
    Affected Commands:kick,ban,promote,demote


You can assign the respective roles to players under [PlayerRoles].
Alternatively, if you have the necessary permission, ingame via the chat command /promote Playername Rolename.