
Votifier Renewed (Quilt)
Активный0.0
Установок
Последнее обновление
This mod is DISCONTINUED. It still works though.
I simply have too many mods to maintain, and not enough time.
This is the QUILT version.
For forge go here: Votifier Renewed (Forge)
For fabric go here: Votifier Renewed (Fabric)
Votifier Renewed is a rewrite of the Votifier bukkit plugin, designed to work for any servers using mods. It is a server-side only mod so you do not need to provide it to clients.
Once a vote is received by the server, it will run any amount of commands that you can define in the config file.
I made this mod as I could not find a viable option for my modded server on 1.19.2.
Features
- Server-side only.
- Uses existing votifier standard integrations - this should support all voting lists that use it.
- Customizable /vote command
- Customizable vote message (see "commands" section)
Setup
This mod should be compatible with most server lists that support votifier, here is how to use it:
1. Install votifier on to your server (place the file into the mods folder)
2. Run the server. This will create a folder in the server directory called "votifier".
3. The "public.key" and "config.json" files are the files you need to use to set up configuration.
Config
In the config file, there are 3 elements:
- "enabled": This is a simple true/false field. In case you ever want to disable voting.
- "port": Defaults to 8192. This will be the port that votifier listens on
- "commands": This is a string array. You can define as many comma-separated strings as you like. The mod will run them all per-vote.
- "voteCommandEnabled": Simple true/false. If set to true, the player can use the /vote command.
- "voteCommandIntro": This is a "string". This text will appear at the start of the /vote command.
- "voteCommandTooltip": This is a "string". This text will appear when you hover over a link from the /vote command.
- "voteCommandFailed": This is a "string". This text will show if there are no entries in the "linkURLs".
- "linkURLs": This is a string array. You can define as many comma-separated strings as you like. Each one of these strings will be sent to the user as a URL when they run the /vote command.
Commands
For commands, you can provide a couple of variable names. These are:
- %PLAYER% - This will be replaced with the player's name inputted in the voting prompt.
- %SERVICE% - This will be replaced with the name of the service provided by the server list website.
You can use any command that you can use ingame, so for example if you would like to give players a reward for voting, it may look something like this:
"commands": [
"tellraw @a [{\"text\":\"%PLAYER% voted on %SERVICE%\",\"color\":\"green\"}]",
"scoreboard players add %PLAYER% voted 1",
"give %PLAYER% minecraft:diamond 2"
]
Modpacks and Redistribution
You CAN add this mod to your modpack. If you're feeling friendly, please leave a link pointing to this page.
You CANNOT redistribute this mod on any other website. The official source for this mod is CurseForge. If you got it from anywhere else, it is a repost and should be reported. StopModReposts
Help!
If you need a website to test votes on, check this out: Votifier Tester - Minestatus Server List
If the mod is not detecting any incoming votes (socket timeouts), make sure that you have the "server-ip" field in your "server.properties" is set to the IP address of your server's machine.
You can reach me directly for support on my discord: https://discord.gg/R4yaRqr2gN