My server permissions file.
I wrote this on the fly and it turned out not so bad. It may need a little tweaking here and there.
Permissions can be tricky for beginners like me, it’s taken a lot of research.
Here is what I learned.
I use Notepad++ to write my YML files. It shows you where some of the errors are and helps greatly with spacing. Spacing is important in YML. If the spacing is off it will not work right. If you use tab to move the cursor over, it will not work right.
To check your YML docs for errors I suggest using an online YML Parser.
Found here:
http://yaml-online-parser.appspot.com/
This will tell you if there are any errors. It displays errors on the right hand side of the page.
It indicates the errors with a line and column. It doesn’t tell you what the error is exactly but nine times out of ten it’s spacing.
If there are no errors it will display the file correctly and in full on the right side.
Here is a copy of the permissions nodes I wrote.
—————————————————————————————————————————
groups:
default:
default: true
permissions:
– modifyworld.chat
member:
default: false
inheritance:
– default
permissions:
– iConomy.holdings
– iConomy.help
– iConomy.payment
– ancasino.use
– jobs.join.*
– jobs.world.*
– ChestShop.shop.buy
– ChestShop.shop.sell
– essentials.sethome
– modifyworld.*
vip:
default: false
inheritance:
– default
– member
permissions:
– modifyworld.*
– iConomy.holdings.others
– ChestShop.shop.create
moderator:
default: false
inheritance:
– default
– member
– vip
permissions:
– jobs.admin.fire
– jobs.admin.employ
– jobs.admin.promote
– jobs.admin.demote
– jobs.admin.grantxp
– jobs.admin.removexp
– ChestShop.mod
– ChestShop.admin
– essentials.heal
– essentials.heal.others
– essentials.item
– essentials.ban
– essentials.kick
– essentials.kill
– essentials.unban
–
admins:
default: false
prefix: ‘&7[ADMIN FROM HELL]’
inheritance:
permissions:
– ‘*’
– -modifyworld.mobtarget.*
– iConomy.*
– ancasino.admin
– jobs.*
– jobs.admin.*
– ChestShop.*
– ChestShop.admin
– essentials.gamemode
– essentials.gamemode.others
– essentials.bigtree
– essentials.break
– essentials.break.bedrock
– essentials.*
users:
freshlybaked123:
group:
– admins
Austinbr123:
group:
– member
gloomypuma:
group:
– member
—————————————————————————————————————————
Feel free to copy and paste it and change the names or permissions as you choose.
It’s much easier with a bit of a template. Copy it into a new Notepad++ and notice the spacing for each line.
If you have questions feel free to ask me.
Hope this helps.
ok so looking at this posted on the blog , i’ve noticed the spacing did not take. that is no good.
If you would like a copy of the yml file let me know. Otherwise , looking at it here will not give you the proper spacing needed.