Need help with permission for single stone!
Friedbiscuit opened this issue ยท 1 comments
Hello, I need to know how to set permissions to 1 stone, and 1 stone only.
I tried:
"Here is an example, say you have 2 stones configured on the config. City Protection, and Entry Bouncer:
You could add this flag to the City Protection:
required-permission: city-protection.permission
And add this flag to the Entry Bouncer:
required-permission: entry-bouncer.permission
Then in your permissions setup, add those permission only to the groups you want to have access to them:
members:
city-protection.permission: true
vips:
city-protection.permission: true
entry-bouncer.permission: true"
I added "required-permission: city-protection.permission to my config, then added city-protection.permission: true, also tried with without the ": true". Doesn't work. Please help! Also, I am using GroupManager if that helps at all!
Permissions in the Group Manager config are structured like this:
groups:
Default:
default: true
permissions:
- city-protection.permission
- entry-bouncer.permission
inheritance: []
info:
prefix: '&e'
build: false
(Ref: http://wiki.ess3.net/wiki/Group_Manager/Config#group.yml)
And make sure the "required-permission" flag in your PreciousStones config is formatted like the example below.
- title: City Protection
required-permission: city-protection.permission
block: 42
radius: 50
prevent-place: true
prevent-destroy: true