Commit Graph

70 Commits

Author SHA1 Message Date
Joseph Pickard
e93e5c0a08 Merge branch 'worldedit_dev' into worldedit 2016-02-07 11:32:46 -05:00
Joseph Pickard
a7df7000fa Removed semicolons.
All access to the area positions are now done through functions.
2016-02-07 11:24:56 -05:00
Joseph Pickard
79821b0892 Added optional support for using worledit for selections. 2016-01-17 19:33:13 -05:00
Joseph Pickard
609ad76a51 Fixed a typo. 2016-01-10 16:01:04 -05:00
Joseph Pickard
f77d7743eb Fix problem with setting worldedit selection. 2016-01-10 15:56:06 -05:00
Joseph Pickard
6bba3ad794 2016-01-10 15:51:15 -05:00
Joseph Pickard
c2fafceb86 2016-01-10 15:41:41 -05:00
Joseph Pickard
2dc928a7bf 2016-01-10 13:56:11 -05:00
Joseph Pickard
7a400bb1b9 Fixed useWorldedit function. 2016-01-10 13:24:22 -05:00
Joseph Pickard
e1e83c71da Merge branch 'master' of https://github.com/ShadowNinja/areas 2016-01-09 11:36:02 -05:00
Joseph Pickard
d3b91a2aeb Added optional worldedit dependency and used it for selection. 2016-01-09 11:30:03 -05: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
ShadowNinja
e73b8c82f9 Remove empty depends.txt 2013-12-16 17:22:57 -05:00
ShadowNinja
25556939f5 Allow adding areas with owner_defs 2013-12-16 17:18:15 -05:00
ShadowNinja
b3dbbc45f8 Remove temporary area id removal code 2013-12-15 18:22:22 -05:00
ShadowNinja
a747c2f505 Remove legacy protection method 2013-12-15 17:47:56 -05:00
ShadowNinja
db1d87c008 Fix /find_areas invalid regular expression crash 2013-11-18 21:16:06 -05:00
ShadowNinja
0d0215200c Move the HUD display up to not cover the hotbar 2013-11-18 21:12:27 -05:00
ShadowNinja
38dc65eb8e Revert "Fix possible hud vector error"
This was fixed upstream in builtin.
This reverts commit 1a8efa9916.
2013-11-18 21:12:27 -05:00
ShadowNinja
f096fb4dbb Use table indices as IDs
This significantly optimizes a lot of operations and removes redundancy.
2013-11-18 21:12:09 -05:00
ShadowNinja
f98312fe10 Optimize area and index finding 2013-11-18 17:57:32 -05:00