Commit Graph

13 Commits

Author SHA1 Message Date
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
db1d87c008 Fix /find_areas invalid regular expression crash 2013-11-18 21:16:06 -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
810a706e5f Show sub-areas in /list_areas 2013-11-18 17:45:44 -05:00
ShadowNinja
8765a5e619 Fix help text (set_owner -> add_owner) 2013-11-17 12:40:25 -05:00
ShadowNinja
790ed15594 Chat command regex tweaks 2013-11-14 19:15:26 -05:00
ShadowNinja
7bfe20661d Code tweaks 2013-11-08 15:11:11 -05:00
ShadowNinja
ad3aaad8a8 Fix typo 2013-11-08 14:45:17 -05:00
ShadowNinja
0c20a1b616 Show area owners on the hud (inspired by landrush) 2013-09-26 10:30:36 -04:00
ShadowNinja
d026b42a79 Add README 2013-09-15 17:44:22 -04:00
ShadowNinja
b1a4f878ef Fix rename_area and buildable_to nodes on the edges of areas 2013-09-03 17:09:11 -04:00
ShadowNinja
7b0ff512f7 Shorten lines 2013-09-03 01:33:08 -04:00
ShadowNinja
4ae050a3ae Initial commit 2013-09-02 19:16:14 -04:00