Sueta

CustomCommand

2.4.4

lightweight · modern · brigadier trees · javascript execution · supports datapacks

·Plugin

CustomCommand v2

A custom command creation plugin using brigadier.



ghpages
modrinth-gallery
discord-singular
bstats


paper
purpur
spigot
bungeecord

1.21-26.2 · Bedrock compatible · Datapack compatible · Javascript execution · No AI Code* · Automatic Updater

Early stages of development

v2 is currently under development. I'm not on alpha/beta builds anymore, but there are still many features to add and features to change.
When finished, it will feature:

  • ✅ basic command features like description, permission, disabling and console only.
  • ✅ preset argument types
  • ✅ custom suggestions, requirements and execution
  • ✅ a plugin reload command
  • ✅ more execution types like TEXT or even
  • calling URLs easily
  • ✅ cooldowns
  • ✅ commands usable in datapacks (functions)
  • utils like clickable items/signs to execute commands

Reloadability

There is a reload command.
Just type /ccmd reload and check the console for errors.
This method uses NMS (minecarft's internals) which may change in every update.
So if the command doesn't work for you, restart instead.

I don't plan to make this plugin reloadable using the /reload command.
It uses paper's brigadier command registration, which is a lifecycle "event", which blocks reloading, so you will get an error message when trying to run the reload command.

Any plugins that promise to reload plugins on runtime will not work;
either throw an exception, crash the server or do nothing.

Compatibility

Minecraft Versions

The latest major version and its minor versions will always be supported, e.g. 26 and its minor versions like 26.1 and 26.1.2.
I will not try to keep a wide compatibility range.

Bedrock Support (GeyserMC)

Commands created by CustomCommand work like any other command on bedrock.
Suggestions are not shown for bedrock players as the bedrock chat doesn't support them.
I will consider adding a work-around with suggestions in the actionbar or the chat (or both).

Folia Support

Folia is supported

Velocity Support

Not yet, but it is a priority.

Fabric (Server)

Not yet, I'd love to tho.

Fabric (Client)

Not yet.
I can imagine that I will make it as soon as the plugin has all features I want to add.

*: AI Usage?

  • ❌ Vibecoding/Agentic Engineering (fully AI generated files or parts of the project)
  • ✅ Debugging
  • ❌ Generating text (description, example commands, tutorials)
  • ✅ Generating long Markdown tables
  • ❌ Correcting my grammar

Statistics

My test servers are not included.

bStats Servers
bStats Players

Similar projects

Plugin →