Tai @ Flex
ea0d14d312
added space for stylistic imrpovement
2016-11-28 22:51:47 +08:00
Tai @ Flex
9fc3583509
restore code style, adjust further style
2016-11-28 22:40:00 +08:00
Tai @ Flex
bb10d0c9f3
reverting auth change
2016-11-28 22:38:14 +08:00
Tai @ Flex
64ec6ff68f
reinstate the format string unsigned int]
2016-11-28 22:37:01 +08:00
Tai @ Flex
812917fca2
adjust handler registration function name
2016-11-28 19:00:01 +08:00
Tai @ Flex
83dcc44794
ignore vim cache files
2016-11-28 18:59:16 +08:00
Tai @ Flex
73cb4c422d
fixed typo in documentation
2016-11-28 18:57:49 +08:00
Tai @ Flex
60d7a41c8c
De-couple from original code
...
* `api.lua` create separate handler for listing registered nodes, leave the areas list clean
* `hud.lua` call second handler separately
* `api.md` extended and clarified documentaion
2016-11-26 13:48:48 +00:00
Tai @ Flex
4eda120fc1
rename to explicit variables
2016-11-26 13:27:15 +00:00
Tai @ Flex
70ed7e34a0
add API documentation for modding extension
2016-11-26 12:33:27 +00:00
Tai @ Flex
77a30f9e05
commentary
2016-11-26 12:32:11 +00:00
Tai @ Flex
6708c966ca
adjusted handler registration name
2016-11-26 12:23:46 +00:00
Tai @ Flex
e4ac30b7ff
support non-numeric IDs
2016-11-26 12:15:59 +00:00
Tai @ Flex
dedd0ebf6e
Add handler for other mods to advise protection
...
* Allow other mods to register a handler to display protected areas in the hud
* remove the protector mod specific code from this areas code
2016-11-26 12:14:30 +00:00
Tai @ Flex
e1e719b1d6
add mod explicit name
2016-11-26 12:13:33 +00:00
Tai @ Flex
2f802bf780
change from unknown source
2016-11-26 07:20:26 +00:00
Tai @ Flex
45afbfe8a6
add protector blocks to hud
2016-11-26 07:20:23 +00:00
Dorian Wouters
7cb8787beb
Use get_auth_handler().get_auth() instead of auth_table
...
minetest.auth_table is an implementation detail of the default auth handler.
No guarantee is made that it even exists and using this table directly is incompatible
with custom auth handlers. Instead, use the proper auth handler API.
2016-09-03 21:05:52 -04:00
paly2
67507c7591
Fix move_area not updating AreaStore
2016-06-23 15:49:22 -04:00
ShadowNinja
10338cd5d1
Minor isSubarea optimization
2015-10-30 20:31:24 -04:00
est31
8b0b8c1ad2
Add support for the AreaStore API
2015-10-29 16:49:35 -04:00
est31
177f659f4e
Add area_info command
2015-03-01 17:31:41 -05:00
ShadowNinja
0cda67f5c1
Use the HUD alignment field instead of manually calculating offset
2015-01-07 18:31:59 -05:00
ShadowNinja
3f777900d4
Simplify settings definitions and namespace settings
2014-11-17 21:16:59 -05:00
ShadowNinja
e4aef02cb9
Add areas_high_limit privilege for trusted players
2014-11-14 13:21:09 -05:00
ShadowNinja
fe52664043
Add move_area command
2014-11-11 17:27:35 -05:00
ShadowNinja
3666f7debb
Tweak README
2014-10-25 14:00:19 -04:00
ShadowNinja
21c9e6a4c0
Make HUD area list multi-line
2014-10-13 20:32:02 -04:00
ShadowNinja
b3873fcfaf
Make find_areas an admin-only command
...
Some regexes can be very slow.
This also fixes a bug with single-item result sets.
2014-10-04 15:58:50 -04:00
ShadowNinja
9871caf1e2
Copy positions to avaoid multiple references
2014-07-15 15:41:18 -04:00
ShadowNinja
913e1fe6b3
Make legacy table copy entries
2014-07-12 19:18:31 -04:00
ShadowNinja
57c18fce95
Make all admin checks use one table
2014-07-12 19:10:26 -04:00
ShadowNinja
65013863b2
Make canInteractInArea player optional and add an admin check
2014-07-12 19:06:05 -04:00
ShadowNinja
e17cda925b
Add canInteractInArea
2014-07-12 16:37:54 -04:00
ShadowNinja
ee212466bf
Fix add_owner validity check
2014-06-23 15:19:19 -04:00
ShadowNinja
8ee86b2366
Fix rename_area's argument validity check
2014-06-18 19:47:14 -04:00
ShadowNinja
bfb260d181
Fix a indexing bug with change_owner
2014-06-14 22:49:06 -04:00
ShadowNinja
abd6a4c709
Centralize position getting and sorting
2014-05-30 17:41:41 -04:00
ShadowNinja
02905caaeb
Pass messages by return value
2014-05-29 11:04:37 -04:00
Ciaran Gultnieks
4e1aef5491
Fix various readme typos
2014-03-30 13:54:20 -04:00
ShadowNinja
6f31a56594
Tweak HUD area list display
2014-03-30 13:53:56 -04:00
ShadowNinja
ce8891a325
Allow open areas inside closed areas to be used openly
2014-03-23 12:25:44 -04:00
ShadowNinja
78ca95d5b4
Allow protection of intersecting sub-areas and make error message more informative
2014-03-22 23:24:29 -04:00
Ciaran Gultnieks
1a5efd07f1
Allow areas to be optionally open to all other users
...
In other words, you can retain ownership of an area but disable and
re-enable the protection aspect at will, via the area_open chat command.
By default, nothing is any different following this commit - all
existing areas are protected, as are new ones. But you can do (for
example) "area_open 1" and if you're the owner of that area, it's
now possible for other users to interact there. "area_open 1" again to
toggle the protection back on.
Where there are sub-areas, the main owner and ALL sub-area owners at a
particulare location must have set the areas to open to disable
protection.
2014-02-07 18:07:56 -05:00
ShadowNinja
a8e5b90aeb
Don't overwrite area file if serialization fails
2014-02-04 15:11:02 -05:00
ShadowNinja
72d26dad25
Fix self protection max areas off-by-one error
2014-01-15 20:14:24 -05:00
ShadowNinja
54f9f78c4b
Remove redundant if
2014-01-15 20:13:47 -05:00
ShadowNinja
ed7f57bf2f
Add IDs to HUD and areas:getAreasAtPos(pos)
2014-01-15 20:10:24 -05:00
ShadowNinja
f7f4c2ddb5
The length of a table with non-sequential indexes in not defined
2014-01-15 19:32:51 -05:00
ShadowNinja
7df1bbc190
Variable localizations
2013-12-17 20:31:11 -05:00