[Mod] Spawn command [0.1][spawn_command]

User avatar
lag01
Member
 
Posts: 293
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
Developer
 
Posts: 4141
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
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.

EDIT: Update link
Last edited by Krock on Sun Jul 01, 2018 16:30, edited 1 time in total.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
lag01
Member
 
Posts: 293
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
Location: Australia
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: 544
Joined: Tue Jun 16, 2015 16:23
 


Return to Mod Releases



Who is online

Users browsing this forum: Chibi ghost and 10 guests