Admin setup and other stuff
How should I become a game administrator?
- Activate the console from the client by pressing ~.
- Enter
gm key [administrator password]
(specified by-adminpsw
) and press enter. This will open the GM control panel. - After opening the GM panel, enter the administrator password and click to become an administrator.
How do I ban players on the server?
- To enable the account ban feature, there are two methods:
- Execute the GM command:
gm EnableServerPermissionList 1 1
- Set the server start command line:
-serverpm=2
(if you also want to enable the mute function, use-serverpm=18
) - Execute the GM command:
AddServerPermissionList 1 steamID
- Execute the GM command:
How to unban a player
- Execute the GM command:
RemoveServerPermissionList 1 steamID
How to save the game
- To save the world archive while the server is running, execute the GM command:
gm BaoCun
How to Use the Maintenance Port? The maintenance port is a simple way to maintain the server, specified through the command line parameter: -EchoPort
. During server operation, use a Telnet tool to connect to the maintenance port as follows:
- Execute the Windows run command:
telnet 127.0.0.1 18888
- Upon entering the telnet interface, type
help
to view the available maintenance commands for the server. - To shut down the server after 30 seconds, enter:
quit 30
- To save, enter:
saveworld 1
Commonly Used GM Command:
Command Name | Command Code |
Open GM Panel | gm key [password] |
Add Experience | gm AddExp [value] |
Add Mask Experience | gm Addmjexp [value] |
Add Hunting Experience | gm Addshoulieexp [value] |
Increase Hunting Experience | gm AddShouLieExp [value] |
Reset Points | gm XiDian |
Suicide | gm ZiSha 1 |
Revive | gm FuHuo |
Delete Account | gm shanhao |
View Own Location | GPS |
Quick Recruit NPC (Aim at Target) | gm ZhaoMu |
Teleport | gm Go [position_x] [position_y] [position_z] |
Clear All NPCs | gm ClearAllNpc |
Remove Selected Target | gm ClearSelect |
Refresh Vegetation within Range | gm ShuaXinZhiBei |
Show Own Information, such as Quality, Skill Levels, Talents, etc. | gm ShowInfo 1 |
Show Character Information, such as Quality, Skill Levels, Talents, etc. | gm ShowInfo 0 |
Invisibility | gm SetAttr YinShen 1 |
Disable Invisibility | gm SetAttr YinShen 0 |
Repair Mask Nodes | gm JSMJ |
Unlock All Map Information | gm ShowMap |
Unlock All Tech Tree Nodes | gm KeJiShu |
Display Barbarian Invasion Heat Information Chart | gm ShowReDu |
Clear All Barbarian Invasion Heat | gm ClearAllReDu |
Increase Barbarian Invasion Heat at Current Location | gm AddReDu [value] |
Reset Tutorial Missions | gm ChongZhiRenWu |
View Server Status Information | Debuginfo 1 |
Close Server Status Information | Debuginfo 0 |