Mod
Custom Commands
No reviews yet
custom command aliases for vanillish servers written in kdl
Provides a framework or library for other mods to use.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Custom Commands
custom command aliases for vanillish servers written in kdl
custom commands lets server owners write a file at static_data/commands.kdl to add aliases or shorthands for special commands or triggers
current supported nodes:
- literal <name> - keyword command node
- requires [requirements] - requirements for parent node, properties determine requirements:
- opLevel - required op level to run command (permissionLevel will work but is considered deprecated)
- permission - fabric permissions api permission key required to run command
- executes <command> - sets what command the parent node executes
to do: - [ ] allow arbitrary arguments instead of just keywords - [ ] add more properties for requirements - [x] vanilla op level - [x] fabric permissions api
sample configuration:
kdl
literal "afk" { //shorthand for afk data pack https://www.planetminecraft.com/data-pack/afk-pack/
executes "trigger afk"
}
literal "giveall" { //give preset items to everyone on the server
requires permissionLevel=4
literal "diamonds" { //escaped quotes
executes "give @a diamond{display:{Name:'[{\"text\":\"happy diamond\",\"italic\":false}]'}} 64"
}
literal "magicsword" { //kdl raw strings
executes r#"give @p netherite_sword{Unbreakable:1,display:{Name:'[{"text":"magic sword","italic":false}]',Lore:['[{"text":"a sword passed down","italic":false}]','[{"text":"through the ages","italic":false}]','[{"text":"from hero to hero","italic":false}]']},Enchantments:[{id:fire_aspect,lvl:2},{id:knockback,lvl:2},{id:looting,lvl:3},{id:sharpness,lvl:5}]} 64"#
}
}
Custom Commands
custom command aliases for vanillish servers written in kdl
custom commands lets server owners write a file at static_data/commands.kdl to add aliases or shorthands for special commands or triggers
current supported nodes:
literal <name>- keyword command noderequires [requirements]- requirements for parent node, properties determine requirements:permissionLevel- required permission level to run command
executes <command>- sets what command the parent node executes
sample configuration:
literal "afk" { //shorthand for afk data pack https://www.planetminecraft.com/data-pack/afk-pack/
executes "trigger afk"
}
literal "giveall" { //give preset items to everyone on the server
requires permissionLevel=4
literal "diamonds" { //escaped quotes
executes "give @a diamond{display:{Name:'[{\"text\":\"happy diamond\",\"italic\":false}]'}} 64"
}
literal "magicsword" { //kdl raw strings
executes r#"give @p netherite_sword{Unbreakable:1,display:{Name:'[{"text":"magic sword","italic":false}]',Lore:['[{"text":"a sword passed down","italic":false}]','[{"text":"through the ages","italic":false}]','[{"text":"from hero to hero","italic":false}]']},Enchantments:[{id:fire_aspect,lvl:2},{id:knockback,lvl:2},{id:looting,lvl:3},{id:sharpness,lvl:5}]} 64"#
}
}
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers