How to Give Admin/GM/GameMaster Rights

Learn how to assign different levels of administrative access to characters in your Lucera 2 server.

Administrator Rights

To grant Administrator rights to a character:

  1. Find the character's obj_id from the characters.sql table
  2. Open gameserver/config/GMAccess.xml
  3. Add the character's obj_id in the following format:
<PlayerID set="here obj_id"></PlayerID>
GM Access Configuration Example

Example of GM Access configuration file

Other Access Levels

For other access levels (Moderator, Event GM, etc.), use the pre-configured templates in:

gameserver/config/GMAccess.d/

Available Templates

  • event_manager.xml - For event management rights
  • full.xml - For full administrative access
  • marshal.xml - For marshal rights
  • moderator.xml - For moderation rights
  • sheriff.xml - For sheriff rights
Access Level Templates

Available access level templates

Important Note

Each template uses the same format as the main GMAccess.xml file. Simply add the character's obj_id in the PlayerID tag.

Example Configuration

Here's an example of how to set up different access levels:

<!-- Administrator -->
<PlayerID set="12345"></PlayerID>

<!-- Event Manager -->
<PlayerID set="67890"></PlayerID>

<!-- Moderator -->
<PlayerID set="54321"></PlayerID>

Security Tip

Always verify the obj_id before granting administrative rights. Double-check the character name and account to ensure you're granting access to the correct player.

Access Level Hierarchy

  1. Administrator (Full Access)
  2. Marshal
  3. Sheriff
  4. Event Manager
  5. Moderator

Best Practices

  • Keep a record of all administrative access granted
  • Regularly review and update access rights
  • Remove access when no longer needed
  • Use the minimum required access level for each role

Downloads