Flags

Mar 22, 2020
Flags

  • What are residence flags?(top)


    Residence flags are permissions that control what other players can and cannot do on player Residences. For example, the build flag controls who can build on a residence. Opening a chest or accessing a block that contains other blocks (a furnace, for example) is controlled by the container flag.

    These flags can be set for everyone or per player. For example, normally, you would not want everyone to be able to access your chests, but you may have a few close players that you trust to not steal anything. If a player does not have permissions, then they are unable to steal from you or destroy anything on your residence.

    If the parameters confuse you, you can also simply leave them out; this will take you to the easier-to-use chest interface (example: /res pset playername).

    Warning: If players abuse the flag(s) you gave them, staff members cannot always help you. By giving players a flag, you are also giving them permission to use it, so make sure that you only give flags to players you trust.

    Flag Commands(top)


    /res info - Review all flags for the residence you have visited. If you hover over a name on this list, the specific flags given to that player will be shown.

    /res default - Resets all flags on your residence to the default state.
    /res default player <playername> - Resets all of a specific player's flags on your residence to default.

    Cset and cpset: Setting from a chest interface(top)

    Using the cset command gives players the option of setting flags from a chest interface instead of by using parameters within Commands.
    • To set permissions for everyone, use /res cset [residence number].
    • To set permissions for one player, use /res cpset [playername].
    • To set permissions for a group, use /res cgset [group name]. See Residence Groups for more information.
    The icons will give you an indication what kind of flag is represented, and the round dyes below them indicate the state (pink indicates a set flag; gray indicates a default flag). Hover your mouse over the dye to see more details.

    You can left-click on the round dye to toggle flags and right click to reset them back to their default state.

    Cset is also useful in determining the current flag states and changing large amounts of flags quickly

    Set: Setting flags for your whole residence(top)

    Using these Commands would affect all players.
    • To set a flag for everyone (allow something), use /res set [[flag] true].
    Example: /res set use true; this would allow everyone to open doors and/or push buttons on your residence.
    • To deny a flag for everyone (disallow something), use: /res set [[flag] false].
    Example: /res set use false; this would deny everyone to open doors and/or push buttons on your residence, the exact opposite from the first command.
    • To reset a flag for everyone (set back to the default value), use /res set [[flag] remove].
    Example: /res set use remove; this would remove the flag from the list of set flags, and set its value to the default (by default, no one can use things on your residence).

    Note: You can shorten the true, false, and remove Commands by using the first letter only (t, f, and r).

    Pset: Setting flags for an individual player(top)

    Using these Commands would affect a single player only.
    • To give a flag to a player (allow him/her to do something), use /res pset playername [[flag] true].
      • Example: /res pset Aikar build true; this would allow Aikar to build on your residence.
    • To deny a flag from a player (disallow a player from doing something), use /res pset playername [[flag] false].
      • Example: /res pset Aikar move false; this would prevent Aikar from coming onto your residence. You can undo this by removing this flag again. Use the removeargument for that.
    • To remove a flag from a player (set it back to default), use /res pset playername [[flag] remove].
      • Example: /res pset Aikar build remove; this removes the build flag from Aikar; you would normally use this after you have already given a flag to someone (see the previous command).

    Commonly used flags(top)


    This list includes the basic flags that are the most often used. For a more detailed list of all the possible flags available, please see advflags.emc.gs
    • build - Allows the placing/destroying blocks, lighting fires, and placing liquids.
    • use - Allows the usage of doors, buttons, campfires, composters, grindstones, and similar items.
    • container - Allows the opening of chests, furnaces, brewing stands, and other similar things.
    • move - Allows people to enter and teleport onto your residence.
    • redstone - Necessary for altering/destroying repeaters and comparators, and inverting daylight sensors.
    • villager - Allows people to trade with villagers.

    Video tutorial(top)


    Note that some aspects of this video may now be outdated.

    Advanced flags and Commands(top)


    This page contains the most commonly used flags and their Commands. For a full overview of all flags and also more advanced Commands, please see advflags.emc.gs.

    In Town you are given a 60x60 protected residence.