Chris Michael

Create an EXTREMELY polished, premium Minecraft Paper 1.21.11 plugin called:

WAFFLE AUTO CHAT Version: 1.0.0 Author: XChippooX

The plugin is an advanced automated server-chat announcement system inspired by the clean, colorful style of large Minecraft SMP servers.

IMPORTANT:

This is NOT a ChatGame plugin.

It does NOT create trivia or games.

Its purpose is to automatically send useful, funny, exciting, and promotional messages into chat at configurable intervals.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ”₯ CORE SYSTEM ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Every 10 minutes by default, automatically send one random announcement.

The messages should feel natural and varied.

DO NOT simply send the same message repeatedly in the same order.

Use a random selection system.

Allow configurable intervals:

announcement-interval: 10m

Support:

  • seconds
  • minutes
  • hours

Examples: 5m 10m 30m 1h

Allow admins to change this without modifying Java code.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ’¬ PREMIUM CHAT DESIGN ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Make announcements look polished and similar to the colorful chat shown in the reference image.

Use a clean WAFFLE SMP identity.

Example:

&8[&6&lWAFFLE&8] &eEnjoy gaming! &6✦

Another:

&8[&6&lWAFFLE&8] &bπŸ’‘ &fTIP &8Β» &eExplore the world and discover something new!

Another:

&8[&6&lWAFFLE&8] &6πŸ’° &fTIP &8Β» &eMake money by selling valuable items!

Another:

&8[&6&lWAFFLE&8] &cβš” &fTIP &8Β» &eProtect your base and keep your valuables safe!

Make colors configurable.

Do NOT force one color scheme.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✨ MESSAGE TYPES ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Support different announcement categories.

Categories:

TIP INFO FUN EVENT SERVER ECONOMY PVP BUILDING COMMUNITY REMINDER CUSTOM

Each message can have its own category and formatting.

Example:

[ TIP ] Explore the world!

[ ECONOMY ] Make money by selling items!

[ COMMUNITY ] Invite your friends!

[ SERVER ] Enjoy playing WAFFLE SMP!

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎨 CONFIGURABLE MESSAGE FORMAT ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Allow admins to completely customize the format.

Example:

format: tip: "&8[&6&lWAFFLE&8] &eπŸ’‘ TIP &8Β» &f%message%" info: "&8[&6&lWAFFLE&8] &bβ„Ή INFO &8Β» &f%message%" fun: "&8[&6&lWAFFLE&8] &d✦ FUN &8Β» &f%message%" event: "&8[&6&lWAFFLE&8] &c⚑ EVENT &8Β» &f%message%"

Support:

  • & color codes
  • MiniMessage
  • HEX colors
  • bold
  • italic
  • underlined
  • strikethrough

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎲 SMART RANDOMIZATION ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Add a smart random message system.

Features:

  • Random message selection
  • Prevent the exact same message from appearing twice in a row
  • Optional cooldown per message
  • Optional category rotation
  • Optional weighted messages

Example:

weight: normal: 80 rare: 15 legendary: 5

Rare announcements should appear less often.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ’Ž RARE ANNOUNCEMENTS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Allow special rare messages.

Example:

&8&m━━━━━━━━━━━━━━━━━━━━━━ &6&l⚑ WAFFLE EVENT ⚑ &eA special event may be happening soon! &8&m━━━━━━━━━━━━━━━━━━━━━━

Make the chance configurable.

Example:

rare-message-chance: 5%

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ“’ MULTI-LINE ANNOUNCEMENTS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Allow announcements to contain multiple lines.

Example:

&8&m━━━━━━━━━━━━━━━━━━━━━━ &6&lWAFFLE SMP &eWelcome back to the server! &7Have fun and enjoy your time here. &8&m━━━━━━━━━━━━━━━━━━━━━━

Every line must be configurable.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ‘₯ PLAYER-AWARE MESSAGES ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Support placeholders.

Examples:

%player% %online% %max_players% %server_name% %time%

