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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    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.

Making a region where trees respawn

Discussion in 'Skript' started by grindser, Sep 14, 2021.

  1. grindser

    grindser Member

    Joined:
    Sep 14, 2021
    Messages:
    14
    Likes Received:
    0
    A little ambitious, but I want to make a script to set a region with WorldGuard, then have trees spawn saplings at random places inside the region after being cut down. Could anyone help me out with this, assuming it's possible? Thanks.
     
    #1 grindser, Sep 14, 2021
    Last edited: Sep 14, 2021
  2. ShyDoge

    ShyDoge Member

    Joined:
    Jul 31, 2021
    Messages:
    41
    Likes Received:
    1
    I don't think it is because the region won't always be loaded, aswell as the fact that I don't think vanilla skript supports WorldGuard.
     
  3. Quik2007

    Quik2007 New Member

    Joined:
    May 17, 2020
    Messages:
    5
    Likes Received:
    0
    Vanilla Skript Supports Worldguard Regions!!!
     
  4. swaith

    swaith Member

    Joined:
    May 4, 2021
    Messages:
    11
    Likes Received:
    1
    Set a worldguard region to provide X permission on entry (removed on exit)

    Set skript to place trees within random distance of player with X permission on a low chance when they break a log block with a timer to avoid too overgrowth - you could expand on this by increasing chance based on the type of axe they have and a range of saplings to add some variety into it, like a varied distance and number of saplings.

    That way it will only apply to players with that permission, and you can have multiple regions with the same effect, if I understand what you want to do that is - i'm very inexperienced but from what I understand the above should resolve ok
     

Share This Page

Loading...