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:
|
||||
- test.permission:
|
||||
value: true
|
||||
context:
|
||||
server: factions
|
||||
- negated.permission.example:
|
||||
value: false
|
||||
@@ -129,35 +130,41 @@ meta:
|
||||
"primaryGroup": "default",
|
||||
"permissions": [
|
||||
{
|
||||
"test.permission": {
|
||||
"permission": "test.permission",
|
||||
"value": true,
|
||||
"context": {
|
||||
"server": "factions"
|
||||
}
|
||||
},
|
||||
{
|
||||
"negated.permission.example": {
|
||||
"permission": "negated.permission.example",
|
||||
"value": false
|
||||
}
|
||||
},
|
||||
"special.test.perm",
|
||||
"special.test.permission"
|
||||
{
|
||||
"permission": "special.test.perm",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"permission": "special.test.permission",
|
||||
"value": true
|
||||
}
|
||||
],
|
||||
"parents": [
|
||||
"default"
|
||||
{
|
||||
"group": "default"
|
||||
}
|
||||
],
|
||||
"prefixes": [
|
||||
{
|
||||
"&c[Admin] ": {
|
||||
"prefix": "&c[Admin] ",
|
||||
"priority": 10
|
||||
}
|
||||
}
|
||||
],
|
||||
"meta": [
|
||||
{
|
||||
"homes": {
|
||||
"key": "homes",
|
||||
"value": "10"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
@@ -165,39 +172,45 @@ meta:
|
||||
##### Example HOCON file
|
||||
```conf
|
||||
uuid=c1d60c50-70b5-4722-8057-87767557e50d
|
||||
name="Luck"
|
||||
name=Luck
|
||||
primary-group=default
|
||||
permissions=[
|
||||
{
|
||||
"test.permission" {
|
||||
server=factions
|
||||
permission="test.permission"
|
||||
value=true
|
||||
context {
|
||||
server=factions
|
||||
}
|
||||
},
|
||||
{
|
||||
"negated.permission.example" {
|
||||
permission="negated.permission.example"
|
||||
value=false
|
||||
}
|
||||
},
|
||||
"special.test.perm",
|
||||
"special.test.permission"
|
||||
{
|
||||
permission="special.test.perm"
|
||||
value=true
|
||||
},
|
||||
{
|
||||
permission="special.test.permission"
|
||||
value=true
|
||||
}
|
||||
]
|
||||
parents=[
|
||||
default
|
||||
{
|
||||
group=default
|
||||
}
|
||||
]
|
||||
prefixes=[
|
||||
{
|
||||
"&c[Admin] " {
|
||||
prefix="&c[Admin] "
|
||||
priority=10
|
||||
}
|
||||
}
|
||||
]
|
||||
meta=[
|
||||
{
|
||||
homes {
|
||||
key=homes
|
||||
value="10"
|
||||
}
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user