Skip to content

Commit cdf4255

Browse files
committed
Releasing: created
1 parent 11dbcc5 commit cdf4255

File tree

4 files changed

+246
-0
lines changed

4 files changed

+246
-0
lines changed

_data/links.yml

+6
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535

3636
- hr: true
3737

38+
- title: Releasing a Mod
39+
num: 8
40+
link: chapters/releasing.html
41+
42+
- hr: true
43+
3844
- title: Index
3945
link: book_index.html
4046

chapters/releasing.md

+240
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,240 @@
1+
---
2+
title: Releasing a Mod
3+
layout: default
4+
root: ../
5+
---
6+
7+
Introduction
8+
------------
9+
10+
In this chapter we will find out how to publish a mod so that other users can use it.
11+
12+
* License Choices
13+
* Packaging
14+
* Uploading
15+
* Forum Topic
16+
17+
### Before you release your mod, there are some things to think about:
18+
19+
* Is there another mod that does the same thing? If so, how does yours differ or improve on it?
20+
* Is your mod useful?
21+
22+
License Choices
23+
---------------
24+
25+
You need to specify a license for your mod.
26+
**public domain is not a valid licence**. The definition varies in different countries.
27+
28+
First thing you need to note is that your code and your art need different types of protection.
29+
30+
You are allowed any license, however mods which disallow derivatives are banned from the forum.
31+
(Other developers must be able to take your mod, modify it, and release it again.)
32+
33+
### LGPL and CC-BY-SA
34+
35+
This is a common license combination in the Minetest community, as it is what
36+
Minetest and minetest_game use.
37+
You license your code under LGPL 2.1 and your art under CC-BY-SA.
38+
39+
* If someone modifies your mod, they must give their version the same license
40+
* Your copyright notice must be kept.
41+
42+
Add this copyright notice to your README.txt, or as a new file called LICENSE.txt
43+
44+
45+
License for Code
46+
----------------
47+
48+
Copyright (C) 2010-2013 Your Name <emailaddress>
49+
50+
This program is free software; you can redistribute it and/or modify
51+
it under the terms of the GNU Lesser General Public License as published by
52+
the Free Software Foundation; either version 2.1 of the License, or
53+
(at your option) any later version.
54+
55+
This program is distributed in the hope that it will be useful,
56+
but WITHOUT ANY WARRANTY; without even the implied warranty of
57+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
58+
GNU Lesser General Public License for more details.
59+
60+
You should have received a copy of the GNU Lesser General Public License along
61+
with this program; if not, write to the Free Software Foundation, Inc.,
62+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
63+
64+
License for Textures, Models and Sounds
65+
---------------------------------------
66+
67+
CC-BY-SA 3.0 UNPORTED. Created by Your Name
68+
69+
### WTFPL or CC0
70+
71+
These licenses allows anyone to do what they want with your mod.
72+
Modify, redistribute, sell, leave out attribution.
73+
They can be used for both code and art.
74+
75+
Packaging
76+
---------
77+
78+
There are some files that we recommend you include in your mod
79+
when you release it.
80+
81+
### README.txt
82+
83+
You should provide a readme file. This should state:
84+
85+
* What the mod does.
86+
* What the license is.
87+
* Current version of mod.
88+
* How to install the mod.
89+
* What dependencies there are / what the user needs to install.
90+
* Where to report problems/bugs or get help.
91+
92+
Example:
93+
94+
My Super Special Mod
95+
====================
96+
97+
Adds magic, rainbows and other special things.
98+
99+
Version: 1.1
100+
Licence: LGPL 2.1 or later
101+
102+
Dependencies: default mod (found in minetest_game)
103+
104+
Report bugs or request help on the forum topic.
105+
106+
Installation
107+
------------
108+
109+
Unzip the archive, rename the folder to to modfoldername and
110+
place it in minetest/mods/minetest/
111+
112+
( Linux: If you have a linux system-wide installation place
113+
it in ~/.minetest/mods/minetest/. )
114+
115+
( If you only want this to be used in a single world, place
116+
the folder in worldmods/ in your worlddirectory. )
117+
118+
For further information or help see:
119+
http://wiki.minetest.com/wiki/Installing_Mods
120+
121+
### description.txt
122+
123+
Write a sentence or two explaining what your mod does.
124+
Be concise without being too vague. This is displayed in the mod store.
125+
126+
For example:
127+
128+
GOOD: Adds soups, cakes, bakes and juices. The food mod which supports the most ingredients.
129+
BAD: The food mod for Minetest.
130+
131+
### screenshot.png
132+
133+
Screenshots should have 4 pixels of width for every 3 pixels of height,
134+
and be at least 200 by 150. This is displayed in the mod store.
135+
136+
Uploading
137+
---------
138+
139+
In order for a potential user to download your mod, you need to upload it to somewhere
140+
which is publically accessible.\\
141+
I will outline several methods you can use, but really you should use the one that works
142+
best for you, as long as it mets these requirements:\\
143+
(and any other requirements which may be added by forum moderators)
144+
145+
* **Stable** - the hosting website should not just shutdown randomly.
146+
* **Direct link** - you should be able to click a link on the forum and download the file,
147+
without having to view another page.
148+
* **Virus Free** - pretty obvious.
149+
150+
### Github, or another VCS
151+
152+
It is recommended that you use Version Control System for the following reasons:
153+
154+
* Allows other developers to submit changes (easily).
155+
* Allows the code to be previewed before downloading.
156+
* Allows users to submit bug reports.
157+
158+
However, such systems may be hard to understand when you first start out.
159+
160+
The majority of Minetest developers use Github as a website to host their code,
161+
however that doesn't matter that much.
162+
163+
* [Using Git](http://git-scm.com/book/en/v1/Getting-Started) - Basic concepts. Using the command line.
164+
* [GitHub for Windows](https://help.github.com/articles/getting-started-with-github-for-windows/) - Use a graphical interface on Windows to upload your code.
165+
166+
### Forum Attachments
167+
168+
You could use forum attachments instead.
169+
This is done when creating a mod's topic - covered below.
170+
171+
First, you need to zip the files into a single file. This varies from operating system to operating system.
172+
173+
On Windows, go to the mod's folder. Select all the files. Right click, Send To > Compressed (zipped) folder.
174+
Rename the resulting zip file to the name of your modfolder.
175+
176+
On the create a topic page, see below, go to the "Upload Attachment" tab at the bottom.
177+
Click browse and select the zipped file. I suggest that you enter the version of your mod in the comment field.
178+
179+
<figure>
180+
<img src="{{ page.root }}/static/releasing_attachments.png" alt="Upload Attachment">
181+
<figcaption>
182+
Upload Attachment tab.
183+
</figcaption>
184+
</figure>
185+
186+
Forum Topic
187+
-----------
188+
189+
You can now create a forum topic.
190+
191+
### Content
192+
193+
The requirements of a forum topic the same as what is recommended for a README.txt
194+
195+
* What the mod does
196+
* What the license is
197+
* Current version of mod
198+
* How to install the mod
199+
* What dependencies there are
200+
* Where to report problems/bugs or get help.
201+
* Link to download, or
202+
203+
You should also include screenshots of your mod in action, if relevant.
204+
205+
Here is an example. The Minetest forum uses bbcode for formating.
206+
207+
208+
Adds magic, rainbows and other special things.
209+
210+
See download attached.
211+
212+
Version: 1.1
213+
Licence: LGPL 2.1 or later
214+
215+
Dependencies: default mod (found in minetest_game)
216+
217+
Report bugs or request help on the forum topic.
218+
219+
[h]Installation[/h]
220+
221+
Unzip the archive, rename the folder to to modfoldername and
222+
place it in minetest/mods/minetest/
223+
224+
( Linux: If you have a linux system-wide installation place
225+
it in ~/.minetest/mods/minetest/. )
226+
227+
( If you only want this to be used in a single world, place
228+
the folder in worldmods/ in your worlddirectory. )
229+
230+
For further information or help see:
231+
[url]http://wiki.minetest.com/wiki/Installing_Mods[/url]
232+
233+
### Profit
234+
235+
<figure>
236+
<img src="{{ page.root }}/static/releasing_profit.png" alt="Profit">
237+
<figcaption>
238+
Profit
239+
</figcaption>
240+
</figure>

static/releasing_attachments.png

13.6 KB
Loading

static/releasing_profit.png

74.3 KB
Loading

0 commit comments

Comments
 (0)