- Tested Minecraft Versions:
- Source Code:
- https://github.com/aromaa/WorldGuardExtraFlagsPluginCheck which WorldGuard version you need to use from the FAQ in order for the plugin to work properly!
FAQ is at the end
WorldGuard Extra Flags is extension to WorldGuard that adds 29 new flags listed below!
How to use?
- teleport-on-entry & teleport-on-exit | Teleports the player to given location when player enters/exists the region
- command-on-entry & command-on-exit | Executes a command when player enters/exists the region (Use %username% for player username placeholder)!
- console-command-on-entry & console-command-on-exit | Executes a command as console when player enters/exists the region (Use %username% for player username placeholder)!
- walk-speed | Sets the walking speed inside the region
- keep-inventory | Does the player keep their inventory on death inside the region
- keep-exp | Does the player keep their exp on death inside the region
- chat-prefix | Chat prefix shown when inside the region
- chat-suffix | Chat suffix shown when inside the region
- godmode | Does the player the damage inside the region
- blocked-effects | Block effects inside the region
- respawn-location | Sets the players respawn location when inside the region
- worldedit | Is WorldEdit permitted inside the region
- give-effects | Gives effects while inside the region and restores old effects on region leave with correct time left
- fly | Whatever flying is enabled or disabled when entering the region
- play-sounds | Allows you to play sounds once or on repeat. When running 1.9 server or above the sound will stop playing once the player leaves the region
- frostwalker | Is frostwalker permitted inside the region
- nether-portals | Is creation of nether portals permitted inside the region
- allow-block-place | Specifies which block(s) are allowed to be placed inside the region (Only in WG6)
- allow-block-break | Specifies which block(s) are allowed to be broken inside the region (Only in WG6)
- deny-block-place | Specifies which block(s) are denied from being placed inside the region (Only in WG6)
- deny-block-break | Specifies which block(s) are denied from being broken inside the region (Only in WG6)
- glide | Is flying with Elytra allowed inside the region. Can also be used to give the player glide effect without wearing one
- chunk-unload | Is chunk unloading permitted inside the region
- item-durability | Is item durability allowed inside the region
- join-location | Teleports the player to given location when logging in to the region
Simply use the WorldGuard region flag command. All of the flags can be interacted that way, just like any other flag.
Which Minecraft versions are supported?
From 1.7 even up to 1.16.4, please keep in mind you still need to pick the correct WorldGuard version, which are listed below
Which WorldGuard version should I use?
The most up to date version that is compatible with your version of Minecraft. These are tested versions and works as intended.
- WorldGuard 6.1.2 OR LOWER
- NOT SUPPORTED, PLEASE UPGRADE, READ BELOW FOR RECOMMENDED VERSIONS
- WorldGuard 6.2.0
- Minecraft: From 1.7 up to 1.11
- WorldGuard 6.2.2
- Minecraft: 1.12
- WorldGuard 7.0.0
- Minecraft: 1.13
- WorldGuard 7.0.3
- Minecraft: From 1.14 to 1.15
- WorldGuard 7.0.4
- Minecraft: 1.16
Can I bypass flag with permissions?
You can bypass any flag by using the following permission node:
If your permission plugin supports wildcars they can by used to block all custom flags in region using:
Flag is not working:
Make sure you do not have permissions for the following permission node:
Also make sure you have use-player-move-event set to true in WorldGuard config.
Please also note that if you are OP you have all the permissions, meaning that you are bypassing every flag the plugin provides. This can look like the plugin is not working.
Also /rg bypass doesn't work, at least yet.
Respawn-location flag is not working:
Read up the flag is not working part first before trying this. Some other plugins are known to cause problems with respawn-location flag by choosing some other location to respawn the player instead of the location provided by the flag.
If you are using Essentials you can fix this by changing the respawn-listener-priority to lowest or low in the Essentials config.
Can I use multiple commands?
Yes, use comma to separate them.
Can I get the player's username when executing a command?
You can use the %username% placeholder
What if my command contains commas?
Wrap the command in quotation marks and it will be seen as one whole command.
A word about custom commands
Custom commands do not work as they are not "real" commands. Using plugins like Skript where you can define your own commands are seen as "fake" commands and their existence is unknown.
What are the values for walk-speed?
The flag uses same values as Minecraft does. The default value being 0.2
What are the values for play-sounds?
These values depend on your Minecraft server version. Any value that works with /playsound works as value here.
Server crashes when using teleport commands in command-on-entry or in command-on-exit:
Using teleport commands is not supported and there is a special flags for them; teleport-on-entry and teleport-on-exit. These flags are more careful when teleporting the player around and tries to prevent any circular teleport loops.
When using keep-inventory flag my inventory gets duplicated:
This is not the plugins fault and some other plugin is conflicting with the flag.
I want to give a player permission when they enter a region.
You should NEVER in any situation to use command-on-entry flag's to give out permissions. Instead, you should use the following extension for LuckPerms: https://github.com/LuckPerms/ExtraContexts
Not working on Thermos:
If something is not covered in here you can come ask help from our Discord server in the #support channel
Click here for invite link
Make sure you have made sure that your problem isn't covered above!
WorldGuard Extra Flags 4.1.5
it has currently :
- teleport on entry and exit
- console/player command on entry and exit
- walk speed
- blocked effect shower
- god mode area
- allow/block give/fly commands
- modify fly speed
- play sound when entering area (best for ambient sound)
could have more but its not in registered log when plugin starts.
Dev is making executive decisions to remove flags from the ORIGINAL WORLD GUARD. You heard that, this plugin actually REMOVES multiple flags from world guard. The dev has refused to even acknowledge complaints about this. Rip the bandaid off now and get rid of this plugin. With this mentality, who knows what the dev will remove next.