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

Description

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

 

12

 

CONFIG:

4

 

 

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 FOR SUPPORT DISCORD]