5.2 KiB
E-URN
Colect opinion of player with electronic urn.
License:
More details:
Developers:
- Lunovox Heavenfinder: email, xmpp, social web, audio conference, more contacts
📦 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 |
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:
- Enable the complementary mod 'intllib'.
- Set your language in 'minetest.conf' by adding the [
language = <your language>
] property. - Example for French Language:
language = fr
- Make a copy of the file [ template.pot ] in the [ locale ] folder that is inside the mod for [
locale/<your_language>.po
]. - Example for French language:
locale/fr.po
- Open the file [
locale/<your_language>.po
] in POEdit (Also works in a simple text editor). - Translate all and send your translated file to developers of this mod.