background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
Categorieën

Project Zomboid Server Admin Commands

Beschikbaar in: ESPAÑOL

Overview: This guide covers how to set up admin access on your Project Zomboid server and use the most common admin commands for player management, world control, and moderation.

Prerequisites

  • A running Project Zomboid server hosted with Legion Hosting
  • Access to GPanel
  • The game installed and able to connect to your server

Setting Up Admin Access

Before you can use admin commands in-game, you need to configure an admin password on your server. There are two ways to do this.

Option 1: Server Settings File

  1. Open GPanel and navigate to your server.
  2. Go to the File Manager and open /.cache/server/<servername>.ini (replace <servername> with your server's name).
  3. Find the line that reads AdminPassword= and set it to a secure password:
    AdminPassword=YourSecurePassword123
  4. Save the file and restart your server.

Option 2: GPanel Startup Tab

  1. Open GPanel and navigate to your server.
  2. Go to the Startup tab.
  3. Look for the Admin Password field and enter your desired password.
  4. Restart your server for the change to take effect.

Granting Admin Access to Players

Once your admin password is set, players who connect and enter the admin password will have admin access. You can also set access levels directly from the server console.

In the GPanel Console tab, type:

setaccesslevel <username> admin

This is a console-only command — it must be run from the GPanel Console or server console, not from in-game chat.

Important: Never share your admin password publicly. Anyone with the password can gain full admin access to your server.

Common Admin Commands

Commands prefixed with / are typed in the in-game chat — press T or Enter to open the chat window. Commands without a / prefix are console-only and must be run from the GPanel Console tab.

Player Management

Command Description
/players List all currently connected players
/kick <username> Kick a player from the server
/banuser <username> Ban a player from the server
/unbanuser <username> Remove a player's ban
/adduser <username> <password> Create a whitelist account for a player
/servermsg <message> Broadcast a message to all players on the server

Teleportation

Command Description
/teleport <username> Teleport yourself to a player's location
/teleportto <x> <y> <z> Teleport yourself to specific map coordinates

Player Cheats / Debug

Command Description
/godmod <username> Toggle god mode (invincibility) for a player
/invisible <username> Toggle invisibility for a player (zombies ignore them)
/noclip <username> Toggle noclip for a player (fly through walls and terrain)
/addxp <username> <perk> <amount> Grant XP to a player in a specific skill (e.g., /addxp Player1 Carpentry 1000)

World & Events

Command Description
/startrain Start a rain event
/stoprain Stop the current rain
/gunshot Trigger a gunshot sound event nearby to attract zombies
/chopper Trigger a helicopter fly-over event

Server Control

Command Description
/save Force save the world immediately
/quit Save the world and stop the server gracefully

Access Levels

Project Zomboid has several access levels that control what commands a player can use. Set a player's access level from the GPanel Console (this is a console-only command):

setaccesslevel <username> <level>
Level Description
admin Full access to all commands. Can manage other admins, change server settings, and control the server.
moderator Can kick and ban players, teleport, and view player information. Cannot change server settings.
overseer Limited moderation capabilities. Can view player information and perform basic moderation.
gm Game Master. Can spawn items, teleport, and manage in-game events. Useful for roleplay servers.
observer Can spectate players. Minimal command access. Useful for monitoring the server.
none Regular player with no special privileges. This is the default for all players.
Tip: To remove admin access from a player, set their access level back to none from the GPanel Console:
setaccesslevel PlayerName none

Using the GPanel Console

You can also run commands through the GPanel web console without being logged into the game:

  1. Open GPanel and navigate to your server.
  2. Go to the Console tab.
  3. Type your command in the input box at the bottom and press Enter.
Note: In-game commands (with / prefix) can also be run from the GPanel console by typing them with the / prefix. Some commands like setaccesslevel are console-only and do not use a / prefix. Certain commands (such as teleportation and god mode) may only work when you are logged into the game.

Managing the Ban List

When you ban a player using /banuser, the ban is stored in the server's database located at /.cache/db/.

To manage bans:

  • Ban a player: /banuser <username>
  • Unban a player: /unbanuser <username>
  • Manual editing: You can also use the GPanel File Manager to browse the /.cache/db/ directory and manually edit the ban list if needed.

Troubleshooting

Admin commands not working
  • Make sure your admin password is set correctly in /.cache/server/<servername>.ini (the AdminPassword= line) and the server was restarted after the change.
  • Ensure you entered the admin password when connecting to the server.
  • Check the server logs at /.cache/Logs/ for any error messages.
"You don't have access" error
  • Your access level may not be high enough. Ask a server admin to set your access level from the GPanel Console using setaccesslevel <username> admin.
  • Some commands require the admin access level. If you were set to a lower level (like moderator or gm), certain commands may not be available to you.
/addxp not working
  • Make sure the perk name is spelled correctly and uses the exact PZ perk name (e.g., Carpentry, Cooking, Farming, Fitness, Strength).
  • The player must be online when you run the command.
GPanel console commands not responding
  • Some commands only work when typed in-game, not through the GPanel console.
  • Make sure the server is running and not in a crashed or stopped state.
  • Try restarting the server from GPanel and attempting the command again.

Related Guides

Need help? If you're having trouble with admin commands or server management, open a support ticket and our team will assist you.

Was dit artikel nuttig?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.