Commit Graph

21 Commits

Author SHA1 Message Date
DS
905260c8db Handle blasts (#356) 2017-10-07 01:44:49 +03:00
number Zero
f9f7600017 Command block server crash fixed
Before that, command block would crash the server if activated when no
players are online
2016-07-09 11:01:27 +02:00
Carter Kolwey
2dea21f9ef Escape command block commands for formspec 2016-04-21 02:15:54 -05:00
Jeija
7b84105512 Consistently use UNIX line endings (LF instead of CR LF) 2016-02-15 23:05:21 +01:00
ShadowNinja
041429c985 Fix the commandblock's check for quiting the formspec
The submit button also sends a quit field.
2014-06-06 11:24:24 -04:00
ShadowNinja
eea4dbbea8 Use a textarea for the commandblock to accept multiple commands 2014-01-11 12:15:01 -05:00
ShadowNinja
cd30aed807 Fix #136 by always running commands as the placer 2014-01-11 11:42:23 -05:00
ShadowNinja
76b9198717 Revert "Remove command block until #136 is fixed"
This reverts commit 3f76b77001512a7b71a8c81c181f78729c34e0d0.
2014-01-11 11:42:23 -05:00
Jeija
7517cc4af1 Add dummy mesecons_commandblock/init.lua as we keep the textures in that folder 2014-01-10 23:13:07 +01:00
Jeija
3f76b77001 Remove command block until #136 is fixed 2014-01-09 17:39:59 +01:00
Uberi
e8d31c3e5a Change field receipt handling to work properly with Minetest 0.4.8. 2013-12-18 14:54:46 -05:00
Uberi
16b4b79c51 Update code to standards of Minetest 0.4.8. 2013-11-30 22:13:00 -05:00
Vanessa Ezekowitz
f46bc329de Use minetest.swap_node() instead of mesecons' version, Minor code changes
here and there to facilitate this.
2013-11-30 20:34:55 -05:00
Anthony Zhang
d4f18d08c0 Avoid prepending "Server -!- " to messages sent using the command block. 2013-04-27 16:51:00 -04:00
Anthony Zhang
e45a2a511e Sanity checks for commandblock commands. 2013-04-02 17:15:38 -04:00
Anthony Zhang
2cc38909a1 Add /tellme command to command block. 2013-03-27 21:21:44 -04:00
Anthony Zhang
db90c1cb4b Add /hp command to set the HP of a given player, requires the ban privelege. 2013-03-07 16:47:32 -05:00
Anthony Zhang
3792b692aa Digging and footstep sounds for everything that needs them! Plus, pushing buttons, punching switches, and flipping levers all make sounds. 2013-03-06 20:51:57 -05:00
Anthony Zhang
a9a2108d13 Implement /say and /tell commands to aid mapmakers using command blocks. 2012-12-25 14:26:03 -05:00
Jeija
00e071b695 Cleanup, make and use util.lua, port command block and delayer to nodedef 2012-12-08 21:56:09 +01:00
Anthony Zhang
2d16152188 Add command block:
* not obtainable legitimately in Survival mode
* found in Creative inventory or using /giveme mesecons_commandblock:commandblock_off
* glows slightly when turned on
* runs a command in the context of the targeted player
* player can be targeted by name, or using the special forms (@nearest, @farthest, @random)
* when powered, runs its command with its parameters
* right click to bring up the configuration screen
* diggable and modifiable only by its owner, the person who placed it
2012-10-28 16:31:03 -04:00