rune.jsonc
1.1 KB · sha256:da94c261ff1c968611fc081f10fd6ff0fd86af6b1af9676a2b31a5776b5423cd
// Rune script descriptor for the `permissions` folder.
//
// PlaceholderAPI is OPTIONAL -- if present, prefixes/suffixes are
// expanded through PAPI before being rendered, so admins can write
// e.g. `prefix = "[%vault_eco_balance%]"` and have it interpolate
// per-player.
//
// Vault (we use the Vault2 fork) is OPTIONAL -- when present, the
// `vault:money` transaction handler is registered. Declaring it here
// lets Rune dump types for `vault.economy.Economy` and resolve the
// Class<?> through Vault2's own plugin classloader so identity-based
// ServicesManager lookups hit.
{
"plugins": {
"PlaceholderAPI": {
"alias": "papi",
"package": "me.clip.placeholderapi",
"required": false,
},
"Vault": {
"alias": "vault",
"package": "net.milkbowl.vault",
"required": false,
},
},
// Globals available throughout this folder. `mm` is the MiniMessage
// package; `Component` / `NamedColor` come from kyori-adventure.
"aliases": {
"mm": "kyori.adventure.text.minimessage",
"Component": "kyori.adventure.text.Component",
"NamedColor": "kyori.adventure.text.format.NamedTextColor",
},
}