Commit Graph

77 Commits (22e0d7781714dfef823a451ab25f40780ad47d35)

Author SHA1 Message Date
Tai Kedzierski 22e0d77817 allow guests correctly 2019-01-30 23:33:06 +00:00
Tai Kedzierski 4b7df3c860 Merge branch 'open-towns' 2019-01-30 21:15:40 +00:00
Tai Kedzierski bd8e2e0718 don't list 'town status' in guests 2019-01-30 19:44:57 +00:00
Tai Kedzierski eb72c829e9 do not return after kicking one exiled player 2019-01-30 11:44:49 +00:00
Tai Kedzierski 241d947932 allow listing towns, announce open towns on player join 2019-01-30 10:59:00 +00:00
Tai Kedzierski 976853c6cb Added logging, isolated act_on_behalf, fixed auto kick proximity
Specifically, if a player's spawn is close to a spawn they are banned from,
and they are close to their spawn, we avoid kicking them in loop.
2019-01-30 10:36:26 +00:00
Tai Kedzierski 82f252a713 initialize town lists on data load 2019-01-29 23:22:35 +00:00
Tai Kedzierski 7543d6bbc7 delegated ban should be on towns, not on spawns 2019-01-29 23:16:53 +00:00
Tai Kedzierski 330f06e744 working towns 2019-01-29 22:52:55 +00:00
Tai Kedzierski 17a3f37993 allow admins and moderators not to be banned from towns, prevent self ban 2019-01-29 22:15:01 +00:00
Tai Kedzierski 84edde3d56 working towns 2019-01-28 19:56:33 +00:00
Tai Kedzierski 13044aa68a allow explicit guests to kick from host 2019-01-28 14:18:10 +00:00
Tai Kedzierski 1b55d26eea Untested towns implementation
* Player can allow all players to visit them
* Player can ban/unban visitors, without changing their guest status (and thus bypassing the levvy)
* Exiled players get punted back to their spawn on approaching exile location
2019-01-28 14:00:34 +00:00
Tai Kedzierski 877e0f578b remove debug output, save spawn on admin reset 2019-01-26 15:54:03 +00:00
Tai Kedzierski 575ab03ec3 allow resetting player's spawn when offline 2019-01-24 23:59:54 +00:00
Tai Kedzierski 535a7e950d check arguments length in spawn command 2019-01-24 10:16:05 +00:00
Tai Kedzierski 18896e3ea5 fix splitstring bug 2019-01-24 00:39:27 +00:00
Tai Kedzierski aed3c6bf1e rename feature from "invites" to "guestlists", adjust readme 2019-01-24 00:21:05 +00:00
Tai Kedzierski 7370847ebf Merge branch 'guestlists' 2019-01-24 00:12:44 +00:00
Tai Kedzierski 4a1282dbe8 fix save, host listing and levvy reconsumption bug 2019-01-24 00:12:22 +00:00
Tai Kedzierski 9143edb1aa fix reconcile 2019-01-23 23:23:00 +00:00
Tai Kedzierski 9ea24ce8ce added commands and reconcile original to guestlist 2019-01-23 22:47:08 +00:00
Tai Kedzierski bbb82cc891 initial guestlists implementation 2019-01-23 20:49:39 +00:00
Tai Kedzierski 28463bf458 allow rewriting player's original spawn 2019-01-19 17:33:39 +00:00
Tai Kedzierski df5b444f83 correct setting type 2019-01-17 02:50:37 +00:00
Tai Kedzierski d59861b0aa fix default bed respawn setting 2019-01-16 00:51:10 +00:00
Tai Kedzierski 3585cd2d55 fix setting retrieval 2019-01-13 13:21:37 +00:00
Tai Kedzierski 9d2998d9dd add warning information to notify of problems, fix respawn with no spawn 2019-01-13 13:19:18 +00:00
Tai Kedzierski 0a25c615ea fix setting spawn for absent player, add goto players spawn 2019-01-12 15:56:45 +00:00
Tai Kedzierski dd238cb2a8 fix custom spawn generation coords global var access 2019-01-12 13:19:47 +00:00
Tai Kedzierski 807ded45f8 Add configurable minx/maxx/minz/maxz settings
https://forum.minetest.net/viewtopic.php?p=340572#p340572
2019-01-10 10:20:14 +00:00
Tai Kedzierski dc93d30155 configurable cooldown time 2019-01-09 15:09:10 +00:00
Tai Kedzierski f216ebd049 remove allowing spawns in admin protected areas 2019-01-09 14:26:15 +00:00
Tai Kedzierski f03fca14d1 change default levvy to 10 cobble 2019-01-09 14:20:02 +00:00
Tai Kedzierski c7bfa1a62f localize accidentally global variable 2019-01-05 20:00:11 +00:00
Tai Kedzierski 015f6346c3 base implementation allowing players to return to their original spawns 2019-01-04 00:47:48 +00:00
Tai Kedzierski db7b6baa30 add troubleshooting to readme 2019-01-03 11:55:37 +00:00
Tai Kedzierski ee2de274b7 Record original spawns
* Record players original spawns so they can be restored after they accept an invite
* Allow admins to reset players' original spawns
2019-01-02 18:46:51 +00:00
Tai Kedzierski f64c2a5481 allow any item to be levvied 2019-01-02 17:51:18 +00:00
Tai Kedzierski 0589edbcf9 fixed non-transient forceloadds, fixed offline player bugs 2019-01-02 17:37:35 +00:00
Tai Kedzierski b298d680cf Add player invites
* Allow players to invite others to use their spawn (permanently)
* change pregeneration to be actioned relative to frequency
2019-01-02 17:11:23 +00:00
Tai Kedzierski e3c57fc241 WIP 2018-12-31 21:30:02 +00:00
Tai Kedzierski 757fcbcfaf add block when player spawns 2018-12-29 20:30:39 +00:00
Tai Kedzierski f0d4004f45 add default spawn block 2018-12-29 20:24:45 +00:00
Tai Kedzierski 49179a886f Change mention
This is so far from everamzah's mod it's pretty much unrelated ...
2018-12-29 18:24:42 +00:00
Tai Kedzierski 893a1241d5 ensure spawn pregenerated at start 2018-12-29 17:10:12 +00:00
Tai Kedzierski 3941c7de67 adjust readme notes 2018-12-29 16:44:05 +00:00
Tai Kedzierski 4b1c6bac85 Pregenerate spawn points
Overhaul of mod to pre-generate static spawnpoints at intervals and save between server reboots.

* The spawn points are generated in the background on a timer, up to a maximum count
* Players requesting a new spawn point will receive it immediately, if there is one available
2018-12-29 16:40:32 +00:00
Tai Kedzierski f4f6d6ce43 isolate debugging for configurability 2018-12-29 12:54:23 +00:00
Tai Kedzierski 823073dffb Ensure player spawns above sea level
* Disable spawning under the water_level
* Fix bug where if first try to find spawn location succeeded, it would not set the position
2018-12-28 23:37:29 +00:00