Solved PermissionsEX Problem

Discussion in 'Bukkit Help' started by ArsenArsen, Jun 3, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    ArsenArsen

    I have permissionsex problem:

    Show Spoiler
    [16:27:04] [Server thread/INFO]: [PermissionsEx] Loading PermissionsEx v1.20.4
    [16:27:04] [Server thread/INFO]: [PermissionsEx] Initializing file backend
    [16:27:04] [Server thread/ERROR]: [PermissionsEx]
    ========== UNABLE TO LOAD PERMISSIONS BACKEND =========
    Your configuration must be fixed before PEX will enable
    Details: Error loading permissions file!
    =======================================================
    ru.tehkode.permissions.exceptions.PermissionBackendException: Error loading permissions file!
    at ru.tehkode.permissions.backends.FileBackend.reload(FileBackend.java:255) ~[PermissionsEx.jar:?]
    at ru.tehkode.permissions.backends.FileBackend.initialize(FileBackend.java:79) ~[PermissionsEx.jar:?]
    at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:430) ~[PermissionsEx.jar:?]
    at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:496) ~[PermissionsEx.jar:?]
    at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:54) ~[PermissionsEx.jar:?]
    at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java:87) [PermissionsEx.jar:?]
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:355) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:312) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    Caused by: org.bukkit.configuration.InvalidConfigurationException: mapping values are not allowed here
    in "<string>", line 3, column 12:
    default: true
    ^

    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:149) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:114) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at ru.tehkode.permissions.backends.FileBackend.reload(FileBackend.java:243) ~[PermissionsEx.jar:?]
    ... 12 more
    Caused by: org.yaml.snakeyaml.scanner.ScannerException: null; mapping values are not allowed here
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:733) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:305) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:149) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:114) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at ru.tehkode.permissions.backends.FileBackend.reload(FileBackend.java:243) ~[PermissionsEx.jar:?]
    ... 12 more
    [16:27:04]

    This is Permissions.yml:
    Show Spoiler
    - Default
    prefix: '&b[Moderator]&7'
    suffix: '&7'
    permissions:
    - essentials.repair
    - essentials.heal
    - essentials.item
    - essentials.give
    - essentials.fly
    - essentials.kick
    - essentials.mute
    - essentials.tjail
    - essentials.jail
    - essentials.tempban
    - essentials.vanish
    Admin:
    build: true
    inheritance:
    - Moderator
    prefix: '&4[&cAdmin&4]&e'
    suffix: '&7'
    permissions:
    - essentials.gamemode
    - essentials.ban
    - essentials.unban
    - essentials.ipban
    - essentials.unipban
    - essentials.pardon
    - essentials.enchant
    Co-Owner:
    build:true
    inheritance:
    - Admin
    prefix: '&4[Owner]'
    suffix: '&b'
    permissions:
    - '*'

    Owner:
    build:true
    inheritance:
    - Co-Owner
    prefix: '&4[Owner]'
    suffix: '&b'
    permissions:
    - '*'


    This is original formatting:
    http://pastebin.com/ne5DWY5T

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 30, 2016
  2. Offline

    JaguarJo

    ArsenArsen Your permissions file looks like someone chopped it in half in the middle of a Moderator group. You are missing the groups: line at the very top, your default group is missing entirely, there are some spacing problems....hang on a second, I'll give you a quick fix and you can edit it with added permissions if you need to.

    Try this one: http://pastebin.com/WEhgckDu
     
  3. Offline

    ArsenArsen

    Thanks JaguarJo! Worked and i learned how to do it :)

    Sorry, but can u say to me how to make creative flat world with perm
    Show Spoiler
    esentallis.worlds.flatgrass

    And /flat , /nether and /end

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 30, 2016
    JaguarJo likes this.
  4. Offline

    JaguarJo

    I'm not sure what you're asking now. Permissions don't create your worlds, they just assign what you're allowed to do in them once they exist. Are you asking how to make per world permissions once you already have these other worlds? Or are you asking how to actually make the other worlds?
     
    ArsenArsen likes this.
  5. Offline

    ArsenArsen

    I have world but i need short warp command like /flat to go to that world /nether for nether and others.
     
  6. Offline

    BrandonBreh

    I don't understand but as this clearly has nothing to do with pex, i would suggest making a new thread for this.
     
  7. Offline

    ArsenArsen

    Ok nvm but i need to change in chat this is how it says: [G] [world] [Owner]Owner [Owner]ArsenArsen and i need this way :
    [G] [Owner] ArsenArsen :

    And i cant put people to Co-Owner group

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 30, 2016
  8. Offline

    JaguarJo

    For your chat, you're going to need to configure that with your chat plugin. I don't know which chat plugin you're using, but if you paste the config for it so we can see how it looks right now, we can probably help you get rid of all the extra tags that you don't want on it. Also, some plugins like Multiverse might be adding chat tags too (the [world] part is probably coming from Multiverse).

    Which command are you using to put people in the group? Are you getting any error messages when you type the command, and if so, what does it say?
     
    ArsenArsen likes this.
  9. Offline

    ArsenArsen

    I have townychat,essentalis qnd pex prefixes. I dont have multiverse but i have flatworld.
    I need to say [ channel][town:nation][ RANK] Name
    I accydantly used perm adding command nvm. Just chat thingy.
     
  10. Offline

    JaguarJo

    ArsenArsen Looks like we're going to need to see some of your config files. Could you give us a pastebin link to your townychat config and your essentials config?
     
  11. Offline

    ArsenArsen

    Last edited by a moderator: Jun 30, 2016
  12. Offline

    LlmDl

    In your towny chatconfig.yml the global channel_format line has 3 tags adding the rank name, {permprefix} {group} and {modplayername}, remove {permprefix} and {group} and do a /townychat reload.
     
    ArsenArsen likes this.
  13. Offline

    ArsenArsen

    I cant can u edit it and paste on pastebin?
    And how to set /fly command perm?
    I need to turn off /fly in Essentalis i have lwc too so dont work.How?
     
  14. Offline

    JaguarJo

    ArsenArsen Here is the edited towny chat config: http://pastebin.com/b60SMspP

    The /fly command goes with the essentials permission node - essentials.fly . If you want someone to be able to use that, then you add that node to their permission group. If you don't want people to have it, then don't give it to them.

    As for LWC, you're going to have to tell us more than just it doesn't work. What about it doesn't work? Does it not load? Are there error messages?
     
  15. Offline

    ArsenArsen

    JaguarJo LWC simply repeat /fly and /lock commands are unknown.
     
  16. Offline

    JaguarJo

    Fly has absolutely nothing to do with LWC. Lock should be a working alias for /cprivate, but if you're getting "unknown command" then you might want to try doing /plugins to see if LWC is even loaded. It should be green if it's working. If it's red, then you'll want to check your server's startup log to see why it isn't loading properly.
     
  17. Offline

    ArsenArsen

    In /pl LWC is green, in lwc help /fly exist and thats why i even said /fly dont work.
     
  18. Offline

    ArsenArsen

    Ok nvm JaguarJo i fixed lock problem lemme check fly.

    JaguarJo thanks for help all work perfectly i just installrd latest fix i was smart like a [sheep] about that :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 30, 2016
Thread Status:
Not open for further replies.

Share This Page