Documentos de Académico
Documentos de Profesional
Documentos de Cultura
/weather clear
/toggledownfall of
/togglefall true
1. Comandos
Este artculo necesita una revisin de contenido y formato
Recuerda usar la gua de estilos en los artculos.
Los comandos son unas funciones avanzadas que se activan al escribir determinadas
cadenas de caracteres. Permiten modificar la realidad de Minecraft de incontables e
inimaginables maneras y los nicos requisitos son utilizar la sintaxis correcta, tener ideas,
e idealmente un ordenador potente.
En un cliente normal de Minecraft, los comandos se introducen a travs de la ventana
de chat, que aparece cuando se pulsa la tecla predeterminada T o la tecla / . Al utilizar la
tecla / , se introduce automticamente en la barra con la que comienzan todos los
comandos, convirtindolo en un atajo muy til para trabajar con comandos. Pulsar Tab
cuando se est introduciendo un comando muestra los posibles comandos o
argumentos. Los comandos tambin pueden ser introducidos en la consola de
un servidormultijugador, pero en este caso no necesitan el prefijo / , aunque no importa si
se utiliza. Los comandos en bloque de comandos funcionan de manera
similar, pueden tener la barra inicial, pero no es necesaria. Los comandos en un bloque de
comandos tambin necesitan un argumento opcional, normalmente el nombre de un
jugador.
La mayora de comandos solo estn disponibles en las siguientes situaciones:
Contenido
[ocultar]
1 Utilizacin
1.1 Leyenda
1.2 Selectores de objetivos
1.3 Argumentos para el selector de objetivos
1.4 Comandos de jugador
1.5 Comandos reservados para administradores
1.6 Commandos Multiplayer
o
o
o
o
o
o
2 Data tags
4 Historial
5 Cuestiones
6 Vese tambin
3.
4.
En las tablas siguientes, el texto de los comandos est formateado, o estar, de esta
manera:
Si ves...
Entonces
<corchetes angulares>
[corchetes cuadrados]
cursiva
texto normal
x|y
elipsis
5.
@p
Funcin
Jugador ms cercano
@r
Jugador aleatorio
@a
@e
6.
Funcin
dx
dy
dz
rm
rx
rxm
ry
rym
lm
score_nombre
score_nombre_mi
n
team
name
type
Ejemplo: @p[x=1,y=30,z=26,r=10,rm=2,m=1,c=3,l=25,lm=3,score_Kills_min=1
,score_Deaths=2,team=Red] Explicacin:
@p solo especifica al jugador ms cercano.
x=1,y=30,z=26 establece el centro del radio en x: 1, y: 30 y z: 26.
r=10 establece el radio de bsqueda mximo respecto al centro especificado a diez cubos.
rm=2 establece el radio de bsqueda mnimo respecto al centro especificado a dos cubos.
m=1 especifica solo a jugadores con modo de juego 1 (creativo).
c=3 especifica a los tres primeros jugadores de la lista (nota: para @p, "c" es por defecto
1, no como @e y @a).
l=25 especifica a todos los jugadores con nivel de experiencia igual o inferior a veinticinco.
lm=3 especifica a todos los jugadores con nivel de experiencia igual o superior a tres.
score_Kills_min=1 especifica a todos los jugadores con un mnimo de 1 "Kills", es decir, a
los que han matado una vez o ms.
score_Deaths=2 especifica a todos los jugadores con un mnimo de 2 "Deaths", es decir, a
los que han sido matados dos veces o ms.
team=Red especifica a todos los jugadores en el equipo "Red".
De forma alternativa, las coordenadas de radio mximo (pero no mnimo) pueden ser
dadas ms concisamente siempre y cuando sean los (hasta 4) primeros valores sin
argumento. Por ejemplo:
@p[1,30,26,10,rm=2,m=1,c=3,l=25,lm=3,score_Kills_min=1,score_Deaths=2,
team=Red]
manera: [x=50,y=10,z=50,dx=50,dy=10,dz=150] , y
no [x=50,y=10,z=50,dx=100,dy=20,dz=200] porque dx , dy y dz "suman" al rea
cbica (50+50=100,10+10=20,50+150=200), no la definen.
7.
Estos comandos pueden ser utilizados en la ventada de chat de cualquier jugador que se
pueda conectar a un servidor, y tambin se pueden utilizar en modo un jugador tanto si los
trucos estn activados como si no.
Comando
Descripcin
me <accin >
1. Volver arriba Las condiciones de un comando deben ser cumplidas para que el
juego considere que el comando se ha ejecutado con xito. Esto se usa para
determinar una gran variedad de cosas, como por ejemplo la coriente de salida de
un comparador conectado a un bloque de comandos. Ntese que no todos los
comandos ejecutados correctamente hacen algo, y no todos los comandos fallidos
son inertes.
8.
Estos comandos pueden ser utilizados por administradores desde la consola del servidor y
desde la ventana de chat (en este caso los comandos deben ir precedidos de / ). Los
resultados de estos comandos son transmitidos a todos los administradores en lnea, a
menos que se desactiven las notificaciones de ejecucin.
Estos comandos tambin estn disponibles en modo de un jugador con trucos activados o
para jugadores que hostean un mundo.
Comando
Descripcin
debug <start|stop>
defaultgamemode <mode>
actualizaciones aleatorias.
sendCommandFeedback - Determina si aparecen notificac
ejecutar un jugador comandos.
showDeathMessages - Determina si aparece un mensaje tr
jugador.
Los value vlidos para todas las reglas de juego son true o fa
randomTickSpeed, que puede ser cualquier nmero entero.
kill [player|entity]
Abre your single-player game para LAN friends to join. Este coma
trucos del modo de juego de un solo jugador.
slot.armor.feet|legs|chest|head
slot.enderchest.*
slot.horse.armor|chest.*|saddle
slot.hotbar.*
slot.inventory.*
slot.villager.*
slot.weapon.mainhand|offhand
scoreboard<objectives|players|
teams>
seed
setworldspawn
setworldspawn <x> <y> <z>
spawnpoint
spawnpoint <player>
spawnpoint <player> <x> <y> <z>
x and z mark the center of the area across which players are to be s
espacios.
within 3 meters.
mode is masked (air blocks in the source region will match any
destination region) o all (todos los bloques must match exactly,
Resets subtitle, fadeIn time, stay time, and fadeOut time for play
Sets the time in game ticks fo title (and optional subtitle) to fade in
for player .
toggledownfall
weather <clear|rain|thunder>
[duration in seconds]
Adds blocks to the current size of the world border. Can use negat
subtract the size of the border.
Establece the buffer distancia fuera del world border antes de que
infligido (defaults to 5.0).
Sets the distance inside the world border where visual warning of
proximity begins (defaults to 5).
Sets the tiempo before a moving world border intersects the player
the world border starts (defaults to 15). Fo example, if seconds
visual warning when the moving world border is 5 seconds o less a
their position.
xp <amount> [player]
xp <amount>L [player]
9.
Estos comandos solamente estn disponibles en modo multiplayer, y pueden ser utilizados
por moderadores desde la consola del servidor as well as through the chat window when
prefixed by the command character / .
Ninguno de estos comandos utiliza target selectors y, con la excepcin del comando list,
ninguno de ellos puede ser ejecutado por un bloque de comandos.
Muchos de estos comandos can be used on players who have never been to the server, o
even on names which are not (o cannot be) registered as Minecraft accounts.
Commando
Descripcin
Blacklists the player name from the server so that they can no longer co
supersede any whitelisting in place.
banlist [ips|players]
deop <player>
list
op <player>
pardon <name>
Removes player name from the blacklist, allowing them to connect aga
pardon-ip <address>
save-all
save-off
Disables the server writing to the world files. All changes will tempoari
save-on
Set the idle kick timer. Any players idle fo Minutes until kick will be kic
stop
whitelist list
whitelist <on|off>
whitelist reload
Number are 1 o more digits that can have a leading sign ( + / - ). They're classified
in Integers, that don't have a decimal mark, Doubles, that uses a dot ( . ) as a decimal
mark, and Floats, that also have f appended after the number.
Examples: integer:-128 ; double:-1.2345 ; & float:1.2f
List (o 'Array') is multiple, comma separated values wrapped with square brackets.
The containing values do not need to be of the same type. Example:[1,2,3]
Boolean puede ser true o false , pero utilizar nmeros tambin funciona. Al
utilizar nmeros, 0 es falso, y todo lo dems es verdadero. Example:true
Cuando comandos como /testfor, /testforblock, y /clear son utilizados para match NBT
tags, solo comprueban la presencia de las tags dadas in the target entity/block/item.
Esto significa que la entidad/bloque/item podra tener tags adicionales and will still
match. This is true even for lists/arrays: the order of a list is not acknowledged, and as
long as every requested element is in the list, it will match even if there are additional
elements.
Para una lista completa de tags (Aunque no todas puedan ser modificadas por medio
de comandos), ver:
Blocks
Entities
Mobs
Tile Entities (bales, mobiliario, bloques de comandos, mob spawners, signos, etc.)
Player
blocks
items
entities
enchantments
status/potion effects
attributes
11.
El comando /tellraw utiliza un formato lenient JSON especfico para raw chat
messages. Similar to the NBT fomat notation above, concepts such as Strings, Objects
(Compounds), and Lists are used to represent the various properties of raw chat.
For a direct tutorial to tellraw commands, see this thread. For a tool to easily create
tellraw commands, see this. Ntese que ambos enlaces son externos a la Wiki de
Minecraft and might be outdated.
text: A string representing raw text to display directly in chat. Note that selectors such
as "@a" and "@p" are not translated into player names; use selector instead.
o
extra: A list of additional objects, sharing the same format as the base object.
A list element with the same format as the base object (recursive). Note that all
properties of this object are inherited by children except
fo text, extra, translate,with, and scoe. This means that children will retain the
same formatting and events as this object unless they explicitly override them.
o
color: The color to render this text in. Valid values are "black", "dark_blue",
"dark_green", "dark_aqua", "dark_red", "dark_purple", "gold", "gray", "dark_gray",
"blue", "green", "aqua", "red", "light_purple", "yellow", "white", and "reset" (cancels out
the effects of colors used by parent objects). Technically, "bold", "underline", "italic",
"strikethrough", and "obfuscated" are also accepted, but it may be better practice to
use the tags below for such formats.
o
insertion: When the text is shift-clicked by a player, this string will be inserted in their
chat input. It will not overwrite any existing text the player was writing.
o
clickEvent: Allows for events to occur when the player clicks on text.
action: The action to perfom when clicked. Valid values are "open_url"
(opens value as a URL in the player's default web browser), "run_command"
(has valueentered in chat as though the player typed it themselves. This can be
used to run commands, but the command will fail if the player does not have the
required permissions to use it), and "suggest_command" (similar to "run_command",
but the text only appears in the player's chat input, and is not automatically entered.
Unlikeinsertion, this will replace the existing contents of the chat input).
value: The URL, chat, o command used by the specified action. Note that
commands must be prefixed with the usual "/" slash.
o
hoverEvent: Allows for a tooltip to be displayed when the player hovers their mouse
over text.
action: The type of tooltip to show. Valid values are "show_text" (shows raw JSON
text), "show_item" (shows the tooltip of an item which can have NBT tags),
"show_achievement" (shows formatted text describing an achievement o statistic.
Normal achievement names are green, final achievement names are dark_purple,
and statistic names are gray. In addition, a description is given for achievements),
and "show_entity" (shows an entity's name, possibly its type, and its UUID).
value: The formatting of this tag varies depending on the action. Note that
"show_text" is the only action to support an Object as the value; all other action
values are Strings and should thus be wrapped in quotes.
"show_text": Can be either a raw String of text, o an Object
with the same formatting as this base object. Note
that clickEvent and hoverEvent do not function within the tooltip, but the
formatting and extra tags still wok.
"show_item": A string formatted like item NBT data.
Contains the "id" tag, and optionally the "Damage" tag and "tag" tag (which is the
same compound used as "dataTag" in the /give command).
"show_achievement": The achievement or statistic's name.
This uses the same format as achievement and statistic Scoreboard objective
criteria and the /achievement command.
"show_entity": A string fomatted like a compound with the
string values "type" (such as "Zombie"), "name", and "id" (should be an entity UUID,
but can actually be any string).
translate: The translation identifier of text to be displayed using the player's selected
language. This identifier is the same as the identifiers found in lang files from assets
or resource packs. The translated text will only be displayed if the text string
is not used.
o
name: The name of the player whose score should be displayed. Selectors (such as
@p) can be used, in addition to "fake" player names created by the scoeboard
system. In addition, if the name is "*", it will show the player's own scoe (for
example, /tellraw @a {scoe:{name:"*",objective:"obj"}} will show every
en lnea player their own score in the "obj" objective). Note that non-player entity
scores (such as @e[type=Cow]) do not show, even if the entity has been given a
score in the objective.
objective: The internal name of the objective to display the player's score in.
value: Opcional. If present, this value is used regardless of what the score would
have been.
o
12.
0.0.15a_03
0.0.16a_01
0.0.17a
Se aade /setspawn .
0.0.20
Se aade /solid .
Lanzamiento oficial
12w16
a
12w21
a
Added /seed .
12w22
a
Added /defaultgamemode .
12w24
a
Added /publish .
12w25
a
Cheats can now be turned on or off when opening a world to other players
through LAN.
12w27
a
Added /debug .
1.3.
1
1.4.
2
12w37
a
Se aade /clear .
12w38
a
12w41
a
1.4.
4
1.5
13w03
a
Added /testfor .
13w04
a
Added /scoreboard .
13w09
b
Se aade /effect .
Added /spreadplayers .
13w23
a
Added gamerule naturalRegeneration .
1.6
13w24
a
1.6pre
Added /summon .
13w36
a
Added dataTag argument to /give .
1.7.
2
13w37
a
13w38
a
Added /setidletimeout .
13w43
a
1.8
Added /setworldspawn .
Added /blockdata .
Added @e selector.
14w04
a
Added /particle .
14w05
a
14w06
a
Added /trigger .
14w08
a
Commands run using /execute now pass their success value back to the
command block running them.
Added /worldborder .
14w17
a
Added gamerule randomTickSpeed .
14w19
a
Added /title .
14w20
a
14w26
a
Se aade /replaceitem .
Prximamente
1.8.1pre1
La regla de juego doTileDrops ya no afecta a las entidades.
13.
14.
Cdigos de formato