✅MUST HAVE✅ WGC - WorldGuardCommand ✅NEW UPDATE✅ icon

✅MUST HAVE✅ WGC - WorldGuardCommand ✅NEW UPDATE✅ -----

Executes commands when entering/exiting a region. And much more!



Please do not use feedback as error messages. It is better to write in private messages to the spigot.

WGC - WorldGuardCommand
This plug-in will help you organise things you couldn't do before.
For example, when you want a player to be given an item when he enters a location and have it taken away when he leaves. All you need is WGC and the WorldGuard add-on.
The plugin can do as a console command, as well as commands on behalf of the player and even both at once! Below are all of its functions.


On Entering to region
on enter.gif

On Leaving from region
on Leaving.gif

On Moving in region
(sorry for bad gif)
on moving.gif


By Timer in region
on timer.gif


Config File
Code (YAML):

WGCommands
:
  ExampleWGC1
:
    inWorld
: "world" #the name of the world where the region is located
    regionName
: "Spawn" #region name
    command
:
      # {plX} - replaced by the X coordinate of the player
      # {plY} - replaced by the Y coordinate of the player
      # {plZ} - replaced by the Z coordinate of the player
      Console
: "/particle lava {plX} {plY} {plZ}" #the command that will be executed by console
      runEvery
: 200 #the command will be executed every X ticks
  ExampleWGC2
:
    inWorld
: "world"
    regionName
: "Spawn"
    command
:
      Player
: "/pl" #the command that will be executed by player
      Console
: "/give {PLAYER} minecraft:diamond" #{PLAYER} will be replaced by the player's nickname
      onJoining
: true #the command will be executed when player starts moving in region
      onLeaving
: true #the command will be executed when player starts Leaving from region
  ExampleWGC3
:
    inWorld
: "world"
    regionName
: "Spawn"
    command
:
      # {blX} - replaced by the X coordinate of the player's block
      # {blY} - replaced by the Y coordinate of the player's block
      # {blZ} - replaced by the Z coordinate of the player's block
      Console
: "/playsound minecraft:entity.player.burp hostile @a {blX} {blY} {blZ} 0.5 0.7"
      onMoveInReg
: true #the command will be executed when player moves in region
 
Replaceable arguments
{PLAYER} - replaced by the player's nickname
{blX} - replaced by the X coordinate of the player's block
{blY} - replaced by the Y coordinate of the player's block
{blZ} - replaced by the Z coordinate of the player's block
{plX} - replaced by the X coordinate of the player
{plY} - replaced by the Y coordinate of the player
{plZ} - replaced by the Z coordinate of the player


Commands
- /wgcreload - reloads all plugin


If you would like to support us and our projects, you can do so here. Thank you!
https://www.donationalerts.com/r/multifuncom


Our Achievements
- 50 Downloads


Thank you for downloading our plugins!
Don't forget to rate our work!(y)

Please do not use feedback as error messages. It is better to write in private messages to the spigot.
Resource Information
Author:
----------
Total Downloads: 205
First Release: Jul 6, 2022
Last Update: Jul 19, 2022
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings