Pex Permissions not working correctly but the file seems okay
AaronSpinner opened this issue ยท 1 comments
Hello Evryone :)
we are running a forgesponge Server on MC version 1.10.2 forge Version 12.18.1.2092 and sponge API 5.0.0 BETA-1785.
Today we created groups with PEX, the Owner group works as it should I got all permissions, but evry other group dont got anny permissions... and it dosnt matter if I add the permission in the config file/consol/ingame :( Me and my friend have no clue what we are doing wrong :/
If you need more Information just tell me!
Here the permissions.json
{
"subjects": {
"default": {
"Gast": [
{
"parents": [
"group:default"
]
}
]
},
"group": {
"Owner": [
{
"permissions-default": 1
}
],
"Admin": [
{
"permissions": {
"simpletags.cmd.*": 1,
"permissions-default": 1,
"modifyworld": 1,
"totaleconemy.command.*": 1
}
}
],
"Spieler": [
{
"permissions": {
"totaleconemy.command.pay": 1,
"totaleconemy.command.viewbalance": 1,
"totaleconemy.command.balancetop": 1,
"totaleconemy.command.jobset": 1,
"totaleconemy.command.job": 1,
"totaleconemy.command.jobtoggle": 1,
"totaleconemy.command.jobinfo": 1,
"modifyworld": 1,
"totaleconemy.command.balance": 1
}
}
],
"Gast": [
{
"modifyworld": -1,
"permissions-default": -1
}
]
},
"user": {
"7b5e781a-8fda-3e7e-985a-462a49653328": [
{
"parents": [
"group:Spieler"
],
"options": {
"name": "LiLa007"
}
}
],
"08beeca8-28ac-393a-a593-08553d53cbb1": [
{
"parents": [
"group:Owner"
],
"options": {
"name": "oOBlackCrystalOo"
}
}
]
},
"system": {}
},
"schema-version": 4
}
and the permissionsex.conf
# The list of backends able to be selected
backends {
default {
prefix=pex
type=sql
url="jdbc:h2:permissions"
}
default-file {
# Place file entries in alphabetical order
alphabetize-entries=false
file="permissions.json"
type=file
}
}
# Whether to log permissions checks being performed
debug=false
default-backend=default-file
# Tags that apply to this server (which match with permissions blocks restricted by server-tag contexts
server-tags=[]
version=0
Thnks for talking time !
Aaron
Read the changes in 2.0 document, specifically (https://github.com/PEXPlugins/PermissionsEx/blob/master/doc/Changes-In-2.0.md#node-format-changes)[this section] to learn about changes in 2.0 that will make things work differently.