Simple mod, to move players to start point (set statically (0,3,0) for now), when they type /spawn command.
Weirdly, i saw /spawn command on some servers and implementing it is very simple, but i have not found mod for this...
This mod code is licensed under the GNU LGPLv2.1 or later.
Mod dependencies: none (Should i add empty depends.txt? It works fine without it...)
Code: https://github.com/AndrejIT/spawn_command
Download: https://github.com/AndrejIT/spawn_comma ... master.zip (don't forget rename folder to spawn_command)
[Mod] Spawn command [0.1][spawn_command]
- Krock
- Developer
- Posts: 4683
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: [Mod] Spawn command [0.1][spawn_command]
Some spawn mods
Please add a command to switch the spawn, so it's not required to edit the file.
Also, replace the "minetest.env:" with "minetest.", it's deprecated.
EDIT: Update link
Please add a command to switch the spawn, so it's not required to edit the file.
Also, replace the "minetest.env:" with "minetest.", it's deprecated.
EDIT: Update link
Last edited by Krock on Sun Jul 01, 2018 16:30, edited 1 time in total.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
- lag01
- Member
- Posts: 321
- Joined: Sun Mar 16, 2014 03:41
- GitHub: AndrejIT
- IRC: lag01
- In-game: lag
- Contact:
Re: [Mod] Spawn command [0.1][spawn_command]
I edited it, so now it uses parameter static_spawnpoint from minetest.confKrock wrote:Some spawn mods
Please add a command to switch the spawn, so it's not required to edit the file.
Also, replace the "minetest.env:" with "minetest.", it's deprecated.
When i was making this mod, i had in mind multiplayer game...
Re: [Mod] Spawn command [0.1][spawn_command]
My server has two spawn points. One for those with interact and another for those without ;)
Re: [Mod] Spawn command [0.1][spawn_command]
May you add timeout for using /spawn?