Commit Graph

84 Commits (master)

Author SHA1 Message Date
taikedz 38f74c8451 Fix to workaround #13 when a node seems undefined 2021-10-29 17:15:09 +01:00
Tai Kedzierski 677442f7f8
Merge pull request #12 from minenux/master-fix-content-ignore
fix for CONTENT_IGNORE cos try to replace already defined node with nil (fix #11)
2021-10-25 19:32:05 +01:00
mckaygerhard 92d4d85ab4 fix for CONTENT_IGNORE cos try to replace already defined node with nil
* check if the `rspawn.spawn_block` is defined and check if valid
* so then `rspawn.spawn_block` is used at `set_default_node` legally
* then `minetest.set_node(pos, {name=rspawn.spawn_block})` can work
* this closes closed https://github.com/taikedz-mt/rspawn/issues/11
2021-10-22 13:53:13 -05:00
taikedz f666465cdf Issue #6 - prevent infinite recursion in set_newplayer_spawn 2021-10-22 15:42:15 +01:00
Tai Kedzierski 60795a69e5
Merge pull request #9 from minenux/master-fix-areavolume-excedes
limit the altitude due it multiplies twice and generated a big area
2021-10-22 12:21:30 +01:00
mckaygerhard 4cb2b7a457 limit the altitude due it multiplies twice and generated a big area
* just use a altitude of same area, above water if spawn anywhere is disable
* it generated too much counts, so we must limit the `altitude`..
* old code just multiplice the ratius in altitude..
* ...that will make the `find_nodes_in_area` search a big amount of area in air:
* closed closes https://codeberg.org/minenux/spawnnew/issues/7
* closed closes https://github.com/taikedz-mt/rspawn/issues/8
2021-10-21 15:19:21 -05:00
Tai Kedzierski 4a643afeba Implemented suggestion from '#2 spawn_block function should ignore snow' 2019-03-06 11:47:14 +00:00
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