1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-11-13 06:00:19 +01:00
Commit Graph

170 Commits

Author SHA1 Message Date
khonkhortisan
8bdb7f67d6 Use worldedit.can_edit_volume for more commands (needs testing)
Without the server privilege, files will be saved as worldedit.[we|mts]
Ran into the problem of minetest.place_schematic not having a bounding box
2014-04-21 13:28:10 -07:00
khonkhortisan
c473fbb6c1 //set appears to respect area ownership
hard depend on commonlib to soft depend on areas
2014-04-19 17:15:25 -07:00
khonkhortisan
11647fca93 preemtive optimization - caching a per-node player permission check
before the function actually works
2014-04-18 18:30:26 -07:00
khonkhortisan
bde3281508 copy .privs with .can_edit_volume for a function wrapper
as well as a conditional for good measure.
2014-04-18 18:21:08 -07:00
khonkhortisan
098051d25e Respond correctly if .can_edit_volume is called outside of .privs
I can't think of why that would happen.
2014-04-18 17:02:36 -07:00
khonkhortisan
88e4c635aa Run worldedit.privs inside and outside of worldedit.can_edit_volume
Never run worldedit.can_edit_volume without worldedit.privs surrounding
it
2014-04-18 16:52:34 -07:00
khonkhortisan
4b80eb82cc Allow using worldedit.privs() in an if statement
or with a function argument.
2014-04-18 13:23:13 -07:00
khonkhortisan
4475909a97 Disable node inspection on use if it was enabled before the worldedit privilege was removed from a player to prevent spamming. 2014-04-18 13:06:55 -07:00
khonkhortisan
7083a26e72 Second function wrapper 2014-04-17 12:35:15 -07:00
khonkhortisan
1d71e602b8 add a second depend 2014-04-17 10:45:24 -07:00
khonkhortisan
df159efcee Check privs not just during registration of chatcommands
Creative mode could change while the server is running.
2014-04-17 10:37:24 -07:00
khonkhortisan
ae5a7376c0 Require the "server" privilege for commands that write to files (but not
for reads)
Inconsistently require the "worldedit" privilege, based on creative mode
and the existence of a land ownership mod.
2014-04-16 18:54:16 -07:00
khonkhortisan
f2436db108 Use old behaviour when not in creative mode. 2014-04-16 14:01:40 -07:00
khonkhortisan
12424c584f Initial pseudocode 2014-04-16 13:35:46 -07:00
Uberi
2784a25561 Fix region checking (thanks PenguinDad). 2014-03-15 14:28:47 -04:00
Uberi
b29523db4d Implement full size checking for every possible command. 2014-03-12 16:11:00 -04:00
Uberi
0dddffa544 Add warning for really huge regions. 2014-03-10 17:58:15 -04:00
Anthony
b8b8db42bf Merge pull request #36 from spillz/master
Fix incorrect fixedpos var names in the GUI form
2014-02-24 09:46:26 -05:00
spillz
18417ff4fd Fix incorrect fixedpos var names in the GUI form
worldedit_gui_fixed_* -> worldedit_gui_fixedpos_*

Makes setting a fixed position in the GUI work correctly
2014-02-23 20:31:09 -05:00
Uberi
84f0e23d6c Add worldedit_shortcommands, which adds aliases to commonly used chat commands that allow users to type in long command names faster. Idea is courtesy of @electricface.
For example, `//move ? 5` can now be written as `//m ? 5`.
2014-02-23 14:16:22 -05:00
Uberi
be913e6d8b Fix chat commands display. 2014-01-28 14:14:36 -05:00
Anthony
82f39460cc Merge pull request #33 from electricface/master
//fixedpos No commas between the numbers
2014-01-27 22:41:26 -08:00
electricface
6b50025ccc //fixedpos No commas between the numbers 2014-01-28 12:23:47 +08:00
Anthony
829f9eef73 Merge pull request #32 from ShadowNinja/admin-only-lua
Make /lua and /luatransform administrator-only
2014-01-21 18:42:16 -08:00
ShadowNinja
f8d3614a32 Make /lua and /luatransform administrator-only 2014-01-21 11:14:24 -05:00
Uberi
86d35e97bf Fix for player signing off before WorldEdit GUI has finished loading. 2014-01-19 00:12:34 -05:00
Anthony
277b57a82a Merge pull request #28 from cheapie/master
Added compatibility with my version of creative_inventory.
2014-01-02 21:58:30 -08:00
Carter Kolwey
d2635544c6 Added compatibility with my version of creative_inventory. 2014-01-02 22:17:25 -06:00
Uberi
2ac049c823 Oops, broke the back button with that last commit. 2014-01-02 18:17:28 -05:00
Uberi
d73b93d8dd Fix the creative inventory being borked if neither Unified Inventory or Inventory++ is installed (thanks cheapie!). 2014-01-02 18:03:52 -05:00
Uberi
8c0b61194c The WorldEdit GUI now has no hard dependencies. 2013-12-30 14:27:47 -05:00
Uberi
2e41f0076d Mark the region with an entity cube. 2013-12-24 14:07:42 -05:00
Uberi
2fcea5a3c0 Add a screenshot to the README. 2013-12-22 13:51:50 -05:00
Uberi
df6ab06e74 Update worldedit_gui to work with latest unified_inventory (thanks LazyJ!). 2013-12-22 13:48:56 -05:00
Anthony
4e78ced693 Merge pull request #26 from kaeza/wut
Fix crashes in GUI button.
2013-12-22 09:52:17 -08:00
kaeza
ad299cacc5 Fix crashes in GUI button. 2013-12-21 03:06:32 -02:00
Uberi
06cb2934b1 Full unified_inventory and inventory_plus support! 2013-12-20 19:50:13 -05:00
Uberi
c48cf3c051 All commands in WorldEdit are now accessible through WorldEdit GUI, except the MT Schematics stuff. 2013-12-20 18:42:47 -05:00
Uberi
674d6473e4 Improve node inspector to show player axis, replace //scale with //stretch, which supports per-axis stretching (full backwards compatibility retained), and secure schematic file loading functions. 2013-12-20 18:41:13 -05:00
Uberi
3767ea84d2 Include WorldEdit GUI in the documentation, improve privilege handling, simplify main dialog. 2013-12-18 15:56:50 -05:00
Uberi
36424e3dec Improve worldedit.spiral and the WorldEdit GUI, 2013-12-16 18:55:56 -05:00
Uberi
3cffae4948 Implement copy/move in the WorldEdit GUI. 2013-12-15 16:56:37 -05:00
Uberi
a4881225a4 Merge fixedpos and position dialogs in worldedit_gui, add cylinder dialog. 2013-12-15 16:33:39 -05:00
Uberi
0797c47afb Fix worldedit.hollow_cylinder. 2013-12-15 16:33:31 -05:00
Uberi
89d4548595 More improvements to worldedit_gui 2013-12-12 16:28:00 -05:00
Uberi
6c03ab9c4a Refine GUI. 2013-12-12 15:34:05 -05:00
Uberi
dbc2348014 Better installation instructions. 2013-12-11 15:58:58 -05:00
Uberi
3fa9dfd19c Improve worldedit_gui. 2013-12-10 17:07:10 -05:00
Uberi
d4b39cba9b WorldEdit GUI is now live! Currently under construction. 2013-12-10 01:58:53 -05:00
Uberi
ac7430e02f Version information is now available via the API. 2013-12-10 01:47:32 -05:00