minetest_modding_book/_en/quality/releasing.md

169 lines
5.9 KiB
Markdown
Raw Normal View History

2015-01-11 23:05:52 +03:00
---
title: Releasing a Mod
layout: default
2018-07-15 21:36:35 +03:00
root: ../..
2019-08-14 16:45:42 +03:00
idx: 8.6
2018-07-15 21:13:16 +03:00
redirect_from: /en/chapters/releasing.html
2015-01-11 23:05:52 +03:00
---
## Introduction <!-- omit in toc -->
2015-01-11 23:05:52 +03:00
2018-04-02 12:56:30 +03:00
Releasing, or publishing, a mod allows other people to make use of it. Once a mod has been
released it might be used in singleplayer games or on servers, including public servers.
2015-01-11 23:05:52 +03:00
2020-12-24 16:25:31 +03:00
- [Choosing a License](#choosing-a-license)
- [LGPL and CC-BY-SA](#lgpl-and-cc-by-sa)
- [CC0](#cc0)
- [MIT](#mit)
- [Packaging](#packaging)
2020-12-24 16:25:31 +03:00
- [README.txt](#readmetxt)
- [mod.conf / game.conf](#modconf--gameconf)
- [screenshot.png](#screenshotpng)
- [Uploading](#uploading)
2020-12-24 16:25:31 +03:00
- [Version Control Systems](#version-control-systems)
- [Releasing on ContentDB](#releasing-on-contentdb)
- [Forum Topic](#forum-topic)
2015-01-11 23:05:52 +03:00
2020-12-24 16:25:31 +03:00
## Choosing a License
2015-01-11 23:05:52 +03:00
2018-10-03 22:28:55 +03:00
You need to specify a license for your mod. This is important because it tells other
people the ways in which they are allowed to use your work. If your mod doesn't have
a license, people won't know whether they are allowed to modify, distribute or use your
2018-10-03 22:28:55 +03:00
mod on a public server.
2015-01-11 23:05:52 +03:00
2018-04-02 12:56:30 +03:00
Your code and your art need different things from the licenses they use. For example,
Creative Commons licenses shouldn't be used with source code,
but can be suitable choices for artistic works such as images, text and meshes.
2015-01-11 23:05:52 +03:00
2018-04-02 12:56:30 +03:00
You are allowed any license; however, mods which disallow derivatives are banned from the
2018-10-03 22:28:55 +03:00
official Minetest forum. (For a mod to be allowed on the forum, other developers must be
2018-10-27 05:10:37 +03:00
able to modify it and release the modified version.)
2018-10-03 22:28:55 +03:00
Please note that **public domain is not a valid licence**, because the definition varies
in different countries.
2015-01-11 23:05:52 +03:00
2023-07-02 01:54:40 +03:00
It is important to note that WTFPL is
[strongly discouraged](https://content.minetest.net/help/wtfpl/) and people may
choose not to use your mod if it has this license.
2015-01-11 23:05:52 +03:00
### LGPL and CC-BY-SA
2018-04-02 12:56:30 +03:00
This is a common license combination in the Minetest community, and is what
2018-10-27 05:10:37 +03:00
Minetest and Minetest Game use.
2018-10-27 05:10:37 +03:00
You license your code under LGPL 2.1 and your art under CC-BY-SA.
2018-10-27 05:10:37 +03:00
This means that:
2015-01-11 23:05:52 +03:00
2015-04-13 21:58:06 +03:00
* Anyone can modify, redistribute and sell modified or unmodified versions.
* If someone modifies your mod, they must give their version the same license.
2015-01-11 23:05:52 +03:00
* Your copyright notice must be kept.
2018-10-27 05:10:37 +03:00
### CC0
2015-01-11 23:05:52 +03:00
This license can be used for both code and art, and allows anyone to do what
they want with your work. This means they can modify, redistribute, sell, or
leave-out attribution.
2018-04-02 12:56:30 +03:00
### MIT
This is a common license for code. The only restriction it places on users
of your code is that they must include the same copyright notice and license
in any copies of the code or of substantial parts of the code.
2018-04-02 12:56:30 +03:00
2015-02-22 13:28:37 +03:00
## Packaging
2015-01-11 23:05:52 +03:00
There are some files that are recommended to include in your mod or game
2018-10-27 05:10:37 +03:00
before you release it.
2015-01-11 23:05:52 +03:00
### README.txt
2018-10-27 05:10:37 +03:00
The README file should state:
2015-01-11 23:05:52 +03:00
* What the mod/game does, how to use it.
2015-01-11 23:05:52 +03:00
* What the license is.
* Optionally:
* where to report problems or get help.
* credits
2015-01-11 23:05:52 +03:00
2020-12-24 16:25:31 +03:00
### mod.conf / game.conf
2015-01-11 23:05:52 +03:00
Make sure you add a description key to explain what your mod or game does. Be
concise without being vague. It should be short because it will be displayed in
the content installer which has limited space.
2015-01-11 23:05:52 +03:00
Good example:
2015-01-11 23:05:52 +03:00
2020-12-24 16:25:31 +03:00
description = Adds soup, cakes, bakes and juices.
2018-10-27 05:10:37 +03:00
Avoid this:
2020-12-24 16:25:31 +03:00
description = The food mod for Minetest. (<-- BAD! It's vague)
2015-01-11 23:05:52 +03:00
### screenshot.png
2016-03-17 17:57:13 +03:00
Screenshots should be 3:2 (3 pixels of width for every 2 pixels of height)
2018-10-03 22:28:55 +03:00
and have a minimum size of 300 x 200px.
2016-03-17 17:57:13 +03:00
The screenshot is displayed inside of Minetest as a thumbnail for the content.
2015-01-11 23:05:52 +03:00
## Uploading
2015-01-11 23:05:52 +03:00
2018-10-03 22:28:55 +03:00
So that a potential user can download your mod, you need to upload it somewhere
publicly accessible. There are several ways to do this, but you should use the
approach that works best for you, as long as it meets these requirements, and any
others which may be added by forum moderators:
2015-01-11 23:05:52 +03:00
* **Stable** - The hosting website should be unlikely to shut down without warning.
2020-12-24 16:25:31 +03:00
* **Direct link** - You should be able to click a link and download the file
2015-01-11 23:05:52 +03:00
without having to view another page.
* **Virus Free** - Scammy upload hosts may contain insecure adverts.
2015-01-11 23:05:52 +03:00
2020-12-24 16:25:31 +03:00
ContentDB allows you to upload zip files, and meets these criteria.
2015-01-11 23:05:52 +03:00
2020-12-24 16:25:31 +03:00
### Version Control Systems
2015-01-11 23:05:52 +03:00
2020-12-24 16:25:31 +03:00
A Version Control System (VCS) is software that manages changes to software,
often making it easier to distribute and receive contributed changes.
2015-01-11 23:05:52 +03:00
2020-12-24 16:25:31 +03:00
The majority of Minetest modders use Git and a website like GitHub to distribute
their code.
2018-10-03 22:28:55 +03:00
2020-12-24 16:25:31 +03:00
Using git can be difficult at first. If you need help with this please see:
2015-01-11 23:05:52 +03:00
* [Pro Git book](http://git-scm.com/book/en/v1/Getting-Started) - Free to read online.
* [GitHub for Windows app](https://help.github.com/articles/getting-started-with-github-for-windows/) -
2018-04-02 12:56:30 +03:00
Using a graphical interface on Windows to upload your code.
2015-01-11 23:05:52 +03:00
2020-12-24 16:25:31 +03:00
## Releasing on ContentDB
2015-01-11 23:05:52 +03:00
ContentDB is the official place to find and distribute content such as mods,
games, and texture packs. Users can find content using the website, or download
and install using the integration built into the Minetest main menu.
2015-01-11 23:05:52 +03:00
Sign up to [ContentDB](https://content.minetest.net) and add your content.
2020-12-24 16:25:31 +03:00
Make sure to read the guidance given in the Help section.
2015-01-11 23:05:52 +03:00
2015-02-22 13:28:37 +03:00
## Forum Topic
2015-01-11 23:05:52 +03:00
You can also create a forum topic to let users discuss your creation.
2020-12-24 16:25:31 +03:00
Mod topics should be created in ["WIP Mods"](https://forum.minetest.net/viewforum.php?f=9) (Work In Progress)
forum, and Game topics in the ["WIP Games"](https://forum.minetest.net/viewforum.php?f=50) forum.
2018-10-27 05:10:37 +03:00
When you no longer consider your mod a work in progress, you can
2015-01-27 12:19:35 +03:00
[request that it be moved](https://forum.minetest.net/viewtopic.php?f=11&t=10418)
to "Mod Releases."
2015-01-11 23:05:52 +03:00
2018-10-27 05:10:37 +03:00
The forum topic should contain similar content to the README, but should
be more promotional and also include a link to download the mod.
It's a good idea to include screenshots of your mod in action, if possible.
2015-01-11 23:05:52 +03:00
2018-04-02 12:56:30 +03:00
The subject of topic must be in one of these formats:
2015-01-11 23:11:03 +03:00
* [Mod] Mod Title [modname]
* [Mod] Mod Title [version number] [modname]
2018-10-03 22:28:55 +03:00
For example:
* [Mod] More Blox [0.1] [moreblox]