forum Forumsplay_arrow Minecraft fiber_manual_record Help

1

Permission nodes error

1 emerald5 replies179 views
created 07/22/2017 11:17 am by 0_birb
last reply 07/23/2017 8:34 am
[NOTE: I posted this here instead of the Bukkit forums due to the recent cyberattacks on Bukkit and security concerns]

[I am using the following plugins: WorldEdit, WorldGuard, and bPermissions (as a permissions loader for the other two. bPermissions is what I am having problems with.)]

I set up a Minecraft server about two weeks back using just WorldEdit and WorldGuard, and found that I needed a permissions loader for the full functionality of those two plugins to work. I looked for the easiest permission loader I could find (side note: i would definitely recommend bPermissions to a beginner in minecraft servers, it is quite easy to use). Once I loaded bPermissions and prepared the permission nodes, however, I encountered a few errors (taken from latest.log);

[10:37:07] [Server thread/ERROR]: Permission node 'default' in permissions.yml is invalid
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
at org.bukkit.permissions.Permission.loadPermissions(Permission.java:233) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadCustomPermissions(CraftServer.java:780) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:331) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:411) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:372) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:327) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:244) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:521) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
[10:37:07] [Server thread/ERROR]: Permission node 'groups' in permissions.yml is invalid
java.lang.IllegalArgumentException: 'default' key contained unknown value
at org.bukkit.permissions.Permission.loadPermission(Permission.java:294) ~[craftbukkit-1.12.jar:git-Bukkit-af1c013]
at org.bukkit.permissions.Permission.loadPermissions(Permission.java:233) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadCustomPermissions(CraftServer.java:780) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:331) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:411) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:372) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:327) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:244) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:521) [craftbukkit-1.12.jar:git-Bukkit-af1c013]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
[10:37:07] [Server thread/INFO]: Done (5.668s)! For help, type "help" or "?"

For further clarification, I will also paste in my permissions.yml file;

default: default
groups:
ops:
permissions:
- bPermissions.admin
- worldguard.*
- worldedit.*
meta:
priority: '100'
prefix: '[&4Admin&f] '
default:
permissions:
- worldguard.locate
- worldguard.stack
- worldguard.stack.illegitimate
- worldguard.region.wand.*
- worldguard.region.claim.*
- worldguard.region.unlimited.*
- worldguard.region.list.own.*
- worldguard.region.select.*
- worldguard.region.info.*
- worldguard.region.teleport.*
- worldguard.region.addmember.*
- worldguard.region.addowner.*
- worldguard.region.removemember.*
- worldguard.region.removeowner.*
- worldedit.biome.info
- worldedit.biome.set
- worldedit.biome.list
- worldedit.chunkinfo
- worldedit.listchunks
- worldedit.cut
- worldedit.paste
- worldedit.schematic.formats
- worldedit.schematic.load
- worldedit.clipboard.load
- worldedit.schematic.list
- worldedit.schematic.save
- worldedit.clipboard.save
- worldedit.clipboard.clear
- worldedit.clipboard.copy
- worldedit.clipboard.flip
- worldedit.clipboard.rotate
- worldedit.help
- worldedit.generation.cylinder
- worldedit.generation.sphere
- worldedit.generation.forest
- worldedit.generation.pumpkin
- worldedit.generation.pyramid
- worldedit.generation.shape
- worldedit.biome.set
- worldedit.history.undo
- worldedit.history.redo
- worldedit.history.clear
- worldedit.navigation.unstuck
- worldedit.navigation.ascend
- worldedit.navigation.descend
- worldedit.navigation.ceiling
- worldedit.navigation.thru.command
- worldedit.navigation.jumpto.command
- worldedit.region.hollow
- worldedit.region.line
- worldedit.region.curve
- worldedit.region.overlay
- worldedit.region.center
- worldedit.region.naturalize
- worldedit.region.walls
- worldedit.region.faces
- worldedit.region.smooth
- worldedit.region.move
- worldedit.regen
- worldedit.region.deform
- worldedit.region.forest
- worldedit.region.replace
- worldedit.region.stack
- worldedit.region.set
- worldedit.selection.pos
- worldedit.selection.chunk
- worldedit.selection.hpos
- worldedit.wand
- worldedit.wand.toggle
- worldedit.selection.contract
- worldedit.selection.outset
- worldedit.selection.inset
- worldedit.analysis.distr
- worldedit.analysis.count
- worldedit.selection.size
- worldedit.selection.expand
- worldedit.selection.shift
- worldedit.superpickaxe
- worldedit.superpickaxe.area
- worldedit.superpickaxe.recursive
- worldedit.tool.tree
- worldedit.tool.replacer
- worldedit.tool.data-cycler
- worldedit.tool.flood-fill
- worldedit.brush.sphere
- worldedit.brush.cylinder
- worldedit.brush.clipboard
- worldedit.brush.smooth
- worldedit.brush.ex
- worldedit.brush.gravity
- worldedit.brush.butcher
- worldedit.tool.deltree
- worldedit.tool.farwand
- worldedit.tool.irbuild
- worldedit.tool.info
- worldedit.brush.options.material
- worldedit.brush.options.range
- worldedit.limit.unrestricted
- worldedit.inventory.unrestricted
- worldedit.override.bedrock
- worldedit.navigation.thru.tool
- worldedit.navigation.jumpto.tool
- worldedit.brush.options.size
- worldedit.brush.options.mask
- worldedit.drain
- worldedit.fixlava
- worldedit.fixwater
- worldedit.snow
- worldedit.thaw
- worldedit.green
- worldedit.extinguish
- worldedit.butcher
- worldedit.remove
- worldedit.calc
- worldedit.fill
- worldedit.help
- worldedit.limit.unrestricted
- worldedit.inventory.unrestricted
- worldedit.override.bedrock
- worldedit.navigation.thru.tool
- worldedit.navigation.jumpto.tool

