WorldGuard Region skript help

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Sniegras

New Member
Feb 11, 2017
6
0
0
Hi How do I allow people to break blocks in skript if player's doesn't have permission to break in that region only with skript?

This is what I came up with:
Code:
on break of birch log:
    if player is in the region "d":
        set event-block to air
        drop 1 birch log at event-block

But I don't know how to bypass worldguard.
 
Hi, you can try that:

code_language.skript:
on break of birch log:
    "%region at player%" contains "region with a big name" #Please set the name of the region more than 5 characters (sorry i'm french)
    set event-block to air
    drop 1 birch log at event-block
 
Status
Not open for further replies.