I dont understand the concept of "flags" [WG]

Discussion in 'Bukkit Help' started by Fergym, Aug 25, 2014.

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

    Fergym

    Thanks to LHammonds I will be able to set up my own server soon!:) but, I have seen people talking about the so called flags and I do not understand the concept if I do /flag _global_. build deny is it like //pos 1 & //pos 2 ? if not how much does each flag cover?

    Thanks for the help :D

    ~Fergy
     
  2. Offline

    SalC1

    I'm assuming that your using WorldGuard and trying to stop building in the global region. First of all, the command is wrong. It's /region flag __global__ build deny. If you want to see all the things you can deny/allow just replace "build" with any random text and it will show all the things you can do. Hope this helps!
     
  3. Offline

    LHammonds

    You do not normally want to mess with __global__ unless you really want to apply those settings to the entire world.

    To protect spawn and various other areas, you create regions. You do this with the //pos1 and //pos2 commands to mark the opposite corners of a box selection (or by using the //wand to left/right-click existing blocks).

    Once you have a selection made, you then create the region:

    Syntax:
    Code:
    /region create <Region Name> {Owner Name}
    Example making a region called "spawn":
    Code:
    /region create spawn HammondsLegacy
    Once you have this region defined, players will not be able to build/break blocks and you are done unless you want to further customized it a bit more such as the following:
    Code:
    /region flag spawn greeting Welcome to the server
    /region flag spawn farewell You have left the safety of the spawn area
    /region flag spawn mob-spawning deny
    /region flag spawn pvp deny
    /region flag spawn invincible allow
    /region flag spawn enderpearl deny
    /region flag spawn vine-growth deny
    /region flag spawn ice-melt deny
    
    Lets say you want to allow JoeBlow to be able to edit spawn. Just add him as a member:
    Code:
    /region addmember spawn JoeBlow
    If you no longer want him to edit it, type:
    Code:
    /region removemember spawn JoeBlow
    If you want a PvP area inside of the spawn region, you need to define priorities to each region so the higher number priority will override any conflicting settings in lower priority regions that overlap.
    Code:
    /region create pvparena HammondsLegacy
    /region setpriority spawn 10
    /region setpriority pvparena 20
    /region flag pvparena pvp allow
    /region flag pvparena invincible deny
    LHammonds
     
  4. Offline

    PapiDimmi

    I was going to answer you, but it looks like LHammonds did it before me.
     
Thread Status:
Not open for further replies.

Share This Page