WorldGuard

Discussion in 'Bukkit Help' started by Razzen, May 11, 2011.

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

    Razzen

    Hey,
    I just installed WorldGuard and WorldEdit, WorldEdit works fine, but when i try to place a NORMAL block down i can't.
    I turned off spawn protection, turned it to '0' in server.properties and in the WorldGuard config.
    Im not sure why im getting this error? :(

    Edit: I got someone else to Test the error out, they seem to be fine, i also Un-OP'ed myself to see if it was that. Nothing. I then saw that this was coming up on my server starter, which is a CMD file. It's messy.

    Code:
    19:49:13 [SEVERE]       at net.minecraft.server.ItemInWorldManager.interact(Item
    InWorldManager.java:217)
    19:49:13 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:521)
    19:49:13 [SEVERE]       at net.minecraft.server.Packet15Place.a(SourceFile:57)
    19:49:13 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.
    java:195)
    19:49:13 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:74)
    19:49:13 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :100)
    19:49:13 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:370)
    19:49:13 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    19:49:13 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:394)
    19:49:15 [SEVERE] java.lang.NullPointerException
    19:49:15 [SEVERE]       at com.nijiko.permissions.Control.getGroup(Control.java:
    535)
    19:49:15 [SEVERE]       at com.nijiko.permissions.Control.permission(Control.jav
    a:308)
    19:49:15 [SEVERE]       at com.sk89q.bukkit.migration.NijiPermissionsResolver.ha
    sPermission(NijiPermissionsResolver.java:61)
    19:49:15 [SEVERE]       at com.sk89q.bukkit.migration.PermissionsResolverManager
    .hasPermission(PermissionsResolverManager.java:102)
    19:49:15 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardPlugin.hasPermi
    ssion(WorldGuardPlugin.java:284)
    19:49:15 [SEVERE]       at com.sk89q.worldguard.protection.GlobalRegionManager.h
    asBypass(GlobalRegionManager.java:219)
    19:49:15 [SEVERE]       at com.sk89q.worldguard.protection.GlobalRegionManager.c
    anBuild(GlobalRegionManager.java:251)
    19:49:15 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardBlockListener.o
    nBlockPlace(WorldGuardBlockListener.java:420)
    19:49:15 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$25.execute(Ja
    vaPluginLoader.java:352)
    19:49:15 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:59)
    19:49:15 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:257)
    19:49:15 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callBl
    ockPlaceEvent(CraftEventFactory.java:84)
    19:49:15 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callBl
    ockPlaceEvent(CraftEventFactory.java:68)
    19:49:15 [SEVERE]       at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    19:49:15 [SEVERE]       at net.minecraft.server.ItemStack.placeItem(ItemStack.ja
    va:56)
    19:49:15 [SEVERE]       at net.minecraft.server.ItemInWorldManager.interact(Item
    InWorldManager.java:217)
    19:49:15 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:521)
    19:49:15 [SEVERE]       at net.minecraft.server.Packet15Place.a(SourceFile:57)
    19:49:15 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.
    java:195)
    19:49:15 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:74)
    19:49:15 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :100)
    19:49:15 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:370)
    19:49:15 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    19:49:15 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:394)
    19:49:16 [SEVERE] java.lang.NullPointerException
    19:49:16 [SEVERE]       at com.nijiko.permissions.Control.getGroup(Control.java:
    535)
    19:49:16 [SEVERE]       at com.nijiko.permissions.Control.permission(Control.jav
    a:308)
    19:49:16 [SEVERE]       at com.sk89q.bukkit.migration.NijiPermissionsResolver.ha
    sPermission(NijiPermissionsResolver.java:61)
    19:49:16 [SEVERE]       at com.sk89q.bukkit.migration.PermissionsResolverManager
    .hasPermission(PermissionsResolverManager.java:102)
    19:49:16 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardPlugin.hasPermi
    ssion(WorldGuardPlugin.java:284)
    19:49:16 [SEVERE]       at com.sk89q.worldguard.protection.GlobalRegionManager.h
    asBypass(GlobalRegionManager.java:219)
    19:49:16 [SEVERE]       at com.sk89q.worldguard.protection.GlobalRegionManager.c
    anBuild(GlobalRegionManager.java:251)
    19:49:16 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardBlockListener.o
    nBlockPlace(WorldGuardBlockListener.java:420)
    19:49:16 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$25.execute(Ja
    vaPluginLoader.java:352)
    19:49:16 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:59)
    19:49:16 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:257)
    19:49:16 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callBl
    ockPlaceEvent(CraftEventFactory.java:84)
    19:49:16 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callBl
    ockPlaceEvent(CraftEventFactory.java:68)
    19:49:16 [SEVERE]       at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    19:49:16 [SEVERE]       at net.minecraft.server.ItemStack.placeItem(ItemStack.ja
    va:56)
    19:49:16 [SEVERE]       at net.minecraft.server.ItemInWorldManager.interact(Item
    InWorldManager.java:217)
    19:49:16 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:521)
    19:49:16 [SEVERE]       at net.minecraft.server.Packet15Place.a(SourceFile:57)
    19:49:16 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.
    java:195)
    19:49:16 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:74)
    19:49:16 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :100)
    19:49:16 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:370)
    19:49:16 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    19:49:16 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:394)
    19:49:16 [SEVERE] java.lang.NullPointerException
    19:49:16 [SEVERE]       at com.nijiko.permissions.Control.getGroup(Control.java:
    535)
    19:49:16 [SEVERE]       at com.nijiko.permissions.Control.permission(Control.jav
    a:308)
    19:49:16 [SEVERE]       at com.sk89q.bukkit.migration.NijiPermissionsResolver.ha
    sPermission(NijiPermissionsResolver.java:61)
    19:49:16 [SEVERE]       at com.sk89q.bukkit.migration.PermissionsResolverManager
    .hasPermission(PermissionsResolverManager.java:102)
    19:49:16 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardPlugin.hasPermi
    ssion(WorldGuardPlugin.java:284)
    19:49:16 [SEVERE]       at com.sk89q.worldguard.protection.GlobalRegionManager.h
    asBypass(GlobalRegionManager.java:219)
    19:49:16 [SEVERE]       at com.sk89q.worldguard.protection.GlobalRegionManager.c
    anBuild(GlobalRegionManager.java:251)
    19:49:16 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardBlockListener.o
    nBlockPlace(WorldGuardBlockListener.java:420)
    19:49:16 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$25.execute(Ja
    vaPluginLoader.java:352)
    19:49:16 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:59)
    19:49:16 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:257)
    19:49:16 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callBl
    ockPlaceEvent(CraftEventFactory.java:84)
    19:49:16 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callBl
    ockPlaceEvent(CraftEventFactory.java:68)
    19:49:16 [SEVERE]       at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    19:49:16 [SEVERE]       at net.minecraft.server.ItemStack.placeItem(ItemStack.ja
    va:56)
    19:49:16 [SEVERE]       at net.minecraft.server.ItemInWorldManager.interact(Item
    InWorldManager.java:217)
    19:49:16 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:521)
    19:49:16 [SEVERE]       at net.minecraft.server.Packet15Place.a(SourceFile:57)
    19:49:16 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.
    java:195)
    19:49:16 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:74)
    19:49:16 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :100)
    19:49:16 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:370)
    19:49:16 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    19:49:16 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:394)
    19:49:22 [SEVERE] java.lang.NullPointerException
    19:49:22 [SEVERE]       at com.nijiko.permissions.Control.getGroup(Control.java:
    535)
    19:49:22 [SEVERE]       at com.nijiko.permissions.Control.permission(Control.jav
    a:308)
    19:49:22 [SEVERE]       at com.sk89q.bukkit.migration.NijiPermissionsResolver.ha
    sPermission(NijiPermissionsResolver.java:61)
    19:49:22 [SEVERE]       at com.sk89q.bukkit.migration.PermissionsResolverManager
    .hasPermission(PermissionsResolverManager.java:102)
    19:49:22 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardPlugin.hasPermi
    ssion(WorldGuardPlugin.java:284)
    19:49:22 [SEVERE]       at com.sk89q.worldguard.protection.GlobalRegionManager.h
    asBypass(GlobalRegionManager.java:219)
    19:49:22 [SEVERE]       at com.sk89q.worldguard.protection.GlobalRegionManager.c
    anBuild(GlobalRegionManager.java:251)
    19:49:22 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardBlockListener.o
    nBlockPlace(WorldGuardBlockListener.java:420)
    19:49:22 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$25.execute(Ja
    vaPluginLoader.java:352)
    19:49:22 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:59)
    19:49:22 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:257)
    19:49:22 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callBl
    ockPlaceEvent(CraftEventFactory.java:84)
    19:49:22 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callBl
    ockPlaceEvent(CraftEventFactory.java:68)
    19:49:22 [SEVERE]       at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    19:49:22 [SEVERE]       at net.minecraft.server.ItemStack.placeItem(ItemStack.ja
    va:56)
    19:49:22 [SEVERE]       at net.minecraft.server.ItemInWorldManager.interact(Item
    InWorldManager.java:217)
    19:49:22 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:521)
    19:49:22 [SEVERE]       at net.minecraft.server.Packet15Place.a(SourceFile:57)
    19:49:22 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.
    java:195)
    19:49:22 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:74)
    19:49:22 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :100)
    19:49:22 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:370)
    19:49:22 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    19:49:22 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:394)
    19:49:23 [SEVERE] java.lang.NullPointerException
    19:49:23 [SEVERE]       at com.nijiko.permissions.Control.getGroup(Control.java:
    535)
    19:49:23 [SEVERE]       at com.nijiko.permissions.Control.permission(Control.jav
    a:308)
    19:49:23 [SEVERE]       at com.sk89q.bukkit.migration.NijiPermissionsResolver.ha
    sPermission(NijiPermissionsResolver.java:61)
    19:49:23 [SEVERE]       at com.sk89q.bukkit.migration.PermissionsResolverManager
    .hasPermission(PermissionsResolverManager.java:102)
    19:49:23 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardPlugin.hasPermi
    ssion(WorldGuardPlugin.java:284)
    19:49:23 [SEVERE]       at com.sk89q.worldguard.protection.GlobalRegionManager.h
    asBypass(GlobalRegionManager.java:219)
    19:49:23 [SEVERE]       at com.sk89q.worldguard.protection.GlobalRegionManager.c
    anBuild(GlobalRegionManager.java:251)
    19:49:23 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardBlockListener.o
    nBlockPlace(WorldGuardBlockListener.java:420)
    19:49:23 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$25.execute(Ja
    vaPluginLoader.java:352)
    19:49:23 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:59)
    19:49:23 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:257)
    19:49:23 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callBl
    ockPlaceEvent(CraftEventFactory.java:84)
    19:49:23 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callBl
    ockPlaceEvent(CraftEventFactory.java:68)
    19:49:23 [SEVERE]       at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    19:49:23 [SEVERE]       at net.minecraft.server.ItemStack.placeItem(ItemStack.ja
    va:56)
    19:49:23 [SEVERE]       at net.minecraft.server.ItemInWorldManager.interact(Item
    InWorldManager.java:217)
    19:49:23 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:521)
    19:49:23 [SEVERE]       at net.minecraft.server.Packet15Place.a(SourceFile:57)
    19:49:23 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.
    java:195)
    19:49:23 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:74)
    19:49:23 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :100)
    19:49:23 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:370)
    19:49:23 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    19:49:23 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:394)
    19:49:24 [SEVERE] java.lang.NullPointerException
    19:49:24 [SEVERE]       at com.nijiko.permissions.Control.getGroup(Control.java:
    535)
    19:49:24 [SEVERE]       at com.nijiko.permissions.Control.permission(Control.jav
    a:308)
    19:49:24 [SEVERE]       at com.sk89q.bukkit.migration.NijiPermissionsResolver.ha
    sPermission(NijiPermissionsResolver.java:61)
    19:49:24 [SEVERE]       at com.sk89q.bukkit.migration.PermissionsResolverManager
    .hasPermission(PermissionsResolverManager.java:102)
    19:49:24 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardPlugin.hasPermi
    ssion(WorldGuardPlugin.java:284)
    19:49:24 [SEVERE]       at com.sk89q.worldguard.protection.GlobalRegionManager.h
    asBypass(GlobalRegionManager.java:219)
    19:49:24 [SEVERE]       at com.sk89q.worldguard.protection.GlobalRegionManager.c
    anBuild(GlobalRegionManager.java:251)
    19:49:24 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardBlockListener.o
    nBlockPlace(WorldGuardBlockListener.java:420)
    19:49:24 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$25.execute(Ja
    vaPluginLoader.java:352)
    19:49:24 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:59)
    19:49:24 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:257)
    19:49:24 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callBl
    ockPlaceEvent(CraftEventFactory.java:84)
    19:49:24 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callBl
    ockPlaceEvent(CraftEventFactory.java:68)
    19:49:24 [SEVERE]       at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    19:49:24 [SEVERE]       at net.minecraft.server.ItemStack.placeItem(ItemStack.ja
    va:56)
    19:49:24 [SEVERE]       at net.minecraft.server.ItemInWorldManager.interact(Item
    InWorldManager.java:217)
    19:49:24 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:521)
    19:49:24 [SEVERE]       at net.minecraft.server.Packet15Place.a(SourceFile:57)
    19:49:24 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.
    java:195)
    19:49:24 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:74)
    19:49:24 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :100)
    19:49:24 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:370)
    19:49:24 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    19:49:24 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:394)
    >
    Bump~ Anyone? D:

    Also, was playing around with a bit of the stuff. I dont think it's my Worldguard, im pretty sure its my permissions. Everytime i seem to put any username under admin (whilst still OP, or unOPed) that user can't build. I put them under another category, whilst still being OP, they can build. I don't see anything wrong with my code?

    Code:
    users:
        FunkyGanja: 
        Razzen:    
            group: Builder
            permissions: 
                - 'essentials.god' 
                - 'essentials.time'
                - 'essentials.back.ondeath'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.mail'
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Ben:   
            group: Admin
            inheritance: Builder
            permissions:
                -'*'
    The username im moving around is "Razzen"

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

    Jeyge

    Without being able to see the whole error/server log or permissions.yml file, it will be hard to tell exactly what is going on but you can't have 2 names above a single group as you have right now with FunkyGanja and Razzen. You will need 2 entries for that to work correctly.
     
  3. Offline

    Pencil

    What version of permissions are you using? Exact version please :)
     
  4. Offline

    Razzen

    Weird because that works fine for me. both me and FunkyGanja when on have those permissions and it doesn't go wrong. it's only when I change Ben to Razzen in the admin and delete RaZen from group Builder that I can't build, otherwise it works fine.

    Pencil, im using the latest version.

    Actually scratch yhat Pencil, I'm not. I got it from a YouTube video, there was a link. I'll find the video soon. I'm on my pho

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  5. Offline

    Jeyge

    It is always your choice how you want to deal with suggestions but unless you are running a special build of Permissions, the only person receiving any permissions stacking names like that will be the last one. In the case above, Razzen is the only one in a group and FunkyGanja will be in the default group.
     
  6. Offline

    Razzen

    Yeah, after I posted that I thought that I was the only one testing em, me being Razzen, and didn't get funkyganja to test it, oops. so would my problem be that I need to update to the latest permissions? cos the only thing wrong is when I put Razzen in the admin group, I can't build. it's not spawn protection.doesn't look like there's anything weog with the code. I'm nt sure what it could be.
     
  7. Offline

    Jeyge

    Perhaps I'm not being clear. It should look like:
    Code:
    users:
        FunkyGanja:
            group: Builder
            permissions:
                - 'essentials.god'
                - 'essentials.time'
                - 'essentials.back.ondeath'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.mail'
        Razzen:
            group: Builder
            permissions:
                - 'essentials.god'
                - 'essentials.time'
                - 'essentials.back.ondeath'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.mail'
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Ben:
            group: Admin
            inheritance: Builder
            permissions:
                -'*'
    
     
  8. Offline

    Razzen

    @Jeyge
    I know what you mean, changing that was after the incident, I was testing to see if it worked (building) in that group, and it does. however, wen I change it and put Razzen in the ADMIN group, which has all permissions, and building set to true, i can't build.
    sorry for not being able to edit the code and show you what I mean. Im on my phone and it's difficult lol.
     
  9. Offline

    Jeyge

    Ah, no clue there. We only have the small portion of the users section to work with. Might just be build is set to false in the Admins group.
     
  10. Offline

    Razzen

    Shit, I thought I posted the whole users section, fail. but I know for sure that build is set to true. What happens is I place a block and after 0.1seconds it comes back to me. Wouldn't it say "you don't have permissions to do this" if I didn't have permissions set build to true?
     
  11. Offline

    Jeyge

    I don't think it normally says anything if you don't have build permissions unless you are running CraftBook and you don't have craftbook.mech.*.
     
  12. Offline

    Razzen

    The only plugins I'm running are: Essentials, Permissions, Lockette, Worldguard, WorldEdit and Whitelist.
    Was having no problems up until last night when I installed Worldguard, WorldEdit and Lockette. Ive run out of ideas :/
     
  13. Offline

    Jeyge

    Posting your permissions file would be a good start. And a server.log since you didn't know what version of Permissions you were running.
     
  14. Offline

    Razzen

    @Jeyge
    Will do that tonight when I'm home from school. I honestly thought I posted my
    whole permissions file. oops. But yea, ill get onto that tonight.
     
  15. Offline

    solentice

    Yes, you'll need to post your complete Permissions code. Another thing to consider is that Essentials is normally packaged as many different plugins into one big zip file, including it's own group manager/permissions system, unless you specifically only downloaded the Essentials.jar file an nothing else. Check if you have EssentialsGroupManager also installed(inside plugins folder), because there might be conflict between EssentialsGroupManager and Permissions plugin, since they do essentially the same thing...
     
  16. Offline

    Razzen

    @Jeyge @solentice
    Here's my full permissions file.

    Code:
    http://pastebin.com/BREU2wXT
    I downloaded the whole archive of Essentials, it's just one file Essentials.jar. How would i find EssentialsGroupManager and delete it?

    Edit: I opened Essentials.jar with WinRar and i cant find EssentialsGroupManager..
     
  17. Offline

    solentice

    It would show up in the list of installed plugins, just like your Essentials.jar file, or your Permissions.jar file, it would show as EssentialsGroupManager.jar, so if you don't see it, then you never installed it, and that rules out at least possible conflict.
     
  18. Offline

    Jeyge

    Spacing is very important in yml files and you had 1 of your users spaced over 3 extra spaces.
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
     
    ##        
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.time'
        Builder:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.god'
                - 'essentials.back.ondeath'
                - 'essentials.time'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.mail'
        Admins:
            info:
                prefix: ''
                suffix: '[Admin]'
                build: true
            inheritance:
            permissions:
                - '*'
     
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        Razzen:    
            group: Builder
            permissions:
                - 'essentials.god'
                - 'essentials.time'
                - 'essentials.back.ondeath'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.mail'
        FunkyGanja:    
            group: Builder
            permissions:
                - 'essentials.god'
                - 'essentials.time'
                - 'essentials.back.ondeath'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.mail'
        Ben:  
            group: Admin
            inheritance: Builder
            permissions:
                -'*'
    
     
  19. Offline

    Razzen

    Okay, so my code should look like what you just posted? also where i put the '*' i just saw that it looks like its too close to the "-" would that make a difference and be my possible problem?

    Edit: I changed the "-'*' " to look like that (without the "'s in there) and still cant build. Its something with the Admin group, only when i put a name above that is when they cant build. Im dazzled
     
  20. Offline

    Jeyge

    He is already an admin so it would be best to just remove that.
     
  21. Offline

    Razzen

    Still nothin' :(
     
  22. Offline

    Jeyge

    Nothing as in it still doesn't work and here is the error message?
     
  23. Offline

    solentice

    Ok, I looked through your code, and you had some spacing issues with the user names Razzen and Ben. Any previous tabs you might have input by accident will remain, unless you completely delete the spacing and redo it using the spacebar.
    Your groups looked good, and I readded the missing "default: false" to your Admins group for consistency. I also cleaned up your users section, since they don't need to be given ANY permissions again under the users listing, since this is just unnecessary repetition from what you already defined within your groups section.
    The group that contains the '*' all commands permission(your Admins), should never inherit from any other group, which you had the user Ben as an Admins inheriting from Builder, and this also causes conflict.
    The point of this setup is so all your permissions will be defined within your groups section, and your users section will just list the usernames and what group they belong to. If you ever want to give someone different permissions than what you already have setup in your groups, then that should be the only time to add specific permissions to a user within the users section, otherwise, it should remain fairly clean and compact as I have it below. Let me know if this works better...
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.time'
        Builder:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.god'
                - 'essentials.back.ondeath'
                - 'essentials.time'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.mail'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: '[Admin]'
                build: true
            inheritance:
            permissions:
                - '*'
    
    users:
        Razzen:
            group: Builder
            permissions:
        FunkyGanja:
            group: Builder
            permissions:
        Ben:
            group: Admins
            permissions:
     
  24. Offline

    Razzen

    Nothing as in it still doesn't work, however i get no error message. Weird because when i move user "Razzen" to the group "Builder" it works fine, he can build and all that, seems to be that everythings the same as Admin ie. Build is set to True like Builder, and Admin gets all permissions, i dont know what the problem could be at all

    Still doesn't work. I dont get any error messages, i just get the block appears, then disappears and i get 1 less block when i place it, but then after it disappears it comes back to my inventory.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  25. Offline

    Jeyge

    A server.log would sure help to check a few things out. Also, look for a default permisions<world name>.yml file being created in your plugins directory.
     
  26. Offline

    solentice

    No error means Permissions is finally loading correctly. And just to make sure, inside the Permissions folder, you named that file the same name of your world correct? So like, myworld.yml or whatever your world is named. One thing we haven't checked is what build of Craftbukkit are you using for the server?? When you run the server, the command windows that gave you all those initial errors will also state "This server is running Craftbukkit version........-b###jnks" ...what is the three digit number within that b###jnks ??
     
  27. Offline

    Razzen

    @Jeyge
    Code:
    http://pastebin.com/fmE3UypX
    There's the server.log. And i don't have a default permissions <worldname>.yml file in my plugins directory?

    it says b740

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  28. Offline

    Jeyge

    Are you perhaps just too close to spawn and have spawn protection turned on?
     
  29. Offline

    solentice

    Actually, which piece of code are you using for the Permissions file?? I noticed your old code had Ben listed as Admin, but your group is Admins! This could be part of the issue, since if you switch anyone's name with Ben, they will not get Admins permissions or build permissions(they'll go to Default group instead) because Admin does not exist. If you used my piece of code, I had fixed this!
     
  30. Offline

    Razzen

    Nope, turned that off ages ago, first thing i went to was off.

    Code:
    server.properties file says;
    "spawn-protection="
    Code:
    WorldGuard config.yml file says;
    spawn:
        login-protection: 0
        spawn-protection: 
    I had them first at 0, i thought maybe that was still giving out spawn protection for a bit of a distance so i turned it to nothing. Also, what helped me rule that out was another person could build in the exact same position as me, but just in a different group in Permissions, so its definately not spawn protection.

    I copied your exact code into the Permissions config file and still same thing, i did realise that after i must admit. But yeah, im using your bit of code, still same error. This has really got me confused, i dont know what else it could be

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

Share This Page