If PlaceholderAPI is installed, support PlaceholderAPI placeholders automatically.

Do NOT require PlaceholderAPI for the plugin to work.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🧠 SMART ONLINE DETECTION ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Do not broadcast announcements when nobody is online.

If the server has 0 players:

  • Do not send messages
  • Do not spam console

When the first player joins, continue the timer normally.

Optional configuration:

minimum-online-players: 1

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ”Š SOUND EFFECTS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Allow optional sounds when an announcement appears.

Example:

sound: enabled: true type: ENTITY_EXPERIENCE_ORB_PICKUP volume: 0.5 pitch: 1.2

Allow sounds to be disabled.

Also allow different sounds per category.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✨ TITLE / ACTIONBAR MODE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Allow special announcements to optionally use:

CHAT ACTIONBAR TITLE CHAT_AND_ACTIONBAR CHAT_AND_TITLE

Example title:

&6&lWAFFLE SMP &eEnjoy your stay!

Make this configurable per message.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ“‹ ANNOUNCEMENT QUEUE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Create a proper scheduler system.

Announcements must never stack multiple tasks after reload.

When /waffleautochat reload is used:

  1. Cancel the old scheduler.
  2. Reload config.
  3. Reload messages.
  4. Start exactly ONE new scheduler.
  5. Do not create duplicate announcements.

This is extremely important.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ βš™οΈ COMMANDS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

/waffleautochat /waffleautochat reload /waffleautochat toggle /waffleautochat status /waffleautochat test /waffleautochat next /waffleautochat list

Aliases:

/wac

Permissions:

waffleautochat.admin waffleautochat.reload waffleautochat.test

Command behavior:

/wac test β†’ Immediately sends a random test announcement.

/wac next β†’ Immediately sends the next scheduled announcement.

/wac status β†’ Shows whether the system is enabled and the next announcement time.

/wac reload β†’ Safely reloads everything without creating duplicate timers.

/wac toggle β†’ Enables/disables automatic announcements.

/wac list β†’ Shows loaded announcement categories and message count.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⏱️ COUNTDOWN STATUS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Make /wac status show something like:

&6&lWAFFLE AUTO CHAT &7Status: &aENABLED &7Interval: &e10 minutes &7Messages Loaded: &e42 &7Next Announcement: &e8m 32s

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ“ CONFIG.YML ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Make the configuration extremely easy to edit.

I should be able to add messages like:

messages:

tips: - "Explore the world!" - "Build something awesome!" - "Go mining and find valuable resources!" - "Invite your friends!"

economy: - "Make some money today!" - "Sell your valuable items!" - "Check the shop for new deals!"

fun: - "Enjoy gaming!" - "Have fun on WAFFLE SMP!" - "Good luck and have fun!"

I should NOT need to touch Java code to add messages.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ”₯ INCLUDE MANY DEFAULT MESSAGES ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Include at least 40 high-quality default announcements.

Examples:

"Enjoy gaming!"

"πŸ’‘ TIP: Explore the world and discover new places!"

"πŸ’° TIP: Sell valuable items to make money!"

"βš” TIP: Keep your gear ready for anything!"

"🏠 Build an awesome base!"

"⛏ Go mining and discover valuable resources!"

"πŸ‘₯ Invite your friends to WAFFLE SMP!"

"⭐ Stay active and enjoy the server!"

"🎁 Keep an eye out for special events!"

"πŸ”₯ Keep grinding!"

"🌎 There's always something new to discover!"

"πŸ’Ž Find rare resources and build your fortune!"

"πŸ›‘ Protect your valuables!"

"πŸ† Compete, grind, and become a legend!"

"🎯 Set yourself a goal and start grinding!"

"β˜• Take a break, then get back to grinding!"

"πŸͺ Don't forget to enjoy the WAFFLE SMP experience!"

Make the messages feel like real SMP announcements rather than robotic system messages.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ› οΈ ERROR HANDLING ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

