NEW 📢 Black Friday: our launch offer ends 30 Nov. Up to 70% off your first month on every game!See plans
Black FridayUp to 70% off your first month, ends 30 NovEnds in 9d 03h 55mBlack FridayUp to 70% off your first month, ends 30 NovEnds in 9d 03h 55mBlack FridayUp to 70% off your first month, ends 30 NovEnds in 9d 03h 55m

How to use the console and run commands

Game servers & panelUpdated Oct 27, 20264 min read

The console is the live text output of your game server, with a box to type commands into it. It is how you see that the server started properly, why something failed, and who joined.

Open the console

  1. Open your server in the panel.
  2. Click the Console tab. A smaller copy of the console also appears on the Overview page, with an Open console button.
The console with its output and the command box highlighted

The first line, Console connected., only means your browser is connected to the console. A game prints its own lines once the server is started. When the server is offline the console may only show that line.

Read the output

Each line starts with a timestamp. At the top you can filter what you see:

  • All shows everything.
  • Errors shows lines the panel recognises as errors, for example lines containing words such as ERROR.
  • Warnings shows lines it recognises as warnings.
  • Info shows the rest.

For some games extra tabs such as Players, Chat and Commands appear once matching lines are seen. A PlayNHost tab can collect the panel's own messages, and Since last start hides output from before the server last started. The small console on the Overview page has no filter tabs.

Each filter shows how many lines it holds, so a number beside Errors is a quick sign something needs a look. Use the search icon to find a word in the output, and the expand icon to enlarge the console.

Run a command

  1. Make sure the server is Online. Commands only work while the game is running.
  2. Click the box that says Type a command.
  3. Type the command exactly as the game expects it, without any slash if the game does not use one, and press Enter.

Which commands exist depends entirely on the game. Common ones are saving the world, announcing a message, kicking or banning a player, and changing a setting for the current session. Your game's guide in this knowledge base lists the ones that matter, and the game's own wiki lists the rest.

Console changes are temporary

Changing something with a command usually lasts only until the next restart. The value in Settings, under Game Settings, is the one that stays, because the panel writes it into the game's files every time the server starts. If you want a change to be permanent, make it there. See How to change your server settings.

Run commands without typing

For things you do often, use Quick Tasks. A task can send a command with one click, or on a timer. See How to schedule tasks and automatic backups.

When you contact support

Copy the last 50 to 100 lines of the console into your ticket. It is the single most useful thing you can send. See How to open a support ticket. The ticket form can also attach the most recent console output for you. The menu at the top of the console also has Download log, and Share log, which makes a link that expires after an hour, a day or a week and can hide IP addresses. Anyone with that link can read the log.

Good to know

OUR LATEST BLOGS