eurn/README.md
Lunovox c338dbf2dd
2024-03-03 01:15:21 -03:00

5.8 KiB

urn_front

E-URN

minetest_icon baixa_icon projeto_icon

Adds a presidential election system and an Electronic Urn as an item that helps collect votes.

All players can make promises as candidates. However, only players with more than 72 hours of gameplay will be able to vote for a candidate. The vote is permanent (except if the player has not played for more than 6 months). You can vote at any time, whenever you want, as many times as you want and for as many people as you want. Because the only valid vote is just the last one. Every beginning of the real month there will be an automatic recount of votes.

Don't worry about a possible need for Impeachment for some unwary new president who commits some unpopular act. If the players don't support the possibly unwary president. It is enough for the majority of players to vote for another candidate. At the end of the month, the candidate with the highest number of votes will be automatically elected.

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 or /whitevote Apply Blank Vote.
/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
eurn.crafting_recipe = <true/false> Activate crafting recipe for all players got their own Electronic Urn. Default: false

INTERNACIONALIZATION:

Available Languages:

  • English (Defaul, Concluded: 100%)
  • Português (Concluded: 0%)

Translate this mod to your Language:

See more details in file: locale/README.md