Page 1 of 1

[Mod] Spawn command [0.1][spawn_command]

PostPosted: Mon Dec 01, 2014 19:24
by lag01
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)

Re: [Mod] Spawn command [0.1][spawn_command]

PostPosted: Wed Dec 03, 2014 17:39
by Krock
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

Re: [Mod] Spawn command [0.1][spawn_command]

PostPosted: Wed Dec 03, 2014 19:51
by lag01
Krock 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.


I edited it, so now it uses parameter static_spawnpoint from minetest.conf
When i was making this mod, i had in mind multiplayer game...

Re: [Mod] Spawn command [0.1][spawn_command]

PostPosted: Thu Dec 04, 2014 00:44
by Zeno
My server has two spawn points. One for those with interact and another for those without ;)

Re: [Mod] Spawn command [0.1][spawn_command]

PostPosted: Wed Nov 25, 2015 20:05
by amadin
May you add timeout for using /spawn?