# The Mythran's Bible - A Server Operator's Guide to Darkflame Universe
So you've finally setup a server instance, created an admin account, then created additional accounts using the Account Manager. You've connected to the server using your client and everything seems to be working fine.
Now that you've reached this point, there's still a lot to know about managing and maintaining a server.
Game moderator levels define what console commands a given account has access to in-game. To modify a player's maximum GM level, set the `gm_level` column in the `accounts` table in the MySQL database.
Players have a max GM level and a current GM level; at any time, a player can use the `/setgmlevel` command to raise their current GM level up to their maximum, which grants them permissions corresponding with that level, or lower their GM level down to a lower level, or 0, which limits what commands they can execute.
A player with full GM permissions can lower themselves down to 0 to play the game as though they were a normal player, then raise their level up if they need to do something like teleport or unstuck themselves. Think of it like Minecraft; if you have permissions, you can play the game in Survival, and call `/gamemode creative` only when you get stuck.
Here is a list of all console commands, grouped by required permission level. Each level also has access to the commands of the levels above them. To run one of these console comands, enter them into chat.
This command triggers the player to play an animation with the given internal name. This can look somewhat buggy, since any player animation can be played, such as attacks that don't match your current gear, but isn't that part of the fun is it?
**TODO: Add a curated list of some fun animations.**
#### /playanim <anim-name>
Alias for `/playanimation`.
#### /die
This command smashes the current player, prompting them to respawn.
#### /resurrect
This command smashes the current player and respawns them.
**TODO: How does this differ from `/die`?**
#### /who
This command outputs a list of all the players in the current instance.
#### /ping (-l)
This commands outputs your average ping level, indicating the strength of your connection to the server. Use `/ping -l` to output your latest ping level rather than your average ping level.
#### /skip-ags
This command will check if the player has been assigned mission ID `229`, and will skip it if they have.
This mission ID corresponds to the required mission in which the player must survive one minute in Avant Gardens Survival. Since this minigame can sometimes be buggy, this command will allow any player to skip the mission if needed.
Mutes the target player for the target number of days plus the target number of hours.
If no duration is specified, the mute is permanent.
#### /kick <name>
Kicks the target player from the server. They can still login again.
#### /ban <name>
Bans the target player permanently from the server. They cannot login again.
At this time there is no easy functionality to unban a player.
#### /teleport <x> (y) <z>
Teleports to the given X and Z coordinates. If Y is specified, the player will be teleported to that height; otherwise, the player will be teleported to the height of the terrain.
#### /tele
Alias for `/teleport`.
### 3 - Moderator
#### /mailitem <name> <item>
Sends an item to the mailbox of the target player.
### 5 - Lead Moderator
#### /approveproperty
Approves the currently accessed user-built property for public viewing.
### 8 - Active Developer
#### /kill <user>
https://www.youtube.com/watch?v=dyIilW_eBjc
#### /speedboost <boost>
Boost the player's speed by the given amount.
**TODO: Does this support decimal values or only whole numbers?**
Sets the size of the current player's inventory to the specified value.
#### /setinvsize <size>
Alias for `/setinventorysize`.
#### /runmacro <path>
Runs the specified macro at the path `./res/macros/<path>.scm`.
#### /addmission <mission-id>
Forces the current player to accept the mission with the specific ID.
#### /completemission <mission-id>
Immediately completes the mission with the specific ID for the current player.
#### /setflag <flag-id>
Every player has a 12,008-bit string associated with them that contains a large number of on-off switches associated with the character's status and progress. This command enables a specific flag on the current player.
[List of known flags](https://docs.lu-dev.net/en/latest/game-mechanics/flag-system.html#known-flags).
#### /clearflag <flag-id>
Every player has a 12,008-bit string associated with them that contains a large number of on-off switches associated with the character's status and progress. This command disables a specific flag on the current player.
[List of known flags](https://docs.lu-dev.net/en/latest/game-mechanics/flag-system.html#known-flags).
#### /resetmission <mission-id>
Sets a completed mission back as active.
#### /playeffect <effect-id>
Starts playing a specific effect on the given player.
#### /stopeffect <effect-id>
Stops playing a specific effect on the given player.
Send an announcement to all members of the server. You need to call `/setanntitle` and `/setannmsg` first to set the title and description of the message.
#### /setname <name>
Set the current player's name.
**TODO: Is this permanent or what?**
#### /title <title>
Set the current player's title (their name will display as `Name - Title`).
#### /tpall
Teleport all other players to the current player's position.
#### /dismount
Forcibly dismount the player from their vehicle or mount.
#### /buffme
Grants the player 999 Health, Armor, and Imagination.
#### /startcelebration
**TODO: What does this do?**
#### /buffmed
Grants the player 9 Health, Armor, and Imagination.
#### /refillstats
Refills the player's Health, Armor, and Imagination back to full.
This command sends an announcement to all players that the server will be shut down for maintenance in 10 minutes, then shuts down the the entire Darkflame Universe server.