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.
Hey there @der_mewin
I have an issue with the loading of the plugin.
Here is the pastebin http://pastebin.com/Xbj0jJ76
I'm on Spigot 1.8.8
Is it me or the plugin?
Thanks so much!
In reply to Forge_User_06019889:
@DerekZil
Each of these flags can store multiple commands that are separated with a comma.
This plugin worked fine in my spigot 1.9.4 server lightweight zero config. thanks!!
------------------------This needs to be updated
Server Enter command not working!!!!!
Me too!
i made a region but i forgot how to resize it commands (make it so it reaches world limit and bedrock so people can't edit it at all without permission)
@jajamic
i also have this problem solution please
hello fuckers== Fuckers ==
@joannou1
I dont have any fix, anyway, thank you for sharing this temporany fix, will be usefull
This still works, but is a bit buggy for me. Only flags that it will let me use are the player- commands.. Server commands do not show up.
At one point the flags stopped working and I had to re-do them in the customFlags.yml file.
You can use the server- flags, but you have to stop the server, and enter the flags in manually into the customFlags.yml file for it to work.
Spigot 1.8 / Latest WG
Does this plugin still work...
like for spigot 1.8+?
How do I execute multiple commands? I can't get it to work...
If I'm not OP, flags after the command "/ title" are not visible and the player to a permissions problem.
@remcov1
WGRegionEvents 1.1
OR 1.2? Trying 1.1 an WE 5.9, its working but its not running cmds when they enter area
Please update this to work with 1.8 and WG 6 :)
Please update this to work with the latest WG
For some reason players on my server cant use the /rg info command and ect. Please help me!
i used WGCustomFlags 1.7
WGRegionEvents 1.1
WGRegionCommands 0.1
And worldguard 6 and only "player-enter-command" works
Would love to use this addon to WG but it needs some reworking for 1.7.10 first it would seem :/