Lootchests

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

Pumpkani

Member
Jun 10, 2024
4
0
1
44
I'm working on making a LootchestPVP server, but got no clue how to start. If anyone could provide help or suggest things that would be amazing.
I'd like to have a skript, where if id place a chest in my world named a certain thing, like maybe the "Legendary" chest, it would automatically place legendary items like totems, pearls and netherite gear about every 2 minutes... Not sure if its possible but i sure hope it is
 
I'm working on making a LootchestPVP server, but got no clue how to start. If anyone could provide help or suggest things that would be amazing.
I'd like to have a skript, where if id place a chest in my world named a certain thing, like maybe the "Legendary" chest, it would automatically place legendary items like totems, pearls and netherite gear about every 2 minutes... Not sure if its possible but i sure hope it is
You can use list variables to store items for each rarity then loop said list for a bit of RNG when the player opens a chest (Player opens chest, rarity is chosen based on a chance, it then uses a designated list for said rarity and selects a few items for the rarity to put into the chest). Though instead of setting individual chest slots, it would probably be easier to just give the player the items and destroy the chest/close the player's gut right after.