Can anyone tell me what I did wrong?

Please do not tell me that this is the wrong forum for this post unless you are an admin of this forum
Posted by avatar
0_birb
Level 1 : New Miner
16

5 replies

1
07/23/2017 8:34 am
Level 1 New Miner
0_birb
avatar
I have a new problem now.

I booted up my server, and the old errors are gone. But now, a new error is here, hopefully not for long.
[08:24] [Server thread/WARN]: Server permissions file permissions.yml is not valid YAML: mapping values are not allowed here
in 'reader', line 2, column 9:
groups:
^


Here's my newly edited YML;

default: true
groups:
ops:
permissions:
- bPermissions.admin
- worldguard.*
- worldedit.*
meta:
priority: '100'
prefix: '[&4Admin&f] '
default:
permissions:
- worldguard.locate
- worldguard.stack
- worldguard.stack.illegitimate
- worldguard.region.wand.*
- worldguard.region.claim.*
- worldguard.region.unlimited.*
- worldguard.region.list.own.*
- worldguard.region.select.*
- worldguard.region.info.*
- worldguard.region.teleport.*
- worldguard.region.addmember.*
- worldguard.region.addowner.*
- worldguard.region.removemember.*
- worldguard.region.removeowner.*
- worldedit.biome.info
- worldedit.biome.set
- worldedit.biome.list
- worldedit.chunkinfo
- worldedit.listchunks
- worldedit.cut
- worldedit.paste
- worldedit.schematic.formats
- worldedit.schematic.load
- worldedit.clipboard.load
- worldedit.schematic.list
- worldedit.schematic.save
- worldedit.clipboard.save
- worldedit.clipboard.clear
- worldedit.clipboard.copy
- worldedit.clipboard.flip
- worldedit.clipboard.rotate
- worldedit.help
- worldedit.generation.cylinder
- worldedit.generation.sphere
- worldedit.generation.forest
- worldedit.generation.pumpkin
- worldedit.generation.pyramid
- worldedit.generation.shape
- worldedit.biome.set
- worldedit.history.undo
- worldedit.history.redo
- worldedit.history.clear
- worldedit.navigation.unstuck
- worldedit.navigation.ascend
- worldedit.navigation.descend
- worldedit.navigation.ceiling
- worldedit.navigation.thru.command
- worldedit.navigation.jumpto.command
- worldedit.region.hollow
- worldedit.region.line
- worldedit.region.curve
- worldedit.region.overlay
- worldedit.region.center
- worldedit.region.naturalize
- worldedit.region.walls
- worldedit.region.faces
- worldedit.region.smooth
- worldedit.region.move
- worldedit.regen
- worldedit.region.deform
- worldedit.region.forest
- worldedit.region.replace
- worldedit.region.stack
- worldedit.region.set
- worldedit.selection.pos
- worldedit.selection.chunk
- worldedit.selection.hpos
- worldedit.wand
- worldedit.wand.toggle
- worldedit.selection.contract
- worldedit.selection.outset
- worldedit.selection.inset
- worldedit.analysis.distr
- worldedit.analysis.count
- worldedit.selection.size
- worldedit.selection.expand
- worldedit.selection.shift
- worldedit.superpickaxe
- worldedit.superpickaxe.area
- worldedit.superpickaxe.recursive
- worldedit.tool.tree
- worldedit.tool.replacer
- worldedit.tool.data-cycler
- worldedit.tool.flood-fill
- worldedit.brush.sphere
- worldedit.brush.cylinder
- worldedit.brush.clipboard
- worldedit.brush.smooth
- worldedit.brush.ex
- worldedit.brush.gravity
- worldedit.brush.butcher
- worldedit.tool.deltree
- worldedit.tool.farwand
- worldedit.tool.irbuild
- worldedit.tool.info
- worldedit.brush.options.material
- worldedit.brush.options.range
- worldedit.limit.unrestricted
- worldedit.inventory.unrestricted
- worldedit.override.bedrock
- worldedit.navigation.thru.tool
- worldedit.navigation.jumpto.tool
- worldedit.brush.options.size
- worldedit.brush.options.mask
- worldedit.drain
- worldedit.fixlava
- worldedit.fixwater
- worldedit.snow
- worldedit.thaw
- worldedit.green
- worldedit.extinguish
- worldedit.butcher
- worldedit.remove
- worldedit.calc
- worldedit.fill
- worldedit.help
- worldedit.limit.unrestricted
- worldedit.inventory.unrestricted
- worldedit.override.bedrock
- worldedit.navigation.thru.tool
- worldedit.navigation.jumpto.tool


