rspawn/README.md

38 lines
1.8 KiB
Markdown
Raw Normal View History

2017-01-13 14:18:02 -08:00
# r-Spawn for Minetest
2017-01-31 10:17:42 -08:00
A spawn command for Minetest without needing a fixed point -- `singleplayer` rejoice!
2017-01-13 14:18:02 -08:00
Players are each given their own randomized spawn point near the spawn origin on first joining. If no `static_spawnpoint` is defined in `minetest.conf`, the origin is 0,0,0. If static spawn point is defined, that point is used as origin instead.
2017-01-13 14:18:02 -08:00
## Features
2017-01-13 15:01:19 -08:00
* A normal game in singleplayer mode will still alow the player access to a spawn location
2017-01-13 16:11:59 -08:00
* Player will respawn at their spawnpoint if they die.
2017-01-31 10:20:55 -08:00
* Players will respawn at their bed if this option is active (default `bedspawn = true`)
2017-01-13 16:11:59 -08:00
* Their `/spawn` location will still be the randomized location.
* Players will not spawn in spaces that are protected by any other player than the Server Admin.
* Additional commands
* Players can request a new spawn point by typing `/newspawn` if they have the `newspawn` privilege.
2017-01-31 10:08:53 -08:00
* Players can set their spawn point by typing `/setspawn` if they have the `setspawn` privelege.
* Secondary mode: `spawn_anywhere`
### Spawn Anywhere
2017-01-31 10:12:10 -08:00
If `spawn_anywhere` is set in minetest.conf, any *new* player will be given a spawn point anywhere in the world. In the case of a server, players can be given spawns very far from eachother, and maybe not meet anybody for a long time ...!
## Considerations for a server
If running on a server consider the following
2017-01-31 10:08:53 -08:00
* make sure the space around the origin is clear of ownership, or is owned by the server admin
* make sure there is sufficient space (try for 32 nodes radius around and above origin) and walkable nodes in the area
Failure to take these into consideration will often mean that the calculation of a new spawn point will take longer and be more processor-intense.
2017-01-13 15:16:29 -08:00
2017-01-13 14:18:02 -08:00
## License
(C) 2017 Tai "DuCake" Kedzierski
2017-01-13 15:01:19 -08:00
based originally on the mod uploaded by everamzah
2017-01-13 14:18:02 -08:00
Provided under the terms of the LGPL v3.0