Speedgot
✦ TrickOrTreat ✦ | Ultimate recreation of the famous halloween tradition
-----
Collect sweets and ingredients, customize your costume. Ultimate Halloween fun!
Download Now
951.4 KB .jar
Overview
Documentation
Updates (
--
)
Reviews (
---
)
Version History
Discussion
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
Spoiler:
API Methods
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
View on SpigotMC
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
Ask Questions / Get Support