Commands
All commands must contain the prefix: /jsg
Commands marked as Developer's command are designed for developers only, and should be used with respect to this fact.
Parameter types
Section titled “Parameter types”<parameter>have no values. These parameters must be specified:/jsg command parameter<parameter= >must be specified:parameter=valueParametersin square brackets -[]are optional. All parameters in the same set of[]must always be filled in.
> Help
Section titled “> Help”The command lists all available commands in the current version of JSG.
If the player hovers over a given command, help for the specific command will be displayed
Command format: /jsg help [page]
Permission level: 0
| Parameter | Type | Description | Values |
|---|---|---|---|
page | int | Determines the page of the help information to be displayed | Any int number |
> Buildgate
Section titled “> Buildgate”Spawns a stargate at the location the player is looking at. The type of stargate is specified by the <type> parameter.
If the player is looking up - the stargate will spawn at the player’s position (behind the player).
Command format: /jsg buildgate <type>
Aliases: billgates
Permission level: 2
| Parameter | Type | Description | Values |
|---|---|---|---|
type | JSG Stargate Type | Specifies the stargate type | Any stargate type |
Creates an incoming wormhole and spawns entities at the specified stargate.
If the player does not fill in the parameters [x y z dim], the nearest gate within a radius of 0 blocks will be activated.
Command format: /jsg rig [<x> <y> <z> dim] [waveName] [opensIris]
Permission level: 2
| Parameter | Type | Description | Values |
|---|---|---|---|
x y z | BlockPos | Specifies the position of stargate in the world | Valid blockpos |
dim | Dimension | Specifies the dimension to the given coordinates x y z | Valid dimensions |
waveName | String | Specifies the RIG wave | Any loaded wave name |
opensIris | boolean | The value indicates whether the given wave will open the Iris. | true | false |
> SGSetAddress
Section titled “> SGSetAddress”Command changes the address of the target stargate according to the parameters specified by the command.
If the parameters [x y z] are not filled in, the address can be changed by looking at the base block of the stargate for which the address change is requested..
Command format: /jsg sgsetaddress [<x> <y> <z>] <map> <glyphID>x8
Permission level: 2
| Parameter | Type | Description | Values |
|---|---|---|---|
x y z | BlockPos | Specifies the position of stargate in the world | Valid blockpos |
map | JSG:Core Symbol Type | Specifies a changing address map | Valid symbol type |
glyphIDx8 | String | int | 8x name of symbols from selected map | 8x Valid symbol |
> Prepare Developer's command
Section titled “> Prepare ”A developer command to prepare stargates for use in structures.
Changes made by this command are not visible after it is executed.
This command is useless for the average user in the public version!
Advanced users should only use this command when creating custom structures that contain stargates!
Command format: /jsg prepare [<x> <y> <z>]
Permission level: 2
| Parameter | Type | Description | Values |
|---|---|---|---|
x y z | BlockPos | Specifies the position of stargate in the world | Valid blockpos |
> Test Developer's command
Section titled “> Test ”Developer command for manipulating model offset render
This command is useless for the average user in the public version!
Command format: /jsg test <x> <y> <z> <size> <rotX> <rotY> <rotZ>
Permission level: 2