Land SK

  • 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!

  • 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.

TheRobs

Member
Jan 26, 2017
16
0
1
23
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
[doublepost=1664239417,1664126750][/doublepost]Can anyone help me?
[doublepost=1664588420][/doublepost]Can someone help me please?
 
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
 
Status
Not open for further replies.