1. 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 comminuty!

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


    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PvP in a certain region

Discussion in 'Skript' started by Shansha, Dec 31, 2021.

Thread Status:
Not open for further replies.
  1. Shansha

    Shansha Member

    Dec 31, 2021
    Likes Received:
    I wish to make the player run /pvp if their pvp status is set to "yes" (so their pvp is enabled after getting disabled by PvP manager). My code doesn't give any errors. The version is minecraft 1.18.1.

    The region is called arena and is already marked out by worldguard with pvp on. When I do /pvp, all it does is say pvp enabled and pvp disabled when I run it after. What I want it to do is make me do /pvp if it is enabled so once PvPmanager disabled it if I am in that region, it will make me run it to re-enable it.

    I am quite new to this so any help is appreciated :emoji_slight_smile:

    Code (Skript):

    on command "/pvp":
    if "%%pvpmanager_pvp_status%%" is "yes":
    if "%region at player%" is "arena":
    make player execute command "/pvp"
Thread Status:
Not open for further replies.

Share This Page