You have to open PermissionConfig.yml located in /plugins/MineCordBot/ with a more advanced text editor like Atom, Notepad++, or SublimeText.Īfter that, just follow the default format that have been generated. To check for a role's permission flags, you executeĬonfiguring a role's permission manually in PermissionConfig.yml To remove a permission, you execute (You can add multiple flags) To set a flag for a role, you execute (You can add multiple flags) To add a permission flag to a role, you can either do it by command or manually add it on Minecordbot's PermissionConfig.yml Configuring a role's permission using the permission command. Permission flags can be set for a specific role or a specific text channel. This primitive target will modify the access for all commands. There is also a primitive target and that is all. A target can be any Minecordbot commands or any Minecordbot command category. The target will actually specify what command or what category you are modifying. Pretty straight forward, negative will prevent someone from executing the target and positive will allow someone to execute the target. Structure Basic FormatĪ permission flag is surrounded by an opening Access Modifier Permission flags can be assigned to a Discord role or a text channel to give or limit user's access to a specific command or command category. Permission Flags What Are Permission Flags? In-game commands are handled with the native Bukkit permission system. For Discord commands, permissions are handled through permission flags. Permissions are handled differently for Discord and Minecraft. You can refer to our Configuration page for help. Save, and upload (if necessary), the changed configurations and restart your server.