Commit Graph

35 Commits

Author SHA1 Message Date
1F616EMO
c68a23eed8
Allow admins to list all areas if they want to 2024-10-29 16:57:16 +08:00
SmallJoker
c044d49d21
Short summary print in /list_areas for admins (#72) 2024-02-24 11:46:45 +01:00
fluxionary
c8cf4aba92
Fix orthography (it's -> its) (#65) 2023-08-26 11:40:59 +02:00
fluxionary
d464d3484f
Fix chat command typo (#64) 2022-11-07 19:59:25 +01:00
Kalio_42
c167b30ebf
Adapt to the new version of playerfactions (#48)
Enable to open an area to many factions
    Update to adapt to the new version of playerfactions mod, with its new multi-faction mode
2020-09-05 18:49:17 +02:00
MoNTE48
aa3e35acbe /areas_cleanup for removing ownerless areas 2020-06-04 20:36:12 +02:00
MoNTE48
800a93f5ee Minor cleanup 2020-06-04 20:36:12 +02:00
Louis Royer
448fe3ebf1 Rework on messages displayed
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2020-03-19 22:46:22 +01:00
Louis Royer
4179917eb4 Add translation support 2020-03-19 22:46:22 +01:00
Alden Peeters
aca830fd22 Add support for playerfactions mod (#37)
Add faction indicator to HUD
2019-09-21 15:33:42 +02:00
Auke Kok
6e2b9a0a51 Needs to be defined earlier. 2019-04-03 10:24:02 -07:00
paly2
67507c7591 Fix move_area not updating AreaStore 2016-06-23 15:49:22 -04:00
est31
177f659f4e Add area_info command 2015-03-01 17:31:41 -05:00
ShadowNinja
3f777900d4 Simplify settings definitions and namespace settings 2014-11-17 21:16:59 -05:00
ShadowNinja
fe52664043 Add move_area command 2014-11-11 17:27:35 -05: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
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