Commands

**Commands** are special messages that could be used in **chat** with slash (/*<command>*). Commands are case-insensitive (/goD and /god do same thing).

To link to a command on this page use https://scenexeio.fandom.com/wiki/Commands#cmd-*<command>*.

## Targets

Target can be entity id (turn on Click to Copy IDs in settings (press `O`) and click on entity while in debug mode (press `M`) to copy it's id) or one of these:

Please help contributing if any are missing!

Only entity ids and aliases of **me** can be used in main servers.
**Exception: /count** command can be used with all targets in all servers.

## Usable in main server

* **/render (renderentity) (rentity) (re) (r) (downloadentity) (rent)** [target] [override rotation] [override team]

- Used to get an **entity's image**. Type **nothing** to get your own image.

* **/rendertank (rtank) (rt) (downloadtank) (dtank)** <weapon> <body> [rotation] [team] [size]

- Used to get an **image of a specific weapon and body upgrade**

* **/gbulletpenetration (getbulletpenetrationmultiplier) (getbulletpenetration) (gbp) (getbp)**
**/gdamage (getdamagemultiplier) (getbulletdamagemultiplier) (getdamage) (getbulletdamage) (gdmg) (getdmg)**
**/gbodydamage (getbodydamagemultiplier) (getbodydamage) (gbd) (getbd)**
**/gregen (gethealthregenerationmultiplier) (getregen) (getregeneration) (grg) (getrg)**
**/gbulletspeed (getbulletspeedmultiplier) (getbulletspeed) (gbsp) (getbsp) (gbs)**
**/ghealth (gethealthmultiplier) (gethealth) (getmaxhealth) (ghp) (gethp)**
**/greload (getreloadmultiplier) (getreload) (grl) (getrl)**
**/gspeed (getspeedmultiplier) (getmovementspeedmultiplier) (getspeed) (getmovementspeed) (gsp) (getsp)**
**/gsize (getsize) (gsz) (getsz)**
**/gkills (getkills) (gkls) (getkls)**
<target>

- To collect **information** from target.

* **/gettruehealth (gettruehp) (gthp)** <target>

- To get current and max health of target.

* **/gmapsize (gms) (gmsz) (getmapsize) (getmsz) (getms)**

- Collect the current mapsize.

* **/getmapcolor (gmapcolor) (gmcolor) (gmc)**

- Collect the current map color.

* **/id**

- Get your own id.

* **/getdimension (getdim) (gdim)**

- Get your current dimension id.

* **/count (number) (cnt)** <target>

- **Count** the amount of target.

## Usable in test servers

* **/command (cmd) (aliases) (commandinfo) (cmdinfo)** <command>

- Shows **syntax** and **aliases** of a command.

One "/" before <command> is ignored (/command dark = /command /dark ≠ /command //dark).

## output format (bottom to top like notifications in game):Command "*<command>*":
Syntax: /*<command>* *syntax*
Aliases: *aliases separated by ","*
-----------output for dev-only commands like /command addstars:You do not have permission to view information about this command.output format for non-existent commands:"*<command>*" is not a valid command.
* **/setmodified (modified) (mod)** <target> <modified>

- <modified> is true or false.

Modified entities respawn with 0 xp.

* **/setcelestial (celestial) (cel)** [target] [celestial]

- [celestial] is true or false (default is true).

[target] default is me.

Celestial entities can't be transformed by gate type 0 (can still get bounced if level < 60).

Target's leveling system doesn't change after using **/setcelestial**, need to run **/setlevel** on same target to fix target's leveling system.

* **/xp (experience) (exp) (addexp) (addexperience) (addxp) (ax) (as) (addscore) (ascore) (score)** <target> <xp>

- Gives **XP** to the target.

* **/ssize (setsize) (setsz) (ssz) (sz) (size)** <target> <size>

- Set **size** of target.

* **/slevel (setlevel) (setlvl) (slvl) (lvl) (level)** <target> <level>

- Set **level** of target, using this command in early test servers will let you get over level 500, but you don't gain xp, meaning you can get infinite level.

* **/clone (duplicate) (dupe) (clonetank) (dupetank) (duplicatetank) (cln) (ai) (bot)** <target> [automatically upgrade] [has ai]

- **Clones** the target, false in [has ai] syntax makes the clone have no ai, true makes it have ai.

Default target is me.

* **/kill (kl)** [target]

- Make target die on **next game update** regardless of spawn invulnerability and **/god**.

Default target is me.

* **/setradiant (radiant) (rad)** [target] [is radiant]

- The entity targeted will become **radiant.** Type **0** to cancel the effect. This command has a limit of **100**.

* **/god (godmode) (gd) (invincible) (inv)** [target] [is invincible]

- Make the target undamageable.

Target can still get damaged by negative health regen.

Target can still die if it's health ≤ 0 or it got **/kill**ed.

* **/cbp (canbepushed) (pushable) (push)** [target] [is fixed]

- Make the targeted entity unaffected by bullet, recoil, shape and players knockback.

* **/sspeed (setspeedmultiplier) (setmovementspeedmultiplier) (setspeed) (setmovementspeed) (ssp) (setsp) (sp) (speed)** <target> <speed>

- Set the **Speed** multiplier for the target.

* **/shealth (sethealthmultiplier) (sethealth) (setmaxhealth) (shp) (sethp) (health) (hp)** <target> <health>

- Set the **Health** multiplier for target.

* **/sbodydamage (setbodydamagemultiplier) (setbodydamage) (sbd) (setbd) (bd) (bodydamage)** <target> <body damage>

- Set the **Body Damage** multiplier for target.

* **/sbulletpenetration (setbulletpenetrationmultiplier) (setbulletpenetration) (sbp) (setbp) (bulletpenetration) (bp)** <target> <bullet penetration>

- Set the **Bullet Penetration** multiplier for target.

* **/sdamage (setdamagemultiplier) (setbulletdamagemultiplier) (setdamage) (setbulletdamage) (sdmg) (setdmg) (dmg) (damage) (bulletdamage)** <target> <bullet damage>

- Set the **Bullet Damage** multiplier for target.

* **/setvanished (setvanish) (vanish) (van) (v)** [target] [is vanished]

- **Vanish** the target. No players can see that player other than himself.

* **/sbulletspeed (setbulletspeedmultiplier) (setbulletspeed) (sbs) (bs) (sbsp) (setbsp) (bsp) (bulletspeed)** <target> <bullet speed>

- Set **Bullet Speed** multiplier for target.

* **/sregen (sethealthregenerationmultiplier) (setregen) (setregeneration) (sethealthregen) (sethealthregeneration) (srg) (setrg) (regen) (rg)** <target> <health regen>

- Set **Health Regeneration** multiplier for target.

* **/darkness (dark)** [intensity] [color] [alpha]

- Set **darkness** intensity for the player's dimension. Type nothing (/dark) to disable darkness. Running command with same parameters again will disable darkness.

[intensity] must be positive number

[color] is hex code (#RRGGBB)

[alpha] defaults to 0.9

[alpha]>1 **behaves** like [alpha]=1

[alpha]<0 **behaves** like [alpha]=0

[alpha]=0 **looks** same as [alpha]=0.9

[alpha] from 5e-324 (smallest float64 bigger than 0) to 1 (inclusive range) means darkness opacity

* **/weapon (weaponclass) (wpc)** <target> <weapon>

- Set the **Weapon Class** of target.

* **/body (bodyclass) (bdc)** <target> <body>

- Set the **Body Class** of target.

* **/clearstatupgrades (csu) (cs) (clearstats) (cstats) (cstatupgrades) (csupgrades)** [target]

- Clear target's **stat upgrades**.

* **/getstatupgrades (gsu) (gstats) (getstats) (gstatupgrades) (getsupgrades)** [target]

- Get target's **stat upgrades**.

* **/warpdimension (dimension) (dim) (setdimension) (setdim) (sdim) (warpdim) (wdim)** <target> <dimension id>

- Teleport the target to dimension.

* **/classname (cn) (setclassname) (sclassname) (scn)** <target> <class name>

- Overrides the **class name** of a specified target (like "Override Tank Name" in Tank Editor).

* **/team (tm) (setteam)** <target> <team>

- Set target's **team**.

* **/createdimension (newdimension) (adddimension) (createdim) (cdim) (newdim) (ndim) (adddim) (adim)** <id> [base map size] [gamemode] [max shapes multiplier] [grid size] [background color] [grid color]

- **Creates** a dimension (hex code (#RRGGBB) required for background color and grid color).

See Gamemodes#Table for table of gamemodes.

/cdim \_\_proto\_\_ says Successfully created dimension with ID "\_\_proto\_\_". but it's lying!

* **/createprivatedimension (newprivatedimension) (addprivatedimension) (createprivatedim) (cpdim) (newprivatedim) (npdim) (addprivatedim) (apdim) (privatedimension) (pdim)** <id> [base map size] [gamemode] [max shapes multiplier] [grid size] [background color] [grid color]

- **Creates** a **private** dimension and teleports you into it (hex code (#RRGGBB) required for background color and grid color).

**Private** dimensions are automatically deleted (like **/rdim**) when there are no players inside.

**Private** dimension ids don't show in /dims and /dstats.

See Gamemodes#Table for table of gamemodes.

/pdim \_\_proto\_\_ says Successfully created dimension with ID "\_\_proto\_\_". It will be deleted when you leave the game. Other players can only join if they have the ID. but it's lying!

* **/deletedimension (removedimension) (deletedim) (deldim) (removedim) (rdim)** <id>

- **Deletes** dimension by id.

* **/popup (pp) (modal) (pup)** <target> <title> <message>

- Open modal dialog (Pop-up) with title, message and OK button in target's client like this:

* **/notify (nfy) (msg) (message)** <target> <message>

- Send message to target with a notification.

* **/dimensionstats (dimstats) (dstats) (dimensioncount) (dcount) (dimcount)**

- Pop-up stats of all dimensions like this:

* **/msize (mapsize) (mapsz) (msz) (ms) (setmapsize)** <size>

- Size the **map**.

* **/forcemapsize (fms) (fmsz)**

- Instantly sets the **mapsize** to the targeted mapsize. Only used when the map is not yet completely shrunk or expanded. Look for the **/ms** command for more.

* **/setmapcolor (smapcolor) (smcolor) (mc) (mapcolor) (mcolor)** <background color> <grid color>

- Set the color of the dimension which you are in to a specific one (hex code required, like #000000 for black).

* **/visibleonleaderboard (onleaderboard) (vonlb) (vlb) (volb) (olb) (vonleaderboard) (vol)** [target] [visible on leaderboard]

- Set a specific target to be visible in the leaderboard or not.

default [target] is me

default [visible on leaderboard] is true

* **/broadcast (bc)** <message>

- **Broadcast** your message to everyone in your dimension with a notification.

* **/invulnerable (setinvulnerable) (spawnprotection) (setspawnprotection)** [target] [time] [movement time]

- Gives **spawn protection** to the player selected with a specific amount of time.

* **/sudo (say) (talk) (forcesay)** <target> <message>

- Force **target** to say **message** in chat.

Command as message (like /sudo all /kill me) only works on player targets.

Nested **/sudo**s don't work: /sudo me /sudo me chatting does nothing.

Running /sudo players /tp players me teleports all players to player that first appeared in your dimension (only tested with 2 players).

* **/fling (fl)** <target> [xVel] [yVel]

- Flings the specified targets.

* **/showname (sname) (hasname) (hname) (hn) (sn)** [target] [name shown]

- If turned off, your name will be hidden from everyone.

* **/setbody (sbody) (sb) (bodyshape) (sides) (setsides) (ssides) (ssds)** <target> [sides] [outer sides] [outer size]

- Changes the sides, outer sides and outer size of a specified target.

* **/confined (cnf) (cf) (conf)** [target] [is confined]

- Confines the specified target. Use false to no longer confine that specific target.

* **/getposition (getpos) (gp) (gpos) (gcoords) (getcoords) (getcoordinates) (gc)** [target]

- To get coordinates of target.

output format: *name*'s position: *x*, *y*

*x* coordinates: -*mapsize* (←), *mapsize* (→)
*y* coordinates: -*mapsize* (↓), *mapsize* (↑)

* **/sssize (setscreensize) (sscreensize) (setscz) (sssz) (scz) (scsize) (scsz)** <target> <screen size>

- Set screen size (Camera Size Multiplier) of target.

* **/teleport (tp) (setposition) (setpos) (spos)** <target> (<x> <y> or [target to telport to])

- Set target's coordinates or teleport it to another target.

*x* coordinates: -*mapsize* (←), *mapsize* (→)
*y* coordinates: -*mapsize* (↓), *mapsize* (↑)

* **/name (nm)** <target> [name]

- Set name of target.

[name] defaults to empty string

* **/editmode (seteditmode)** [target] [has editmode enabled]

- Turns on or off editing. by a long shot, it's best use was in https://new-test.scenexe.io/ as editing used to be disabled automatically there.

* **/spawnrift (srift) (sr) (rift) (summonrift)** [x offset] [y offset] [size] [lifetime]

- Spawns a rift.

[x offset] and [y offset] are relative to player and both default to 0.

[size] defaults to 30 and has a maximum of 1000.

* **/spawnwormhole (swormhole) (sw) (wormhole) (summonwormhole) (wh) (swh)** [x offset] [y offset] [size] [lifetime] [subtype]

- Spawns a wormhole.

[x offset] and [y offset] are relative to player and both default to 0.

[size] defaults to 100 and has a maximum of 1000.

[subtype] defaults to 0.

* **/spawnpeacekeeper (peacekeeper) (pkeeper) (spawnpkeeper) (spkeeper) (speacekeeper)** [tier] [x offset] [y offset]

- Spawns a Peacekeeper.

[tier] defaults to 1.
[x offset] and [x offset] are relative to player and both default to 0.

returns Peacekeeper tier must be between 1 and 3. if ([tier] ∉ [1;3])

Peacekeeper will spawn if ([tier] ∈ [1;3] ∩ ℕ) else command returns An error occurred while executing the command.

* **/clearrifts (clrifts) (delrifts) (crifts)** [dimension id]

- Deletes all rifts in dimension (default is dimension of player).

* **/clearwormholes (clwormholes) (delwormholes) (cwormholes) (cwhs) (cwh)** [dimension id]

- Deletes all wormholes in dimension (default is dimension of player).

* **/clearbullets (cbullets)** [dimension id]

- Deletes all bullets in dimension (default is dimension of player).

### Advanced Commands

* **/loadwalls (lwalls) (importwalls) (iwalls)** <walls in json format>

- Load walls in dimension of player from JSON code.

There is also optional true or false property invisible in wall JSON, if it exists and is true wall not render in client but still have hitbox.

example (invisible wall at ↙ corner):
```
[{"height":0.4,"width":0.4,"y":0.8,"x":-0.8,"invisible":true}]

```

It was possible (patched in ALPHA 0.10.1) to make walls that are visible but don't have hitbox by using {"\_\_proto\_\_":[number]} as x or y property (server will think number is NaN, client will think number is number).

It was possible (patched in ALPHA 0.10.1) to prevent game from ticking in dimension using walls (see Exploits#.2Flwalls\_or\_.2Flgates\_halting).

external software for editing or creating walls:* https://scratch.mit.edu/projects/645552149/ (editor)
* https://scnxwged.glitch.me/ (editor)
* https://scnxwged.glitch.me/img2walls.html (convert image to walls)

* **/loadgates (lgates) (importgates) (igates)** <gates in json format>

- Load gates in dimension of player from JSON code.

example (Sanctuary gates):
```
[{"x":-0.175,"y":0,"rot":0,"size":0.03125,"type":3,"openTime":16.368324108791704,"open":true},{"x":-1.071565949253934e-17,"y":-0.175,"rot":90,"size":0.03125,"type":3,"openTime":8.697624817296795,"open":true},{"x":0.175,"y":-2.143131898507868e-17,"rot":180,"size":0.03125,"type":3,"openTime":2.9488318004137453,"open":true},{"x":3.214697847761802e-17,"y":0.175,"rot":270,"size":0.03125,"type":3,"openTime":9.036859945797335,"open":true}]

```

* in crossroads (closed)
1/2 | 0 | * lets celestials level ≥ 60 through
* bounces non-tanks and {everything level < 60}
* kills non-player tanks level ≥ 60
 note: it's radiant* (closed)
* in crossroads (opened)
1/2 | 1 | * bounces non-radiant stuff
 * (closed)
* in abyss (closed)
* in sanctuary (closed)
* in sanctuary (opened)
1/3 | 3 | * bounces stuff that touch spiky side
* flings stuff that touch non-spiky side to spiky side and becomes open

Open gates let entities, bullets, traps, drones through. Bullets, traps, drones die instead of bouncing (gate type 2 is the exception).

It was possible (patched in ALPHA 0.10.1) to make gates that are visible but don't have hitbox by using {"\_\_proto\_\_":[number]} as x or y property (server will think number is NaN, client will think number is number).

It was possible (patched in ALPHA 0.10.1) to prevent game from ticking in dimension using walls (see Exploits#.2Flwalls\_or\_.2Flgates\_halting).

external software for editing or creating gates:* https://scnxwged.glitch.me/ (editor)

* **/exportwalls (ewalls) (copywalls) (cwalls)**

- Copy walls code of dimension of player to clipboard.

* **/exportgates (egates) (copygates) (cgates)**

- Copy gates code of dimension of player to clipboard.

Code might be different from code that was loaded using /loadgates [...] because open and openTime change over time.

* **/getbodyforbackground (gbdfbkg) (gbfb)** <body>

- Copy background code of body upgrade.

* **/getweaponforbackground (gwpfbkg) (gwfb)** <weapon>

- Copy background code of weapon upgrade.

## Dev-only commands

**WARNING:** aliases, syntax, info may be incorrect or outdated and aliases of same command may be mentioned as separate commands because **/cmd** no longer works with dev-only commands.

* **/gbc** <message>

- Sends a message like **/bc** but to every server inside the link and to every dimension.

* **/restart**

- Restarts the server and disconnects everyone.

- This was usable when the test server was first added.

* **/lp (loop)** <target> <times> <message>

- Force entity to say a message various times.

- using /lp inside this **is widely used for abusing** may also crash too if you put /bc <message> in there and do like **/lp all 1000 /lp all 1000 /lp all 1000 /lp all 1000 /lp all 1000 /lp all 1000 /bc <message>. (or /gbc <message>.)**

- This was usable before **Feb 7th, 2022.**

* **/send (server) (sendtoserver)** <target> <url> [send with key] [loading background id] [loading text]

- Send entity to another server

- Sending to normal servers forces the game to glitch to prevent cheating.

- This was usable when the test server was first added

* **/ncolor (namecolor) (setnamecolor) (snamecolor) (sncolor)** <target> <Team color>

- Change the color of an entity's name, this acts like a team id (like **/team** command) instead of hex code.

- All of the previous commands could be used on one of the secret test servers for a few days

* **/announce (ann)** <announcement> && [subtext]

- Announces a message.

* **/closeserver (close)** [is update]

- Closes the server, and updates the game based on number in [is update] example: **/close** 2.0.0

* **/settimer (timer)** <target> <time> <message>

- Disconnects the target after the timer reaches 0.

* **/blacklist** <ip>

- Blacklists the player, they can't join the server until they aren't blacklisted

* **/unblacklist** <ip>

- Removes the ip of blacklist

* **/unban** <ip>

- Unbans the ip, the ip must be already banned

* **/ban** <ip> <type>

- Bans the player of server, they can't join the server until they are unbanned

- however, type 0 is temporal ban, which removes the ban after the game or server updates/restarts, type 1 is permanent ban, type 2 is ban of all servers, and type 3 is permanent ban of all servers.

* **/gip (getip) (getipaddress)** <target>

- Get ip of target (do not tell someone the ip)

* **/kick** <target>

- Kicks target of the server

* **/account** <account ID>

- change your account

* **/addstars** <account ID> <amount of stars>

- adds stars to an account

* **/removeaccount** <account ID>

**WARNING:** might not exist anymore because /command removeaccount outputs "removeaccount" is not a valid command..

- remove an account

* **/getaccount** <target>

- gets the name and ID of account of the target, doesn't work if you do it to a player that is not using a account

* **/grantachievement** <account id> <achievement name>

- grants the current achievement to active accounts

## Deprecated commands

These commands are deprecated in favor of Tank Editor.

All of them output This command is deprecated. Use the tank editor by doing /editmode me instead. when used with correct syntax.

* **/loadweapon (lweapon) (lw)** <target> <weapon in json format>
* **/exportweapon (eweapon) (ew) (cw) (copyweapon) (cweapon)** [target]
* **/loadbody (lbody) (lb)** <target> <body in json format>
* **/exportbody (ewbody) (eb) (cb) (copybody) (cbody)** [target]