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.

Land SK

Discussion in 'Skript' started by TheRobs, Sep 25, 2022.

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

    TheRobs Member

    Jan 26, 2017
    Likes Received:
    Hello friends,

    I need the following help:

    I need a land skript, where players can buy lands of different sizes, for example:

    /land buy 25 25

    If possible, that the sk check if there is any terrain within the distance that the player placed.
    If there is, let him not allow the purchase and if not, if the player has money, let him allow the purchase.
    And that when the player buys, he puts a fence on the surface around the land.

    Note: I use WorldGuard.

    Server Version: 1.18.2
    --- Double Post Merged, Sep 27, 2022, Original Post Date: Sep 25, 2022 ---
    Can anyone help me?
    --- Double Post Merged, Oct 1, 2022 ---
    Can someone help me please?
  2. Pierrelasse

    Pierrelasse Active Member

    Apr 20, 2022
    Likes Received:
    It might be possible but very annoying to make.

    Yo would need to do list of all blocks placed by players and then
    loop all blocks in radius of player and check if any of these blocks are in the list
    Wich would be quite some lag if players placed much blocks.
    Then if no block is in this list you can do stuff but again i would not recommend that since too much lag (Spam the command = Server Ded)

    Sorry my friend
Thread Status:
Not open for further replies.

Share This Page