✦ TrickOrTreat ✦ | Ultimate recreation of the famous halloween tradition icon

✦ TrickOrTreat ✦ | Ultimate recreation of the famous halloween tradition -----

Collect sweets and ingredients, customize your costume. Ultimate Halloween fun!



Update 0.3.3 | Developer API
UPDATE v0.3.3

Changelogs:
  • [+] Added a developer API where you can get access to some useful values from the plugin
Code (Text):
Get access to TrickOrTreat API and check if the plugin is available

if (Bukkit.getPluginManager().getPlugin("TrickOrTreat") != null) {
         
   // Do some stuff...
         
}


int rewards = TrickOrTreat.getAPI().getRewards(PLAYER);
// Returns amount of rewards a player has

int found_doors = TrickOrTreat.getAPI().getFoundDoors(PLAYER);
// Returns amount of found doors by a player

int doors_amount = TrickOrTreat.getAPI().getDoorAmount();
// Returns amount of set doors

boolean open = TrickOrTreat.getAPI().openGameMenu(PLAYER);
//Opens the game menu for a player and returns true or false if succeeded
----------, Oct 25, 2018
Resource Information
Author:
----------
Total Downloads: 182
First Release: Oct 21, 2018
Last Update: Nov 9, 2024
Category: ---------------
All-Time Rating:
18 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings