Commit Graph

122 Commits

Author SHA1 Message Date
sfan5 60b6b205ad Add nil checks around get_player_by_name()
in case someone uses the commands from ncurses
2024-04-22 18:10:30 +02:00
sfan5 1d8d9a704f Introduce type parameter for worldedit.player_notify 2024-04-22 17:42:26 +02:00
sfan5 dc1150fe3d Split up init.lua in worldedit_commands 2024-04-22 00:00:51 +02:00
sfan5 4b470bdae6 Put commands into categories for //help 2024-04-21 23:00:48 +02:00
sfan5 75d101116d Display aliases in //help output nicer 2024-04-20 20:39:34 +02:00
imre84 883caff58d
Make //lua work with expressions as well (#243) 2024-04-20 20:00:41 +02:00
sfan5 41d53180b1 Colorize command references in chat output 2024-04-20 14:22:46 +02:00
sfan5 5914eab20b Abort a delayed operation if positions change
fixes #236
2024-04-20 13:45:00 +02:00
Andrey Andreyevich Bienkowski b90eeb1e68
Fix incorrect translation syntax
Worldedit was causing a crash when I used the "inspector" feature.
2023-12-13 17:34:09 +01:00
sfan5 17df0bbf71 Fix an issue with translations and update template 2023-10-30 16:53:12 +01:00
Alexander Chibrikin ccfb6b4d61
Translate `worldedit_commands` (#229) 2023-10-23 20:52:04 +02:00
HybridDog 689ff90a78
Remove unused variables and assignments 2023-06-19 18:24:31 +02:00
HybridDog 375fbf3c68 Remove trailing whitespaces 2023-06-09 19:51:10 +02:00
sfan5 7f7e928dd9 Switch bare vectors to vector.new() 2023-06-09 14:49:58 +02:00
sfan5 7a645eba05 Improve loading and error handling for schematics 2023-06-07 11:41:10 +02:00
sfan5 9417f2bbf1 Harden //mtschemprob against incorrect input
closes #216
2023-03-22 21:26:53 +01:00
sfan5 867cd6edc7 Improve node name normalization again
so that "desert stone" won't select "desert stone block"
2020-05-12 21:53:01 +02:00
sfan5 edd27636a6 Do not allow //mix with no nodes 2020-05-09 22:34:29 +02:00
sfan5 7d0811fd47 Update help texts to be consistent 2020-04-26 16:53:55 +02:00
sfan5 0f5dcc790d Implement //clearcut to delete trees, plants from generated terrain
closes #165
2020-04-07 03:05:30 +02:00
sfan5 9b26034aea Move worldedit.marker_update
Markers are part of the UI (`worldedit_chatcommands`) and do not belong in `worldedit`.
2020-04-07 00:14:31 +02:00
sfan5 5e8bfd5166 Improve node name normalization in case of multi-line descriptions 2020-03-29 21:55:47 +02:00
sfan5 116ae25ebd Unbreak //move (closes #188) 2019-12-20 20:29:41 +01:00
sfan5 974dcaa918 Improve nodename normalization in some cases 2019-12-19 16:58:33 +01:00
sfan5 abdecd4239 Fix some broken commands
This happens when you don't test.
2019-12-19 16:45:38 +01:00
sfan5 91d02f6f5b Rewrite command registration 2019-12-19 15:13:55 +01:00
sfan5 adab528f8a Fix nodename normalization with translated descriptions 2019-09-18 18:48:31 +02:00
sfan5 68f7bcc728 Warn when "misaligned" schematics are created
The underlying issue is the size detection worldedit.allocate does
and can't be fixed or worked around in a simple way.
2019-09-09 01:07:17 +02:00
sfan5 0919f7cab3 Clean up command code for //stack, //stack2 2019-09-08 22:14:07 +02:00
sfan5 0edcd1a59d Fix crash on loading invalid schematic (fixes #160) 2019-09-06 17:56:11 +02:00
sfan5 f589c988b1 Handle invalid //rotate usage gracefully, fixes #150 2019-07-17 02:35:57 +02:00
sfan5 0a16f11d93 Replace more deprecated functions 2019-07-17 02:06:29 +02:00
Panquesito7 3ffecdd9c4 Replace deprecated functions with newer ones
These commits create compatibility with MT/MTG 5.0.0+.
However, these commits may/will break with the 0.4-series.
2019-07-17 01:23:40 +02:00
sfan5 4f2c7b18cc Fix //allocate with 0 nodes 2019-07-17 01:20:40 +02:00
sfan5 f242f2f722
Change description for //about, fix #170 2018-12-08 21:52:36 +01:00
sfan5 b2b2b9364d Warn about invalid //stretch usage 2018-11-15 20:49:19 +01:00
Starbeamrainbowlabs b37605943b //mix: Add node weighting support 2018-10-29 00:36:33 +01:00
sfan5 12270dc094 Correct spelling of Minetest 2017-11-07 14:20:50 +01:00
sfan5 415000e797 Fix a few assignments to undeclared globals 2017-11-07 14:19:57 +01:00
sfan5 4605596215 Fix assignment to undeclared global "sign" @ worldedit_commands/init.lua:791 2017-09-12 14:58:26 +02:00
sfan5 283f47f10d Fix invalid node error message of //set and //mix 2017-09-12 14:56:01 +02:00
Wuzzy 3c61759bae Allow to bulk-set param2 of regions (#144) 2017-09-05 14:40:46 +02:00
sfan5 2cb3fcde66 Improve node name normalization 2017-08-31 20:38:38 +02:00
sfan5 870873ad15 Add //hollowcube and //cube
closes #143
2017-08-31 19:08:10 +02:00
Kyle bf8e2a8233 Dual-based cylinder 2017-08-31 16:25:22 +02:00
shivajiva101 acc9188828 Add logging for //lua and //luatransform 2017-05-21 17:31:59 +02:00
sfan5 ea465f8fe4 Remove useless privilege checks
This is covered by the privs = {...},
2017-05-13 11:51:36 +02:00
sfan5 bcac45a476 Fix "safe region" functionality errornously rejecting pos1-only commands (e.g. //sphere) 2017-01-31 19:52:54 +01:00
sfan5 426f3b949f Show light level a node receives with //inspect, fixes #128 2017-01-26 22:27:30 +01:00
sfan5 78e4ba828e Show light level with //inspect 2017-01-03 17:11:38 +01:00