Skip to content
This repository was archived by the owner on Aug 11, 2023. It is now read-only.

DBPerms

Devin Fritz edited this page Oct 8, 2021 · 3 revisions

DBPerms is a own implementation of a permission system for discord. It works in the same way as most minecraft permission systems work. Instead of giving a fix set of permission, there are strings for permissions. Via these strings all permission can be set with easy to use commands.

Commands

The commands are usable in minecraft and discord

  • dbperms add /role/ /permission/ - adds permission note to the given group and sets it enabled - db.cmd.mix.dbperms.add
  • dbperms remove /role/ /permission/ - removes permission note from the given group - db.cmd.mix.dbperms.remove
  • dbperms list /role/ - lists the permission for the role - db.cmd.mix.dbperms.list
  • dbperms set /role/ /permission/ /state/ - sets the enabled status for a permission - db.cmd.mix.dbperms.set
  • dbperms addinherit /role/ /otherRole/ - /role/ will inherit all permissions from /otherRole/ - db.cmd.mix.dbperms.addinherit
  • dbperms removeinherit /role/ /otherRole/ - /roll/ will not longer inherit from /otherRole/ - db.cmd.mix.dbperms.removeinherit
  • dbperms backup - stores the current mysql as yml file - db.cmd.mix.dbperms.backup
  • dbperms checkmc /player/ /permission/ - checks if a player has given permission - db.cmd.mix.dbperms.check
  • dbperms check /role/ /permission/ - checks if the given role has the given permission - db.cmd.mix.dbperms.check

Home

Home

DBPerms

Commands

Clone this wiki locally