sebbe_pl

i need a plugins that workd

Kodari AI
KodariMar 13 at 4:45 am 3,434 (v2)

I’d be happy to create a working plugin for you! However, I need to know what type of plugin you’d like.

Could you tell me:

  1. What should the plugin do? (e.g., economy system, minigame, ranks, custom items, etc.)

  2. What are the main features you want?

Or, if you’d like, I can create a popular type of plugin as an example. Here are some options:

  • Custom Enchantments - Add unique enchantments to tools/weapons

  • Player Warps - Let players create teleport locations

  • Daily Rewards - Give rewards for daily logins

  • KitPvP - Arena PvP with kits and economy

  • Auction House - Player-to-player item marketplace

  • Leveling System - XP and levels with perks

  • Coinflip Gambling - Bet coins on coinflip outcomes

Just let me know what you need, and I’ll create a fully working plugin for you!

sebbe_pl

i need a plugins that works with multiverse plugin its about separate chats and tab but i want to be able to make like a group och worlds that shaare chat tab list and such i want it to read what world im in and lets say comand like /worldchatgroup and add like oneblock world one block nether oneblock end and onlly those 3 will share chat and tab but also add globalchat for admins

Kodari AI
KodariMar 13 at 4:49 am 10,072 (v2)

I’ll create a world-based chat and tab segregation plugin with group support and global admin chat.

WorldChatGroups
A comprehensive chat and tab list management system that integrates with Multiverse to separate player communication by world groups. Administrators can create world groups where multiple worlds share the same chat and tab list, while keeping other worlds isolated. Features include flexible group management commands, persistent configuration, and a global chat channel exclusively for staff members to communicate across all worlds and groups.

Now I’ll create the world chat groups plugin with all the necessary components.

Perfect! I’ve created a comprehensive world chat groups plugin with the following features:

Core Features:

  • World Groups: Create groups where multiple worlds (like oneblock, oneblock_nether, oneblock_end) share chat and tab list

  • Isolated Worlds: Worlds not in a group only see players/chat from their own world

  • Global Chat: Admin-only channel that works across all worlds and groups

  • Tab List Management: Players only see other players in their world group in the tab list

Commands:

  • /worldchatgroup create <name> - Create a new world group

  • /worldchatgroup delete <name> - Delete a world group

  • /worldchatgroup add <group> <world> - Add a world to a group

  • /worldchatgroup remove <group> <world> - Remove a world from a group

  • /worldchatgroup list - List all groups

  • /worldchatgroup info <group> - View group details

  • /globalchat [on|off|toggle] - Toggle global admin chat

How It Works:

  1. Players in the same world group can see each other’s chat and in tab list

  2. Players with global chat enabled see everyone and can communicate across all worlds

  3. Tab list updates automatically when players change worlds or join/leave

  4. Configuration persists between restarts

sebbe_pl

make it so it only shows (worldname) message instead off both chat like (playername) message and right after another (worldname) message

Kodari AI
KodariMar 14 at 10:18 am 5,562 (v2)

I need to read the current ChatListener to see why messages are appearing twice.

I can see the issue. The ChatListener clears recipients but doesn’t cancel the event, causing both the default chat format and the custom format to show. I’ll fix this by cancelling the event.

Fixed! The event is now cancelled instead of just clearing recipients, which prevents the duplicate message (playername) from showing. You’ll only see the (worldname) message format now.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
12 876
src/main/java/com/worldchatgroups/WorldChatGroups.java
package com.worldchatgroups;

import com.worldchatgroups.commands.GlobalChatCommand;
import com.worldchatgroups.commands.WorldChatGroupCommand;
import com.worldchatgroups.listeners.ChatListener;
import com.worldchatgroups.listeners.WorldChangeListener;
import com.worldchatgroups.managers.GlobalChatManager;
import com.worldchatgroups.managers.TabListManager;
import com.worldchatgroups.managers.WorldGroupManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class WorldChatGroups extends JavaPlugin {

    private WorldGroupManager worldGroupManager;
    private TabListManager tabListManager;
    private GlobalChatManager globalChatManager;

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

        this.worldGroupManager = new WorldGroupManager(this);
        this.tabListManager = new TabListManager(this);
        this.globalChatManager = new GlobalChatManager(this);

        worldGroupManager.loadGroups();

        getServer().getPluginManager().registerEvents(new ChatListener(this), this);
        getServer().getPluginManager().registerEvents(new WorldChangeListener(this), this);

        getCommand("worldchatgroup").setExecutor(new WorldChatGroupCommand(this));
        getCommand("globalchat").setExecutor(new GlobalChatCommand(this));

        getServer().getScheduler().runTaskTimer(this, () -> {
            tabListManager.updateAllTabLists();
        }, 20L, 20L);

        getLogger().info("WorldChatGroups has been enabled!");
    }

    @Override
    public void onDisable() {
        worldGroupManager.saveGroups();
        getLogger().info("WorldChatGroups has been disabled!");
    }

    public String getMessage(String key) {
        return org.bukkit.ChatColor.translateAlternateColorCodes('&',
                getConfig().getString("messages." + key, "&cMessage not found: " + key));
    }

    public String getChatFormat() {
        return org.bukkit.ChatColor.translateAlternateColorCodes('&',
                getConfig().getString("chat.format", "&7{player}&8: &f{message}"));
    }

    public String getGlobalChatPrefix() {
        return org.bukkit.ChatColor.translateAlternateColorCodes('&',
                getConfig().getString("global-chat.prefix", "&c[GLOBAL] "));
    }

    public String getGlobalChatFormat() {
        return org.bukkit.ChatColor.translateAlternateColorCodes('&',
                getConfig().getString("global-chat.format", "&7{player}&8: &f{message}"));
    }
}