Simple but effective bukkit permissions plugin.
The intention of chiara is a provide a very simple and comprehensive concept of permissions. It is heavily inspired by PermissionsBukkit in terms of configuration and simplicity. This plugin is meant to be used for small servers where all data can be held in memory easily.
Build Status | Gradle Build | GitHub Release | Gradle Publish | CodeQL |
---|---|---|---|---|
master |
If you are interested in contributing, please read the CONTRIBUTING.md.
In the following you can see a full reference of the groups and users with all available entry types:
- Player / Group Permissions
- World Permissions
- Players Groups / Group Inheritance
Default users.yml:
users:
f675a756-4b50-4e6e-a6bf-6713e869f83d:
# User permissions
permissions:
epic.*: true
world.build: true
worldedit.butcher: false
world.admin.*: true
worldguard.region: false
# World specific permissions
worlds:
world:
command.spawn: true
command.kill: false
world.build: false
world_nether:
command.spawn: false
world.build: false
# Groups
groups:
- moderator
- builder
Default groups.yml:
groups:
# Admin Group
admin:
# Group permissions
permissions:
worldedit.admin.*: true
# World specific permissions
worlds:
world:
worldguard.*: true
# Inheritance
inheritance:
- moderator
# Moderator group
moderator:
# Group permissions
permissions:
server.broadcast: true
server.kick: true
server.kill: true
# World specific permissions
worlds:
world_nether:
command.gamemode: false
There is a general management command:
/permissions [list|reload]
(Aliases: perms
, perm
)
permissions:
chiara.*:
description: Gives you full access to chiara
children:
- chiara.command.*
chiara.command.*:
description: Gives you access to all commands
children:
- chiara.command.permissions.*
chiara.command.permissions.*:
description: Permissions to work with all permissions
children:
- chiara.command.permissions
- chiara.command.permissions.list
- chiara.command.permissions.reload
- chiara.command.permissions.save
- chiara.command.permissions.group.*
- chiara.command.permissions.user.*
chiara.command.permissions:
description: Permissions to work with permissions
chiara.command.permissions.list:
description: Permissions to show all your permissions
chiara.command.permissions.reload:
description: Reload the permissions from the config
chiara.command.permissions.save:
description: Save the permissions to the config
chiara.command.permissions.group.*:
description: Access to group commands
children:
- chiara.command.permissions.group.list
chiara.command.permissions.group.list:
description: Permission to print out all groups
chiara.command.permissions.user.*:
description: Access to iser commands
children:
- chiara.command.permissions.user.group.*
chiara.command.permissions.user.group.*:
description: Access to user group commands
children:
- chiara.command.permissions.user.group.add
- chiara.command.permissions.user.group.remove
- chiara.command.permissions.user.group.list
chiara.command.permissions.user.group.add:
description: Permission to add a user to a group
chiara.command.permissions.user.group.remove:
description: Permission to remove a user from a group
chiara.command.permissions.user.group.list:
description: Permission to list a users groups.
Gradle repositories
repositories {
maven {
name = "mysteryworlds-chiara-github-package-registry"
description = "Mysteryworlds Chiara GitHub Package Registry"
url = "https://maven.pkg.github.com/mysteryworlds/chiara/"
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
}
}
}
Gradle dependencies
dependencies {
implementation 'com.mysteryworlds:chiara-bukkit:4.2.0'
}
Maven repositories
<repositories>
<repository>
<id>mysteryworlds-chiara-github-package-registry</id>
<name>Mysteryworlds Chiara GitHub Package Registry</name>
<url>https://maven.pkg.github.com/mysteryworlds/chiara/</url>
</repository>
</repositories>
Maven dependencies
<dependency>
<groupId>com.mysteryworlds</groupId>
<artifactId>chiara-bukkit</artifactId>
<version>4.2.0</version>
</dependency>