Skip to content

Admin Commands

Admin Commands#

You can type commands in the chat bar starting with "/" or type them in the admin console.

Public commands#

  • /cleartag - removes the clan from your name
  • /enter - enters a near building if your clan owns it
  • /getposition - prints your current position and map/template name
  • /sethousename newname - sets the name of a near owned house
  • /setname newname - changes your name
  • /setnick - same as /setname
  • /unstick - same as /leave
  • /unstuck - same as /leave
  • /leave - leaves the current building / pirate ship

Emotes#

  • Angry ( >:( , X( , X-( )
  • Bigeyes ( O-O , O.O )
  • Cool ( :cool: , B) , B-) , 8) , 8-) , D) , D-) )
  • Crosseyes ( X) , XD , X-) , X-D , X-X , X_X , X.X )
  • Heart ( <3 )
  • Idea ( (i) )
  • Kiss ( :* , :-* )
  • Phone (:)])
  • Sad ( :( , :-( )
  • Sleep (ZZ, ZZZ, Z/, Z_Z)
  • Smile (:), :-), :D, :-D)
  • Sorry (?(, ?-()
  • Tears (:_(, :\'()
  • Tongue (:P, :-P)
  • Neutral Face / Widemouth (:|, :-|)
  • Wink (;), ;-))

If extended emoticons enabled:

  • BRB (:brb:)
  • Help (:help:)
  • Go (:go:)
  • AFK (:afk:)
  • Ok (:ok:)

Admin commands#

Access is defined in adminrights.json.

  • /addball balltype - adds a beachball
  • /addballoon color - adds a white/red/green/blue/pink/yellow balloon
  • /addbomb - adds a bomb NPC below you
  • /addbunny - adds an easter bunny NPC
  • /addcar - adds an automatically moving car NPC
  • /addclanstats "clanname" amount (kills|spar|castle) - adds stats to a clan
  • /addcoins (user-id or nick) amount - adds coins to a player, limited by addcoinslimit from main.json
  • /addeventcoin userid [amount] - adds items of type eventcurrency configured in main.json
  • /addeventgem - same as /addeventcoin
  • /addfireworks - adds a fireworks spawner below
  • /additem itemid - drops an item on the ground below you
  • /addmonsters type - adds a monster spawner; type must be listed in availablespawnmonsters in main.json
  • /addplayeritem (user-id or nick) itemid - adds one item directly to a player's inventory
  • /addscriptnpc [scriptclasses] - adds a script NPC below, click on it to edit
  • /addshopnpc itemid - adds a shop NPC for a specific item
  • /addship - adds a ship decoration NPC
  • /addsnowhill - adds a snowhill NPC
  • /addsnowman - adds a snowman NPC
  • /addstats (user-id or nick) amount stat - adds stats to a player; stat types defined by allowedscores in main.json (e.g. kills, mobkills, sparwins)
  • /addtalknpc snowman/sign text - adds an NPC with a message
  • /addtalknpc shop armor head hat - adds a shop NPC with a specific look
  • /addtree [noapples] - adds a tree NPC; optional noapples to exclude apples
  • /ani animation - sets your animation
  • /blockuploads (user-id or nick) on/off - blocks or unblocks custom uploads for a player
  • /countplayers - displays how many players are online from each platform
  • /debugevents on/off - toggles script event debug output to your console
  • /disconnect (user-id or nick) - disconnects a player (also disconnects same-IP players)
  • /editevent - opens the event configuration for the current map
  • /editnpc id or name - opens the edit panel for a script NPC by ID or name
  • /itemdisplay itemid - places an item display NPC
  • /jail (user-id or nick) duration "reason" - jails a player (also jails same-IP players)
  • /lockitems (user-id or nick) on/off - locks or unlocks a player's inventory and trading together
  • /locktrade (user-id or nick) on/off - locks or unlocks only the trading flag for a player
  • /movenpc deltax deltay - moves the nearest NPC by the given delta values
  • /mute (user-id or nick) on/off - permanently mutes or unmutes a player (chat, PMs and voice chat)
  • /mute (user-id or nick) duration ["reason"] - mutes a player for the duration in seconds, 0 = unmute; the mute ends automatically
  • /gag - same as /mute
  • /npcprompt (id or name) prompt - generates the server and client script of a script NPC with AI (OpenAI), e.g. /npcprompt 123 a shop which sells apples for 5 coins
  • /preloadmap templatename - pre-loads a map template into memory
  • /profile (user-id or nick) - opens a player's profile
  • /refillarrows [user-id or nick] - maximizes arrow/bullet count for yourself or another player
  • /refillbullets - same as /refillarrows
  • /refillbombs [user-id or nick] - maximizes bomb count for yourself or another player
  • /refundupload (user-id or nick) fileid - refunds an upload for a player
  • /reloadconfig - reloads the main server configuration
  • /reloadmap - reloads the current map
  • /reloadtranslations - reloads the translation files
  • /removenpc - removes the nearest NPC below you
  • /removeitem (user-id or nick) itemid - removes an item from a player's inventory
  • /resetclanrank clanid userid - resets a clan member's rank to empty (both must be integers)
  • /resetname [user-id or nick] - resets a player's name; if no player specified, resets your own
  • /resetspars - resets the spar stats of all currently online players
  • /resetstatus [user-id or nick] - clears a player's profile status; if no player specified, clears your own
  • /resetstory [user-id or nick] - removes a player's profile story; if no player specified, removes your own
  • /servermessage [iosonly/androidonly/fbonly] message - broadcasts a message to all players (or a filtered subset)
  • /serverstory storyid - broadcasts a story to all online players
  • /setadminlevel (user-id or nick) level - sets a player's admin level (0–10, must be below your own level)
  • /setclanleader "clanname" user-id - transfers leadership of a clan to another member
  • /setclanname "clanname" "new name" - renames a clan
  • /sethp hp - temporarily changes your max HP (10–1000)
  • /setmap map template x y - warps you to the specified map, template and coordinates
  • /setnpcname newname - changes the name of the nearest NPC
  • /setposition x y - teleports you to the specified coordinates
  • /settag tag - sets a custom tag on your name (admins only)
  • /settitle (user-id or nick) "title" - sets the display title of a player
  • /shutdown [message] - saves and shuts down the server; if a message is provided it is broadcast to all players before shutdown
  • /spar lock/unlock/stop/start id1 id2 - controls who spars, for tournaments
  • /spar startclan "clanname1" "clanname2" - starts a clan spar between two clans
  • /spar setweapons itemid - sets the weapon for spar
  • /stealth on/off/medium/high - makes you invisible to players or lower-level staff
  • /story storyid [loop] [absolute|relative] [stop] - plays a story; add loop to repeat, stop to end it
  • /summon (user-id or nick) - teleports a player to your current position
  • /summonclan clanname - teleports all online non-jailed members of a clan to your position
  • /testcoins - adds 200 coins to yourself
  • /tojail - warps you to the jail map
  • /transferaccount from-user-id to-user-id [force] - merges items and stats from one account to another
  • /transferlogin goodid badid force - transfers login credentials from one account to another (force is required)
  • /unstickplayer (user-id or nick) - moves a player back to the start position
  • /warpto (user-id or nick) - warps you to a player's location
  • /zoom on/off - toggles 2× zoom for yourself

Client test commands#

  • /cardamage [speed] - hits your own car from a random side, to test car damage (needs cardamage in clientconfig.js)
  • /ani3d - test command for the 3D player models (needs players3d in clientconfig.js)

Debug commands#

These commands output information to the server console and/or your admin console.

  • /activeobjects - prints the count of active NPCs per map
  • /debuginterval on/off - toggles server debug interval logging
  • /mapmemorylog - dumps current map memory usage to the console
  • /memorylog - dumps full server memory usage to the console
  • /profilerlog - prints profiler timing stats to the console and resets them
  • /rungc - manually triggers the garbage collector