Difference between revisions of "Commands"
Line 25: | Line 25: | ||
'''/ssuninvite <player>''' - uninvites the named player from your space station, they will no longer have access | '''/ssuninvite <player>''' - uninvites the named player from your space station, they will no longer have access | ||
− | == | + | ==Op-only commands== |
− | These commands are only | + | These commands are available only for ops (or from the server console). Note that being in NEI's ''Cheat Mode'' is the same as being an op. In single player, you are automatically "Op" if you created the world and if you set "Enable cheats = On" in the world options when you created it (there are also ways for advanced users to change this later, by editing the levels.dat file). |
+ | |||
=== dimensiontp === | === dimensiontp === | ||
Line 33: | Line 34: | ||
=== gcinv === | === gcinv === | ||
'''/gcinv <save|restore|drop|clear> <playername>''' - applies the relevant command to the extended Galacticraft inventory slots ('''save''' the inventory for a later '''restore''', '''clear''' it, or force '''drop''' all items). This is intended for use by automatic systems, for example if you need to save+clear and later restore player inventories when they enter and leave a certain area (for example, a Spleef arena or other BattleArena). [[Command gcinv|Detailed guide to the /gcinv command]] | '''/gcinv <save|restore|drop|clear> <playername>''' - applies the relevant command to the extended Galacticraft inventory slots ('''save''' the inventory for a later '''restore''', '''clear''' it, or force '''drop''' all items). This is intended for use by automatic systems, for example if you need to save+clear and later restore player inventories when they enter and leave a certain area (for example, a Spleef arena or other BattleArena). [[Command gcinv|Detailed guide to the /gcinv command]] | ||
− | |||
− | |||
− | |||
=== gckeeploaded === | === gckeeploaded === | ||
'''/gckeeploaded''' - keeps a dimension (for example, a space station) from unregistering on a server when all players have left the dimension. This is needed for certain things to work properly on servers, for example Essentials teleport commands including <code>/home</code> and <code>/warp</code>. There may be other solutions for the same problem. It should not be needed for planets, which are static dimensions (they stay registered all the time). It will not cause any lag. See also: [[Tutorials/Space Station for Server Admins]] | '''/gckeeploaded''' - keeps a dimension (for example, a space station) from unregistering on a server when all players have left the dimension. This is needed for certain things to work properly on servers, for example Essentials teleport commands including <code>/home</code> and <code>/warp</code>. There may be other solutions for the same problem. It should not be needed for planets, which are static dimensions (they stay registered all the time). It will not cause any lag. See also: [[Tutorials/Space Station for Server Admins]] | ||
+ | |||
+ | === gcastrominer === | ||
+ | '''/gcastrominer <show|reset|set<number>> <playername>''' - shows the number of Astro Miners a player currently has placed in the world. It can be reset to 0, or set to a given number. Players are not allowed to place more Astro Miners than a server set maximum limit (controlled by the config setting ```astroMinerMax``` in planets.conf, the default is 6). A situation where a server admin might use this is if a player lost an Astro Miner or it was destroyed by a chunk reset, map save error, etc etc. | ||
+ | |||
+ | === gcssnewowner === | ||
+ | '''/gcssnewowner <dim#> <playername>''' Each space station has 1 player who 'owns' it, and each player can only own 1 space station per planet orbited. Ownership gives guaranteed access to the space station for that player from his rockets, and allows the player to use the ```/ssinvite``` and ```/ssuninvite``` commands to invite his friends. The ```/ggssnewowner``` command allocates a new owner to an existing space station. ''Note: this command does not check whether the new player already owns a space station orbiting the same planet - but if the new player already owns a space station, he will lose ownership of it, so it will be ownerless until a new owner for it is set using this command.'' | ||
==Permission nodes== | ==Permission nodes== | ||
− | Permission nodes (used by some Bukkit plugins to control use of commands on servers) are printed in the server log during game start-up. | + | Permission nodes (used by some Bukkit plugins to control use of commands on servers - for example to let different ops use different commands, or to let anyone in creative mode use certain commands) are printed in the server log during game start-up. |
− | + | All the Galacticraft commands which are usable by ops only have required permission level 2, except ```/gckeeploaded``` which requires permission level 4. | |
− | + | ==Galacticraft 3== | |
− | + | Here is a summary of all commands in Galacticraft 3 with their permission required in versions 3.0.12.480 and later (earlier versions had some incorrect op permissions, and server owners are ``strongly recommended`` to upgrade to version 480): | |
{| class="wikitable" | {| class="wikitable" |
Revision as of 02:16, 19 March 2017
These are the in-game commands in Galacticraft 3. If you are playing on a server and for some reason they are not working, it may be the server owner changed the command permissions.
Commands always start with a / (slash). Arguments with <angle brackets> are required; arguments with [square brackets] are optional.
Contents
Commands available to all players
gcenergyunits
/gcenergyunits <unit> - changes the units used by Galacticraft to show how much energy something has or uses. The available units will depend on which other mods you have installed. Possible choices are:
- gJ (Galacticraft Joules)
- RF (Redstone Flux)
- EU (EU - only if IC2 is installed)
- MJ (Minecraft Joules - only if BuildCraft or EnderIO 2.0 is installed)
- J (Mekanism Joules - only if Mekanism is installed)
gchelp
/gchelp - gives an in-game link to this Wiki.
joinrace
/joinrace <team> - join the named Space Race team
ssinvite
/ssinvite <player> - allows the named player access to your space station
ssuninvite
/ssuninvite <player> - uninvites the named player from your space station, they will no longer have access
Op-only commands
These commands are available only for ops (or from the server console). Note that being in NEI's Cheat Mode is the same as being an op. In single player, you are automatically "Op" if you created the world and if you set "Enable cheats = On" in the world options when you created it (there are also ways for advanced users to change this later, by editing the levels.dat file).
dimensiontp
/dimensiontp [player] - take the named player directly to the Planet Selection Screen without riding a rocket. If the argument player
is omitted, you will be teleported.
gcinv
/gcinv <save|restore|drop|clear> <playername> - applies the relevant command to the extended Galacticraft inventory slots (save the inventory for a later restore, clear it, or force drop all items). This is intended for use by automatic systems, for example if you need to save+clear and later restore player inventories when they enter and leave a certain area (for example, a Spleef arena or other BattleArena). Detailed guide to the /gcinv command
gckeeploaded
/gckeeploaded - keeps a dimension (for example, a space station) from unregistering on a server when all players have left the dimension. This is needed for certain things to work properly on servers, for example Essentials teleport commands including /home
and /warp
. There may be other solutions for the same problem. It should not be needed for planets, which are static dimensions (they stay registered all the time). It will not cause any lag. See also: Tutorials/Space Station for Server Admins
gcastrominer
/gcastrominer <show|reset|set<number>> <playername> - shows the number of Astro Miners a player currently has placed in the world. It can be reset to 0, or set to a given number. Players are not allowed to place more Astro Miners than a server set maximum limit (controlled by the config setting ```astroMinerMax``` in planets.conf, the default is 6). A situation where a server admin might use this is if a player lost an Astro Miner or it was destroyed by a chunk reset, map save error, etc etc.
gcssnewowner
/gcssnewowner <dim#> <playername> Each space station has 1 player who 'owns' it, and each player can only own 1 space station per planet orbited. Ownership gives guaranteed access to the space station for that player from his rockets, and allows the player to use the ```/ssinvite``` and ```/ssuninvite``` commands to invite his friends. The ```/ggssnewowner``` command allocates a new owner to an existing space station. Note: this command does not check whether the new player already owns a space station orbiting the same planet - but if the new player already owns a space station, he will lose ownership of it, so it will be ownerless until a new owner for it is set using this command.
Permission nodes
Permission nodes (used by some Bukkit plugins to control use of commands on servers - for example to let different ops use different commands, or to let anyone in creative mode use certain commands) are printed in the server log during game start-up.
All the Galacticraft commands which are usable by ops only have required permission level 2, except ```/gckeeploaded``` which requires permission level 4.
Galacticraft 3
Here is a summary of all commands in Galacticraft 3 with their permission required in versions 3.0.12.480 and later (earlier versions had some incorrect op permissions, and server owners are ``strongly recommended`` to upgrade to version 480):
Action | Command | Op? | Permission node |
---|---|---|---|
Invite other player to your space station | /ssinvite <player> | No | micdoodle8.mods.galacticraft.core.command.CommandSpaceStationAddOwner |
Remove other player from your space station | /ssuninvite <player> | No | micdoodle8.mods.galacticraft.core.command.CommandSpaceStationRemoveOwner |
Change energy units display in GC machines | /gcenergyunits | No | micdoodle8.mods.galacticraft.core.command.CommandGCEnergyUnits |
Join a space race team that you are invited to | /joinrace <teamname> | No | micdoodle8.mods.galacticraft.core.command.CommandJoinSpaceRace |
Display a help message (links to this Wiki) | /gchelp | No | micdoodle8.mods.galacticraft.core.command.CommandGCHelp |
Instant teleport to planets screen (all tier access) | /dimensiontp [<player>] | Yes | micdoodle8.mods.galacticraft.core.command.CommandPlanetTeleport |
Set dimension to stay loaded | /gckeeploaded | Yes | micdoodle8.mods.galacticraft.core.command.CommandKeepDim |
GCInv command for use by plugins | /gcinv | Yes | micdoodle8.mods.galacticraft.core.command.CommandGCInv |
Control the number of AstroMiners used | /gcastrominer | Yes | micdoodle8.mods.galacticraft.core.command.CommandGCAstroMiner |
Change a Space Station's owner | /gcssnewowner [<dim#>] [<player>] | Yes | micdoodle8.mods.galacticraft.core.command.CommandSpaceStationChangeOwner |
Galacticraft 2
Action | Command | Permission node |
---|---|---|
Invite other player to your space station | /ssinvite <player> | micdoodle8.mods.galacticraft.core.command.GCCoreCommandSpaceStationAddOwner |
Remove other player from your space station | /ssuninvite <player> | micdoodle8.mods.galacticraft.core.command.GCCoreCommandSpaceStationRemoveOwner |
|