To run commands on your server in game you need to "OP" yourself to become a server Operator.
To do this follow the steps below
- Stop your server.
- Click "Configuration Files"
- Click "Config Editor" or "Text-editor" next to ServerSettings.xml - use the same method as you have used previously as one overwrites the other.
- Find the section:
<!-- Comma-separated list of server operators (users with admin access).
Add yourself first here (use your in-game username as written in the bottom right corner of the main menu).
Then you can add more players to this list by using the in-game /opAdd console command. -->
<server_operators_list> </server_operators_list>
- In between the tags
<server_operators_list> </server_operators_list>
add your character name
For example:<server_operators_list>PingJacob</server_operators_list>
If you wanted to add multiple admins, it would look like this:<server_operators_list>PingJacob,PingSteve,PingJeremy</server_operators_list>
- Save the file in the top left, and startup your server.
Server operators can access special moderation commands. To use these commands follow the above steps, connect to your game server, open the console (~ key) and then you can use the below commands.
Note: Replace username with the actual player nickname
Whitelist management:
/mod.whiteList.add username
/mod.whiteList.remove username
/mod.whiteList.print
To enable whitelist:
/mod.whiteList.enabled 1
Blacklist management:
/mod.blackList.add username
/mod.blackList.remove username
/mod.blackList.print
Kicking players (temporary removing from server and blocking from connecting):
/mod.kickList.add username durationInMinutes
/mod.kickList.remove username
/mod.kickList.print
Muting players (temporary removing their ability to send messages to chat):
/mod.muteList.add username durationInMinutes
/mod.muteList.remove username
/mod.muteList.print
Looking for a game server host known for brilliant 24/7 customer support and quality hardware?
Try a Pingperfect Cryofall server today! https://pingperfect.com/gameservers/cryofall-game-server-hosting-rental.php