S

Create a automatic broadcast system plugin. Make sure that all broadcast will be has a configurable time when will be the next broadcast and make sure that the configuration of this plugin is easier to understand. I also want you to make the name of this plugin CloudBroadcast with the author Velrion/Kryzi (one person). I also want you to add /cast reload (to reload all configuration) and /cast list (to see all the available broadcast list). Make sure that if I want to added a new broadcast it will automatically applied. I also want you to make the broadcast a modernize to make it suitable for a modern server. Here are the list of the broadcast will be automatically broadcast: ‎ ‎- /rules ‎- /website ‎- /discord ‎- /store ‎- /nightvision ‎- /lottery ‎- /shardshop (key shop) ‎- /cosmetics (cosmetic shop for pets, tags and trails effect) ‎- /afkshards (Shard Zone to earn shards) ‎- /afkpoints (Point Zone to earn points) ‎- /rtp ‎- /baltop ‎- /profile ‎- /jobs ‎- /shop ‎- /sell ‎- /info ‎- /bosses (boss warp menu) ‎- /menu (warp menu) ‎- /kits ‎- /rtp ‎- /tag ‎- /pet ‎- /coinflip ‎- /ah (auction house) ‎- /tpa ‎- /tpaccept ‎- /tpahere ‎- /warp ‎- /spawn ‎- /arena ‎- /leaderboard ‎- /crates ‎- /clan ‎- /bounty ‎- /lands

Kodari AI
KodariSep 26 at 2:25 pm 1
CloudBroadcast
An automatic broadcast system plugin for modern Minecraft servers. Features a user-friendly configuration file with clear, commented sections for easy editing. Broadcasts cycle automatically at configurable intervals, with each message having its own customizable delay. Includes /cast reload to hot-reload all configurations without restart, and /cast list to display all available broadcasts. New broadcasts added to the config are automatically detected and applied on reload. Messages are modernized with support for color codes, placeholders, and clickable command suggestions. Pre-configured with 35+ server commands including /rules, /discord, /store, /kits, /warp, /spawn, and more. Built by Velrion/Kryzi.
  1. Create the Paper plugin project and CloudBroadcast metadata.

  2. Add an easy-to-edit broadcast file with all requested commands and per-broadcast intervals.

  3. Implement automatic file reloads, next-broadcast timing, and /cast reload / /cast list.

Created CloudBroadcast with the requested author, Velrion/Kryzi. It includes configurable broadcasts for all requested commands, per-broadcast intervals, automatic loading of edits to broadcasts.yml, and /cast reload and /cast list (which shows each broadcast’s next scheduled time).

S

I want you to copy this kind of format of broadcast message to all. I also want you to make the broadcast automatically broadcast on a certain amount of time and make sure that one after another until it reach on the end of the list and loops again. I also want you to add different sound effect to each broadcast messages that are available.

1 image attached
Kodari AI
KodariSep 27 at 1:57 am 1
  1. Update every broadcast to match the image’s title, description, and command-line layout.

  2. Make broadcasts cycle in order at a configurable interval, looping from the end back to the start.

  3. Configure a distinct sound effect for each broadcast.

Updated all 35 broadcasts to use the image-inspired title, description, and command layout. They now play in config order, wait for each entry’s interval-seconds, then loop back to the first enabled entry. Every broadcast has its own configurable sound, and /cast list shows the next broadcast’s countdown while marking the rest as queued.

S

Change every broadcast messages from green to pink (only the color will be change, the format will remain), I also wanted you to change the name of the plugin into NyraBroadcast and I also wanted you to apply this features on the list below (Remove all the commands that says on the broadcast messages if its not include in the list):

  • /rtp
  • /tpa
  • /tpaccept
  • /tpahere
  • /jobs
  • /lands
  • /claim
  • /unclaim
  • /trust
  • /untrust
  • /home
  • /delhome
  • /sethome
  • /warp
  • /spawn
  • /arena
  • /nv
  • /gradient
  • /chatcolor
  • /marry
  • /skin
  • /trade
  • /gift
Kodari AI
KodariThu at 2:51 am 2
  1. Change the broadcast accent from green to pink while preserving the layout.

  2. Rename the plugin to NyraBroadcast.

  3. Replace the broadcast list with the requested commands, keeping sequential timing and sounds.

Renamed the plugin to NyraBroadcast and updated the broadcasts to use pink accents, the requested command list, and distinct sounds. The existing layout and sequential timing remain unchanged.

The renamed plugin creates a new NyraBroadcast data folder with the new defaults; your old CloudBroadcast configuration is left untouched. The reload permission remains cloudbroadcast.admin.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
8 559
src/main/java/com/velrion/cloudbroadcast/CloudBroadcastPlugin.java
package com.velrion.cloudbroadcast;

import com.velrion.cloudbroadcast.command.CastCommand;
import com.velrion.cloudbroadcast.manager.BroadcastManager;
import org.bukkit.plugin.java.JavaPlugin;

public final class CloudBroadcastPlugin extends JavaPlugin {

    private BroadcastManager broadcastManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        if (!getDataFolder().exists() && !getDataFolder().mkdirs()) {
            getLogger().severe("Could not create the plugin data folder.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }
        if (!new java.io.File(getDataFolder(), "broadcasts.yml").exists()) {
            saveResource("broadcasts.yml", false);
        }

        broadcastManager = new BroadcastManager(this);
        broadcastManager.start();

        CastCommand castCommand = new CastCommand(this, broadcastManager);
        getCommand("cast").setExecutor(castCommand);
        getCommand("cast").setTabCompleter(castCommand);
    }

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