Walter Bean

an admin chat /ac then what ever u tye only admins will see it

Kodari AI
KodariNov 14 at 5:28 pm 1

Should I make this as a new Minecraft plugin project, or is it for an existing project you can add to the workspace?

Walter Bean

mc

Kodari AI
KodariNov 14 at 5:28 pm 1

Got it—Minecraft. Should I create a new server plugin for /ac, or is this for an existing project you can add to the workspace?

Walter Bean

new

Kodari AI
KodariNov 14 at 5:28 pm 1
Created Admin ChatPlugins
Delegated to Admin Chat Running
Build a Bukkit/Paper Minecraft server plugin implementing admin chat. Add a command `/ac` that takes the rest of the message as text and sends it only to online admins, never regular players. Define admins as players with the permission `adminchat.use` (and allow console use sensibly if appropriate). Register the command, permission defaults, and plugin metadata in the project's standard files. Ensure sensible behavior for missing message (show usage) and no recipients. Keep the implementation focused and compatible with the project’s configured server/API version. Do not add tests.

I’ve started a new Minecraft server plugin with /ac. Messages will be visible only to players with the adminchat.use permission.

Walter Bean

no code it

Kodari AI
KodariNov 14 at 5:29 pm 1

It’s being coded now—the /ac command will send messages only to players with adminchat.use.

Report from 1 project
Admin ChatCompleted
TaskBuild a Bukkit/Paper Minecraft server plugin implementing admin chat. Add a command `/ac` that takes the rest of the message as text and sends it only to online admins, never regular players. Define a...
  1. Add the Gradle/Paper project setup for Java 21.

  2. Implement /ac with permission-filtered delivery and sensible console/no-recipient handling.

  3. Register the command, permission default, and plugin metadata in plugin.yml.Implemented /ac <message> with adminchat.use-only delivery, defaulting to operators. Console can send messages; missing text shows usage, and the sender is notified if there are no online admin recipients. Added the Paper 1.21.4 / Java 21 project setup.

Kodari AI
KodariNov 14 at 5:29 pm 1
Compiled Admin ChatSucceeded

The /ac <message> plugin is finished and the build succeeded. Only players with adminchat.use receive messages (operators have it by default); console can send messages too.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code