PEX Map Protection?

Discussion in 'Bukkit Help' started by cdsboy2000, Apr 18, 2012.

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

    cdsboy2000

    I'm hosting a Hunger Games map soon, and the rules of the map say "You can not break any blocks, expect for leaves and mushrooms." Is it possible to protect all blocks except for leaves and mushrooms? (This is only for the PEX permissions "Player" rank. "Host" should be able to break anything.)

    Here is my Permissions EX file. (http://codetidy.com/2546/)
     
  2. Offline

    dwi

    Yes. using ModifyWorld plugin packed with PEX
     
  3. Offline

    cdsboy2000

    I have no idea how to use it. Can you help me?
     
  4. Offline

    dwi

  5. Offline

    ThePoopfish

    You first need to enable modifyworld, then use this it should work..

    Code:
    groups:
      Player:
        default: true
        prefix: '&2Player &3'
        permissions:
        permissions:
        - -modifyworld.blocks.destroy.*
        - modifyworld.blocks.destroy.18
        - modifyworld.blocks.destroy.39
        - modifyworld.blocks.destroy.40
        - modifyworld.*
      Host:
        prefix: '&2Host &3'
        permissions:
        - permissions.*
    users:
      cdsboy2000:
        group:
        - Host
     
  6. Offline

    cdsboy2000

    When I use that permissions file, I can't chat or build as Host. Here is my Modifyworld config file...
    Code:
    enable: true
    itemRestrictions: true
    informPlayers: false
    whitelist: false
    messages:
      whitelistMessage: You are not allowed to join this server. Goodbye!
      prohibitedItem: You have prohibited item "%s".
      permissionDenied: Sorry, you don't have enough permissions
    
     
  7. Offline

    ThePoopfish

    I though you only needed the modifyworld part to be done, this would be a corrected permissions file..

    Code:
    groups:
      Player:
        default: true
        prefix: '&2Player&3'
        permissions:
        - -modifyworld.blocks.destroy.*
        - modifyworld.blocks.destroy.18
        - modifyworld.blocks.destroy.39
        - modifyworld.blocks.destroy.40
        - modifyworld.*
      Host:
        prefix: '&2Host &3'
        inheritance:
        - Player
        permissions:
        - permissions.*
    users:
      cdsboy2000:
        group:
        - Host
     
  8. Offline

    JohnPulse

    Hi there,

    With ThePoopfish's configuration I can't break leaves and mushrooms.
    All the rest is fine.

    Any help?

    Thanks!
     
Thread Status:
Not open for further replies.

Share This Page