Diferencia entre revisiones de «Comandos»

Leynaf (discusión | contribs.)
Leynaf (discusión | contribs.)
Sin resumen de edición
Línea 266: Línea 266:
<code>'''blockdata''' <''x''> <''y''> <''z''> <''dataTag''></code>
<code>'''blockdata''' <''x''> <''y''> <''z''> <''dataTag''></code>
  |
  |
Edits the data tags of the block at the location ''x, y, z''. For more information on data tags, see the [[Commands#Data_tags|''Data tags'' section]].
Edita las ''data tags'' (etiquetas de datos) del bloque en el lugar ''x, y, z''. Para más información acerca de las etiquetas de datos, consulta la [[Comandos#Data_tags|sección ''Data tags'']].


The <code>blockdata</code> command will be added in 1.8 and is currently available only in the snapshots.
El comando <code>blockdata</code> se agregará en la 1.8 y está disponible actualmente sólo en las snapshots.
  |
  |
<code>''dataTag''</code> must be a valid argument at the block located at ''x, y, z''.
El <code>''dataTag''</code> debe ser un argumento válido para el bloque localizado en ''x, y, z''. '.
  |-
  |-
  |
  |
{{Anchor|clear}}
{{Anchor|clear}}
<code>'''clear''' [''player''] [''item''] [''data''] [''maxCount''] [''dataTag'']</code>
<code>'''clear''' [''jugador''] [''objeto''] [''data''] [''maxCount''] [''dataTag'']</code>
  |
  |
Clears the inventory of <code>''player''</code> (defaults to the executing player if unspecified) of the specified <code>''item'':''data''</code>, with the specified <code>''dataTag''</code>. Does not remove more than <code>''maxCount''</code> items. If no optional tags are specified, the entire inventory is cleared.
Limpia el inventario del <code>''jugador''</code> (por defecto, si no se especifica jugador, del jugador que ejecuta el comando) borrando el <code>''objeto''/''data''</code> especificado, con la <code>''dataTag''</code> especificada. No quitará más objetos que el número indicado en <code>''maxCount''</code>. Si no se especifican ninguna de las etiquetas opcionales, todo el inventario será borrado.


The <code>''maxCount''</code> and <code>''dataTag''</code> arguments will be added in 1.8 and are currently available only in the snapshots.
''Nota:'' Se puede especificar que quite un objeto concreto <code>''[item]''</code> con unas propiedades <code>''[data]''</code> (como uno que tenga unas características especiales <code>''[dataTag]''</code>). Que quite una cantidad máxima del objeto <code>''[maxCount]''</code>.
 
Los argumentos <code>''maxCount''</code> y <code>''dataTag''</code> serán introducidos en la 1.8 y esta y está disponible actualmente sólo en las snapshots.
  |
  |
At least zero item(s) must be removed, and <code>''player''</code> must be online. Can output a comparator signal if successfully cleared item(s). <code>''data''</code> can be set to -1 to clear regardless of Damage value, and <code>''maxCount''</code> can be set to -1 to clear all of the selected item.
Al menos cero artículo(s) se debe retirar y el <code>''jugador''</code> debe estar en línea. Se puede hacer salir una señal del comparador si el o los objetos son limpiados con éxito. Los <code>''data''</code> se pueden establecer en -1 para limpiar los objetos independientemente de lo dañados que estén, y el <code>''MaxCount''</code> se puede establecer en -1 para borrar toda la cantidad del objeto seleccionado.
  |-
  |-
  |
  |
{{Anchor|clone}}
{{Anchor|clone}}
<code>'''clone''' <''x1''> <''y1''> <''z1''> <''x2''> <''y2''> <''z2''> <''x''> <''y''> <''z''> [''mode''] [''mode2'']</code>
<code>'''clone''' <''x1''> <''y1''> <''z1''> <''x2''> <''y2''> <''z2''> <''x''> <''y''> <''z''> [''modo''] [''modo2'']</code>
  |
  |
Permite clonar la parte del mapa especificada. Las coordenadas de destino son (''x'',''y'',''z''), los valores donde los bloques son puestos deben ser positivos.
Clones the given area. The destination is (''x'', ''y'', ''z''), where the blocks are placed going into positive coordinate values.
Clones the given area. The destination is (''x'', ''y'', ''z''), where the blocks are placed going into positive coordinate values.


<code>''mode''</code> can be:
El <code>''modo''</code> puede ser:
* replace - (the default), which copies all blocks.
* replace - (por defecto), el cual copia todos los bloques.
* masked - which copies all non-air blocks.
* masked - que copia todos los bloques que no sean de la categoría aire.
* filtered - which removes any unnecessary blocks and replaces them with air.
* filtered - que elimina los bloques innecesarios y los sustituye por aire.
<code>''mode2''</code> can be:
<code>''modo2''</code> puede ser:
* move - where it replaces the cloned blocks with air (on filtered you must include what blocks to be filtered out).
* move - el cual, reemplaza los bloques clonados, por aire (en el filtro se deben incluir qué bloques debe ser filtrados).
* force - which makes the command execute even if the area being cloned overlaps with the area blocks being cloned to (on filtered you must include what blocks to be filtered out).
* force - el cual, hace que el comando se ejecute, incluso si el área que está siendo clonada se superpone con los bloques de la zona que se clona (en el filtro se deben incluir qué bloques debe ser filtrados).
* normal - (on filtered you must include what blocks to be filtered out).
* normal - (en el filtro se deben incluir qué bloques debe ser filtrados).


The <code>clone</code> command will be added in 1.8 and is currently available only in the snapshots.
El comando <code>clone</code> se agregará en la 1.8 y está disponible actualmente sólo en las snapshots.
  |
  |
The area being cloned and the area where the cloned blocks are going must both be rendered, must not overlap, and must be within the 32768 block limit (including air blocks)
El área que está siendo clonada y la zona en la que los bloques clonados van a ser puestos, ambas serán renderizados, no debe superponerse, y debe estar dentro del límite de 32.768 bloques (incluidos los bloques de aire).
  |-
  |-
  |
  |
Línea 305: Línea 308:
<code>'''debug''' <<nowiki>start|stop</nowiki>></code>
<code>'''debug''' <<nowiki>start|stop</nowiki>></code>
  |
  |
Starts a new debug profiling session or stops the session currently running. It notifies about potential performance bottlenecks in the console when active and creates a profiler results file in the folder ''debug'' when stopped.
Inicia una nueva sesión de depuración de perfiles o detiene la sesión que esté ejecución. Se notifica acerca de los posibles cuellos de botella de rendimiento en la consola cuando se activa y crea un archivo de resultados de perfiles en la carpeta ''debug'' cuando pare.
  |
  |
Can only stop if a session is running. Cannot be used in a command block.
Sólo se puede detener si una sesión está en marcha. No se puede usar en un bloque de comandos.
  |-
  |-
  |
  |
{{Anchor|defaultgamemode}}
{{Anchor|defaultgamemode}}
<code>'''defaultgamemode''' <''mode''></code>
<code>'''defaultgamemode'''<''modo''></code>
  |
  |
Sets the default game mode that is shown on the world selection menu. New players that join the world will be put into the default game mode; i.e., if the default game mode is creative, new players will start in creative. This command cannot enable or disable [[Hardcore]] mode.
Establece el modo de juego por defecto que se muestra en el menú de selección del mundo. Los nuevos jugadores que se unen al mundo estarán puestos en el modo de juego por defecto; es decir, si el modo de juego por defecto es creativo, los nuevos jugadores comienzan en el creativo. Este comando no se puede activar o desactivar el modo [[Hardcore]] (extremo).
  |
  |
''mode'' must be a valid game mode: <code>survival</code>, <code>creative</code>, <code>adventure</code>, or <code>spectator</code>. The game modes can be abbreviated to "s/c/a/sp" or "0/1/2/3" respectively.
El ''modo'' debe ser un modo de juego válido: <code>survival</code> (supervivencia), <code>creative</code> (creativo), <code>adventure</code> (aventura), o <code>spectator</code> (espectador). Los modos de juego pueden abreviarse como "s/c/a/sp" o "0/1/2/3" respectivamente.
  |-
  |-
  |
  |
{{Anchor|difficulty}}
{{Anchor|difficulty}}
<code>'''difficulty''' <''new difficulty''></code>
<code>'''difficulty'''<''nueva dificultad''></code>
  |
  |
Changes the difficulty for as long as the server is running. If the server is restarted, the difficulty will go back to whatever difficulty is set in server.properties.
 
Cambia la dificultad durante el tiempo que el servidor esté en ejecución. Si el servidor se reinicia, la dificultad volverá a ser cualquiera que esté establecida en “server.properties”.
  |
  |
<code>''new difficulty''</code> must be a valid difficulty: <code>peaceful</code>, <code>easy</code>, <code>normal</code>, or <code>hard</code>. The difficulties can be abbreviated to "p/e/n/h" or "0/1/2/3" respectively.
La <code>''nueva dificultad''</code> debe ser una dificultad válida: <code>peaceful</code> (pacífica), <code>easy</code> (facil), <code>normal</code>, or <code>hard</code> (dificil). La dificultades pueden abreviarse como "p/e/n/h" o "0/1/2/3" respectivamente.
  |-
  |-
  |
  |
{{Anchor|effect}}
{{Anchor|effect}}
<code>'''effect''' <''player''> <''effect''> [''seconds''] [''amplifier''] [''hideParticles'']</code>
<code>'''effect''' <''jugador''> <''efecto''> [''segundos''] [''amplificador''] [''hideParticles'']</code>
  |
  |
Gives the targeted player (or entity, via the @e target selector) the specified effect for the specified time (default is 30 seconds). Effects have a limit of 1,000,000 seconds, and the <code>''amplifier''</code> field has a limit of 255. Effect id's can be found on the [[Potion Effects|potion effects]] page. Setting <code>''seconds''</code> to 0 clears this effect. If you put the amplifier to a number of a variably high value, it will not give the desired amplifier. Setting <code>''hideParticles''</code> to true hides effect particles, if value not given, defaults to false.
Da al jugador objetivo (o entidad, vía selector de objetivo @e) El efecto especificado el tiempo especificado (por defecto es 30 segundos). El efecto tiene un límite de 1.000.000 segundos, y el amplificador tiene un límite de 255. El ID del efecto puedes encontrarlo en la página de [[Efectos de pociones|efectos de pociones]]. Estableciendo los segundos a 0 se eliminará el efecto. Si pones en el amplificador un número muy alto, puede que no de la amplificación deseada. Estableciendo hideParticles a true (verdadero) oculta las partículas del efecto, si no es dado ningún valor, por defecto es false (falso).
  |
  |
If clearing an effect, the player must have this effect. <code>''effect''</code> must be a valid effect. ''player'' must be online.
Si se despeja un efecto, el jugador debe tener este efecto. El <code>''efecto''</code> debe ser un efecto válido. El ''jugador'' debe estar en línea.
  |-
  |-
  |
  |
<code>'''effect''' <''player''> clear</code>
<code>'''effect''' <''player''> clear</code>
  |
  |
Clears all effects on <code>''player''</code> (or entity, via the @e target selector).
Elimina todos los efectos del <code>''jugador''</code> especificado (o entidad, usando el selector de objetivo @e).
  |
  |
At least one effect must be removed, and <code>''player''</code> must be online.
Al menos un efecto debe ser eliminado, y el <code>''jugador''</code> debe estar en línea.
  |-
  |-
  |
  |
Línea 344: Línea 348:
<code>'''enchant''' <''player''> <''enchantment ID''> [''level'']</code>
<code>'''enchant''' <''player''> <''enchantment ID''> [''level'']</code>
  |
  |
Enchants the item that the player is currently holding, according to [[Enchanting#Enchantments|enchantment ID]]. Note that this works within the normal limitations of enchanting items. Enchantments can only be applied to items which can normally receive that specific enchantment. Enchantment levels can not be above the normal highest achievable for the selected enchantment. Conflicting or overpowering enchantment combinations usually prevented are also prevented with this command.
Encanta el objeto que el jugador tenga en mano, con el [[Valores de Datos#IDs de Encantamiento|ID de encantamiento]]. Hay que tener en cuenta que esto funciona dentro de los límites normales de encantamiento de objetos. Los encantamientos sólo se pueden aplicar a objetos que normalmente puedan recibir ese encantamiento específico. Los niveles de encantamiento no pueden estar por encima del valor mayor normal alcanzable para el encantamiento seleccionado. Con este comando se evitan generalmente combinaciones de encantamientos incompatibles o sobre encantados.
  |
  |
The enchantment ID must be valid, the level must be valid for this enchantment (unless the held item is also invalid), the held item must be able to accept this enchantment, the held item cannot have conflicting enchantments, and ''player'' must be online.
 
El ID del encantamiento debe ser válido, el nivel debe ser válido para este encantamiento (a menos que el objeto sujetado también sea inválido), el objeto sujeto debe ser capaz de aceptar este encantamiento, el objeto sujeto no puede tener conflictos con encantamientos y el ''jugador'' debe estar en línea.
  |-
  |-
  |
  |
{{Anchor|execute}}
{{Anchor|execute}}
<code>'''execute''' <''entity''> <''x''> <''y''> <''z''> <''command …''></code>
<code>'''execute''' <''entidad''> <''x''> <''y''> <''z''> <''comando …''></code>
  |
  |
Runs <code>''command''</code> as though it were executed by <code>''entity''</code>, and as though <code>''entity''</code> were located at ''x'', ''y'', ''z''. The command will be run as though the entity has operator-level permission.
Se ejecuta el <code>''comando''</code> como si fuera ejecutado por la <code>''entidad''</code>, y como si la <code>''entidad''</code> se encontrase en ''x'', ''y'', ''z''. El comando se ejecutará como si la entidad contase con permisos del nivel de operador.


The <code>execute</code> command will be added in 1.8 and is currently available only in the snapshots.
El comando <code>execute</code> se agregará en la 1.8 y está disponible actualmente sólo en las snapshots.
  |
  |
''entity'' must resolve to one or more valid entities (including players, who must be online if specified by name). ''x'' and ''z'' must be within the range [[World boundary|-30,000,000 to 30,000,000]] (inclusive). ''command'' must execute successfully.
La ''entidad'' debe resolverse con una o más entidades válidas (incluyendo jugadores, que deben estar en línea si se especifica por su nombre). ''x'' y ''z'' deben estar dentro del rango [[Límite del mundo|-30000000 a 30000000]] (inclusive). El ''comando'' debe ejecutarse con éxito.
  |-
  |-
  |<code>'''execute''' <''entity''> <''x''> <''y''> <''z''> '''detect''' <''x2''> <''y2''> <''z2''> <''block''> <''data''> <''command …''></code>
  |<code>'''execute''' <''entidad''> <''x''> <''y''> <''z''> '''detect''' <''x2''> <''y2''> <''z2''> <''bloque''> <''data''> <''comando …''></code>
  |
  |
Runs <code>''command''</code> as though it were executed by <code>''entity''</code>, and as though <code>''entity''</code> were located at ''x'', ''y'', ''z''. It will only run <code>''command''</code> if the specified block is located at ''x2'', ''y2'', ''z2'', starting from ''x'', ''y'', ''z'' for relative coordinates. The command will be run as though the entity has operator-level permission.
Se ejecuta el <code>''comando''</code> como si fuera ejecutado por la <code>''entidad''</code>, y como si la <code>''entidad''</code> se encontrase en ''x'', ''y'', ''z''. Sólo se ejecutará el <code>''comando''</code> si el bloque especificado se encuentra en ''x2'', ''y2'', ''z2'', a partir de ''x'', ''y'', ''z''' en coordenadas relativas. El comando se ejecutará como si la entidad contase con permisos del nivel de operador.


The <code>execute</code> command will be added in 1.8 and is currently available only in the snapshots.
El comando <code>execute</code> se agregará en la 1.8 y está disponible actualmente sólo en las snapshots.
  |
  |
''entity'' must resolve to one or more valid entities (including players, who must be online if specified by name). ''x'' and ''z'' must be within the range [[World boundary|-30,000,000 to 30,000,000]] (inclusive). The specified block must be found at ''x2'', ''y2'', ''z2''. ''command'' must execute successfully.
La ''entidad'' debe resolverse con una o más entidades válidas (incluyendo jugadores, que deben estar en línea si se especifica por su nombre). ''x'' y ''z'' deben estar dentro del rango [[Límite del mundo|-30000000 a 30000000]] (inclusive). El bloque especificado debe encontrarse en ''x2'', ''y2'', ''z2''. El ''comando'' debe ejecutarse con éxito.
  |-
  |-
  |
  |
Línea 370: Línea 375:
<code>'''fill''' <''x1''> <''y1''> <''z1''> <''x2''> <''y2''> <''z2''> <''TileName''> [''dataValue''] [''oldBlockHandling''] [''dataTag'']</code>
<code>'''fill''' <''x1''> <''y1''> <''z1''> <''x2''> <''y2''> <''z2''> <''TileName''> [''dataValue''] [''oldBlockHandling''] [''dataTag'']</code>
  |
  |
Fills the given area with a block specified by <code>''TileName''</code>, <code>''dataValue''</code>, and <code>''dataTag''</code>. <code>''oldBlockHandling''</code> mode is either <code>destroy</code>, <code>keep</code>, <code>hollow</code>, or <code>outline</code>.
Llena la zona especificada del bloque especificado con <code>''TileName''</code>, <code>''dataValue''</code>, y <code>''dataTag''</code>. <code>''oldBlockHandling''</code> es el modo de llenar el espacio: <code>replace</code>, <code>destroy</code>, <code>keep</code>, <code>hollow</code>, o <code>outline</code>.
* replace - Destroys any blocks within the target location and replaces them with "TileName", without dropping item entities.
* '''replace''' (reemplazar) - Reemplaza todos los bloques en el lugar de destino y los sustituye por "TileName", sin dejar caer las entidades del objeto.
* destroy - Destroys any blocks within the target location, dropping them as item entities, and replacing them with "TileName".
* '''destroy''' (destruir) - Destruye todos los bloques dentro de la ubicación de destino, otorgándolos como entidades de objetos, y los sustituye por "TileName".
* keep - Only replaces air blocks found in the fill area with "TileName".
* '''keep''' (mantener) - Sólo sustituye los bloques de aire que se encuentran en el área de relleno con "TileName".
* hollow - Wraps only the outer layer of the fill area, creating a square box of "TileName", and replacing all blocks inside of the box area with air. Containers inside of the box will drop their contents, but not their block.
* '''hollow''' (hueco) - Envuelve sólo la capa exterior de la zona de llenado, creando de una caja cuadrada de "TileName", y sustituye todos los bloques del interior del área de la caja por aire. Los contenedores en el interior de la caja soltaran su contenido, pero no su bloque.
* outline - Wraps only the outer layer of the fill area, creating a square box of "TileName". (Leaves all blocks leftover inside the box area alone and doesn't destroy them)
* '''outline''' (contorno) - Envuelve sólo la capa exterior de la zona de llenado, creando de una caja cuadrada de "TileName". (Deja todo el resto de los bloques dentro del área de la caja y no los destruye).


The <code>fill</code> command will be added in 1.8 and is currently available only in the snapshots.
El comando <code>fill</code> se agregará en la 1.8 y está disponible actualmente sólo en las snapshots.
  |
  |
A starting point and an end point must be input followed by a block. Your feet (y-value), will be the point where blocks will begin to fill. Chunks must be loaded and can only fill within a 32768 block limit (including air blocks)
Un punto de partida y un punto final deben ser introducidos seguidos de un bloque. Los pies (valor-y), serán el punto donde comenzará el llenado de bloques. Los Chunks deben cargarse y sólo se puede llenar con un límite de 32.768 bloques (incluidos los bloques de aire).
  |-
  |-
  |
  |
Línea 385: Línea 390:
<code>'''fill''' <''x1''> <''y1''> <''z1''> <''x2''> <''y2''> <''z2''> <''TileName''> <''dataValue''> replace [''replaceTileName''] [''replaceDataValue'']</code>
<code>'''fill''' <''x1''> <''y1''> <''z1''> <''x2''> <''y2''> <''z2''> <''TileName''> <''dataValue''> replace [''replaceTileName''] [''replaceDataValue'']</code>
  |
  |
Replaces all blocks matching <code>''replaceTileName''</code> and <code>''replaceDataValue''</code> in a given area with <code>''TileName''</code> and <code>''dataValue''</code>. If <code>''replaceTileName''</code> and <code>''replaceDataValue''</code> are not given, any block will be replaced. Note that the replace operation does not support a <code>''dataTag''</code> argument if <code>''replaceTileName''</code> is given (use above syntax instead to replace any block and have ''dataTag'' support).
Reemplaza todos los bloques que coinciden con <code>''replaceTileName''</code> y <code>''replaceDataValue''</code> en el área especificada por <code>''TileName''</code> and <code>''dataValue''</code>. Si los argumentos <code>''replaceTileName''</code> and <code>''replaceDataValue''</code> no son introducidos, ningún bloques será reemplazado. Hay que tener en cuenta que la operación de reemplazo no funciona con el argumento <code>''dataTag''</code> si el argumento <code>''replaceTileName''</code> es insertado (usa la sintaxis de arriba en lugar de reemplazar cualquier bloque y ten el apoyo de ''dataTag'').


The <code>fill</code> command will be added in 1.8 and is currently available only in the snapshots.
El comando <code>fill</code> se agregará en la 1.8 y está disponible actualmente sólo en las snapshots.
  |
  |
A starting point and an end point must be input followed by a block. Your feet (y-value), will be the point where blocks will begin to fill. Chunks must be loaded and can only fill within a 32768 block limit (including air blocks)
Un punto de partida y un punto final deben ser introducidos seguidos de un bloque. Los pies (valor-y), serán el punto donde comenzará el llenado de bloques. Los Chunks deben cargarse y sólo se puede llenar con un límite de 32.768 bloques (incluidos los bloques de aire).
  |-
  |-
  |
  |
{{Anchor|gamemode}}
{{Anchor|gamemode}}
<code>'''gamemode''' <''mode''> [''player'']</code>
<code>'''gamemode''' <''modo''> [''jugador'']</code>
  |
  |
Changes the game mode for <code>''player''</code>. If no <code>''player''</code> is given, it will set your own gamemode.
Cambia el modo de juego para el <code>''jugador''</code>. Si no se introduce <code>''jugador''</code>, se establecerá el modo de juego propio.
  |
  |
<code>''mode''</code> must be a valid game mode: <code>survival</code>, <code>creative</code>, <code>adventure</code>, or <code>spectator</code>. The game modes can be abbreviated to "s/c/a/sp" or "0/1/2/3" respectively.
<code>''modo''</code> debe ser un modo de juego válido: <code>survival</code>, <code>creative</code>, <code>adventure</code>, o <code>spectator</code>. Los modos de juego pueden abreviarse como "s/c/a/sp" o "0/1/2/3" respectivamente.


<code>''player''</code> must currently be online. <code>''player''</code> is not optional for command blocks.
El <code>''jugador''</code> debe estar en línea. El <code>''jugador''</code> no es opcional para el bloque de comandos.
  |-
  |-
  |
  |
{{Anchor|gamerule}}
{{Anchor|gamerule}}
<code>'''gamerule''' <''rule name''></code><br>
<code>'''gamerule''' <''nombre de la regla''></code><br>
<code>'''gamerule''' <''rule name''> [''value'']</code>
<code>'''gamerule''' <''nombre de la regla''> [''valor'']</code>
  |
  |
Activates or deactivates the <code>''rule name''</code>. If <code>''value''</code> is not given, displays the current status of <code>''rule name''</code>.
Activa o desactiva <code>''nombre de la regla''</code>. Si el <code>''valor''</code> no es dado, muestra el estado actual de <code>''nombre de la regla''</code>.
 
Reglas disponibles:


Available rules are:
* '''commandBlockOutput''' - Si los [[Bloque de comandos|bloques de comandos]] deben notificar a los administradores cuando realizan comandos.
* commandBlockOutput - Whether [[command block]]s should notify admins when they perform commands
* '''doDaylightCycle''' - Si debe pasar el tiempo.
* doDaylightCycle - Whether time progresses
* '''doFireTick''' - Si el fuego debe propagarse y extinguirse naturalmente.
* doFireTick - Whether fire should spread and naturally extinguish
* '''doMobLoot''' - Si los mobs deben soltar objetos al morir.
* doMobLoot - Whether mobs should drop items
* '''doMobSpawning''' - Si los mobs deben aparecer/reproducirse de forma natural (pueden hacerlo con huevos o spawners).
* doMobSpawning - Whether mobs should naturally spawn
* '''doTileDrops''' - Si los bloques deben ¿mostrar gotas? o ¿caerse como la arena? o ¿dar el bloque al romperse como en la madera o algo al romperse como el carbón? (no funciona con los cuadros).
* doTileDrops - Whether blocks should have drops
* '''keepInventory''' - Si el jugador debe mantener los elementos en su inventario después de la muerte.
* keepInventory - Whether the player should keep items in their inventory after death
* '''mobGriefing''' - Si Creepers, Endermen, Ghasts, Withers y los aldeanos deben ser capaces de cambiar los bloques o los Zombis, Esqueletos, y Zombie Pigmen puede recoger objetos.
* mobGriefing - Whether Creepers, Endermen, Ghasts, Withers and Villagers should be able to change blocks or zombies, skeletons, and Zombie Pigmen can pick up items
* '''naturalRegeneration''' - Si el jugador puede regenerar la salud de forma natural si su indicador de hambre esta lo suficientemente lleno.
* naturalRegeneration - Whether the player can regenerate health naturally if their hunger is full enough


The following rules will be added in 1.8 and are currently available only in the snapshots:
Las siguientes reglas se añadirán en la 1.8 y están disponibles actualmente sólo en las snapshots:
* logAdminCommands - Whether to log admin commands to server log
* '''logAdminCommands''' - Si se deben registrar los comandos de administración en registro del servidor.
* randomTickSpeed - How often a random tick occurs, such as plant growth, leaf decay, etc. Can be 0 to disable random updates
* '''sendCommandFeedback''' - Si  la retroalimentación de los comandos ejecutados por un jugador debe aparecer en el chat.
* sendCommandFeedback - Whether the feedback from commands executed by a player should show up in chat
* '''showDeathMessages''' - Si aparece un mensaje en el chat cuando un jugador muere.
* showDeathMessages - Whether a message appears in chat when a player dies


Valid <code>''value''</code> for all gamerules are <code>true</code> or <code>false</code>, except randomTickSpeed which can be any non-negative integer.
El <code>''valor''</code> válido para todos los gamerule son '''<code>true</code>''' o '''<code>false</code>''', excepto '''randomTickSpeed''' ​​que puede ser 0 o un número entero positivo.
  |
  |
Succeeds in all cases - even absent/invalid <code>''rule name''</code> or a property besides <code>true</code> or <code>false</code>.
Tiene éxito en todos los casos - incluso con un ausente o inválido <code>'nombre de la regla''</code> o una propiedad además de <code>true</code> o <code>false</code>.
  |-
  |-
  |
  |
{{Anchor|give}}
{{Anchor|give}}
<code>'''give''' <''player''> <''item''> [''amount''] [''data''] [''dataTag'']</code>
<code>'''give''' <''jugador''> <''objeto''> [''cantidad''] [''data''] [''dataTag'']</code>
  |
  |
Spawns <code>''amount''</code> (defaults to 1) of the item defined by <code>''[[data values|item]]''</code> with the specified <code>''data''</code> (defaults to 0) at the location of <code>''player''</code>, using <code>''dataTag''</code> for the "tag" NBT tag. For example typing ''/give John planks 30 1 {display:{Lore:["Wooden planks"]}}'' will give a player called John 30 blocks of Spruce Wood Planks with Lore that says "Wooden planks".
Genera una <code>''cantidad''</code> (por defecto es 1) del elemento definido por <code>''[[Valores de Datos|objeto]]''</code> con el <code>''data''</code> especificado (por defecto a 0) en la ubicación del <code>''jugador''</code>, usando <code>''dataTag''</code> para la "tag" (etiqueta) NBT tag. Por ejemplo, escribiendo ''/give Azurkrakens planks 30 1 {display:{Lore:["Tablones de madera"]}}'' dará al jugador llamado Azurkrakens 30 bloques de tablones de madera de abeto con el Lore que dice "Tablones de madera".
  |
  |
<code>''item''</code> must be a valid ID or item name, <code>''amount''</code> must be from 0 to 64, and <code>''player''</code> must be online.
El <code>''objeto''</code> debe ser un ID o nombre de objeto válido, la <code>''cantidad''</code> debe ser de 0 a 64, y el <code>''jugador''</code> debe estar en línea.
  |-
  |-
  |
  |