Now what?
1
07/23/2017 8:11 am
Level 1 New Miner
0_birb
avatar
"Thatsmusic99"default: default

I believe that's a boolean - insert true (if you want it to be the default rank) or false. The example you may have followed on the Bukkit example was for groups.yml, so I understand how you made that mistake. Give me a shout if it still doesn't work, I don't know how to use bPermissions but I'm used to PEX and GM, so I have an idea of what's meant to be happening.


That did nothing...
1
07/22/2017 2:05 pm
Level 14 Journeyman Engineer
Thatsmusic99
avatar
default: default

I believe that's a boolean - insert true (if you want it to be the default rank) or false. The example you may have followed on the Bukkit example was for groups.yml, so I understand how you made that mistake. Give me a shout if it still doesn't work, I don't know how to use bPermissions but I'm used to PEX and GM, so I have an idea of what's meant to be happening.

"Presidente"Hi! I recommend you PermissionsEX !

https://dev.bukkit.org/projects/permissionsex


Recommending PermissionsEx doesn't solve the problem - it only leaves the person asking the question with even more questions, because they may not know how to use that plugin, even if PEX is a famous plugin.
1
07/22/2017 11:21 am
Level 7 Apprentice Network
Presidente
avatar
Hi! I recommend you PermissionsEX !

https://dev.bukkit.org/projects/permissionsex
1
07/22/2017 12:35 pm
Level 1 New Miner
0_birb
avatar
I refuse to download another plugin. Right now, I'm asking for help with bPermissions.

Search

Browse

Site

© 2010 - 2018
planetminecraft.com

Welcome