WorldGuard Region Commands
WorldGuard Region Commands
"WorldGuard" extension to make the server/a player automatically execute a command when he enters or leaves a WorldGuard region.
How to use this?
this plugin adds some new region flags to worldguard: player-enter-command, player-leave-command, server-enter-command and server-leave-command.
Each of these flags can store multiple commands that are separated with a comma. The player-enter-command and player-leave-command commands will be executed by the player who enters/leaves a region. The server-enter-command and server-leave-command commands will be executed by the server if a player enters/leaves the region.
so simply use the usual WorldGuard region command, like this:
/region flag <region> player-enter-command /list
to make the player execute /list, or
/region flag <region> server-leave-command /say Someone left the region.
to make the server execute the /say command when a player leaves the region.
You can use
/region flag <region> player-leave-command
to clear the value of the flag.
Additionally some substrings will be replaced:
- {player} will be replaced with the name of the player who entered/left the region
- {region} will be replaced with the name of the region the player entered/left
- {comma} will be replaced with a comma as it is normally used to execute multiple commands
Permissions
- none yet
Dependencies
The plugin requires the latest WorldGuard Custom Flags and WorldGuard Region Events.
Click here for some other plugins using WorldGuard Custom Flags.
Problems ?
If you have problems with this plugin read the F.A.Q.. If this did not help you, you can receive help here.
-
View User Profile
-
Send Message
Posted Jul 25, 2013@majoradambros101
It should. If you have problems read the F.A.Q. and post it at the forum pls.
-
View User Profile
-
Send Message
Posted Jul 24, 2013This doesn't work in 1.6?
-
View User Profile
-
Send Message
Posted Jun 13, 2013@RileyMoyeBoy
@garan2314
Please post a detailed description of your problems in the forum.
-
View User Profile
-
Send Message
Posted Jun 13, 2013The flags keep resetting after a while
-
View User Profile
-
Send Message
Posted Jun 12, 2013Something weird is happening ever time i leave for enter a region it say the Unknown comman please type /help .... help me plz D:
-
View User Profile
-
Send Message
Posted May 20, 2013Don't know what these guys are saying... this plugin works fine with 1.5.2 r0.1.
-
View User Profile
-
Send Message
Posted May 19, 2013Hello der_mewin,
can you post please the source code of this plugin?
Sincerely PapaHarni
.........................................
Hallo der_mewin,
könntest du vlielleicht bitte den Source Code von dem Plugin Posten? Würde es gerne als Vorlage nehmen um eine flag max-players und max-players-spawn hinzuzufügen. Um so nur eine gewissen Anzahl spieler in eine Region zu lassen.
Vielen Dank.
Mit freundlichem Gruß PapaHarni
-
View User Profile
-
Send Message
Posted May 17, 2013Can you update the plugin to 1.5.2 please ?
-
View User Profile
-
Send Message
Posted May 14, 2013Hey I found that with 1.5.2 this doesn't work. As in it just straight up doesn't recognize it as a plugin at all. Not in console or /pl Thanks!
EDIT: Made a post on your forums about it: http://dev.bukkit.org/server-mods/worldguard-custom-flags/forum/problems/issues/52816-wgregion-commands-not-working/
-
View User Profile
-
Send Message
Posted May 8, 2013How Do I Protect A Region So It Says: You Are Not Permitted To Enter This Area
-
View User Profile
-
Send Message
Posted Feb 6, 2014Run this command:
/region f (region) entry deny
Any non-members of the region will not be able to enter.
-
View User Profile
-
Send Message
Posted May 5, 2013So I want to create an area that only executes player commands who belong to specific permission groups. Is this possible?
-
View User Profile
-
Send Message
Posted Apr 27, 2013i love this plugin :) thanks for existing der_mewin :P
-
View User Profile
-
Send Message
Posted Apr 12, 2013@Marium0505
@iPodHacks142
Could you please add some more information and post it at the forum as it should be compatible with 1.5.1.
-
View User Profile
-
Send Message
Posted Apr 12, 2013Doesn't work with 1.5/1.5.1
-
View User Profile
-
Send Message
Posted Apr 11, 2013Update?
-
View User Profile
-
Send Message
Posted Apr 10, 2013@NLBlackEagle
Could you maybe send me the error you get with 1.2.5 so I know what I have to change to make it compatible? And please do so in the forum ;) .
-
View User Profile
-
Send Message
Posted Apr 9, 2013Could you make this supporting CB 1.2.5, so it supports tekkit classic which doesnt needs any updates anymore, so its an one time thing to do.
You would really help us out if you'l do, thanks in advance!
-
View User Profile
-
Send Message
Posted Apr 7, 2013@der_mewin
Okay this is working great on my server, I set it up so when they go into a pvp area they are forced to run /fly disable and blocked /fly and /efly in the area :D One quick request though could you add a node so that when someone with the permission enters the area they arn't forced to run the command? Or make the server run the command either.
-
View User Profile
-
Send Message
Posted Apr 7, 2013@der_mewin
Nvm I didn't have the Region Events installed xD