HomeJavaModsLostBoxes
LostBoxes
lostboxes.png
LostBoxes is a simple MysteryVault plugin integration for LostSkyWars.

[​IMG]

This plugin still in beta version, if u find any bug, report for me, in discussion. Don't leave a bad review using console logs please!

[​IMG]

api.png

Spoiler: API Details
Code (Text):
Found at package io.github.losteddev.boxes.api

Main class: LostBoxesAPI
Methods:
LostBoxesAPI#addBoxReward(io.github.losteddev.boxes.api.box.BoxReward reward)
LostBoxesAPI#giveBoxes(Player player, Box... boxes)
LostBoxesAPI#addMysteryDusts(Player player, int amount)
LostBoxesAPI#removeMysteryDusts(Player player, int amount)
LostBoxesAPI#getMysteryDusts(Player player)
LostBoxesAPI#randomBox(int days) : returns a random box with "days" expire time

Reward class (Abstract extends him): BoxReward
Methods:
String getId(): Use unique IDs
String getName(): Name of Reward
void give(Player player): Method to give the reward
boolean has(Player player): if player has the reward
RewardRarity getRarity(): Rarity of Reward.

[​IMG]
[​IMG]

[​IMG]

Please rate this plugin. You will make me happy! :D:LOL:
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

LostBoxes is a free Minecraft Java mod. Compatible with Minecraft 1.8. Downloaded 9,870 times (via Spigot). Download it and open it directly in the game.

Explore more