WorldGuard blocked commands not blocking

Discussion in 'Bukkit Help' started by jj3502, Jan 5, 2013.

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

    jj3502

    We have WorldGuard region around our spawn and we want to make it so that people can't tp out of it. I tryed blocking /tpa /tpaccept /tpyes and people were still able to use them, so I tryed to make it so people can only use /help with the allowed commands and people were still able to tp out. What's going on here?

    This is the region file:
    Code:
    regions:
        __global__:
            type: global
            priority: 0
            flags: {pvp: deny, build: deny}
            owners: {}
            members: {}
        spawntest:
            type: cuboid
            min: {x: -139.0, y: 91.0, z: -129.0}
            max: {x: -102.0, y: 122.0, z: -90.0}
            priority: 10
            flags:
                blocked-cmds: [/tpa, /tpaccept, /tpyes, /spawn, /home]
            owners: {}
            members: {}
    
    Can someone explain why this is not working?
     
  2. Offline

    JWhy

    I think you have to write down the commands without the /
     
  3. Offline

    jj3502

    Tried that, still lets the commands pass... :/
     
  4. Offline

    JWhy

    Code:
    regions:
        __global__:
            type: global
            priority: 0
            flags: {pvp: deny, build: deny}
            owners: {}
            members: {}
        spawntest:
            type: cuboid
            min: {x: -139.0, y: 91.0, z: -129.0}
            max: {x: -102.0, y: 122.0, z: -90.0}
            priority: 10
            flags:
                blocked-cmds: [tpa, tpaccept, tpyes, spawn, home]
                greeting: "In"
                farewell: "Out"
            owners: {}
            members: {}
    Make sure it is like this and once it says "In" (but not "Out") try the blocked commands
     
  5. Offline

    jj3502

    Yup, I was definitely inside the area, the commands still work.
     
  6. Offline

    JWhy

    I don't see a mistake in here... Can you talk to sk89q and other WG guys through IRC?
    Or maybe someone on the boards knows the problem.
     
Thread Status:
Not open for further replies.

Share This Page