Commands

This page lists and describes all commands have been added by the LOTR-mod.

General Command Syntax
Most commands use arguments to determine additional values for the command execution. To see, which arguments a command uses, you can type /help to get the help information. This shows each command as one of the following:

Player selection
Main Page on the official Minecraft wiki(Note that we are not in the newest Minecraft version. The wiki might have information, that doesn't affect our current version.)

When a command wants a argument, you can type a player's name or a player selection code. The target selection code consists of one target selection variable and optional additional selectors in squared brackets for closer selection. You can invert an additional argument by setting an '!' behind the '=' mark. example:


 * /tp @a[score_orcsKilled_min=10,name=!Mevans,m=!1] 0 ~ 0


 * teleports all players that have a "orcsKilled" score of at least 10, that do not have the name "Mevans" and that are not in creative mode to the position x=0 y=~ (the y-coordinate of the command source)  z=0

List of Commands

 * /alignment set|add [player]


 * This command lets you change the alignment of yourself or another player. You can set the alignment to a specific value or add a value to the current alignment. The maximum value for this command is 10000. determines the faction for that you want to change the alignment. It has to be written in capital letters. The player is optional. When no player is set, the command will affect yourself.


 * example:


 * /alignment set MORDOR 50


 * sets the alignment for the Mordor faction to 50, regardless what is was before.


 * /fastTravelTimer [player]


 * This command lets you set the current fastTravelTimer. You can use it to instantly reset the fastTravelTimer to zero (/fastTravelTimer 0). The command can also be used on any other player, not only on you, when you define a player name.


 * /gamerule enableMiddleEarthRespawning|enableOrcSkirmish true|false


 * The gamerule-command was not added by the mod, but these two gamerules.


 * enableMiddleEarthRespawning enables/disables the Middleearth respawn option when no bed could be found (respawn ~2000 blocks around the death point). Default: true


 * enableOrcSkirmish enables/disables the effect, that lets orcs fight each other sometimes. Default: true


 * /lotr_summon [x] [y] [z] {dataTag}


 * This is equivalent to the summon command, because the summon command can't summon mobs from mods. It has the same syntax. Note that every entity name has to be written with an "lotr." before.


 * example:


 * /lotr_summon lotr.Troll ~ ~ ~ {ImmuneToSun:1,Attributes:[{Name:generic.movementSpeed,Base:0}]}


 * This will summon a troll that doesn't turn to stone in the sun (ImmuneToSum) and that can't move (movementSpeed=0).

Usage of vanilla-commands for LOTR specific actions

 * /give and /setblock


 * To specify a LOTR block, you have to write "lotr:tile.lotr:" before the item name. For items you have to write "lotr:item.lotr:". Press Tab to see a full list of items and blocks. IDs (instead of item names) work normal, but won't be possible anymore in 1.8.


 * NBT-tag "CustomName"


 * CustomNames for LOTR-NPCs will be overridden by the NPC Name and have no effect.