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
57c18fce95
Make all admin checks use one table
2014-07-12 19:10:26 -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
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