random block spawning

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

zTak

Active Member
Mar 3, 2018
84
6
8
21
Hey, I have a skypvp-Server and I want to do every 60 minutes spawning 5 chests on the skypvp map with random items in it. How can I do? (and random locations)
 
Basic tutorial: on click on chest, cancel event, open virtual chest/inventory to player and modify the inventory, format slot 0 of player with {@randomitem} to close. on close inventory named..., set player's target block to air

//EDIT
And on random position... create list of variables and set chest to 'list of variables'
 
Status
Not open for further replies.