eurn/README.md
Lunovox 75f95d2f8a
2024-02-19 11:22:10 -03:00

2.7 KiB

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

Depends:

  • -= NENHUMA =-

Commands:

  • /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.
  • /vote [<candidate_name>] : Vote for a specific candidate for president.

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.

Developers: