nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft.
SkWorldGuard

SkWorldGuard

Plugin

Worldguard effects/events in skript

Server LibraryManagementOptimizationUtility

44 downloads
0 followers
Created3 months ago
Updated3 months ago

Skworldguard: Advanced WorldGuard Integration for Skript

Skworldguard is a Skript addon designed to extend the capabilities of WorldGuard within your Minecraft server. This plugin allows you to interact with WorldGuard regions directly through Skript, offering more control and flexibility in managing your server’s protected areas.

Key Features:

  1. Region Management: Create and delete WorldGuard regions directly from Skript commands. Member and Owner Control: Easily add or remove members and owners from specific regions.

  2. Flag Manipulation: Set and modify WorldGuard region flags, such as build permissions, directly through Skript.

  3. Efficient Integration: Designed to work seamlessly with existing Skript setups, making it easier than ever to automate and customize region management.

Whether you're looking to automate region protection or integrate region-based features into your custom scripts, Skworldguard provides the tools you need to enhance your server’s WorldGuard capabilities.

Effects Added:

Create Region:
- create region %string% from %location% to %location%

Delete Region:

delete region %string%
Add Member to Region:
- add %string% as member to region %string%


Remove Member from Region:
- remove %string% from region %string%

Add Owner to Region:
- add %string% as owner to region %string%

Remove Owner from Region:
- remove %string% as owner from region %string%

Set Region Flag:
- set flag %string% of region %string% to %string%

-Template.sk

# Use a gold axe as WorldGuard tool
on rightclick with a gold axe:
    set {regionselect.%player%.loc2} to location of event-block
    send "Second Position set to: %clicked block%" to player
    cancel event

on leftclick with a gold axe:
    set {regionselect.%player%.loc1} to location of event-block
    send "First Position set to: %clicked block%" to player
    cancel event

# Create or delete a region using the selected positions
command /regionskript <text> <text>:
    permission: op
    trigger:
        if arg-1 is "create":
            if arg-2 is set:
                if {regionselect.%player%.loc1} or {regionselect.%player%.loc2} is not set:
                    send "You need to set 2 location with your Axe" to player
                    stop
                create region "%arg 2%" from {regionselect.%player%.loc1} to {regionselect.%player%.loc2}
                send "Region '%arg 2%' got created at %{regionselect.%player%.loc1}% to %{regionselect.%player%.loc2}%!" to player
                delete {regionselect.%player%.loc1}
                delete {regionselect.%player%.loc2}
        if arg-1 is "delete":
            if arg-2 is set:
                delete region "%arg-2%"
# Add or remove players as members or owners of a region
command /addregionowner <player> <text>:
    trigger:
        add "%arg-1%" as owner to region "%arg-2%"
        send "%arg-1% got set as Owner from %arg-2% " to player

command /removeregionowner <player> <text>:
    trigger:
        remove "%arg-1%" as owner from region "%arg-2%"
        send "%arg-1% got removed from owner position from %arg-2% " to player

command /addregionuser <player> <text>:
    trigger:
        add "%arg-1%" as member to region "%arg-2%"
        send "%arg-1% got added as member to %arg-2%" to player

command /removeregionuser <player> <text>:
    trigger:
        remove "%arg-1%" from region "%arg-2%"
        send "member %arg-1% got removed from %arg-2% region" to player

# Set flags for a specific region
command /setregionflag <text> <text> <text>:
    trigger:
        set flag "%arg-1%" of region "%arg-2%" to "%arg-3%"
        send "Flag '%arg-1%' got set in the region %arg-2% to %arg-3%" to player

External resources



Project members

FluffyCat

Owner


Technical information

License
ARR
Project ID
Expand Down