Difference between revisions of "Commands"

From Galacticraft Wiki
Jump to: navigation, search
Line 19: Line 19:
  
 
==Creative mode commands==
 
==Creative mode commands==
These commands should only be available in Creative mode or if you are an op on the server.
+
These commands are only available in Creative mode or if you are an op on the server (or from console) - note that being in NEI's ''Cheat Mode'' is the same as being an op.
  
 
'''/dimensiontp''' - take yourself directly to the [[planet Selection Screen]] without riding a rocket
 
'''/dimensiontp''' - take yourself directly to the [[planet Selection Screen]] without riding a rocket
  
 
'''/dimensiontp [player]''' - take the named player directly to the [[planet Selection Screen]] without riding a rocket
 
'''/dimensiontp [player]''' - take the named player directly to the [[planet Selection Screen]] without riding a rocket
 +
 +
'''/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]]
  
 
==Op-only commands==
 
==Op-only commands==

Revision as of 22:27, 9 November 2014

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 available to all players

/gcenergyunits - 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 - gives an in-game link to this Wiki

/joinrace [Team] - join the named [[[Space Race Manager Screen|Space Race]]] team

/ssinvite [Player] - allows the named player access to your space station

/ssremove [Player] - uninvites the named player from your space station, they will no longer have access

Creative mode commands

These commands are only available in Creative mode or if you are an op on the server (or from console) - note that being in NEI's Cheat Mode is the same as being an op.

/dimensiontp - take yourself directly to the planet Selection Screen without riding a rocket

/dimensiontp [player] - take the named player directly to the planet Selection Screen without riding a rocket

/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

Op-only commands

These commands are available only for ops (or from the console).

/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

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.

Here are some:

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 /ssremove [Player] micdoodle8.mods.galacticraft.core.command.GCCoreCommandSpaceStationRemoveOwner