Commit Graph

11 Commits (master)

Author SHA1 Message Date
mckaygerhard 73225604e6 radio area spawn automatic detection feature, with reposition player if fails
* define spawn area from settings
* autodetect limit of world and limit the radio spawn area to this
* if radious area is big limit to almost the border
* if radious area is small limit to almost 600
* disable if radio is too small or less than 3
2022-08-09 14:32:42 -04:00
mckaygerhard 42624f02fe configurable send notificaicon about spawn point privatelly 2022-02-24 14:13:05 -04:00
mckaygerhard 7af1f6fb1b send messages of notification to users about new spawn point will be set
* send notificaicon about spawn point but privatelly
* log action and log error if no bed valid position are found
2022-02-24 13:22:05 -04:00
mckaygerhard 799d13ce3b improve beds detection and rewspam fixed if re-joins with no dead
* when player re joins, respawn agains so remove code for rejoin
* player must be in same position form last time if are alive
* improve commit 2b50e329f0 and 004e8dabe7 due we need beds checks
* depends.txtx abd make beds optional so we can chek the beds global var
* return true when finished the respawn find ground.. i dont know but works
* that return is need in the respawn callback function of the player
2022-01-08 22:14:46 -05:00
mckaygerhard 004e8dabe7 fix and autodetection of beds support
* mod is autodetected and also detect if are already enabled
* fixed mod position when bed are available only if player has it
* fixed player respawn on dead.. must have else for no beds of player
* closed fixed close https://github.com/NathanSalapat/random_spawn/issues/1
* close fixed closed https://codeberg.org/minenux/minetest-mod-spawnrand/issues/3
* property fixed adn closed https://codeberg.org/minenux/minetest-mod-spawnrand/issues/1
2022-01-05 13:47:51 -05:00
root 2b50e329f0 added support to rewspawn at killed, take in consideration beds 2021-10-15 23:53:08 -04:00
root 9c23c69a01 rand on new player, rename original random_spawn to spawnrand
* added minetest.register_on_joinplayer callback to randomized new player
* renaming to plan to use two kind of spawn mods.. this is for randown
* rename random_spawn to spawnrand
* reduce time wait to .1 second if no ground valid
* reduce time to search from 30 times cicle to 20
2021-10-15 23:38:24 -04:00
NathanSalapat 08e113f867 finished, I think. 2017-05-27 14:57:56 -05:00
NathanSalapat 1fc90a27fe initial protection checks. 2017-05-27 13:47:01 -05:00
NathanSalapat f09834b5ba with luck this works. 2017-05-27 13:00:27 -05:00
NathanSalapat b3f8e0a1c3 initial commit. 2017-05-27 12:13:44 -05:00