Difference between revisions of "Commands"

From Mine Blocks Wiki
Jump to navigation Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!

(Undo revision 18294 by Clément Alvarez (talk))
(Added more info to the give command, and gave each command a section.)
Line 2: Line 2:
  
 
==Commands==
 
==Commands==
 
 
Here are a few commands to use when playing Mine Blocks:
 
Here are a few commands to use when playing Mine Blocks:
  
 
+
===help===
'''1. ''/help'''''
 
 
 
 
Options:
 
Options:
  
 
/help  =  Lists all the commands
 
/help  =  Lists all the commands
  
 
+
===gamemode===
'''2. ''/gamemode'''''
 
 
 
 
Options:
 
Options:
  
Line 21: Line 16:
 
/gamemode <0|survival> = Switch from Creative to Survival.
 
/gamemode <0|survival> = Switch from Creative to Survival.
  
 
+
===time===
'''3. ''/time'''''
 
 
 
 
Options:
 
Options:
  
Line 32: Line 25:
 
/time get ''Returns the time of day''
 
/time get ''Returns the time of day''
  
 
+
===weather===
'''4. ''/weather set'''''
 
 
 
 
Options:
 
Options:
  
 
/weather set <clear|rain|thunder>
 
/weather set <clear|rain|thunder>
  
 
+
===xp===
'''5. ''/xp'''''
 
 
 
 
Options:
 
Options:
  
Line 48: Line 37:
 
/xp (amount) ''Sets your xp bar to the amount specified.''
 
/xp (amount) ''Sets your xp bar to the amount specified.''
  
 
+
===gamerule===
'''6. ''/gamerule'''''
 
 
 
 
Options:
 
Options:
  
 
/gamerule <keepinventory|dodaylightcycle|dofiretick> <true|false> ''Toggle dropping all items upon dieing, or toggle if the day/night cycle runs, or the spread of fire and the burning of fire.''
 
/gamerule <keepinventory|dodaylightcycle|dofiretick> <true|false> ''Toggle dropping all items upon dieing, or toggle if the day/night cycle runs, or the spread of fire and the burning of fire.''
  
'''7. ''/kill'''''
+
===kill===
 
 
 
Instantly kills the player.
 
Instantly kills the player.
It still kills '''YOU''' if you type '''/kill'''creeper
 
 
'''8. ''/give'''''
 
  
 +
===give===
 
Options:
 
Options:
 +
<code>give item [amount] [damage] [data_tags]</code>
  
/give (item) ''Gives you the item.''
+
*<code>item</code>: The [[identifiers|identifier]] for the item to give
 
+
*<code>amount</code>: Specifies how many of the item to give
 
+
*<code>damage</code>: How much damage the tool will have (default is 0). Positive numbers are damage, and negative numbers are durability.
'''9. ''/home <go|set> '''''
+
*<code>data_tags</code>: Specifies additional data to apply to the item. See [[data tags]] for more information.
  
 +
===home===
 
Options:
 
Options:
  
/home <go|set> ''Go to your spawn point or set your spawn point.''
+
/home [set [~]x [~]y] ''Go to your spawn point or set your spawn point.''
 
 
'''10. ''/tp <[~]x[~]y>'''''
 
  
 +
===tp===
 
Options:
 
Options:
  
 
/tp <[~]x[~]y> ''Teleport to a specific place.''
 
/tp <[~]x[~]y> ''Teleport to a specific place.''
  
'''11. ''/heal'''''
+
===heal===
 
 
 
Options:
 
Options:
  
 
/heal ''Restore health to full.''
 
/heal ''Restore health to full.''
  
 
+
===spawnskin===
'''12. ''/spawnskin'''''
 
 
 
 
Options:
 
Options:
  

Revision as of 13:47, 14 October 2016

Commands, or Cheats, is a way in Mine Blocks (and Minecraft) to obtain resources or change variables. The custom way to activate them (if cheats are on) is to press the " / " button.

Commands

Here are a few commands to use when playing Mine Blocks:

help

Options:

/help = Lists all the commands

gamemode

Options:

/gamemode <1|creative> = Switch from Survival to Creative.

/gamemode <0|survival> = Switch from Creative to Survival.

time

Options:

/time set 1-100 Sets the time to a specific spot in the day/night

/time set <day|night>

/time get Returns the time of day

weather

Options:

/weather set <clear|rain|thunder>

xp

Options:

/xp add (amount) Gives you the amount of exp.

/xp (amount) Sets your xp bar to the amount specified.

gamerule

Options:

/gamerule <keepinventory|dodaylightcycle|dofiretick> <true|false> Toggle dropping all items upon dieing, or toggle if the day/night cycle runs, or the spread of fire and the burning of fire.

kill

Instantly kills the player.

give

Options: give item [amount] [damage] [data_tags]

  • item: The identifier for the item to give
  • amount: Specifies how many of the item to give
  • damage: How much damage the tool will have (default is 0). Positive numbers are damage, and negative numbers are durability.
  • data_tags: Specifies additional data to apply to the item. See data tags for more information.

home

Options:

/home [set [~]x [~]y] Go to your spawn point or set your spawn point.

tp

Options:

/tp <[~]x[~]y> Teleport to a specific place.

heal

Options:

/heal Restore health to full.

spawnskin

Options:

/spawnskin skin_id_number [amount] [[~]x [~]y] Spawns in a NPC (Non-player control)into the game. You need to have a skin ID for the NPC. Amount is optional, place spawn is also optional. E.G: /spawnskin 123456

Uses for Commands

Commands give more control to the player over the world. It helps to expedite the building and creation process in creative mode. In survival, the player can use commands to cheat, in order to skip long procedures like rare item farming.