NationCrest

Permissions

Every permission node NationCrest registers, what it grants and its default.

NodeGrantsDefault
nationcrest.useThe /flag help outputEveryone
nationcrest.toggle/flag toggle, /flag show, /flag hideEveryone
nationcrest.info/flag info on yourselfEveryone
nationcrest.info.others/flag info <player> on somebody elseOperators
nationcrest.admin/flag set, /flag reset, /flag debugOperators
nationcrest.reload/flag reloadOperators

What players get without any setup

Out of the box a normal player can view the help, hide and show their own flag, and see their own country. Nothing else.

That is deliberate. Nobody needs a permission plugin for NationCrest to be useful.

Locking it down further

If you do not want players hiding their flag at all, take nationcrest.toggle away:

# LuckPerms, as an example
permissions:
  - nationcrest.toggle: false

Their flag then always shows and /flag hide tells them they do not have permission.

Tab completion follows permissions

/flag only suggests subcommands the player can actually run, so a normal player pressing tab sees toggle, show, hide and info, not set or reload.

Missing permission

There is no stack trace and no silent failure. The player gets general.no-permission from the language file, which you can reword.

On this page