[Mod] Spawn command [0.1][spawn_command]

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

[Mod] Spawn command [0.1][spawn_command]

by lag01 » Post

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: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

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

by Krock » Post

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.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
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]

by lag01 » Post

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-
Location: Australia

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

by Zeno » Post

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

amadin
Member
Posts: 549
Joined: Tue Jun 16, 2015 16:23

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

by amadin » Post

May you add timeout for using /spawn?

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 22 guests