Commit Graph

38 Commits

Author SHA1 Message Date
Supergoat666
33ce6b25a4 Resolve comments 2020-08-25 02:26:30 +02:00
Supergoat666
aced077da7 Resolve comments 2020-08-25 02:21:05 +02:00
Supergoat666
7a4c992499 save when a faction is disband, change the value of area.faction_open with the old playerfactions version to facilitate the switch into the new one 2020-08-20 18:15:35 +02:00
Supergoat666
8c98db4da4 Add translations 2020-08-18 14:24:04 +02:00
Supergoat666
b21e1891c2 Improve area_faction_open 2020-08-18 13:57:18 +02:00
Supergoat666
04961bee69 Verify that faction exists 2020-07-29 10:00:47 +02:00
Supergoat666
fae1dae051 Enable opening area to many factions 2020-07-29 09:12:16 +02:00
Supergoat666
75a0c60c55 Adapted to integrate the new version of playerfactions (multi-factions mode) 2020-07-28 22:17:55 +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