Flags Logo

Flags is an interface plugin designed to bridge the gap between cuboid and other land management plugins and other plugins that would need to access them.

Based on similar concepts of Vault, Flags provides a single unified object or "Area" for developers to have basic access to the information it holds without the need to know which plugin created it. This allows developers to implement per-area features one time and have them work automatically with all the supported land management plugins.

Though it has grown far beyond it's original purpose, Flags gets it's name from it's ability to allow plugins to create "flags" or switches that change the behavior of the game or plugin in specific areas. Flags will automatically maintain the users choices and customizations, and the plugins that created the flags merely have to handle their behavior. Don't let the name fool you, plugins can use the API for hooking into areas without actually creating flags at all.

Commands Configuration Permissions Area Plugins Frequently Asked Questions Developer API


  • Multiple land area plugin support
  • Modular flags allow you to choose only what you want.
  • Developer API allows anyone to create flag plugins or interface with areas.
  • Flags can be set for areas, the wilderness, or new area defaults.
  • Trust lists allow you to choose players that can bypass flag effects in each area.
  • Customizable player messages allow you to personalize all player flags per area.
  • Customizable flag bundles allow you to set multiple flags in a single command.
  • Multi-world support allows you to treat each world as a different area, including the wilderness and defaults.
  • YAML and MySQL data storage options for flexible servers
  • Vault economy support for purchasing flags and messages

Supported Area Plugins (optional)

Flags currently supports Factions, Factoid, Grief Prevention, InfinitePlots, PlotMe, PreciousStones, Residence, and WorldGuard. Flags also has an internal system it uses if no other system is detected. For more details on compatibility and feature sets, please visit the Area Plugins page.

Plug-ins and Modules

Included Modules

Included with Flags is a set of optional flag modules available that operate with just Bukkit. To install them, place the modules you want to use in your plugins folder, along with Flags.jar.

Block ModuleAdds flags based on block control.
Border Patrol ModuleAdds flags based on players moving into or out of an area.
Core ModuleAdds general flags that don't fit with any of the other included modules.
Creature Spawn ModuleAdds flags for stopping creatures from spawning.
Damage ModuleAdds flags for stopping types of player damage.
Player ModuleAdds flags based on player actions.
Vehicle ModuleAdds flags based on boats, minecarts, and horses.

External Plugins and Modules

Below is a list of known plugins and modules not included with Flags that add their own flags. If you have developed a plugin with Flags support or a module and want it listed here, add a post to the developer forum!

BlockNotifNotifies moderators when players break certain blocks, logs it, and prevents it from occurring.None. Flags is used to report the name or ID of the area defined by the system your using.
FancyShopCreates chest shops that trade in physical currencies.Flags that allow shops to be restricted to specific areas.
FlyNCreativeAllows server operators to set areas where creative mode and flight are enabled while maintaining inventories for those areas.Flags to select Flight and/or Creative mode.
HardcoreClaimsGrief Prevention extension that deletes claims and restores the land when a player dies.Flags for choosing which claims get deleted and what areas players must die in to cause a deletion.
PetStoreManage ownership of tameable animals.Flags for choosing where animals can be left for sale, give away, or released.
RocketTeleportPlugin that adds a new flare to warping/teleporting.Flags for choosing where players can create rockets and landing zones.

Flag Usage

NEW: Tutorial: Understanding Area, Wilderness, and Default

To set flags for an area, simply stand inside the area that you would like to set a flag for and issue the command /flag <action> <location> <flag> [value]. For more detailed information, consult the Commands page. Setting a default flag allows you to choose the behavior for all areas in the world that have not had a value previously set. Setting a wilderness flag allows you to choose the behavior for unclaimed areas.

The following examples can be used for the flag or bundle command and can be used with area, default, or wilderness. This is not an exhaustive list.

/flag get area PvpRetrieves the value of the flag
/flag set wilderness NotifyExit trueExplicitly set the value of the flag.
/flag set default SpawnMobToggle the current value of the flag.
/flag helpDisplay a list of available flags


Flags has the ability to use item based tools for some functionality. The items are configurable in config.yml. Below is a list of the tools available.

FlagQueryFeatherRight click in an area to view the flags currently set. Performs the same function as /flag get area or /flag get wilderness.
SectorGold HoeIf Sectors are enabled, use this tool to create a sector by right clicking to set the corners. Create subdivisions in the same manner inside an existing sector.


Bundles allow you to group flags together so you can set them with a single command. New bundles can be added by command or by the server operator editing the bundle.yml file. Bundles maintain their own permissions system, they do not require a flag permission even if the flag is in the bundle. Below is a list of default bundles which serve as examples and can be edited or removed. These bundles will only function if their respective modules are installed.

IMPORTANT: When adding new bundles by editing the file directly, the name should ALWAYS be lower case. Flag names are not case sensitive, and using or adding bundles with commands in-game are not case sensitive. You may use in-line YAML list format if you wish.

BuildCreatureBuildGolem, BuildSnowman, BuildWither
JailAllowEntry, AllowLeave, AllowTpIn, AllowTpOut
NotifyNotifyExit, NotifyEnter
SpawnMonsterSpawnInvasion, SpawnJockey, SpawnLightning, SpawnMob, Spawner, SpawnChunk, SpawnOther
DamageDamageBlockExplode, DamageContact, DamageDrown, DamageFall, DamageBlockFall, DamageFire, DamageBurn, DamageLava, DamageLightning, DamageMagic, DamageMelting, DamagePoison, DamageStarve, DamageSuffocate, DamageSuicide, DamageThorns, DamageVoid, DamageWither, DamageOther


Flags contains an automated updater feature that can check for updates and notify the console and players with permission when one is available. For more information on configuring or disabling the updater, click see the Configuration page.


