You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally having the ability to pull lines from a lang file.
val lang by plugin.yaml()
("cmd"/ someArg).runs<Player> {
val msg_cmd_response by lang("&cOptional default response")
// TODO what about placeholders support?
reply(!msg_cmd_response)
}
lang.yaml (default)
msg:
cmd:
response: "&aYou ran this command %someArgValue%"
I saw some other plugin implementing some MiniMessage styled stuff for interacting with the player like this:
msg:
cmd:
response:
- "<lgreen>You ran this command %SomeArgValue%"
- "<title><lgreen>Command ran<subtitle><white>Subtitle</title>"
- "<sound:block_note_block_pling:0.3:2>"
Lightweight API allowing for developers to give users control to customize GUIs and save them to YAML.
e.g
This aims to generalize the process of letting an admin configure a gui from in-game.
The text was updated successfully, but these errors were encountered: