mirror of
https://gitlab.com/lunovox/e-urn.git
synced 2025-03-15 07:21:22 +00:00
This commit is contained in:
parent
fc5b95fea3
commit
8559d70fb2
3 changed files with 92 additions and 36 deletions
50
README-old.md
Normal file
50
README-old.md
Normal file
|
@ -0,0 +1,50 @@
|
|||
![urn_front]
|
||||
# [E-URN]
|
||||
|
||||
[ [Minetest Mod] ] Colect opinion of player with electronic urn.
|
||||
|
||||
**Dependencies:**
|
||||
* default → Minetest Game Included
|
||||
|
||||
**Optional Dependencies:**
|
||||
* [intllib] (Optional) → Facilitates the translation of several other mods into your native language, or other languages.
|
||||
* [tradelands] (Optional) → Protection your lands and chests.
|
||||
* [correio] (Optional) → Send mail to offline players.
|
||||
|
||||
## **License:**
|
||||
|
||||
* [GNU AGPL-3.0]
|
||||
|
||||
More details:
|
||||
* in English: https://en.wikipedia.org/wiki/GNU_Affero_General_Public_License
|
||||
* em Português: https://pt.wikipedia.org/wiki/GNU_Affero_General_Public_License
|
||||
|
||||
**Developers:**
|
||||
* Lunovox Heavenfinder: [email](mailto:lunovox@disroot.org), [xmpp](xmpp:lunovox@disroot.org?join), [social web](http:qoto.org/@lunovox), [audio conference](mumble:mumble.disroot.org), [more contacts](https:libreplanet.org/wiki/User:Lunovox)
|
||||
|
||||
## **Internationalization of this Mod:**
|
||||
|
||||
This mod currently are configured to language:
|
||||
|
||||
* [English] (DEFAULT)
|
||||
* [Portuguese]
|
||||
|
||||
To add a new language to this mod just follow the steps below:
|
||||
|
||||
1. Enable the complementary mod **'intllib'.**
|
||||
2. Set your language in **'minetest.conf'** by adding the [````language = <your language>````] property.
|
||||
3. Example for French Language: ````language = fr````
|
||||
4. Make a copy of the file [ **template.pot** ] in the [ **locale** ] folder that is inside the mod for [````locale/<your_language>.po````].
|
||||
5. Example for French language: ````locale/fr.po````
|
||||
6. Open the file [````locale/<your_language>.po````] in POEdit (Also works in a simple text editor).
|
||||
7. Translate all and send your translated file to developers of this mod.
|
||||
|
||||
[correio]:https://gitlab.com/Lunovox/correio
|
||||
[E-URN]:https://gitlab.com/lunovox/e-urn/
|
||||
[English]:https://gitlab.com/lunovox/e-urn/-/raw/master/locale/template.pot
|
||||
[GNU AGPL-3.0]:https://gitlab.com/lunovox/e-urn/-/raw/master/LICENSE
|
||||
[intllib]:https://github.com/minetest-mods/intllib
|
||||
[Minetest Mod]:https://minetest.net
|
||||
[Portuguese]:https://gitlab.com/lunovox/e-urn/-/raw/master/locale/pt.po
|
||||
[tradelands]:https://github.com/Lunovox/tradelands
|
||||
[urn_front]:textures/text_eurn_front.png
|
74
README.md
74
README.md
|
@ -1,50 +1,56 @@
|
|||
![urn_front]
|
||||
# [E-URN]
|
||||
|
||||
[ [Minetest Mod] ] Colect opinion of player with electronic urn.
|
||||
[![minetest_icon]][minetest_link] [![baixa_icon]][baixa_link] [![projeto_icon]][projeto_link] <!-- [![bower_icon]][bower_link] -->
|
||||
|
||||
**Dependencies:**
|
||||
* default → Minetest Game Included
|
||||
|
||||
**Optional Dependencies:**
|
||||
* [intllib] (Optional) → Facilitates the translation of several other mods into your native language, or other languages.
|
||||
* [tradelands] (Optional) → Protection your lands and chests.
|
||||
* [correio] (Optional) → Send mail to offline players.
|
||||
Colect opinion of player with electronic urn.
|
||||
|
||||
## **License:**
|
||||
|
||||
* [GNU AGPL-3.0]
|
||||
* [![license_icon]][license_link]
|
||||
|
||||
More details:
|
||||
* in English: https://en.wikipedia.org/wiki/GNU_Affero_General_Public_License
|
||||
* em Português: https://pt.wikipedia.org/wiki/GNU_Affero_General_Public_License
|
||||
More details:
|
||||
|
||||
[![wiki_en_icon]][wiki_en_link] [![wiki_pt_icon]][wiki_pt_link]
|
||||
|
||||
**Developers:**
|
||||
* Lunovox Heavenfinder: [email](mailto:lunovox@disroot.org), [xmpp](xmpp:lunovox@disroot.org?join), [social web](http:qoto.org/@lunovox), [audio conference](mumble:mumble.disroot.org), [more contacts](https:libreplanet.org/wiki/User:Lunovox)
|
||||
## **Depends:**
|
||||
|
||||
## **Internationalization of this Mod:**
|
||||
* -= NENHUMA =-
|
||||
|
||||
This mod currently are configured to language:
|
||||
## **Commands:**
|
||||
|
||||
* [English] (DEFAULT)
|
||||
* [Portuguese]
|
||||
* ````/president [<candidate_name>]```` : Show or Select the presidente of the server.
|
||||
* ````/candidateme [<political campaign>]```` : Register your campaign to run for server president.
|
||||
* ````/candidates```` : Show the name of all candidates for president.
|
||||
* ````/campaign [<candidate_name>]```` : Show the Campaign of candidate for president.
|
||||
|
||||
To add a new language to this mod just follow the steps below:
|
||||
## **API:**
|
||||
|
||||
1. Enable the complementary mod **'intllib'.**
|
||||
2. Set your language in **'minetest.conf'** by adding the [````language = <your language>````] property.
|
||||
3. Example for French Language: ````language = fr````
|
||||
4. Make a copy of the file [ **template.pot** ] in the [ **locale** ] folder that is inside the mod for [````locale/<your_language>.po````].
|
||||
5. Example for French language: ````locale/fr.po````
|
||||
6. Open the file [````locale/<your_language>.po````] in POEdit (Also works in a simple text editor).
|
||||
7. Translate all and send your translated file to developers of this mod.
|
||||
* ````<array> modEUrn.getPresidentCandidates()```` : Return a array with name of all presidente candidates of the server. Return empty array if not exist.
|
||||
* ````<string/nil> modEUrn.getPresidentName()```` : Return a string with the presidente name of the server. Return nil if not exist.
|
||||
* ````modEUrn.doSave()```` : Save database em ````file e-urm.db````.
|
||||
|
||||
|
||||
## **Developers:**
|
||||
|
||||
* Lunovox Heavenfinder: [email](mailto:lunovox@disroot.org), [xmpp](xmpp:lunovox@disroot.org?join), [social web](http://qoto.org/@lunovox), [audio conference](https://meet.jit.si/MinetestBrasil), [more contacts](https:libreplanet.org/wiki/User:Lunovox)
|
||||
|
||||
[correio]:https://gitlab.com/Lunovox/correio
|
||||
[E-URN]:https://gitlab.com/lunovox/e-urn/
|
||||
[English]:https://gitlab.com/lunovox/e-urn/-/raw/master/locale/template.pot
|
||||
[GNU AGPL-3.0]:https://gitlab.com/lunovox/e-urn/-/raw/master/LICENSE
|
||||
[intllib]:https://github.com/minetest-mods/intllib
|
||||
[Minetest Mod]:https://minetest.net
|
||||
[Portuguese]:https://gitlab.com/lunovox/e-urn/-/raw/master/locale/pt.po
|
||||
[tradelands]:https://github.com/Lunovox/tradelands
|
||||
[urn_front]:textures/text_eurn_front.png
|
||||
[E-URN]:https://gitlab.com/lunovox/e-urn/
|
||||
[baixa_icon]:https://img.shields.io/static/v1?label=Download&message=Mod&color=blue
|
||||
[baixa_link]:https://gitlab.com/lunovox/e-urn/-/archive/master/e-urn-master.zip?inline=false
|
||||
[bower_icon]:https://img.shields.io/badge/Bower-Projeto-green.svg
|
||||
[bower_link]:https://gitlab.com/lunovox/e-urn/-/raw/master/textures/bower.json
|
||||
[favicon]:https://gitlab.com/lunovox/e-urn/-/raw/master/favicon.png
|
||||
[GNU AGPL-3.0]:https://gitlab.com/lunovox/e-urn/-/raw/master/LICENSE
|
||||
[license_icon]:https://img.shields.io/static/v1?label=GNU%20AGPL%20v3.0&message=Download&color=yellow
|
||||
[license_link]:https://gitlab.com/lunovox/e-urn/-/raw/master/LICENSE
|
||||
[minetest_icon]:https://img.shields.io/static/v1?label=Minetest&message=Game&color=brightgreen
|
||||
[minetest_link]:https://minetest.net
|
||||
[projeto_icon]:https://img.shields.io/static/v1?label=Projeto&message=GIT&color=red
|
||||
[projeto_link]:https://gitlab.com/lunovox/e-urn
|
||||
[e-urn_title]:https://gitlab.com/lunovox/e-urn/-/raw/master/textures/title.png
|
||||
[wiki_en_icon]:https://img.shields.io/static/v1?label=GNU%20AGPL%20v3.0&message=EN&color=blue
|
||||
[wiki_en_link]:https://en.wikipedia.org/wiki/GNU_Affero_General_Public_License
|
||||
[wiki_pt_icon]:https://img.shields.io/static/v1?label=GNU%20AGPL%20v3.0&message=PT&color=blue
|
||||
[wiki_pt_link]:https://pt.wikipedia.org/wiki/GNU_Affero_General_Public_License
|
4
mod.conf
4
mod.conf
|
@ -5,6 +5,6 @@ description = Colect opinion of player with electronic urn.
|
|||
release = 0.1.0
|
||||
author = Lunovox Heavenfinder
|
||||
title = Electronic Urn
|
||||
depends = default
|
||||
optional_depends = intllib,tradelands,correio
|
||||
depends =
|
||||
optional_depends =
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue