SoyCorruptUser

This adds more comands like /moreWeathers, the options por /moreWeathers are, Strong_Rain, Strong_Sun And Raining_Items, Strong Rain Makes the Rain So much stronger, is so much stronger and so much faster, Strong_Sun makes you lose half of a heart every 1 minute that you are exposed to the sun, but if you are not exposed the timer resets, Raining_Items makes that every 50 seconds, theres a 50% of a item falling close to the player, can be every item, block, everything, even a end portal block

Kodari AI
KodariOct 28 at 10:35 pm 1
ExtremeWeathers
Adds three extreme weather commands via /moreWeathers. Strong_Rain intensifies rainfall dramatically with faster and heavier precipitation. Strong_Sun causes players exposed to sunlight to lose half a heart every minute, resetting the timer when sheltered. Raining_Items triggers a 50% chance every 50 seconds for a random item, block, or material (including end portal blocks) to fall near each player. Includes command registration, permission handling, configurable timers, and a repeating scheduler for weather effects.
  1. Create the Paper plugin scaffold and /moreWeathers command.

  2. Add independent toggles for Strong Rain, Strong Sun, and Raining Items.

  3. Implement the rain effects, sun exposure timer, and 50-second item-drop chance.

Created the MoreWeathers plugin with /moreweathers (/mw) controls for Strong Rain, Strong Sun, and Raining Items. Each effect can be toggled with on, off, or toggle; /moreweathers off disables them all.

Strong Rain forces a thunderstorm and adds rain particles. Strong Sun deals half a heart after one uninterrupted minute in direct daytime sunlight. Raining Items gives each online player a 50% chance every 50 seconds of a random item or block falling nearby.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
5 328
src/main/java/com/kodari/moreweathers/MoreWeathersPlugin.java
package com.kodari.moreweathers;

import org.bukkit.plugin.java.JavaPlugin;

public final class MoreWeathersPlugin extends JavaPlugin {
    private WeatherManager weatherManager;

    @Override
    public void onEnable() {
        weatherManager = new WeatherManager(this);
        getCommand("moreweathers").setExecutor(new MoreWeathersCommand(weatherManager));
        weatherManager.start();
    }

    @Override
    public void onDisable() {
        if (weatherManager != null) {
            weatherManager.stop();
        }
    }
}