Skip to content

2. Permissions

Ynfuien edited this page May 3, 2024 · 3 revisions

Commands

Main command

Permission Access to
ychatmanager.main the command
ychatmanager.main.anti-swear anti-swear subcommand
ychatmanager.main.anti-swear.words editing swear words
ychatmanager.main.anti-swear.exceptions editing swear word exceptions
ychatmanager.main.reload reload subcommand
ychatmanager.main.version version subcommand

Nick command

Permission Access to
ychatmanager.command.nick formatting own nickname (only colors/formats)
ychatmanager.command.nick.others formatting others nicknames
ychatmanager.command.nick.custom changing nickname text and not only colors
ychatmanager.command.nick.unsafe bypassing nick restrictions (length, chars)
ychatmanager.command.nick.formats.* all formats

Other commands

Permission Access to
ychatmanager.command.clearchat clearchat command
ychatmanager.command.message message (msg) command
ychatmanager.command.message.vanished messaging vanished players
ychatmanager.command.reply reply command
ychatmanager.command.socialspy social spy command
ychatmanager.command.socialspy.others changing ss for ther players

Formats, colors

Chat and nick formatting have multitude of permissions, so here they are.

<chat|command.nick> means "chat or command.nick". For example, permission for the white color in the nick is ychatmanager.command.nick.formats.color.white while for the chat is ychatmanager.chat.formats.color.white.

MiniMessage

Permission Access to tag(s)
Colors
ychatmanager.<chat|command.nick>.formats.color.hex <#RRGGBB>
ychatmanager.<chat|command.nick>.formats.color.aqua <aqua>
ychatmanager.<chat|command.nick>.formats.color.black <black>
ychatmanager.<chat|command.nick>.formats.color.blue <blue>
ychatmanager.<chat|command.nick>.formats.color.gold <gold>
ychatmanager.<chat|command.nick>.formats.color.gray <gray>
ychatmanager.<chat|command.nick>.formats.color.green <green>
ychatmanager.<chat|command.nick>.formats.color.red <red>
ychatmanager.<chat|command.nick>.formats.color.white <white>
ychatmanager.<chat|command.nick>.formats.color.yellow <yellow>
ychatmanager.<chat|command.nick>.formats.color.light_purple <light_purple>
ychatmanager.<chat|command.nick>.formats.color.dark_aqua <dark_aqua>
ychatmanager.<chat|command.nick>.formats.color.dark_blue <dark_blue>
ychatmanager.<chat|command.nick>.formats.color.dark_gray <dark_gray>
ychatmanager.<chat|command.nick>.formats.color.dark_green <dark_green>
ychatmanager.<chat|command.nick>.formats.color.dark_purple <dark_purple>
ychatmanager.<chat|command.nick>.formats.color.dark_red <dark_red>
Decorations
ychatmanager.<chat|command.nick>.formats.decoration.bold <bold>, <b>
ychatmanager.<chat|command.nick>.formats.decoration.italic <italic>, <em>, <i>
ychatmanager.<chat|command.nick>.formats.decoration.obfuscated <obfuscated>, <obf>
ychatmanager.<chat|command.nick>.formats.decoration.strikethrough <strikethrough>, <st>
ychatmanager.<chat|command.nick>.formats.decoration.underlined <underlined>, <u>
Other
ychatmanager.chat.formats.click <click>
ychatmanager.<chat|command.nick>.formats.font <font>
ychatmanager.<chat|command.nick>.formats.gradient <gradient>
ychatmanager.chat.formats.hover <hover>
ychatmanager.chat.formats.insertion <insertion>, <insert>
ychatmanager.<chat|command.nick>.formats.keybind <key>
ychatmanager.<chat|command.nick>.formats.nbt <nbt>, <data>
ychatmanager.chat.formats.newline <newline>, <br>
ychatmanager.<chat|command.nick>.formats.rainbow <rainbow>
ychatmanager.<chat|command.nick>.formats.reset <reset>
ychatmanager.chat.formats.score <score>
ychatmanager.<chat|command.nick>.formats.selector <selector>, <sel>
ychatmanager.<chat|command.nick>.formats.transition <transition>
ychatmanager.<chat|command.nick>.formats.translatable <lang>, <tr>, <translate>

For the exact usage of MiniMessage go here

Legacy

Permission Access to code
Colors
ychatmanager.<chat|command.nick>.formats.legacy.hex &#RRGGBB
ychatmanager.<chat|command.nick>.formats.legacy.black &0
ychatmanager.<chat|command.nick>.formats.legacy.dark_blue &1
ychatmanager.<chat|command.nick>.formats.legacy.dark_green &2
ychatmanager.<chat|command.nick>.formats.legacy.dark_aqua &3
ychatmanager.<chat|command.nick>.formats.legacy.dark_red &4
ychatmanager.<chat|command.nick>.formats.legacy.dark_purple &5
ychatmanager.<chat|command.nick>.formats.legacy.gold &6
ychatmanager.<chat|command.nick>.formats.legacy.gray &7
ychatmanager.<chat|command.nick>.formats.legacy.dark_gray &8
ychatmanager.<chat|command.nick>.formats.legacy.blue &9
ychatmanager.<chat|command.nick>.formats.legacy.green &a
ychatmanager.<chat|command.nick>.formats.legacy.aqua &b
ychatmanager.<chat|command.nick>.formats.legacy.red &c
ychatmanager.<chat|command.nick>.formats.legacy.light_purple &d
ychatmanager.<chat|command.nick>.formats.legacy.yellow &e
ychatmanager.<chat|command.nick>.formats.legacy.white &f
Formats
ychatmanager.<chat|command.nick>.formats.legacy.magic &k
ychatmanager.<chat|command.nick>.formats.legacy.bold &l
ychatmanager.<chat|command.nick>.formats.legacy.strikethrough &m
ychatmanager.<chat|command.nick>.formats.legacy.underline &n
ychatmanager.<chat|command.nick>.formats.legacy.italic &o
ychatmanager.<chat|command.nick>.formats.legacy.reset &r

PAPI

ychatmanager.<chat|command.nick>.formats.papi - permission to use %placeholderapi% placeholders. (They are parsed once at command/chat execution)

Clone this wiki locally