Can't build

Discussion in 'Bukkit Help' started by jedajus, Jun 16, 2011.

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

    jedajus

    Hello everyone, i got a few plugins into my server and i can't build, don't know why. My plugins are:
    Permissions, Tombstone, Citizens, Chestlock. If i make myself op, i still can't build. Maby i have to do something with permissions ? I made that build: true, still nothing. help please
     
  2. Offline

    svict4

    post your permissions configuration
    maybe you are even too close to spawn (if you haven't changed the spawn protection field)
     
  3. Offline

    jedajus

    users.yml
    Code:
    ##
    
    # 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 have a prefix and suffix of their own.
    
    ##
    
    users:
    
        ShagoNas:
    
            groups:
    
                - Admins
    
            permissions:
    
        CesnaMC:
    
            groups:
    
                - Admins
    
            permissions:
    
        Wilius666:
    
            groups:
    
                - Admins
    
            info:
    
                prefix: '&4'
    
            permissions:
    
        pKornis:
    
            groups:
    
                - Admins
    
            permissions:
    groups.yml
    Code:
    ##
    
    # 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
    
    ##
    
    #   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:
    
    #
    
    #       - '*'
    
    ##
    
    #   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: true
    
            inheritance:
    
            permissions:
    
                - 'foo.bar'
    
                - 'tombstone.use'
    
                - 'tombstone.large'
    
                - 'tombstone.lwc'
    
                - 'tombstone.sign'
    
                - 'tombstone.freesign'
    
                - 'tombstone.quickloot'
    
                - 'tombstone.tombfind'
    
                - 'citizens.admin'
    
                - 'chestlock.own'
    
                - 'chestlock.lock'
    
                - 'chestlock.unlockable'
    
                - 'chestlock.coowner'
    
                - 'chestlock.usekey'
    
                - 'chestlock.free'
    
        Moderator:
    
            default: false
    
            info:
    
                prefix: ''
    
                suffix: ''
    
                build: true
    
            inheritance:
    
                - Default
    
            Permissions:
    
                - '*'
    
        Admins:
    
            default: true
    
            info:
    
                prefix: ''
    
                suffix: ''
    
                build: true
    
            inheritance:
    
            permissions:
    
                - '*'
    I tried to go away from spawn, still not working. :/
     
  4. Offline

    svict4

    well everything seems fine except for one thing in your perms setup

    try this as your groups.yml
    Show Spoiler
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
                - 'tombstone.use'
                - 'tombstone.large'
                - 'tombstone.lwc'
                - 'tombstone.sign'
                - 'tombstone.freesign'
                - 'tombstone.quickloot'
                - 'tombstone.tombfind'
                - 'citizens.admin'
                - 'chestlock.own'
                - 'chestlock.lock'
                - 'chestlock.unlockable'
                - 'chestlock.coowner'
                - 'chestlock.usekey'
                - 'chestlock.free'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            Permissions:
                - '*'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    you had
    Code:
    default: true
    in Admins

    it shouldn't change build permissions, however it might clean up some nasty errors in the future

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

    jedajus

    Still nothing...Maby i need to delete files in permissions folder because there are like globalusers, globalgroups, storageconfig, there are 2 folders: world, world_nether and in these are groups, users which are empty

    i tried to cut permissions jar and folder from the server and when i do it i can build, that means the problem is somewhere in permissions. Still don't know what problem. what can i do ?

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

    svict4

    ohhh - in which case (for you) copy the permissions from globalgroups to groups in world

    according to the Permissions github wiki you are meant to inherit perms from global and have world specific perms in each world folder

     
  7. Offline

    jedajus

    But these yml files are empty
     
  8. Offline

    svict4

    exactly
     
  9. Offline

    jedajus

    sooo what do i have to do ? Sorry i'm new to these things so i don't know much
     
  10. Offline

    svict4

    thats ok - just copy and paste your globalgroups and globalusers perms into groups and users in your world folder

    so everything globalGroups.yml should look exactly the same in groups.yml ...and the same goes with users

    now usually if you have more than one world, you would change this abit but because its just one, this should work - this is how i initially set up perms on my server
     
  11. Offline

    jedajus

    Thanks !
    Code:
    2011-06-16 14:22:06 [SEVERE] Could not pass event PLAYER_INTERACT to ChestLock
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
        at ChestLock.ChestLock.hasPermission(ChestLock.java:177)
        at ChestLock.ChestLockPlayerListener.onPlayerInteract(ChestLockPlayerListener.java:283)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:63)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:453)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHandler
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 15 more
    
    now chestlock doesn't work and when i write /plugins in my server permissions is in red colour. But i can build but still....
    I copied everything from users and groups to global groups globalusers and in folders world and world_nether to users and groups
     
  12. Offline

    svict4

    great :D your better off looking on the Chestlock thread for more information on those errors... even though the error suggests another problem with Permissions :L
     
  13. Offline

    fugue2005

    looking at your posted files.

    are there really extra lines between each line in your users and groups files? or is that from the code block messing them up.
    there shouldn't be.
     
  14. Offline

    svict4

    well it really doesn't matter, the phaser will still output the same with or without double line spacing
     
  15. Offline

    fugue2005

    oh didn't know that, i've never had double spaced permissions files.
     
Thread Status:
Not open for further replies.

Share This Page