gametheender

TropicalChat

Kodari AI
KodariDec 30 at 2:29 pm 100 (v2)

The generation was stopped before any content could be produced.

gametheender

I want to make a chat plugin called TropicalChat. I want it to have the following features:

  • MuteChat
  • ClearChat (with allias /cc)
  • ChatCooldown (add exempt perm too)
  • CommandSpy (permission based + exempt perm)
  • A fully customizable wave manager (welcome wave, gg wave etc). I want to add new waves/configure premade ones in config.yml (there should be the name of the wave, how long it stays, and the commands that get executed when a player uses that word, add commands as well like wave start, wave end)
  • a /ping command
  • StaffChat
  • AdminChat

All these features I want to be able to enable/disable them in the config and also configure most of them For Staff/Admin chat add a thing where if I type @test it sends into staffchat and if i type #test it sends into admin chat (make the symbol and enable status changeable in config)

I want two files - config.yml & messages.yml Add xseries for version compatiblity and some some things that you think would be cool to my list

Kodari AI
KodariJan 1 at 11:58 am 18,503 (v2)

I’ll create a comprehensive chat management plugin called TropicalChat with all the requested features plus some extra cool additions.

TropicalChat
A feature-rich chat management plugin for Minecraft servers. Includes mute/clear chat, customizable cooldowns, command spy, staff/admin chat channels with symbol shortcuts, interactive wave system with custom commands, ping command, anti-spam protection, player mentions with sound effects, chat formatting, broadcast system, and full XSeries compatibility. All features are fully configurable with enable/disable toggles and extensive customization options.

