Commands and permissions - Rosstail/Karma GitHub Wiki

PERMISSIONS

Permission Description
karma.immune Immune the player to karma changes from fights
karma.command Grants possibility to send commands
karma.command.* (OP) Grants all commands permissions (karma.commands included). (OP)
karma.* (false) Grants all permissions

If you remove karma.command.* from a group or a player but still want that some karma commands works, add karma.command then all the subcommands you need.


COMMANDS

Basic commands

Default: true

Syntax permission Description
/karma (help) karma.command.help Displays help

Check commands

Default: true

Syntax permission Description
/karma check karma.command.check.self Shows the his karma info to sender . Player only.
/karma check [player] karma.command.check.other (OP) Shows the karma info of the targetted player to the sender.

Shop commands

Default: true

permission permission Description
/karma shop karma.command.shop List shops
/karma shop [shop] karma.command.shop.self Try to buy a service from karma shop. Player only
/karma shop [shop] [player] karma.command.shop.other (OP) Buy a service from karma shop to a player. Useful if used from items, console, etc.

Edit commands

Default: OP

Description: Commands to edit some things on the plugin. Actually used to edit data of players. On specific conditions (generally security purposes), the plugin will ask you one or multiple arguments. Each argument has a normal version "--argument" and a short version "-a". You can use multiple short arguments with one dash "-abc" where "a" "b" and "c" are arguments. You can put the arguments at any point of the command.

Normal Short Description
--disconnect -d Used to edit values of disconnected player
--generate -g Used to set values of player without datas (used in conjonction of --disconnect)
--override -o Used to bypass limitations such as karma limits or wanted time limit.
--silent -s Do not send locale config message upon editing player's data (do not shut commands).
Syntax permission Description
/karma edit karma.command.edit List edit commands.
------ ---------- -----------
/karma edit player karma.command.edit.player List edit player commands.
------ ---------- -----------
/karma edit player karma karma.command.edit.player.karma List edit player karma commands.
/karma edit player karma set [value] (-dgos) karma.command.edit.player.karma Set karma of player.
/karma edit player karma add [value] (-dgos) karma.command.edit.player.karma Add karma to player.
/karma edit player karma remove [value] (-dgos) karma.command.edit.player.karma Remove karma from player.
/karma edit player karma reset (-dgos) karma.command.edit.player.karma Reset karma of player to default.
------ ---------- -----------
/karma edit player tier karma.command.edit.player.tier list edit player tier commands.
/karma edit player tier set [value] (-dgos) karma.command.edit.player.tier Set default karma of selected tier to player.
------ ---------- -----------
/karma edit player wanted karma.command.edit.player.karma List edit player karma commands.
/karma edit player wanted set [value] (-dgos) karma.command.edit.player.wanted Set wanted time of player.
/karma edit player wanted add [value] (-dgos) karma.command.edit.player.wanted Add wanted time to player.
/karma edit player wanted remove [value] (-dgos) karma.command.edit.player.wanted Remove karma from player.
/karma edit player wanted reset (-dgos) karma.command.edit.player.wanted Reset wanted time of player to 0.

Special commands

Default: false

Command permission Description
/karma edit [expression] karma.command.edit (OP) Calculate an expression and send back the result.
/karma reload (-s) karma.command.reload (OP) Reload the karma configuration files