Flags reports non-identifying information about your server to MCStats.org. For more information on what is reported and how to disabled it if you would like to, please see the Questions page. To view the full set of data, click the graph below.

Metrics Graph

Discussion Forum

In order to provide more centralized and effective means of feedback and support for my growing list of plugins, a Discussion Forum has been provided. You don't even need a new account to use it! Please understand that I may not directly respond to comments on this page and I will not respond to plugin questions in the form of PM's. By posting on the forums you help others find answers to the same questions, and I don't have time to continually repeat the same answers if you want new features added! This forum is exclusively for plugins by Alshain01 and discussion of their use and development. For other concerns, please consult the Bukkit Forums.


You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of LiquidSolidMetal LiquidSolidMetal Aug 03, 2015 at 22:17 UTC - 0 likes

    I would love if this could be updated with spigot as spigot is the most well used server build out there and they are actually doing a great job keeping up with updates and such

  • Avatar of HalestormXV HalestormXV Jul 10, 2015 at 18:34 UTC - 0 likes

    I see that this works with GreifPrevention. I was reading through the documentation but I cannot seem to find anything. Does this also have the option to prevent people from right clicking while in a protected "claim" from GriefPrevention. I mainly ask this because I run a modded server and some items trigger on right click and can dislocate blocks and such.

  • Avatar of Alshain01 Alshain01 Jul 03, 2015 at 07:53 UTC - 0 likes

    @LGCMcLovin: Go

    Flags are not owned by anyone. There is really no good way to separate them into different files. At the point it becomes too large, it is time to look at SQL.

  • Avatar of LGCMcLovin LGCMcLovin Jun 17, 2015 at 17:59 UTC - 0 likes

    How about maybe fixing it so that flag data is stored per player, instead of 1 file for every single player/claim flag made on the server. using a single file for larger community servers causes crashes once the file becomes too large...

  • Avatar of Alshain01 Alshain01 May 13, 2015 at 22:54 UTC - 0 likes

    Some of you have been asking about a 1.8 version of Flags. However, with the collapse of Bukkit, there is not a 1.8 API. I've been (silently) following the Sponge development which looks promising and is the most likely move for this plugin but I don't feel that it is quite ready yet. Until that time, there really isn't anything I can update to.

    Before you ask, no I will not be porting the plugin to Spigot. I simply do not like what I see in that project. While I wish no ill will against the people involved, I am not interested in becoming involved in it.

    Last edited May 13, 2015 by Alshain01
  • Avatar of Nyqi Nyqi May 10, 2015 at 13:10 UTC - 0 likes

    I hope you will update it to 1.8.3 :3


  • Avatar of kemmeo kemmeo May 04, 2015 at 21:13 UTC - 0 likes

    @Alshain01: Go

    When can we expect a 1.8 version of Flags? I want this, not WordEdit

  • Avatar of MikeExcel MikeExcel Apr 11, 2015 at 22:23 UTC - 0 likes

    Where is the version that works with the current 1.7.10 download for GriefPrevention?

  • Avatar of Ragnorok98 Ragnorok98 Apr 01, 2015 at 22:34 UTC - 1 like

    please update to 1.8, I need to use this for a pvp arena

  • Avatar of skittlenl skittlenl Jan 05, 2015 at 22:35 UTC - 1 like

    Update for 1.7.10

    [Java ERROR] org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:334) [JavaPluginLoader$1.class:git-Cauldron-MCPC-Plus-1.7.10-1.1231.04.209] [Java ERROR] java.lang.reflect.Method.invoke(Method.java:601) [?:1.7.0] [Java ERROR] sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0] [Java ERROR] sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source) [?:?] [Java ERROR] io.github.alshain01.flagscreaturespawn.FlagsCreatureSpawn$CreatureSpawnListener.onCreatureSpawn(FlagsCreatureSpawn.java:147) [?:?] Caused by: java.lang.NoSuchMethodError: io.github.alshain01.flags.api.area.Area.getState(Lio/github/alshain01/flags/api/Flag;Z)Ljava/lang/Boolean; [Java ERROR] java.lang.Thread.run(Thread.java:722) [?:1.7.0] [Java ERROR] net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658) [MinecraftServer.class:?] [Java ERROR] net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798) [MinecraftServer.class:?] [Java ERROR] net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:423) [lt.class:?] [Java ERROR] net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:920) [MinecraftServer.class:?] [Java ERROR] net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:247) t.class:?] [Java ERROR] net.minecraft.world.SpawnerAnimals.func_77192_a(SpawnerAnimals.java:212) [aho.class:?] [Java ERROR] net.minecraft.world.World.addEntity(World.java:1734) [ahb.class:?] [Java ERROR] org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:272) [CraftEventFactory.class:git-Cauldron-MCPC-Plus-1.7.10-1.1231.04.209] [Java ERROR] org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492) [SimplePluginManager.class:git-Cauldron-MCPC-Plus-1.7.10-1.1231.04.209] [Java ERROR] org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507) [SimplePluginManager.class:git-Cauldron-MCPC-Plus-1.7.10-1.1231.04.209] [Java ERROR] org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [RegisteredListener.class:git-Cauldron-MCPC-Plus-1.7.10-1.1231.04.209] [Java ERROR] org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:338) [JavaPluginLoader$1.class:git-Cauldron-MCPC-Plus-1.7.10-1.1231.04.209] [23:24:33] [Server thread/ERROR] : Could not pass event CreatureSpawnEvent to FlagsCreatureSpawn v2.0.0-ALPHA-1

What is your favorite flag module?

  1. Choice:

  1. Results
  2. 0 comments


Date created
Sep 04, 2013
Last update
May 03, 2014
Development stage
  • enUS
Creative Commons Attribution-NonCommercial 3.0
Curse link
Recent files