taikedz
f666465cdf
Issue #6 - prevent infinite recursion in set_newplayer_spawn
2021-10-22 15:42:15 +01:00
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
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
aed3c6bf1e
rename feature from "invites" to "guestlists", adjust readme
2019-01-24 00:21:05 +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
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
f216ebd049
remove allowing spawns in admin protected areas
2019-01-09 14:26:15 +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
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
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
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
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
Tai Kedzierski
56978417d0
fix newspawn timeout callback, delay player onjoin spawn call
2018-12-28 05:17:16 +00:00
Tai Kedzierski
dd9dc76a25
fix the light level search bug that prevented finding matches
2018-12-28 04:12:50 +00:00
Tai Kedzierski
7b87f59153
modularize, try to improve emergence
2018-12-28 03:55:00 +00:00
Tai @ Flex
d5474b8096
turn off debug lines
2017-02-03 12:24:40 +00:00
Tai @ Flex
121d336c75
enable bedspawn by default
2017-01-31 18:20:24 +00:00
Tai @ Flex
c525d87d7c
add a spawn_anywhere setting
2017-01-31 18:08:53 +00:00
Tai @ Flex
076c91d5de
let game do initial placement. better when with valleys mapgen
2017-01-14 15:57:37 +00:00
Tai @ Flex
511cc82f5a
return position even on error
2017-01-14 11:53:36 +00:00
Tai @ Flex
c5dfff347b
add setting spawn
2017-01-14 00:20:06 +00:00
Tai @ Flex
448704f9c8
integrate bed respawning
2017-01-14 00:11:59 +00:00
Tai @ Flex
a8b6568cbb
add respawn on death
2017-01-13 23:16:29 +00:00
Tai @ Flex
56a8e88ec8
use randomization around static_spawnpoint
2017-01-13 23:00:48 +00:00
Tai @ Flex
1e5ffcb1f6
Admin-aware, dont expose newspawn when spawn point is defined
2017-01-13 22:15:45 +00:00
Tai @ Flex
77ce167ca8
save spawn data to file
2017-01-13 22:03:36 +00:00
Tai @ Flex
655caf802e
teleport renewal
2017-01-13 16:13:54 +00:00
Tai @ Flex
3bbff92c67
dont spawn into protected areas
2017-01-13 16:08:54 +00:00
Tai @ Flex
30b950c77a
randomized spawns if no fixed spawn defined
2017-01-13 16:07:17 +00:00
James Stevenson
7e54356b8d
Initial commit.
2016-07-09 11:22:49 -04:00