Skip to content

Permissions

Elikill58 edited this page Mar 2, 2021 · 4 revisions

Permissions

Negativity has its own cross-platform permissions management layer.

It is based on a checker that will indicate if a player has the permission to do an action.

The checker can be set in the configuration Permissions.checker (defaults to platform).

The platform checker delegates the check to the underlying permission system (usually a permissions plugin).

Other plugins can register their own checkers to hold their own logic and make their decision based on other information (like a power system, or a per-player state)


List of all permissions

Commands

You cannot change them, and you need them to use command.

  • /negativity (alias: /n and /neg) : negativity.negativity
  • /nmod (alias: /mod) : negativity.mod
  • /nreport (alias: /report) : negativity.report
  • /nban (alias: /ban) : negativity.ban
  • /nunban (alias: /unban) : negativity.unban
  • /nkick (alias: /kick) : negativity.kick
  • /nlang (alias: /lang) : negativity.lang

You can have the permission negativity.* which gives : negativity.negativity negativity.report negativity.ban negativity.unban negativity.kick negativity.mod negativity.verif negativity.alert negativity.mod negativity.managecheat negativity.reportwait

This is also an [https://img.eliapp.fr/negativity_permission.png](outdated picture) which some some of them.

Others permissions

You can change them in configuration

The "default" field in all configuration section represent the needed permission. For example:

Permissions:
  showAlert:
    default: "negativity.alert"

Here, you need the permission negativity.alert to see alert.

All available permissions :

  • check : Allow to see the checking inventory (/n <playerName>)
  • showAlert : Show cheating alerts
  • showReport : Show report (made thanks to report command)
  • verif : Run verification with /negativity verif command
  • manageCheat : Management of all cheat by GUI
  • reload : Reload the Negativity plugin
  • report_wait : Remove time between 2 reports
  • bypass : Allow to bypass a specific cheat (or all at same time)