forked from MineClone5/MineClone5
Update command block help
This commit is contained in:
parent
4fec80d5ea
commit
99d0e0a239
|
@ -150,14 +150,14 @@ minetest.register_node("mesecons_commandblock:commandblock_off", {
|
||||||
_doc_items_longdesc =
|
_doc_items_longdesc =
|
||||||
"Command blocks are mighty redstone components which are able to alter reality itself. In other words, they cause the server to execute server commands when they are supplied with redstone power.",
|
"Command blocks are mighty redstone components which are able to alter reality itself. In other words, they cause the server to execute server commands when they are supplied with redstone power.",
|
||||||
_doc_items_usagehelp =
|
_doc_items_usagehelp =
|
||||||
[[Initially, a command block does not have any commands and does nothing. Rightclick the command block to edit its commands. Refer to the help entry about server commands to understand how they work. Each line contains a single command, the commands will be executed from top to bottom. The commands DO NOT require a leading slash.
|
[[Using a command block which someone already placed and set up properly is easy: Just supply it with redstone power and see what happens. This will execute the commands once. To execute the commands again, turn the redstone power off and on again.
|
||||||
|
|
||||||
|
Changing the commands or breaking the command block is only possible in Creative Mode. Directly after placing, a command block does not have any commands and does nothing. Rightclick the command block (in Creative Mode!) to edit its commands. Refer to the help entry about server commands to understand how they work. Each line contains a single command, the commands will be executed from top to bottom. The commands DO NOT require a leading slash.
|
||||||
|
|
||||||
You can optionally use the following placeholders in your commands:
|
You can optionally use the following placeholders in your commands:
|
||||||
• “@nearest” is replaced by the name of the player nearest to the command block
|
• “@nearest” is replaced by the name of the player nearest to the command block
|
||||||
• “@farthest” is replaced by the name of the player farthest away from the command block
|
• “@farthest” is replaced by the name of the player farthest away from the command block
|
||||||
• “@random” is replaced by the name of a random player currently connected
|
• “@random” is replaced by the name of a random player currently connected]],
|
||||||
|
|
||||||
To execute the commands, supply the command block with redstone power once. To execute them again, you have to turn the power off and on again.]],
|
|
||||||
|
|
||||||
tiles = {{name="jeija_commandblock_off.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=2}}},
|
tiles = {{name="jeija_commandblock_off.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=2}}},
|
||||||
groups = {creative_breakable=1, mesecon_effector_off=1, not_in_creative_inventory=1},
|
groups = {creative_breakable=1, mesecon_effector_off=1, not_in_creative_inventory=1},
|
||||||
|
|
Loading…
Reference in New Issue