Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for TheFluffyCat

adds most WorldGuard effects to Skript

Report SkWorldGuard?

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% l 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


```html
# 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

Information

CategoryDeveloper Tools
Published onJanuary 15, 2025
LicenseUnspecified
Downloads27
Stars0
Watchers0

Pinned Versions

Members