apexxd_67

Make a Lightweighted optimized and fast Minecraft Plugin Version: Suitable from version 1.21.1 to 1.21.11 Software: Paper-Bukkit Name the Plugin with "ReignModules", In this plugin we have different modules in 1 plugin! 1st Feature PvP/Combat: In this Feature when we hit players it will be highlighted showing a white colour outline of player we hitted, Also The highlighted will be get of after 10 seconds in PvP, Also If any player in PvP and if he logged so he will automatically die. Also If Player any player hit a player so it will only show 1 time for that specific player. 2nd Feaute: Slc Optmization: This module will be used for Optimization using /slc start will start loading chunks till border (pre generates, fast and safely. /Internet Fix will fix internet lag by optimizing, flush dns and make game smooth and good even with bad internet. All Slc Optimiztion cmds are op only.

Kodari Theres a command that every player can use /rs help so it will show every module command and also note every module in theme of gold. In last show "Plugin Authors: Kodari and RagingApex"

Kodari AI
KodariJul 14 at 9:26 am 9
ReignModules
ReignModules is a lightweight Paper plugin that combines optimized PvP combat handling and server utility modules. It highlights combat targets with a white outline for ten seconds, tags players during combat, and kills players who disconnect while tagged. The SLC module safely pre-generates world-border chunks through an operator-only command. An internet utility command provides safe server-side guidance for connection and DNS issues, while /rs help displays all commands in a gold-themed menu with author credits.
  1. Create the Gradle project and plugin metadata.

  2. Add the combat module with combat tagging, glowing targets, expiration, and logout death handling.

  3. Add the operator-only SLC chunk pre-generation module.

  4. Add the internet utility command and gold-themed /rs help command.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
12 513
src/main/java/com/kodari/reignmodules/ReignModulesPlugin.java
package com.kodari.reignmodules;

import com.kodari.reignmodules.command.HelpCommand;
import com.kodari.reignmodules.command.InternetCommand;
import com.kodari.reignmodules.command.SlcCommand;
import com.kodari.reignmodules.module.CombatModule;
import com.kodari.reignmodules.module.InternetModule;
import com.kodari.reignmodules.module.SlcModule;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class ReignModulesPlugin extends JavaPlugin {
    private CombatModule combatModule;
    private SlcModule slcModule;
    private InternetModule internetModule;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        this.combatModule = new CombatModule(this);
        this.slcModule = new SlcModule(this);
        this.internetModule = new InternetModule();

        Bukkit.getPluginManager().registerEvents(this.combatModule, this);

        getCommand("rs").setExecutor(new HelpCommand());
        getCommand("slc").setExecutor(new SlcCommand(this.slcModule));
        getCommand("slc").setTabCompleter(new SlcCommand(this.slcModule));
        getCommand("internet").setExecutor(new InternetCommand(this.internetModule));
    }

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

        if (this.combatModule != null) {
            this.combatModule.shutdown();
        }
    }
}