[Minetest Mod] Colect opinion of player with electronic urn.
Find a file
Lunovox f9a44182b1
2024-02-25 23:15:04 -03:00
locale Tentativa falha de consertar bug de tradução. Não sei porque desta parte não está sendo traduzida. 2024-02-25 02:03:18 -03:00
sounds 2024-02-25 11:28:25 -03:00
textures 2024-02-25 11:28:25 -03:00
.gitconfig Node de Urna Eletrônica 2023-07-20 10:14:38 -03:00
.gitignore Node de Urna Eletrônica 2023-07-20 10:14:38 -03:00
api.lua 2024-02-25 11:28:25 -03:00
commands.lua 2024-02-25 11:28:25 -03:00
formspecs.lua 2024-02-25 23:15:04 -03:00
futuretasks.md 2024-02-25 22:45:28 -03:00
init.lua Exemplo de Formspec em Hypertext. 2023-07-26 17:23:08 -03:00
item_eurn.lua [feat] Menu Gráfico com Áudio nos Botões. 2024-02-25 02:06:51 -03:00
LICENSE Node de Urna Eletrônica 2023-07-20 10:14:38 -03:00
mod.conf 2024-02-19 11:44:38 -03:00
README.md 2024-02-23 16:36:17 -03:00
settingtypes.txt [docs] update README.md and settingtypes.txt 2024-02-21 23:23:41 -03:00
translate.lua Node de Urna Eletrônica 2023-07-20 10:14:38 -03:00

urn_front

E-URN

minetest_icon baixa_icon projeto_icon

Colect opinion of player with electronic urn.

License:

  • license_icon

More details:

wiki_en_icon wiki_pt_icon

Developers:

📦 Depends:

Mod Name Dependency Type Descryption
default Mandatory Minetest Game Included.

Commands:

These commands are not mandatory for you to use this mod. To do the same, you can use the graphical mode of the electronic voting machine and the voter registration card.

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 the electoraljudge privilege.
/election Apply presidential selection vote counting! Need the electoraljudge privilege.

API:

Extras are functions of this mod that you can use in another mod you create. For example: "create a mod that gives a special power or privilege that only the elected president can enjoy"

Function Descryption
<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.

CONFIGURATION:

You don't need to worry about the settings below to make this mod work. But, if you want to configure, you can change the settings through the graphical menu, or you can change them directly by editing the 'minetest.conf' file.

Function Descryption
eurn.debug = <true/false> Allows you to print the debug information of this mod on the screen. Default: false
eurn.save_compressed = <true/false> Whether the database will be BASE64 compressed. If enabled will save database bank without compression in file '.db'. Default: true
eurn.voter.min_played_hours = <number> Minimum game time in hours to become a voter. Default: 90

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.