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.
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!
Please do not use feedback as error messages. It is better to write in private messages to the spigot.