[Mod] Spawn command [0.1][spawn_command]

User avatar
lag01
Member
 
Posts: 190
Joined: Sun Mar 16, 2014 03:41
GitHub: AndrejIT
IRC: lag01
In-game: lag

[Mod] Spawn command [0.1][spawn_command]

by lag01 » Mon Dec 01, 2014 19:24

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)
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

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

by Krock » Wed Dec 03, 2014 17:39

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.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
lag01
Member
 
Posts: 190
Joined: Sun Mar 16, 2014 03:41
GitHub: AndrejIT
IRC: lag01
In-game: lag

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

by lag01 » Wed Dec 03, 2014 19:51

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...
 

Zeno
Member
 
Posts: 140
Joined: Sun Jun 29, 2014 03:36
GitHub: Zeno-

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

by Zeno » Thu Dec 04, 2014 00:44

My server has two spawn points. One for those with interact and another for those without ;)
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

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

by amadin » Wed Nov 25, 2015 20:05

May you add timeout for using /spawn?
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 38 guests

cron