Page 1 of 1

How Do You Make And Upload A Mod?

PostPosted: Thu May 29, 2014 21:38
by KreeithGames
Can someone please explain this to me, I have been wanting to make a Mod for Minetest.

Re: How Do You Make And Upload A Mod?

PostPosted: Thu May 29, 2014 21:55
by Topywo
KreeithGames wrote:Can someone please explain this to me, I have been wanting to make a Mod for Minetest.


See this post:

viewtopic.php?f=3&t=9352

For uploading a mod, compress them, and then upload them to a site that let's them share with other people. I use dropbox. but there are more (you can learn about them by looking at the links modders provide). It seems you can also attach files in your posts through this site, but I never tried.

Have fun modding!


Edit: While clicking Submit, I saw an Upload attachment tab down here.

Re: How Do You Make And Upload A Mod?

PostPosted: Fri May 30, 2014 01:35
by Bas080
In order to know how to make the mods I would advice you to look at simple mods of others in order to get familiar with the minetest modding API. It shows how you can register a "node" and how to register other things like items, abm's and some other things.

Besides registering items you can also make things happen at certain events. The events are things like on_dieplayer or on_placenode. Also nodes and items have events.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
  9 --nodes
 10 minetest.register_node("bees:bees", {
 11   description = "Wild Bees",
 12   drawtype = "plantlike",
 13   paramtype = "light",
 14   tiles = {
 15     {
 16       name="bees_strip.png",
 17       animation={type="vertical_frames", aspect_w=16,aspect_h=16, length=2.0}
 18     }
 19         },
 20   damage_per_second = 1,
 21   walkable = false,
 22   buildable_to = true,
 23   pointable = false,
 24   on_punch = function(pos, node, puncher)
 25     local health = puncher:get_hp()                                                                                                           
 26     puncher:set_hp(health-2)
 27   end,
 28   on_construct = function(pos)
 29     spawn_bees(pos)
 30   end,
 31   on_destruct = function(pos)
 32     remove_bees(pos)
 33   end,
 34 })


This shows how a node can have a on_punch and a on_construct event.

Look at the others mods and later in the minetest api docs located here for a more in-depth summary of what can be used.

Before you know it you'll be minetesting like a boss

Re: How Do You Make And Upload A Mod?

PostPosted: Fri May 30, 2014 12:59
by TG-MyinaWD
KreeithGames wrote:Can someone please explain this to me, I have been wanting to make a Mod for Minetest.

You can upload it on my site. and Link it to here. that how mine mod is shared on here.

So yeah just PM and I give you the link. since I don't like post it since right now spambots can get access to it. or bots. but I hope to have it password Protected. I will say more later.

Re: How Do You Make And Upload A Mod?

PostPosted: Sun Jun 01, 2014 12:31
by KreeithGames
Okay thanks! But what program do I use to start programming the Mod?

Re: How Do You Make And Upload A Mod?

PostPosted: Sun Jun 01, 2014 13:07
by Topywo
KreeithGames wrote:Okay thanks! But what program do I use to start programming the Mod?


Any program that allows you to open and modify the lua files will do. The debug.txt file in minetest gives you an indication what went wrong and on which line.

Maybe something like notepad++ will suit you or similar programs that work with colors. I use leafpad, a 'simple' text editor that's packed with lubuntu.

Edit: For textures I use mtPaint graphic editor (also standard with lubuntu).

Re: How Do You Make And Upload A Mod?

PostPosted: Mon Jun 02, 2014 23:32
by philipbenr
I use Gimp for textures, but I agree with notepad++. I also occasionally use gvim/vim. If you are asking about a program that makes it for you, I don't think there is one... Anyway, MT modding is pretty darn easy to learn.

Re: How Do You Make And Upload A Mod?

PostPosted: Tue Jun 03, 2014 23:49
by KreeithGames
Topywo wrote:
KreeithGames wrote:Okay thanks! But what program do I use to start programming the Mod?


Any program that allows you to open and modify the lua files will do. The debug.txt file in minetest gives you an indication what went wrong and on which line.

Maybe something like notepad++ will suit you or similar programs that work with colors. I use leafpad, a 'simple' text editor that's packed with lubuntu.

Edit: For textures I use mtPaint graphic editor (also standard with lubuntu).



Okay, can you show me a link to any of these?

Re: How Do You Make And Upload A Mod?

PostPosted: Wed Jun 04, 2014 07:04
by Jordach
KreeithGames wrote:
Topywo wrote:
KreeithGames wrote:Okay thanks! But what program do I use to start programming the Mod?


Any program that allows you to open and modify the lua files will do. The debug.txt file in minetest gives you an indication what went wrong and on which line.

Maybe something like notepad++ will suit you or similar programs that work with colors. I use leafpad, a 'simple' text editor that's packed with lubuntu.

Edit: For textures I use mtPaint graphic editor (also standard with lubuntu).



Okay, can you show me a link to any of these?
https://google.com or https://next.duckduckgo.com

Learn to use tools. ;P

Re: How Do You Make And Upload A Mod?

PostPosted: Wed Jun 04, 2014 14:01
by CraigyDavi
KreeithGames wrote:
Topywo wrote:
KreeithGames wrote:Okay thanks! But what program do I use to start programming the Mod?


Any program that allows you to open and modify the lua files will do. The debug.txt file in minetest gives you an indication what went wrong and on which line.

Maybe something like notepad++ will suit you or similar programs that work with colors. I use leafpad, a 'simple' text editor that's packed with lubuntu.

Edit: For textures I use mtPaint graphic editor (also standard with lubuntu).



Okay, can you show me a link to any of these?


Paint.net or gimp are good for textures: http://www.getpaint.net/ http://www.gimp.org/
Notepad++ for code: http://notepad-plus-plus.org/