Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Console commands

Mr. Jake edited this page Jan 12, 2021 · 12 revisions

Console commands

[] means optional argument, () means required argument.

  • /sgquery [help][(x y z) (x y z)] [dim=dimId] [map=mapName] [id=idNum] [page]
    Queries all Stargates in worlds.
    Parameters:
    help For in-game help,
    page(pre 1.9.12), givePage[=quantity](1.9.12+) To give user one page (or quantity pages), (requires id, map to be present),
    [(x y z) (x y z)] Starting and ending coords of the query,
    dimId Numerical ID of the dimension you want to get Stargates for,
    mapName Name of the map you want the addresses in. Not giving this parameter would result in only coordinates being shown. Can be one of [milkyway, pegasus, universe],
    idNum You can limit the displayed list to one Stargate by setting this to the index shown in front of each result.

  • /sgcloseall [help][(x y z) (x y z)] [dim=dimId]
    Closes all Stargates.
    Parameters:
    help For in-game help,
    [(x y z) (x y z)] Starting and ending coords of the query,
    dimId Numerical ID of the dimension you want to get Stargates for, or current,

  • /sggivepage (player) (map=mapName) [biome=biomeName] (Symbol)x8/6
    Gives the player a Notebook Page with given address and biome color. Glyphs should be space-separated and given in English. If glyph name contains space it should be written with a "-".
    Parameters:
    player Vanilla player selector or name,
    mapName Name of the map you want the addresses in. Can be one of [milkyway, pegasus, universe],
    biome Determines the color of the paths on the item.


Possible biome values.

  • /sgsetaddress (x y z) (map=mapName) (Symbol)x8
    Sets the gate's address to given value. Glyphs should be space-separated and given in English (case-insensitive). If glyph name contains space it should be written with a "-".
    Parameters:
    (x y z) Coordinates of the Base block, can be offsetted with ~
    mapName Name of the map you want the addresses in. Can be one of [milkyway, pegasus, universe],
    Examples:
    /sgsetaddress -786 4 -477 map=milkyway scorpius crater triangulum capricornus sextans sculptor aries corona-australis
    /sgsetaddress -786 4 -477 map=universe 1 2 3 4 5 6 7 8 (since 1.9.12, before use G1, G2...)

  • /sgprepare
    PLEASE DON'T USE IT ON YOUR VALUABLE WORLDS IT'LL BRICK THEM
    Prepares the targeted(being looked at) TileEntity to be saved as a structure. Currently supported blocks:

    • Stargate Base
      • Address - removed (to be regenerated at target spot)
      • Dialed address - removed
      • Milky Way-only: Linked DHD - removed
  • /sgdebug
    This is my helper command. I use it for debugging and I don't want to remove and readd this every single time. Please don't call it.