eurn/README.md

62 lines
3.3 KiB
Markdown
Raw Normal View History

2023-07-20 10:14:38 -03:00
![urn_front]
2023-07-20 10:45:42 -03:00
# [E-URN]
2020-06-08 09:05:19 +00:00
2024-02-19 08:56:57 -03:00
[![minetest_icon]][minetest_link] [![baixa_icon]][baixa_link] [![projeto_icon]][projeto_link] <!-- [![bower_icon]][bower_link] -->
2023-07-20 10:14:38 -03:00
2024-02-19 08:56:57 -03:00
Colect opinion of player with electronic urn.
2023-07-20 10:45:42 -03:00
## **License:**
2024-02-19 08:56:57 -03:00
* [![license_icon]][license_link]
More details:
[![wiki_en_icon]][wiki_en_link] [![wiki_pt_icon]][wiki_pt_link]
2024-02-21 06:51:57 -03:00
## **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)
2024-02-19 11:44:38 -03:00
## 📦 **Depends:**
2023-07-20 10:45:42 -03:00
2024-02-19 11:44:38 -03:00
| Mod Name | Dependency Type | Descryption |
| :--: | :--: | :-- |
| default | Mandatory | Minetest Game Included. |
2023-07-20 10:14:38 -03:00
2024-02-19 08:56:57 -03:00
## **Commands:**
2023-07-20 10:45:42 -03:00
2024-02-21 06:51:57 -03:00
| Command | Parameter | Descryption |
| :-- | :--: | :-- |
| ````/president```` | ````[<candidate_name>]```` | Show or Select the presidente of the server. Need the ````electoraljudge```` privilege. |
| ````/candidateme```` | ````[<political campaign>]```` | Register your campaign to run for server president. |
| ````/discandidateme```` | | Unregister your campaign to run for server president. |
| ````/candidates```` | | Show the name of all candidates for president. |
| ````/candidate```` or ````/campaign```` | ````[<candidate_name>]```` | Show the Campaign of candidate for president. |
| ````/vote```` | ````[<candidate_name>]```` | Vote for a specific candidate for president. Need a minimum number of hours of online play. |
| ````/unvote```` | | Unvote for presidetial candidate. |
| ````/votes```` | | Show the name of all candidates for president with the amount of votes. Need privilege ````electoraljudge````.
2023-07-20 10:45:42 -03:00
2024-02-19 08:56:57 -03:00
## **API:**
2023-07-20 10:45:42 -03:00
2024-02-19 08:56:57 -03:00
* ````<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.
2024-02-19 11:04:41 -03:00
* ````modEUrn.doSave()```` : Save database em file ````e-urm.db````.
2023-07-20 10:45:42 -03:00
2024-02-19 08:56:57 -03:00
[urn_front]:textures/text_eurn_front.png
2023-07-20 10:45:42 -03:00
[E-URN]:https://gitlab.com/lunovox/e-urn/
2024-02-19 08:56:57 -03:00
[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
2023-07-20 10:45:42 -03:00
[GNU AGPL-3.0]:https://gitlab.com/lunovox/e-urn/-/raw/master/LICENSE
2024-02-19 08:56:57 -03:00
[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
[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