If the configuration contains an invalid message:

  • Do NOT crash the plugin.
  • Log a clear warning.
  • Skip the invalid message.
  • Continue loading the remaining messages.

If the config is missing:

  • Automatically create it.

If the messages list is empty:

  • Display a clear console warning.

If a sound is invalid:

  • Disable that sound instead of crashing.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸš€ PERFORMANCE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

The plugin must be lightweight.

Do NOT:

  • Create unnecessary repeating tasks
  • Create a task for every player
  • Spam the console
  • Use a database
  • Perform unnecessary network requests
  • Cause server lag

Use one properly managed scheduler.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ“¦ PLUGIN FILE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

The final compiled plugin MUST be:

WaffleAutoChat-1.0.0.jar

It must be installable by simply placing it into:

plugins/

Then restarting Paper 1.21.11.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ“š COMPLETE PROJECT ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Provide the COMPLETE source project.

Include:

pom.xml src/main/java/... src/main/resources/plugin.yml src/main/resources/config.yml README.md

Use Maven.

Make sure the Paper API dependency matches Paper 1.21.11.

Do not give pseudocode.

Do not leave TODO sections.

Do not leave missing classes.

Everything must compile.

Give the exact command:

mvn clean package

The finished JAR must be created in:

target/WaffleAutoChat-1.0.0.jar

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ‘‘ BRANDING ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Every plugin startup should display:

======================================== WAFFLE AUTO CHAT Made by XChippooX Version 1.0.0 ========================================

Do not use any copyrighted branding from other servers.

The plugin should have its own WAFFLE SMP identity.

Make the entire plugin feel like a professionally developed premium Minecraft SMP plugin rather than a basic beginner plugin.

Kodari AI
KodariOct 2 at 4:14 pm 2
WaffleAutoChat
A premium automated server-chat announcement system for Paper 1.21.11, inspired by large SMP servers. Features configurable intervals, 11 message categories with 40+ default messages, smart randomization with weighted rare announcements, multi-line support, player-aware placeholders, optional sounds, and CHAT/ACTIONBAR/TITLE display modes. Includes a robust scheduler that prevents duplicate timers on reload, comprehensive admin commands with status tracking, and full config customization via YAML. Lightweight, error-tolerant, and requires no PlaceholderAPI dependency.
  1. Set up the Maven project for Java 21 and Paper 1.21.11.

  2. Implement announcement loading, formatting, randomization, placeholders, sounds, and one safely managed timer.

  3. Add commands, permissions, 50+ editable defaults, and build/install documentation.

Created the complete WAFFLE AUTO CHAT Maven project with configurable announcements, weighted random selection, rare and multiline messages, optional PlaceholderAPI support, sounds, display modes, commands, and a reload-safe single timer.

Build it with:

Shell
mvn clean package

The standalone plugin JAR is configured to be created at target/WaffleAutoChat-1.0.0.jar.

Kodari can make mistakes. Review important code before using.
Files
src
pom.xml
README.md
Code
11 1,212
src/main/java/com/waffleautochat/WaffleAutoChatPlugin.java
package com.waffleautochat;

import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class WaffleAutoChatPlugin extends JavaPlugin {
    private AnnouncementService announcementService;

    @Override
    public void onEnable() {
        getLogger().info("========================================");
        getLogger().info("      WAFFLE AUTO CHAT");
        getLogger().info("      Made by XChippooX");
        getLogger().info("      Version 1.0.0");
        getLogger().info("========================================");

        saveDefaultConfig();
        announcementService = new AnnouncementService(this);
        announcementService.reload();
        WaffleCommand command = new WaffleCommand(this, announcementService);
        getCommand("waffleautochat").setExecutor(command);
        getCommand("waffleautochat").setTabCompleter(command);
        if (Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) {
            getLogger().info("PlaceholderAPI detected; external placeholders are enabled.");
        }
    }

    @Override
    public void onDisable() {
        if (announcementService != null) {
            announcementService.disable();
        }
    }
}