Plan:

  • Create main plugin class with managers for chat, waves, command spy

  • Implement all requested commands with toggle/exempt permissions

  • Add chat listener for cooldown, symbols (@/#), mentions, anti-spam

  • Create wave system with start/end times and command execution

  • Add bonus features: mentions, anti-spam, broadcast, chat formatting

  • Full XSeries integration for cross-version compatibility

✅ TropicalChat Created Successfully!

Features Implemented:

  • ✅ MuteChat (toggle + broadcast options)

  • ✅ ClearChat (with /cc alias, customizable lines)

  • ✅ ChatCooldown (configurable + exempt perm)

  • ✅ CommandSpy (permission-based + exempt perm + console logging)

  • ✅ Wave Manager (fully customizable with 6 premade waves)

  • ✅ /ping command (self + others)

  • ✅ StaffChat (@ symbol shortcut + toggle mode)

  • ✅ AdminChat (# symbol shortcut + toggle mode)

Bonus Features Added:

  • 🎉 Broadcast system with custom prefix

  • 🚫 Anti-spam/flood protection (similar message detection)

  • 💬 Chat formatting (customizable per player)

  • 🔔 Mention system (@player with sound notifications)

  • 🎨 Color code permissions for chat

  • 📊 Full reload system (/tropicalchat reload)

  • 🎵 XSeries sound support for mentions

Config Highlights:

  • All features toggleable independently

  • Staff/Admin chat symbols customizable

  • Wave system with command execution support

  • Anti-spam with message similarity detection

  • Customizable formats for all chat types

Permissions:

  • tropicalchat.chatcooldown.exempt - Bypass cooldown

  • tropicalchat.commandspy.exempt - Hidden from spy

  • tropicalchat.antispam.exempt - Bypass anti-spam

  • tropicalchat.chatcolor - Use color codes

  • All major features have dedicated permissions

gametheender

You got the wave feature wrong so lemm explain When a wave starts, everyone that says the specific word gets a reward For welcome wave, everyone that says welcome gets something

This can be used for purchases on store (ggwave) or when a new player joins (welcomewave). So make it work as intended and remove these

  • tropicalchat.chatcolor:

description: Use color codes in chat default: op (remove the entire feature)

Kodari AI
KodariJan 1 at 12:04 pm 12,669 (v2)

I’ll fix the wave feature to work correctly and remove the chat color permission feature.

Now I understand the issue. The wave feature should:

  1. Be started globally (not per-player)

  2. Track which players have participated in the current active wave

  3. Give rewards to everyone who says the specific word during the wave duration

  4. Have a global cooldown, not per-player cooldown

Let me fix this:

Wave feature fixed! Now it works correctly:

How it works:

  • /wave start welcome - Starts a global wave that lasts 60 seconds

  • Everyone who says “welcome” in chat gets the reward (only once per wave)

  • Tracks participants and prevents duplicate rewards

  • Shows announcements when wave starts/ends with participant count

  • Only one wave can be active at a time

Removed:

  • tropicalchat.chatcolor permission and all chat color code functionality

gametheender

colorize function - add hex support

Kodari AI
KodariJan 1 at 12:05 pm 9,348 (v2)

I’ll check the existing code to see how colors are currently handled and then add hex support.

I can see the project uses legacy color codes (&c, &a, etc.) via ChatColor.translateAlternateColorCodes() in the ConfigManager.colorize() method. I’ll add hex color support to this method.

Plan:

  • Update ConfigManager.colorize() to support hex colors in formats: &#RRGGBB and #RRGGBB

  • Maintain backward compatibility with legacy color codes

  • Use regex pattern matching for hex detection

Added hex color support to the colorize() method. Now supports:

  • &#FF5555 - Hex with ampersand prefix

  • #FF5555 - Direct hex codes

Both formats work alongside existing legacy color codes (&a, &c, etc.). The method processes hex colors first, then applies legacy color code translation.

gametheender

change to org.tropicalstudios

Kodari AI
KodariJan 1 at 12:09 pm 25,630 (v2)

I’ll change the package from com.tropicalchat to org.tropicalstudios across all files.

Now I’ll update all files to use the org.tropicalstudios package instead of com.tropicalchat:

Package successfully changed from com.tropicalchat to org.tropicalstudios. All Java files have been moved to the new package structure and all imports have been updated accordingly.

gametheender

add a tabcompleter for commands that can use one cus it looks good and in wave you can't execute commands async. fix that too

Kodari AI
KodariJan 1 at 12:14 pm 9,570 (v2)

I’ll add tab completers for commands that need them and fix the async execution issue in WaveCommand.

Now I’ll create tab completers for the commands and fix the async command execution in WaveCommand:

Done! Added tab completers for wave, ping, and tropicalchat commands, and fixed the async command execution issue in WaveManager by wrapping the command dispatch in runTask().

gametheender

add tabcompleter for

  • chatcooldown [seconds]
  • broadcast <message>
Kodari AI
KodariJan 1 at 12:23 pm 5,025 (v2)

I’ll create tab completers for chatcooldown and broadcast commands.

Tab completers added for chatcooldown (suggests common second values) and broadcast (returns empty list since message is freeform).

gametheender

The compilation failed with this error:

code
Validation failed for compilation: Compilation failed with 2 error(s):

ERROR in src/main/java/org/tropicalstudios/tabcomplete/BroadcastTabCompleter.java at line 15: cannot find symbol
            return Arrays.asList("<message>").stream()
                   ^
  symbol: variable Arrays
  location: class BroadcastTabCompleter

ERROR in src/main/java/org/tropicalstudios/tabcomplete/BroadcastTabCompleter.java at line 17: cannot find symbol
                    .collect(Collectors.toList());
                             ^
  symbol: variable Collectors
  location: class BroadcastTabCompleter


=== COMPILATION ERROR ANALYSIS ===

FILES TO INVESTIGATE:
  - src/main/java/org/tropicalstudios/tabcomplete/BroadcastTabCompleter.java
 exceeds maximum 

Please fix this error by creating a new artifact with the corrected code.

Kodari AI
KodariJan 1 at 12:26 pm 2,608 (v2)

I’ll fix the missing imports in BroadcastTabCompleter.java.

The file is missing imports for Arrays and Collectors. I’ll add them.

Fixed by adding the missing imports: java.util.Arrays and java.util.stream.Collectors.

gametheender

this is my spigot readme for another plugin read everything about this plugin, how it works all that and then make a similar readme file for this (spigot uses bbcode editor for formating so keep that in mind and make everything look good)

📎 1 file 6,250 chars
📄
pasted-code-1767270975183.txt
txt 169 lines
▶
[CENTER][SIZE=7][COLOR=#FFAF00]🎁 TropicalGiveaway 🎁[/COLOR][/SIZE]
[SIZE=4][I]Engage your community with automated, customizable giveaways - because everyone loves free rewards![/I][/SIZE]

[SIZE=5][COLOR=#FFAF00]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR][/SIZE][/CENTER]

[SIZE=6][COLOR=#FFAF00]✨ Features[/COLOR][/SIZE]

[LIST]
[*][B]Preset Rewards[/B] - Create unlimited preset rewards with custom commands, items, and permissions
[*][B]Interactive INVENTORY GUI[/B] - Beautiful, easy-to-use menu for starting giveaways
[*][B]Custom Rewards[/B] - Create one-time custom rewards on the fly via chat prompts
[*][B]Random or Fixed Winners[/B] - Choose a specific winner or let the plugin pick randomly
[*][B]Broadcast Announcements[/B] - Automatic server-wide announcements for starts, joins, and winners
[*][B]Title Notifications[/B] - Eye-catching title messages for winners
[*][B]Hex Color Support[/B] - Full RGB color support for modern Minecraft versions
[*][B]Participant Tracking[/B] - Real-time participant count displayed in broadcasts
[*][B]Command Execution[/B] - Execute any command as console when a player wins
[*][B]Fully Configurable[/B] - Customize every message, duration, and reward
[*][B]Lightweight & Optimized[/B] - Minimal performance impact on your server
[/LIST]

[CENTER][SIZE=5][COLOR=#FFAF00]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR][/SIZE][/CENTER]

[SIZE=6][COLOR=#FFAF00]📋 Commands[/COLOR][/SIZE]

[CODE]/giveaway - Open the giveaway selection INVENTORY GUI
/giveaway start - Start a new giveaway (opens INVENTORY GUI)
/giveaway join - Join the current giveaway
/giveaway end - Manually end the current giveaway
/giveaway reload - Reload configuration files[/CODE]

[CENTER][SIZE=5][COLOR=#FFAF00]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR][/SIZE][/CENTER]

[SIZE=6][COLOR=#FFAF00]🔐 Permissions[/COLOR][/SIZE]

[CODE]giveaway.admin - Access to start, end, and reload giveaways
giveaway.join - Ability to join giveaways[/CODE]

[CENTER][SIZE=5][COLOR=#FFAF00]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR][/SIZE][/CENTER]

[SIZE=6][COLOR=#FFAF00]⚙️ Configuration[/COLOR][/SIZE]

[B]config.yml[/B]
[SPOILER="Click to view config.yml"]
[CODE]giveaway-duration: 30

preset-rewards:
  vip-rank:
    display-name: "&6&lVIP Rank"
    material: "GOLD_INGOT"
    lore:
      - "&7A premium VIP rank"
      - "&7with exclusive perks!"
    reward: "VIP Rank"
    commands:
      - "lp user %winner% parent add vip"
  
  money-1000:
    display-name: "&a&l$1,000"
    material: "EMERALD"
    lore:
      - "&7One thousand dollars"
      - "&7added to your balance!"
    reward: "$1,000"
    commands:
      - "eco give %winner% 1000"
  
  diamond-armor:
    display-name: "&b&lDiamond Armor Set"
    material: "DIAMOND_CHESTPLATE"
    lore:
      - "&7A full set of"
      - "&7diamond armor!"
    reward: "Diamond Armor Set"
    commands:
      - "give %winner% diamond_helmet 1"
      - "give %winner% diamond_chestplate 1"
      - "give %winner% diamond_leggings 1"
      - "give %winner% diamond_boots 1"[/CODE]
[/SPOILER]

[B]messages.yml[/B]
[SPOILER="Click to view messages.yml"]
[CODE]prefix: "&#FFAF00&lT&#FFB814&lR&#FFC128&lO&#FFCA3C&lP&#FFD34F&lI&#FFDC63&lC&#FFE577&lA&#FFEE8B&lL &8»"

start: |-
  &#FFAF00&l&m⎯⎯⎯⎯⎯⎯⎯⎯&r &fGiveaway Started &#FFAF00&l&m⎯⎯⎯⎯⎯⎯⎯
  &f
  &fGiveaway Reward: &#FFAF00%reward%
  &fTo participate use &#FFAF00/giveaway join
  &#FFAF00&l&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

join: "&f%player% has joined the giveaway &8[&#FFAF00%number%&8]"
winner: "&fThe winner of the giveaway is &#FFAF00%player%"[/CODE]
[/SPOILER]

[CENTER][SIZE=5][COLOR=#FFAF00]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR][/SIZE][/CENTER]

[SIZE=6][COLOR=#FFAF00]🎯 How to Use[/COLOR][/SIZE]

[B]Starting a Giveaway:[/B]
[LIST=1]
[*]Run [FONT=Courier New]/giveaway[/FONT] or [FONT=Courier New]/giveaway start[/FONT]
[*]Click on a preset reward in the INVENTORY GUI, or create a custom reward
[*]For custom rewards, enter the reward name in chat
[*]Choose a specific winner or type "null" for random selection
[*]The giveaway starts automatically and announces to the server
[/LIST]

[B]Joining a Giveaway:[/B]
[LIST=1]
[*]Wait for a giveaway announcement
[*]Run [FONT=Courier New]/giveaway join[/FONT]
[*]You're entered! Wait for the timer to end
[/LIST]

[B]Creating Preset Rewards:[/B]
[LIST=1]
[*]Open [FONT=Courier New]config.yml[/FONT]
[*]Add a new entry under [FONT=Courier New]preset-rewards[/FONT]
[*]Set display-name, material, lore, reward text, and commands
[*]Use [FONT=Courier New]%winner%[/FONT] placeholder in commands
[*]Reload with [FONT=Courier New]/giveaway reload[/FONT]
[/LIST]

[CENTER][SIZE=5][COLOR=#FFAF00]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR][/SIZE][/CENTER]

[SIZE=6][COLOR=#FFAF00]📸 Screenshots[/COLOR][/SIZE]

[SPOILER="Giveaway Selection INVENTORY GUI"]
[IMG]https://i.imgur.com/your-INVENTORY GUI-screenshot.png[/IMG]
[/SPOILER]

[SPOILER="Giveaway Announcement"]
[IMG]https://i.imgur.com/your-announcement-screenshot.png[/IMG]
[/SPOILER]

[SPOILER="Winner Notification"]
[IMG]https://i.imgur.com/your-winner-screenshot.png[/IMG]
[/SPOILER]

[CENTER][SIZE=5][COLOR=#FFAF00]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR][/SIZE][/CENTER]

[SIZE=6][COLOR=#FFAF00]🔧 Requirements[/COLOR][/SIZE]

[LIST]
[*][B]Minecraft Version:[/B] 1.8 - 1.21+
[*][B]Server Software:[/B] Spigot, Paper, Purpur
[*][B]Java Version:[/B] Java 8
[/LIST]

[CENTER][SIZE=5][COLOR=#FFAF00]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR][/SIZE][/CENTER]

[SIZE=6][COLOR=#FFAF00]💬 Support[/COLOR][/SIZE]

Need help? Found a bug? Have a suggestion?

[LIST]
[*][B]Discord:[/B] [URL='https://discord.com/invite/nTTkMxe8Kg']Join our Discord[/URL]
[*][B]Issues:[/B] Report bugs in the discussion section
[*][B]Reviews:[/B] Leave a review if you enjoy the plugin!
[/LIST]


[CENTER][SIZE=5][COLOR=#FFAF00]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR][/SIZE]

[SIZE=4]Made with ❤️ by [COLOR=#FFAF00]TropicalStudios[/COLOR][/SIZE]

[SIZE=3]If you enjoy this plugin, please leave a ⭐⭐⭐⭐⭐ review![/SIZE][/CENTER]
Kodari AI
KodariJan 1 at 12:38 pm 22,327 (v2)

I’ll analyze the TropicalChat plugin and create a professional Spigot README in BBCode format. Let me first read all the plugin files to understand its features.

Now I’ll create a professional Spigot README for TropicalChat in BBCode format:

I’ve created a comprehensive Spigot README for TropicalChat that mirrors the style and quality of your TropicalGiveaway README. Here’s what I included:

Key Highlights:

  • Professional BBCode formatting with proper color scheme (#00BFFF/cyan theme)

  • Comprehensive feature list organized by category (Chat Management, Staff Features, Interactive Features)

  • Complete command reference with all aliases

  • Detailed permissions system with defaults

  • Full configuration examples in spoilers

  • How-to guides for staff chat, waves, anti-spam, mentions, and command spy

  • Use cases for different user types

  • FAQ section addressing common questions

  • Placeholder documentation

  • Screenshot placeholders ready for your images

Notable Features Documented:

  • Staff/Admin chat with toggle mode and symbol mode

  • Wave manager system with keyword-based rewards

  • Advanced anti-spam with similarity detection

  • Player mention system with notifications

  • Command spy with console logging

  • Chat cooldown and mute systems

  • Broadcast system

  • Ping command

The README is ready to be posted directly to Spigot’s BBCode editor. Just replace the screenshot URLs with your actual images!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
SPIGOT_README.txt
Code
27 2,214
src/main/java/org/tropicalstudios/TropicalChat.java
package org.tropicalstudios;

import org.tropicalstudios.command.*;
import org.tropicalstudios.listener.ChatListener;
import org.tropicalstudios.listener.CommandListener;
import org.tropicalstudios.manager.ChatManager;
import org.tropicalstudios.manager.CommandSpyManager;
import org.tropicalstudios.manager.ConfigManager;
import org.tropicalstudios.manager.WaveManager;
import org.tropicalstudios.tabcomplete.BroadcastTabCompleter;
import org.tropicalstudios.tabcomplete.ChatCooldownTabCompleter;
import org.tropicalstudios.tabcomplete.PingTabCompleter;
import org.tropicalstudios.tabcomplete.TropicalChatTabCompleter;
import org.tropicalstudios.tabcomplete.WaveTabCompleter;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class TropicalChat extends JavaPlugin {

    private ConfigManager configManager;
    private ChatManager chatManager;
    private WaveManager waveManager;
    private CommandSpyManager commandSpyManager;

    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.chatManager = new ChatManager(this);
        this.waveManager = new WaveManager(this);
        this.commandSpyManager = new CommandSpyManager(this);

        registerCommands();
        registerListeners();

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

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

    private void registerCommands() {
        getCommand("mutechat").setExecutor(new MuteChatCommand(this));
        getCommand("clearchat").setExecutor(new ClearChatCommand(this));
        
        getCommand("chatcooldown").setExecutor(new ChatCooldownCommand(this));
        getCommand("chatcooldown").setTabCompleter(new ChatCooldownTabCompleter());
        
        getCommand("commandspy").setExecutor(new CommandSpyCommand(this));
        
        getCommand("wave").setExecutor(new WaveCommand(this));
        getCommand("wave").setTabCompleter(new WaveTabCompleter(this));
        
        getCommand("ping").setExecutor(new PingCommand(this));
        getCommand("ping").setTabCompleter(new PingTabCompleter());
        
        getCommand("staffchat").setExecutor(new StaffChatCommand(this));
        getCommand("adminchat").setExecutor(new AdminChatCommand(this));
        
        getCommand("broadcast").setExecutor(new BroadcastCommand(this));
        getCommand("broadcast").setTabCompleter(new BroadcastTabCompleter());
        
        getCommand("tropicalchat").setExecutor(new TropicalChatCommand(this));
        getCommand("tropicalchat").setTabCompleter(new TropicalChatTabCompleter());
    }

    private void registerListeners() {
        getServer().getPluginManager().registerEvents(new ChatListener(this), this);
        getServer().getPluginManager().registerEvents(new CommandListener(this), this);
    }

    public void reload() {
        configManager.reload();
        waveManager.reload();
    }
}