Skip to content

A Minecraft Spigot plugin that allows players to vote on changing the current weather in the Minecraft server. When enough players vote for a specific weather type, the weather will change accordingly.

License

Notifications You must be signed in to change notification settings

McKenzieJDan/WeatherVoting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherVoting

A Minecraft Spigot plugin that allows players to vote on changing the current weather in the server.

SpigotMC Donate

Features

  • 🗳️ Players can vote to change the current weather in the server
  • 📊 Configurable voting threshold based on percentage of online players
  • ⏱️ Cooldown system prevents spam voting and frequent weather changes
  • ⌛ Control how long each weather type lasts after being voted in
  • 📢 Broadcast announcements when players vote for weather changes
  • 🔮 Weather forecast command to check current weather and time until natural change
  • 💬 Fully customizable messages for all plugin text

Installation

  1. Download the latest release from Spigot or GitHub Releases
  2. Place the JAR file in your server's plugins folder
  3. Restart your server
  4. Configure the plugin in the config.yml file

Usage

Players can vote for their preferred weather type using simple commands. When enough players vote for a specific weather, it will change automatically.

Commands

  • /voteweather - Shows the current vote status
  • /voteweather sunny - Vote for sunny weather
  • /voteweather rain - Vote for rainy weather
  • /voteweather thunder - Vote for thunderstorm weather
  • /forecast - View the current weather and when it will change naturally

Permissions

  • weathervoting.vote - Permission to vote for weather changes
  • weathervoting.forecast - Permission to use the forecast command

Configuration

The plugin's configuration file (config.yml) is organized into logical sections:

# Percentage of online players needed to change the weather
voting:
  threshold-percentage: 50

# Cooldown settings to prevent spam
cooldowns:
  between-changes: 300
  between-votes: 60

For detailed configuration options, see the comments in the generated config.yml file.

Requirements

  • Spigot/Paper 1.21.4
  • Java 17+

Support

If you find this plugin helpful, consider buying me a coffee

License

MIT License

Made with ❤️ by McKenzieJDan

About

A Minecraft Spigot plugin that allows players to vote on changing the current weather in the Minecraft server. When enough players vote for a specific weather type, the weather will change accordingly.

Topics

Resources

License

Stars

Watchers

Forks

Languages