mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-09-25 05:21:29 +02:00
Update Storage-types.md
@@ -106,6 +106,7 @@ primary-group: default
|
|||||||
permissions:
|
permissions:
|
||||||
- test.permission:
|
- test.permission:
|
||||||
value: true
|
value: true
|
||||||
|
context:
|
||||||
server: factions
|
server: factions
|
||||||
- negated.permission.example:
|
- negated.permission.example:
|
||||||
value: false
|
value: false
|
||||||
@@ -129,35 +130,41 @@ meta:
|
|||||||
"primaryGroup": "default",
|
"primaryGroup": "default",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
{
|
{
|
||||||
"test.permission": {
|
"permission": "test.permission",
|
||||||
"value": true,
|
"value": true,
|
||||||
|
"context": {
|
||||||
"server": "factions"
|
"server": "factions"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"negated.permission.example": {
|
"permission": "negated.permission.example",
|
||||||
"value": false
|
"value": false
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"special.test.perm",
|
{
|
||||||
"special.test.permission"
|
"permission": "special.test.perm",
|
||||||
|
"value": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"permission": "special.test.permission",
|
||||||
|
"value": true
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"parents": [
|
"parents": [
|
||||||
"default"
|
{
|
||||||
|
"group": "default"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"prefixes": [
|
"prefixes": [
|
||||||
{
|
{
|
||||||
"&c[Admin] ": {
|
"prefix": "&c[Admin] ",
|
||||||
"priority": 10
|
"priority": 10
|
||||||
}
|
}
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"meta": [
|
"meta": [
|
||||||
{
|
{
|
||||||
"homes": {
|
"key": "homes",
|
||||||
"value": "10"
|
"value": "10"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@@ -165,39 +172,45 @@ meta:
|
|||||||
##### Example HOCON file
|
##### Example HOCON file
|
||||||
```conf
|
```conf
|
||||||
uuid=c1d60c50-70b5-4722-8057-87767557e50d
|
uuid=c1d60c50-70b5-4722-8057-87767557e50d
|
||||||
name="Luck"
|
name=Luck
|
||||||
primary-group=default
|
primary-group=default
|
||||||
permissions=[
|
permissions=[
|
||||||
{
|
{
|
||||||
"test.permission" {
|
permission="test.permission"
|
||||||
server=factions
|
|
||||||
value=true
|
value=true
|
||||||
|
context {
|
||||||
|
server=factions
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"negated.permission.example" {
|
permission="negated.permission.example"
|
||||||
value=false
|
value=false
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"special.test.perm",
|
{
|
||||||
"special.test.permission"
|
permission="special.test.perm"
|
||||||
|
value=true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
permission="special.test.permission"
|
||||||
|
value=true
|
||||||
|
}
|
||||||
]
|
]
|
||||||
parents=[
|
parents=[
|
||||||
default
|
{
|
||||||
|
group=default
|
||||||
|
}
|
||||||
]
|
]
|
||||||
prefixes=[
|
prefixes=[
|
||||||
{
|
{
|
||||||
"&c[Admin] " {
|
prefix="&c[Admin] "
|
||||||
priority=10
|
priority=10
|
||||||
}
|
}
|
||||||
}
|
|
||||||
]
|
]
|
||||||
meta=[
|
meta=[
|
||||||
{
|
{
|
||||||
homes {
|
key=homes
|
||||||
value="10"
|
value="10"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user