Solved Why wont ModifyWorld block this?

Discussion in 'Bukkit Help' started by isleepzzz, Nov 14, 2012.

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

    isleepzzz

    Ok, so i have PermissionEx which require ModifyWorld
    so i have both:
    PermissionsEx
    and
    ModifyWorld


    soo in my permissions i have this:
    Code:
        - -modifyworld.blocks.destroy.98
        - -modifyworld.blocks.place.98
        - modifyworld.*
    and still i can break the block '98' which is StoneBrick..

    so i just got creative and also tried this way:
    Code:
        - modifyworld.*
        - -modifyworld.blocks.destroy.98
        - -modifyworld.blocks.place.98
    again didnt block me from the stonebrick...

    help plz?:(
     
  2. Offline

    lokpique

    Might be because that item has metadata.

    Try using...

    Code:
        - -modifyworld.blocks.destroy.98:*
        - -modifyworld.blocks.place.98:*
        - modifyworld.*
    let me know if that works

    EDIT : Just figured this one out.

    In the permissionsex folder, open the config.yml file.

    Ensure that the option for strict-mode is set to true.

    The above code should work after that (just tested it myself).
     
  3. Offline

    isleepzzz

    weird.. in my permissionEx config file, it doesnt have any "strict-mode" on this:
    Code:
    permissions:
      backend: file
      backends:
        file:
          file: permissions.yml
      superperms: {}
    
     
  4. Offline

    lokpique

    Not the permissionsEx file... the modifyworld config file.

    It is located inside the plugins/modifyworld folder
     
  5. Offline

    isleepzzz

    well in my modifyworld config it doesnt have "strict-mode" in there either:L

    All i have:
    Code:
    item-restrictions: false
    inform-players: false
    whitelist: false
    use-material-names: true
    drop-restricted-item: false
    item-use-check: false
    messages:
      message-format: '&f[&2Modifyworld&f]&4 %s'
      default-message: Sorry, you don't have enough permissions
      modifyworld.items.use: Stop, &a$1&4 won't fit into &a$3
      modifyworld.login: You are not allowed to join this server. Goodbye!
      modifyworld.blocks.interact: You are too jelly for &2$1
      modifyworld.blocks.place: This is wrong place for &a$1
      modifyworld.blocks.destroy: '&a$1&4 is tough for you'
      modifyworld.damage.deal: Your level is too low for &5$1
      modifyworld.chat: Your mouth is too dry
      modifyworld.chat.private: Listener is deaf :(
      modifyworld.items.have: Prohibited item &a$1&4 has been removed from your inventory.
      modifyworld.items.drop: This is indecent to scatter &a$1&4 around
      modifyworld.items.hold: Beware, &a$1&4 is cursed!
      modifyworld.items.craft: Sorry, but &a$1&4 is too complicated
      modifyworld.items.enchant: Sorry, &a$1&4 is too dangerous
      modifyworld.vehicle.enter.boat: You are too heavy for this &a$1
      modifyworld.vehicle.enter.minecart: Sorry, but &a$1&4 is too small
      modifyworld.vehicle.destroy: This &a$1&4 is legal property of &bUnited States of America
      modifyworld.tame: This &a$1&4 is too ferocious
      modifyworld.bucket.fill: This bucket is holey
      modifyworld.bucket.empty: You suddenly realized you still need &a$1
      modifyworld.usebeds: You can't sleep yet, there are monsters nearby
    
     
  6. Offline

    lokpique

    Sorry man, you were right... it IS in the permissionsex config.yml.

    Change the superperms: {} to this...

    Code:
      superperms:
        parent-nodes: true
        enable: true
        strict-mode: true
    Sorry again about that... just to say it again... the permissionsex config.yml.
     
  7. Offline

    isleepzzz

    testing out right now.. what exactly does 'parent-nodes' and 'strict-mode' do exactly also while im trying it out.

    EDIT: dammit...i can still easily break the block "98"

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

    lokpique

    Are you an op?
    Also... can you repaste your permissions and config files again so I can see the changes now?
     
  9. Offline

    isleepzzz

    I am OP, but then again, if OP i can break anything i want, so im testing on a defaul permissions noob.

    Permissions:
    Code:
    users:
      isleepzzz:
        group:
        - owner
        permissions:
        - permissions.*
      thenoobnamehere676476:
        group:
        - vip
    groups:
      default:
        default: true
        permissions:
        - -modifyworld.blocks.destroy.98:*
        - -modifyworld.blocks.place.98:*
        - modifyworld.*
        - essentials.afk.kickexempt
        - -essentials.top
        - essentials.rules
        - bp.stonebrick
        - bb.stonebrick
        - bp.enderchest
        - bp.emeraldore
        - bp.goldore
        - bp.ironore
        - bp.coalore
        - bp.lapisore
        - bp.diamondore
        - bp.redstoneore
        - bp.glowstone
      vip:
        inheritance:
        - default
        permissions:
        - essentials.ping
        options:
        prefix: '&5[VIP]&f'
      owner:
        inheritance:
        - default
        permissions:
        - '*'
        options:
        prefix: '&4[Owner]&f'
    
    Config:
    Code:
    permissions:
      backend: file
      backends:
        file:
          file: permissions.yml
      superperms:
        parent-nodes: true
        enable: true
        strict-mode: true
    
     
  10. Offline

    lokpique

    No matter what permissions you have, being op overrides them all.

    Deop yourself while testing this.
     
  11. Offline

    Necrodoom

    also:
    use-material-names: true
    that needs to be false, i remember.
     
  12. Offline

    isleepzzz

    did that, stil not working :L damn this is beging annyoing huh?:/

    did u not read my post?.... im not using an OP to test with....

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

    lokpique

    First three words were "I am OP"... then you mentioned your permissions in broken english. Guess i misunderstood?

    Have fun with your problem. Works fine for me.
     
  14. Offline

    isleepzzz

    Well if u read just the three first words i dont believe you would have a clue of what im talking about.. but thats ok, dont be mad and hating tho? thats not cool.
    All i need is some help of why its not working:/
     
  15. Offline

    isleepzzz

    Can seriously no one help me? I still need this help plz.
     
  16. remove the modifyworld.*
    it gives bypass for all modifyworld features
     
  17. Online

    timtower Administrator Administrator Moderator

    Or place the modifyworld.* above the other ones, PEX reads from top to bottom
     
  18. Offline

    afistofirony

    isleepzzz Try changing the Modifyworld permissions to these:

    Code:
    - -modifyworld.*.98
    - modifyworld.*
    Also, disable strict-mode. That means that you have to give very generic permissions such as bukkit.chat.receive.

    You may also want to try to remove your 'permissions.*' permission from yourself. That might include MW permissions as well.
     
  19. Offline

    isleepzzz

    Yeesss you are awesome! thank you soo very much!:)
     
Thread Status:
Not open for further replies.

Share This Page