[Minetest Mod] Colect opinion of player with electronic urn.
Find a file
2024-02-21 23:22:08 -03:00
locale Mudando rascunho para um branch orfão. 2024-02-16 21:41:21 -03:00
sounds Sons do bloco! + API de Registro de Login + Comando /president 2023-07-20 22:44:51 -03:00
textures Exemplo de Formspec em Hypertext. 2023-07-26 17:23:08 -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 [refact] reorganizando os comandos. 2024-02-21 23:22:08 -03:00
commands.lua 2024-02-21 11:02:52 -03:00
formspecs.lua [feat] Adicionando interface gráfica! 2024-02-20 23:03:09 -03:00
futuretasks.md 2023-07-21 16:03:00 -03:00
init.lua Exemplo de Formspec em Hypertext. 2023-07-26 17:23:08 -03:00
item_eurn.lua 2024-02-18 22:24:49 -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-old.md 2024-02-19 08:56:57 -03:00
README.md 2024-02-21 09:51:15 -03:00
settingtypes.txt 2024-02-19 11:22:10 -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:

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:

  • <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.