JeevanDC Yt

Hey I have a plugins file here and I want you to update this file more and remove additional files in the plugin like ban mute etc and add /chat off {which stops every member from chatting only admins can and /chat on{which enables to chat again and words that shall be blacklisted like tmkc,mugi,randikochoro,maderchod ,maderchod, bsdk , gay,bhenkeloda ,bkl ,Randi,Teri ma ki chut etc all words that can be pronounced of English words and Hindi which will be inaaporioate for some players and remove/itemcooldown commands and add new commands like /crafting , /grindstone , /anvil /enderchest ,/enchanting table and all other tables and update the ritual with the given photos like make scoreboard as it is and coordinates in bossbar and when ritual started the text like that and when ended just change the texts and winner name also provided whoever picks it up and at last a lighting when ritual hits 0 and item drop at location and huga dragon sound and at the start too and Flight & Movement Utilities (/jfly & /near & /jtpoffline) /jfly [player] [on|off] (Alias: efly): Toggles flight mode. /near: Scans and lists surrounding players with exact relative block distance. /jtpoffline <player>: Teleports to the exact last known logout location of an offline player , Dynamic Recipe Disabler System (/jrecipe) /jrecipe disable <item>: Blocks specified item crafting (e.g., mace, diamond_horse_armor) at workbench output level. /jrecipe enable <item>: Re-enables crafting recipe. /jrecipe list / /jrecipe menu: GUI menu displaying disabled recipes with click-to-enable functionality. Item Repair Module (/repair & /repairall) /repair <user>: Repairs held main-hand item to full durability. /repairall <user>: Fully repairs target player's entire inventory. * /repairall @a: Fully repairs inventories of all online players. /ping <user> {only for admin}or just /ping{for everyone} to check your ping And update the /jrs item and effect command title and subtitle when it shows in player screen title make it clean prefix and update all of this with no issue and prefix shall work of ritual and everything and commands listed properly like in the file I gaved you and plugin.yml and config.yml and dev.zip is file of previous plugin I want you to update them with the prompt I gaved u right now and all shall work and command listed like the folder plugins I just gaved you

--- 📎 Attached 2 file(s):

File: plugin.yml

yml
name: JEssentials
version: 1.0.0
main: dev.kodari.jessentials.JEssentials
api-version: '1.21'
folia-supported: true
author: Kodari
commands:
  gtn:
    description: Guess The Number controls
    permission: jessentials.gtn
  ritual:
    description: Ritual event controls
    permission: jessentials.ritual
  freeze:
    description: Freeze a player
    permission: jessentials.freeze
  unfreeze:
    description: Unfreeze a player
    permission: jessentials.freeze
  itemcooldown:
    description: Manage item cooldowns
    permission: jessentials.cooldown
  jrs:
    description: JEssentials server utilities
    permission: jessentials.admin
  keepinv:
    description: Manage keep inventory
    permission: jessentials.keepinv
  jban:
    description: Ban a player
    permission: jessentials.ban
  junban:
    description: Unban a player
    permission: jessentials.ban
  jmute:
    description: Mute a player
    permission: jessentials.mute
  junmute:
    description: Unmute a player
    permission: jessentials.mute
  jkick:
    description: Kick a player
    permission: jessentials.kick
  jantimod:
    description: Toggle anti-mod filtering
    permission: jessentials.antimod
permissions:
  jessentials.admin:
    default: op
    children:
      jessentials.gtn: true
      jessentials.ritual: true
      jessentials.freeze: true
      jessentials.cooldown: true
      jessentials.keepinv: true
      jessentials.ban: true
      jessentials.mute: true
      jessentials.kick: true
      jessentials.antimod: true
      jessentials.antimod.bypass: true
  jessentials.gtn:
    default: op
  jessentials.ritual:
    default: op
  jessentials.freeze:
    default: op
  jessentials.freeze.bypass:
    default: false
  jessentials.cooldown:
    default: op
  jessentials.cooldown.bypass:
    default: false
  jessentials.keepinv:
    default: op
  jessentials.ban:
    default: op
  jessentials.mute:
    default: op
  jessentials.kick:
    default: op
  jessentials.antimod:
    default: op
  jessentials.antimod.bypass:
    default: false

File: config.yml

yml
anti-mod:
  enabled: false
  words:
    - exampleword
    - anotherword
3 images attached
Kodari AI
KodariOct 3 at 3:47 am 2
JEssentials
JEssentials is a comprehensive Minecraft Bukkit plugin offering a suite of server management and player utility commands. It includes a chat moderation system with /chat off and /chat on to restrict chatting to admins, plus a configurable blacklist for inappropriate words. The plugin provides crafting utilities like /crafting, /grindstone, /anvil, /enderchest, and /enchantingtable, alongside flight and movement tools (/jfly, /near, /jtpoffline). It features a dynamic recipe disabler (/jrecipe), item repair commands (/repair, /repairall), and a ping command. The ritual system displays a scoreboard and coordinates in a bossbar, with dramatic start/end texts, lightning effects, item drops, and dragon sounds. All commands are permission-gated and configured via plugin.yml and config.yml.
  1. Create the Paper plugin foundation, command/config manifests, and /chat mute toggle with configurable word filtering; omit the removed ban, mute, and itemcooldown commands.

  2. Add the requested crafting, flight, nearby-player, offline-teleport, ping, recipe, and repair commands.

  3. Implement the ritual presentation and clean /jrs item/effect titles.

  1. Foundation and /chat are in place: chat mute state is persisted, the filter is configurable, and removed commands are absent from plugin.yml.

  2. Next: wire the utility commands and convenience workstations.

Created a standalone JEssentials project with /chat on|off and configurable word filtering; workstation, flight, nearby-player, offline-teleport, ping, recipe, and repair commands; ritual countdown, coordinate bossbar, Mace drop, lightning and winner announcement; and branded /jrs item and /jrs effect titles. The existing GTN, freeze, keep-inventory, and anti-mod commands are also wired. Ban, mute, and itemcooldown commands are omitted.

The blacklist contains the terms you supplied; add more under chat.blocked-words in config.yml. /jtpoffline records logout locations from when this plugin is installed.

The referenced dev.zip and original Java sources weren’t available here, so the ritual display is recreated from the screenshots rather than guaranteed to match an unseen scoreboard exactly.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
10 1,567
src/main/java/dev/kodari/jessentials/JEssentials.java
package dev.kodari.jessentials;

import io.papermc.paper.event.player.AsyncChatEvent;
import net.kyori.adventure.text.serializer.plain.PlainTextComponentSerializer;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.command.TabCompleter;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;

import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Set;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.stream.Collectors;

public final class JEssentials extends JavaPlugin implements Listener, CommandExecutor, TabCompleter {
    private final AtomicBoolean chatEnabled = new AtomicBoolean(true);
    private final AtomicBoolean antiModEnabled = new AtomicBoolean(false);
    private Set<String> blockedWords = Set.of();
    private Set<String> antiModWords = Set.of();

    @Override
    public void onEnable() {
        saveDefaultConfig();
        chatEnabled.set(getConfig().getBoolean("chat.enabled", true));
        antiModEnabled.set(getConfig().getBoolean("anti-mod.enabled", false));
        blockedWords = getConfig().getStringList("chat.blocked-words").stream()
                .map(JEssentials::normalize)
                .filter(word -> !word.isEmpty())
                .collect(Collectors.toUnmodifiableSet());
        antiModWords = getConfig().getStringList("anti-mod.words").stream()
                .map(JEssentials::normalize)
                .filter(word -> !word.isEmpty())
                .collect(Collectors.toUnmodifiableSet());

        getServer().getPluginManager().registerEvents(this, this);
        getCommand("chat").setExecutor(this);
        getCommand("chat").setTabCompleter(this);

        UtilityCommands utilityCommands = new UtilityCommands(this);
        utilityCommands.register();
        getServer().getPluginManager().registerEvents(utilityCommands, this);

        ItemManagementCommands itemCommands = new ItemManagementCommands(this);
        itemCommands.register();
        getServer().getPluginManager().registerEvents(itemCommands, this);

        RitualManager ritualManager = new RitualManager(this);
        ritualManager.register();
        getServer().getPluginManager().registerEvents(ritualManager, this);

        JrsCommand jrsCommand = new JrsCommand(this);
        jrsCommand.register();

        LegacyCommands legacyCommands = new LegacyCommands(this);
        legacyCommands.register();
        getServer().getPluginManager().registerEvents(legacyCommands, this);
    }

    @EventHandler
    public void onChat(AsyncChatEvent event) {
        if (!event.getPlayer().hasPermission("jessentials.chat.bypass")
                && !event.getPlayer().hasPermission("jessentials.antimod.bypass")) {
            if (!chatEnabled.get()) {
                event.setCancelled(true);
                return;
            }

            String message = normalize(PlainTextComponentSerializer.plainText().serialize(event.message()));
            if (blockedWords.stream().anyMatch(message::contains)
                    || antiModEnabled.get() && antiModWords.stream().anyMatch(message::contains)) {
                event.setCancelled(true);
            }
        }
    }

    public void setAntiModEnabled(boolean enabled) {
        antiModEnabled.set(enabled);
        getConfig().set("anti-mod.enabled", enabled);
        saveConfig();
    }

    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        if (!command.getName().equalsIgnoreCase("chat")) {
            return false;
        }
        if (args.length != 1 || !(args[0].equalsIgnoreCase("on") || args[0].equalsIgnoreCase("off"))) {
            sender.sendMessage(color("&cUsage: /chat <on|off>"));
            return true;
        }

        boolean enabled = args[0].equalsIgnoreCase("on");
        chatEnabled.set(enabled);
        getConfig().set("chat.enabled", enabled);
        saveConfig();
        sender.sendMessage(prefix() + color(enabled ? "&aChat has been enabled." : "&cChat has been disabled."));
        return true;
    }

    @Override
    public List<String> onTabComplete(CommandSender sender, Command command, String alias, String[] args) {
        if (args.length == 1) {
            String input = args[0].toLowerCase(Locale.ROOT);
            return List.of("on", "off").stream().filter(value -> value.startsWith(input)).toList();
        }
        return List.of();
    }

    private String prefix() {
        return color(getConfig().getString("prefix", "&8[&dJEssentials&8] &r"));
    }

    private static String color(String message) {
        return ChatColor.translateAlternateColorCodes('&', message);
    }

    private static String normalize(String input) {
        return input.toLowerCase(Locale.ROOT).replaceAll("[^\\p{L}\\p{N}]", "");
    }
}