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:
- Find the character's
obj_idfrom thecharacters.sqltable - Open
gameserver/config/GMAccess.xml - Add the character's
obj_idin the following format:
<PlayerID set="here obj_id"></PlayerID>
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 rightsfull.xml- For full administrative accessmarshal.xml- For marshal rightsmoderator.xml- For moderation rightssheriff.xml- For sheriff rights

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
- Administrator (Full Access)
- Marshal
- Sheriff
- Event Manager
- 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