Modify World Not working

Discussion in 'Bukkit Help' started by Sleawnis, Feb 3, 2013.

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

    Sleawnis

    I'm making a survival games server (well similar) and i want to allow people to open chests, but not edit blocks. Users cannot break blocks (good) but cannot open chests (bad).
    Here is my modifyworld config:
    Code:
    item-restrictions: true
    inform-players: true
    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
    
    And hear is my pex config for the users:
    Code:
    groups:
      User:
        prefix: '&f[&7U&f]&7'
        suffix: '&f'
        default: true
        Build: false
        permissions:
        - modifyworld.chat
        - modifyworld.sneak
        - modifyworld.sprint
        - modifyworld.chat.private
        - modifyworld.blocks.destroy.chest
        - modifyworld.blocks.interact.chest
    
    If anyone can fix this problem it would be much appreciated :D
     
  2. Offline

    Tanite

    Perhaps...

    https://github.com/PEXPlugins/PermissionsEx/wiki/Modifyworld

    modifyworld.items.take.<itemid>.of.<container> Player may take items from containers, such as chests.
    modifyworld.items.put.<itemid>.of.<container> Player may take put items in containers, such as chests.

    Also, it looks like you're letting them destroy chests, which you didn't seem to indicate you wanted. Just FYI.

    Also also, you have an interact line for chests, which I don't think makes sense since that's for entities only (see the entity list there).

    And finally... also also also, see:

    https://github.com/PEXPlugins/PermissionsEx/wiki/Modifyworld#wiki-metadata_notes

    You may need to use modifyworld.items.put.54:* (and the same for take).
     
  3. Offline

    Sleawnis

    Nope dosent work :/
     
  4. Offline

    04paynea

    i'm having the same issue, but with monster eggs, i want people to be restricted from using them in a certain world but its not working. my set up is:

    worlds:
    plotworld:
    permissions:
    - -modifyworld.items.use.383
    - -modifyworld.items.use.97
    - modifyworld.*
     
Thread Status:
Not open for further replies.

Share This Page