← Назад к ресурсам

Server Vote

Server-side mod that allows online players to vote for certain actions, eg: change the weather.

Modrinth utility

Описание

Simple server-side mod that allows all players on the server to vote for certain actions, eg: change the weather. You can add your own votes that run a certain command in the config. COMMANDS: /vote - base command, does nothing /vote weather - starts a vote to change the weather to CLEAR /vote yes - vote yes in the current vote /vote no - vote no in the currnet vote ![Vote example](https://cdn.modrinth.com/data/cached_images/7637c94d1eb27395fb65f907369b07738b72fe6b.png) ![voteYESexample](https://cdn.modrinth.com/data/cached_images/0fb2c2e3e931b6dd7ba7275e27332b717d30a325.png) CONFIG: ![config screenshot](https://cdn.modrinth.com/data/cached_images/100e8ec2b4ccc748c45e868b9d21e6d6666fd49b.png) Above is the default config. This will create: - a vote called "test" (/vote test) that will run the command "/say hello from console" if the majority have voted yes. - a vote called "diamonds" which will give everyone on the server a diamond if the majority votes for it. The "desc" is the description used in chat. (eg. "USER has started a vote to give everyone a diamond.") The config follows the JSON format. Make sure your config is formatted correctly here - https://jsonlint.com/ [[CLICK HERE TO JOIN SUPPORT DISCORD]](https://discord.gg/ZBFtVFnmHy)