hypixel-api-reborn 11.3.4 → 12.0.0-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +12 -0
- package/.github/ISSUE_TEMPLATE/Bug_report.md +9 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +25 -0
- package/.github/SECURITY.md +21 -0
- package/.github/labels.yml +24 -0
- package/.github/workflows/ci-cd.yml +126 -0
- package/.vscode/extensions.json +10 -0
- package/README.md +0 -63
- package/dist/API/getAchievements.d.ts +10 -0
- package/dist/API/getAchievements.js +22 -0
- package/dist/API/getAchievements.js.map +1 -0
- package/dist/API/getActiveHouses.d.ts +10 -0
- package/dist/API/getActiveHouses.js +22 -0
- package/dist/API/getActiveHouses.js.map +1 -0
- package/dist/API/getBoosters.d.ts +10 -0
- package/dist/API/getBoosters.js +22 -0
- package/dist/API/getBoosters.js.map +1 -0
- package/dist/API/getChallenges.d.ts +10 -0
- package/dist/API/getChallenges.js +22 -0
- package/dist/API/getChallenges.js.map +1 -0
- package/dist/API/getGameCounts.d.ts +10 -0
- package/dist/API/getGameCounts.js +22 -0
- package/dist/API/getGameCounts.js.map +1 -0
- package/dist/API/getGuild.d.ts +10 -0
- package/dist/API/getGuild.js +36 -0
- package/dist/API/getGuild.js.map +1 -0
- package/dist/API/getGuildAchievements.d.ts +10 -0
- package/dist/API/getGuildAchievements.js +22 -0
- package/dist/API/getGuildAchievements.js.map +1 -0
- package/dist/API/getHouse.d.ts +10 -0
- package/dist/API/getHouse.js +24 -0
- package/dist/API/getHouse.js.map +1 -0
- package/dist/API/getLeaderboards.d.ts +9 -0
- package/dist/API/getLeaderboards.js +32 -0
- package/dist/API/getLeaderboards.js.map +1 -0
- package/dist/API/getPlayer.d.ts +10 -0
- package/dist/API/getPlayer.js +37 -0
- package/dist/API/getPlayer.js.map +1 -0
- package/dist/API/getPlayerHouses.d.ts +10 -0
- package/dist/API/getPlayerHouses.js +25 -0
- package/dist/API/getPlayerHouses.js.map +1 -0
- package/dist/API/getQuests.d.ts +10 -0
- package/dist/API/getQuests.js +22 -0
- package/dist/API/getQuests.js.map +1 -0
- package/dist/API/getRecentGames.d.ts +10 -0
- package/dist/API/getRecentGames.js +25 -0
- package/dist/API/getRecentGames.js.map +1 -0
- package/dist/API/getSkyblockAuction.d.ts +10 -0
- package/dist/API/getSkyblockAuction.js +38 -0
- package/dist/API/getSkyblockAuction.js.map +1 -0
- package/dist/API/getSkyblockAuctions.d.ts +24 -0
- package/dist/API/getSkyblockAuctions.js +57 -0
- package/dist/API/getSkyblockAuctions.js.map +1 -0
- package/dist/API/getSkyblockAuctionsByPlayer.d.ts +10 -0
- package/dist/API/getSkyblockAuctionsByPlayer.js +25 -0
- package/dist/API/getSkyblockAuctionsByPlayer.js.map +1 -0
- package/dist/API/getSkyblockBazaar.d.ts +10 -0
- package/dist/API/getSkyblockBazaar.js +22 -0
- package/dist/API/getSkyblockBazaar.js.map +1 -0
- package/dist/API/getSkyblockBingo.d.ts +10 -0
- package/dist/API/getSkyblockBingo.js +22 -0
- package/dist/API/getSkyblockBingo.js.map +1 -0
- package/dist/API/getSkyblockFireSales.d.ts +10 -0
- package/dist/API/getSkyblockFireSales.js +22 -0
- package/dist/API/getSkyblockFireSales.js.map +1 -0
- package/dist/API/getSkyblockGarden.d.ts +10 -0
- package/dist/API/getSkyblockGarden.js +24 -0
- package/dist/API/getSkyblockGarden.js.map +1 -0
- package/dist/API/getSkyblockGovernment.d.ts +10 -0
- package/dist/API/getSkyblockGovernment.js +22 -0
- package/dist/API/getSkyblockGovernment.js.map +1 -0
- package/dist/API/getSkyblockMember.d.ts +10 -0
- package/dist/API/getSkyblockMember.js +46 -0
- package/dist/API/getSkyblockMember.js.map +1 -0
- package/dist/API/getSkyblockMuseum.d.ts +10 -0
- package/dist/API/getSkyblockMuseum.js +25 -0
- package/dist/API/getSkyblockMuseum.js.map +1 -0
- package/dist/API/getSkyblockNews.d.ts +10 -0
- package/dist/API/getSkyblockNews.js +22 -0
- package/dist/API/getSkyblockNews.js.map +1 -0
- package/dist/API/getSkyblockProfiles.d.ts +10 -0
- package/dist/API/getSkyblockProfiles.js +47 -0
- package/dist/API/getSkyblockProfiles.js.map +1 -0
- package/dist/API/getStatus.d.ts +10 -0
- package/dist/API/getStatus.js +23 -0
- package/dist/API/getStatus.js.map +1 -0
- package/dist/API/getWatchdogStats.d.ts +10 -0
- package/dist/API/getWatchdogStats.js +22 -0
- package/dist/API/getWatchdogStats.js.map +1 -0
- package/dist/API/index.d.ts +57 -0
- package/dist/API/index.js +62 -0
- package/dist/API/index.js.map +1 -0
- package/dist/Client.d.ts +29 -0
- package/dist/Client.js +76 -0
- package/dist/Client.js.map +1 -0
- package/dist/Errors.d.ts +27 -0
- package/dist/Errors.js +31 -0
- package/dist/Errors.js.map +1 -0
- package/dist/Private/CacheHandler.d.ts +14 -0
- package/dist/Private/CacheHandler.js +37 -0
- package/dist/Private/CacheHandler.js.map +1 -0
- package/dist/Private/Endpoint.d.ts +7 -0
- package/dist/Private/Endpoint.js +13 -0
- package/dist/Private/Endpoint.js.map +1 -0
- package/dist/Private/RateLimit.d.ts +13 -0
- package/dist/Private/RateLimit.js +33 -0
- package/dist/Private/RateLimit.js.map +1 -0
- package/dist/Private/Requests.d.ts +29 -0
- package/dist/Private/Requests.js +112 -0
- package/dist/Private/Requests.js.map +1 -0
- package/dist/Private/Updater.d.ts +11 -0
- package/dist/Private/Updater.js +47 -0
- package/dist/Private/Updater.js.map +1 -0
- package/dist/index.d.ts +115 -0
- package/dist/index.js +132 -0
- package/dist/index.js.map +1 -0
- package/dist/package.json +66 -0
- package/dist/src/API/getAchievements.js +16 -0
- package/dist/src/API/getAchievements.test.js +74 -0
- package/dist/src/API/getActiveHouses.js +16 -0
- package/dist/src/API/getActiveHouses.test.js +43 -0
- package/dist/src/API/getBoosters.js +16 -0
- package/dist/src/API/getBoosters.test.js +72 -0
- package/dist/src/API/getChallenges.js +16 -0
- package/dist/src/API/getChallenges.test.js +51 -0
- package/dist/src/API/getGameCounts.js +16 -0
- package/dist/src/API/getGameCounts.test.js +26 -0
- package/dist/src/API/getGuild.js +30 -0
- package/dist/src/API/getGuild.test.js +508 -0
- package/dist/src/API/getGuildAchievements.js +16 -0
- package/dist/src/API/getGuildAchievements.test.js +51 -0
- package/dist/src/API/getHouse.js +18 -0
- package/dist/src/API/getHouse.test.js +51 -0
- package/dist/src/API/getLeaderboards.js +23 -0
- package/dist/src/API/getLeaderboards.test.js +55 -0
- package/dist/src/API/getPlayer.js +31 -0
- package/dist/src/API/getPlayer.test.js +290 -0
- package/dist/src/API/getPlayerHouses.js +19 -0
- package/dist/src/API/getPlayerHouses.test.js +50 -0
- package/dist/src/API/getQuests.js +16 -0
- package/dist/src/API/getQuests.test.js +48 -0
- package/dist/src/API/getRecentGames.js +19 -0
- package/dist/src/API/getRecentGames.test.js +52 -0
- package/dist/src/API/getSkyblockAuction.js +32 -0
- package/dist/src/API/getSkyblockAuction.test.js +382 -0
- package/dist/src/API/getSkyblockAuctions.js +51 -0
- package/dist/src/API/getSkyblockAuctions.test.js +366 -0
- package/dist/src/API/getSkyblockAuctionsByPlayer.js +19 -0
- package/dist/src/API/getSkyblockAuctionsByPlayer.test.js +207 -0
- package/dist/src/API/getSkyblockBazaar.js +16 -0
- package/dist/src/API/getSkyblockBazaar.test.js +51 -0
- package/dist/src/API/getSkyblockBingo.js +16 -0
- package/dist/src/API/getSkyblockBingo.test.js +40 -0
- package/dist/src/API/getSkyblockFireSales.js +16 -0
- package/dist/src/API/getSkyblockFireSales.test.js +55 -0
- package/dist/src/API/getSkyblockGarden.js +18 -0
- package/dist/src/API/getSkyblockGarden.test.js +43 -0
- package/dist/src/API/getSkyblockGovernment.js +16 -0
- package/dist/src/API/getSkyblockGovernment.test.js +60 -0
- package/dist/src/API/getSkyblockMember.js +40 -0
- package/dist/src/API/getSkyblockMember.test.js +648 -0
- package/dist/src/API/getSkyblockMuseum.js +19 -0
- package/dist/src/API/getSkyblockMuseum.test.js +78 -0
- package/dist/src/API/getSkyblockNews.js +16 -0
- package/dist/src/API/getSkyblockNews.test.js +35 -0
- package/dist/src/API/getSkyblockProfiles.js +41 -0
- package/dist/src/API/getSkyblockProfiles.test.js +121 -0
- package/dist/src/API/getStatus.js +17 -0
- package/dist/src/API/getStatus.test.js +57 -0
- package/dist/src/API/getWatchdogStats.js +16 -0
- package/dist/src/API/getWatchdogStats.test.js +37 -0
- package/dist/src/API/index.js +56 -0
- package/dist/src/Client.js +70 -0
- package/dist/src/Client.test.js +115 -0
- package/dist/src/Errors.js +28 -0
- package/dist/src/Private/CacheHandler.js +31 -0
- package/dist/src/Private/CacheHandler.test.js +37 -0
- package/dist/src/Private/Endpoint.js +10 -0
- package/dist/src/Private/Endpoint.test.js +17 -0
- package/dist/src/Private/RateLimit.js +30 -0
- package/dist/src/Private/RateLimit.test.js +73 -0
- package/dist/src/Private/Requests.js +106 -0
- package/dist/src/Private/Requests.test.js +48 -0
- package/dist/src/Private/Updater.js +41 -0
- package/dist/src/Private/Updater.test.js +52 -0
- package/dist/src/index.js +34 -0
- package/dist/src/structures/Boosters/Booster.js +38 -0
- package/dist/src/structures/Boosters/Booster.test.js +7 -0
- package/dist/src/structures/Color.js +73 -0
- package/dist/src/structures/Color.test.js +23 -0
- package/dist/src/structures/Game.js +31 -0
- package/dist/src/structures/GameCounts.js +23 -0
- package/dist/src/structures/Guild/Guild.js +61 -0
- package/dist/src/structures/Guild/GuildMember.js +30 -0
- package/dist/src/structures/Guild/GuildRank.js +20 -0
- package/dist/src/structures/House.js +22 -0
- package/dist/src/structures/House.test.js +24 -0
- package/dist/src/structures/ItemBytes.js +10 -0
- package/dist/src/structures/Leaderboard.js +17 -0
- package/dist/src/structures/Leaderboard.test.js +25 -0
- package/dist/src/structures/MiniGames/Arcade.js +437 -0
- package/dist/src/structures/MiniGames/Arcade.test.js +643 -0
- package/dist/src/structures/MiniGames/ArenaBrawl.js +48 -0
- package/dist/src/structures/MiniGames/ArenaBrawl.test.js +120 -0
- package/dist/src/structures/MiniGames/BedWars.js +299 -0
- package/dist/src/structures/MiniGames/BedWars.test.js +936 -0
- package/dist/src/structures/MiniGames/BlitzSurvivalGames.js +170 -0
- package/dist/src/structures/MiniGames/BlitzSurvivalGames.test.js +2238 -0
- package/dist/src/structures/MiniGames/BuildBattle.js +27 -0
- package/dist/src/structures/MiniGames/BuildBattle.test.js +42 -0
- package/dist/src/structures/MiniGames/CopsAndCrims.js +126 -0
- package/dist/src/structures/MiniGames/CopsAndCrims.test.js +162 -0
- package/dist/src/structures/MiniGames/Duels.js +466 -0
- package/dist/src/structures/MiniGames/Duels.test.js +1853 -0
- package/dist/src/structures/MiniGames/MegaWalls.js +194 -0
- package/dist/src/structures/MiniGames/MegaWalls.test.js +4790 -0
- package/dist/src/structures/MiniGames/MurderMystery.js +84 -0
- package/dist/src/structures/MiniGames/MurderMystery.test.js +241 -0
- package/dist/src/structures/MiniGames/Paintball.js +36 -0
- package/dist/src/structures/MiniGames/Paintball.test.js +51 -0
- package/dist/src/structures/MiniGames/Pit.js +124 -0
- package/dist/src/structures/MiniGames/Pit.test.js +218 -0
- package/dist/src/structures/MiniGames/PitInventoryItem.js +19 -0
- package/dist/src/structures/MiniGames/Quakecraft.js +68 -0
- package/dist/src/structures/MiniGames/Quakecraft.test.js +105 -0
- package/dist/src/structures/MiniGames/SkyWars.js +264 -0
- package/dist/src/structures/MiniGames/Skywars.test.js +413 -0
- package/dist/src/structures/MiniGames/SmashHeroes.js +110 -0
- package/dist/src/structures/MiniGames/SmashHeroes.test.js +647 -0
- package/dist/src/structures/MiniGames/SpeedUHC.js +72 -0
- package/dist/src/structures/MiniGames/SpeedUHC.test.js +245 -0
- package/dist/src/structures/MiniGames/TNTGames.js +120 -0
- package/dist/src/structures/MiniGames/TNTGames.test.js +139 -0
- package/dist/src/structures/MiniGames/TurboKartRacers.js +57 -0
- package/dist/src/structures/MiniGames/TurboKartRacers.test.js +140 -0
- package/dist/src/structures/MiniGames/UHC.js +109 -0
- package/dist/src/structures/MiniGames/UHC.test.js +180 -0
- package/dist/src/structures/MiniGames/VampireZ.js +38 -0
- package/dist/src/structures/MiniGames/VampireZ.test.js +59 -0
- package/dist/src/structures/MiniGames/Walls.js +22 -0
- package/dist/src/structures/MiniGames/Walls.test.js +32 -0
- package/dist/src/structures/MiniGames/Warlords.js +76 -0
- package/dist/src/structures/MiniGames/Warlords.test.js +405 -0
- package/dist/src/structures/MiniGames/WoolWars.js +81 -0
- package/dist/src/structures/MiniGames/WoolWars.test.js +251 -0
- package/dist/src/structures/Pet.js +38 -0
- package/dist/src/structures/Pets.js +14 -0
- package/dist/src/structures/Player.js +147 -0
- package/dist/src/structures/Player.test.js +96 -0
- package/dist/src/structures/PlayerCosmetics.js +53 -0
- package/dist/src/structures/RecentGame.js +25 -0
- package/dist/src/structures/SkyBlock/Auctions/Auction.js +39 -0
- package/dist/src/structures/SkyBlock/Auctions/AuctionInfo.js +15 -0
- package/dist/src/structures/SkyBlock/Auctions/BaseAuction.js +19 -0
- package/dist/src/structures/SkyBlock/Auctions/BaseAuction.test.js +20 -0
- package/dist/src/structures/SkyBlock/Auctions/Bid.js +20 -0
- package/dist/src/structures/SkyBlock/Bazaar/Order.js +16 -0
- package/dist/src/structures/SkyBlock/Bazaar/Order.test.js +23 -0
- package/dist/src/structures/SkyBlock/Bazaar/Product.js +23 -0
- package/dist/src/structures/SkyBlock/Bazaar/Product.test.js +46 -0
- package/dist/src/structures/SkyBlock/News/SkyblockNews.js +32 -0
- package/dist/src/structures/SkyBlock/SkyblockGarden.js +62 -0
- package/dist/src/structures/SkyBlock/SkyblockGarden.test.js +22 -0
- package/dist/src/structures/SkyBlock/SkyblockInventoryItem.js +78 -0
- package/dist/src/structures/SkyBlock/SkyblockMember.js +406 -0
- package/dist/src/structures/SkyBlock/SkyblockMember.test.js +71 -0
- package/dist/src/structures/SkyBlock/SkyblockMuseum.js +29 -0
- package/dist/src/structures/SkyBlock/SkyblockMuseumItem.js +24 -0
- package/dist/src/structures/SkyBlock/SkyblockPet.js +27 -0
- package/dist/src/structures/SkyBlock/SkyblockProfile.js +36 -0
- package/dist/src/structures/SkyBlock/Static/Bingo.js +49 -0
- package/dist/src/structures/SkyBlock/Static/BingoData.js +19 -0
- package/dist/src/structures/SkyBlock/Static/Candidate.js +19 -0
- package/dist/src/structures/SkyBlock/Static/FireSale.js +22 -0
- package/dist/src/structures/SkyBlock/Static/Government.js +33 -0
- package/dist/src/structures/SkyBlock/Static/Perk.js +9 -0
- package/dist/src/structures/Static/Achievement.js +44 -0
- package/dist/src/structures/Static/AchievementTier.js +14 -0
- package/dist/src/structures/Static/Achievements.js +15 -0
- package/dist/src/structures/Static/Challenges.js +15 -0
- package/dist/src/structures/Static/GameAchievements.js +14 -0
- package/dist/src/structures/Static/GameChallenges.js +18 -0
- package/dist/src/structures/Static/GameQuests.js +10 -0
- package/dist/src/structures/Static/GuildAchievements.js +15 -0
- package/dist/src/structures/Static/Quest.js +24 -0
- package/dist/src/structures/Static/Quests.js +15 -0
- package/dist/src/structures/Status.js +17 -0
- package/dist/src/structures/Status.test.js +18 -0
- package/dist/src/structures/WatchdogStats.js +15 -0
- package/dist/src/structures/WatchdogStats.test.js +23 -0
- package/dist/src/utils/Constants.js +2170 -0
- package/dist/src/utils/Guild.js +71 -0
- package/dist/src/utils/Player.js +88 -0
- package/dist/src/utils/Player.test.js +82 -0
- package/dist/src/utils/SkyblockUtils.js +342 -0
- package/dist/src/utils/SkyblockUtils.test.js +8 -0
- package/dist/src/utils/divide.js +6 -0
- package/dist/src/utils/divide.test.js +12 -0
- package/dist/src/utils/isGuildID.js +3 -0
- package/dist/src/utils/isGuildID.test.js +16 -0
- package/dist/src/utils/isUUID.js +5 -0
- package/dist/src/utils/isUUID.test.js +31 -0
- package/dist/src/utils/oscillation.js +13 -0
- package/dist/src/utils/oscillation.test.js +17 -0
- package/dist/src/utils/removeSnakeCase.js +14 -0
- package/dist/src/utils/romanize.js +41 -0
- package/dist/src/utils/romanize.test.js +8 -0
- package/dist/structures/Boosters/Booster.d.ts +17 -0
- package/dist/structures/Boosters/Booster.js +44 -0
- package/dist/structures/Boosters/Booster.js.map +1 -0
- package/dist/structures/Color.d.ts +9 -0
- package/dist/structures/Color.js +76 -0
- package/dist/structures/Color.js.map +1 -0
- package/dist/structures/Game.d.ts +16 -0
- package/dist/structures/Game.js +35 -0
- package/dist/structures/Game.js.map +1 -0
- package/dist/structures/GameCounts.d.ts +7 -0
- package/dist/structures/GameCounts.js +29 -0
- package/dist/structures/GameCounts.js.map +1 -0
- package/dist/structures/Guild/Guild.d.ts +39 -0
- package/dist/structures/Guild/Guild.js +67 -0
- package/dist/structures/Guild/Guild.js.map +1 -0
- package/dist/structures/Guild/GuildMember.d.ts +15 -0
- package/dist/structures/Guild/GuildMember.js +33 -0
- package/dist/structures/Guild/GuildMember.js.map +1 -0
- package/dist/structures/Guild/GuildRank.d.ts +11 -0
- package/dist/structures/Guild/GuildRank.js +23 -0
- package/dist/structures/Guild/GuildRank.js.map +1 -0
- package/dist/structures/House.d.ts +12 -0
- package/dist/structures/House.js +25 -0
- package/dist/structures/House.js.map +1 -0
- package/dist/structures/ItemBytes.d.ts +7 -0
- package/dist/structures/ItemBytes.js +17 -0
- package/dist/structures/ItemBytes.js.map +1 -0
- package/dist/structures/Leaderboard.d.ts +8 -0
- package/dist/structures/Leaderboard.js +16 -0
- package/dist/structures/Leaderboard.js.map +1 -0
- package/dist/structures/MiniGames/Arcade.d.ts +234 -0
- package/dist/structures/MiniGames/Arcade.js +466 -0
- package/dist/structures/MiniGames/Arcade.js.map +1 -0
- package/dist/structures/MiniGames/ArenaBrawl.d.ts +26 -0
- package/dist/structures/MiniGames/ArenaBrawl.js +54 -0
- package/dist/structures/MiniGames/ArenaBrawl.js.map +1 -0
- package/dist/structures/MiniGames/BedWars.d.ts +116 -0
- package/dist/structures/MiniGames/BedWars.js +300 -0
- package/dist/structures/MiniGames/BedWars.js.map +1 -0
- package/dist/structures/MiniGames/BlitzSurvivalGames.d.ts +87 -0
- package/dist/structures/MiniGames/BlitzSurvivalGames.js +176 -0
- package/dist/structures/MiniGames/BlitzSurvivalGames.js.map +1 -0
- package/dist/structures/MiniGames/BuildBattle.d.ts +18 -0
- package/dist/structures/MiniGames/BuildBattle.js +33 -0
- package/dist/structures/MiniGames/BuildBattle.js.map +1 -0
- package/dist/structures/MiniGames/CopsAndCrims.d.ts +67 -0
- package/dist/structures/MiniGames/CopsAndCrims.js +132 -0
- package/dist/structures/MiniGames/CopsAndCrims.js.map +1 -0
- package/dist/structures/MiniGames/Duels.d.ts +188 -0
- package/dist/structures/MiniGames/Duels.js +473 -0
- package/dist/structures/MiniGames/Duels.js.map +1 -0
- package/dist/structures/MiniGames/MegaWalls.d.ts +99 -0
- package/dist/structures/MiniGames/MegaWalls.js +200 -0
- package/dist/structures/MiniGames/MegaWalls.js.map +1 -0
- package/dist/structures/MiniGames/MurderMystery.d.ts +44 -0
- package/dist/structures/MiniGames/MurderMystery.js +90 -0
- package/dist/structures/MiniGames/MurderMystery.js.map +1 -0
- package/dist/structures/MiniGames/Paintball.d.ts +19 -0
- package/dist/structures/MiniGames/Paintball.js +42 -0
- package/dist/structures/MiniGames/Paintball.js.map +1 -0
- package/dist/structures/MiniGames/Pit.d.ts +41 -0
- package/dist/structures/MiniGames/Pit.js +138 -0
- package/dist/structures/MiniGames/Pit.js.map +1 -0
- package/dist/structures/MiniGames/PitInventoryItem.d.ts +10 -0
- package/dist/structures/MiniGames/PitInventoryItem.js +20 -0
- package/dist/structures/MiniGames/PitInventoryItem.js.map +1 -0
- package/dist/structures/MiniGames/Quakecraft.d.ts +35 -0
- package/dist/structures/MiniGames/Quakecraft.js +74 -0
- package/dist/structures/MiniGames/Quakecraft.js.map +1 -0
- package/dist/structures/MiniGames/SkyWars.d.ts +112 -0
- package/dist/structures/MiniGames/SkyWars.js +272 -0
- package/dist/structures/MiniGames/SkyWars.js.map +1 -0
- package/dist/structures/MiniGames/SmashHeroes.d.ts +58 -0
- package/dist/structures/MiniGames/SmashHeroes.js +116 -0
- package/dist/structures/MiniGames/SmashHeroes.js.map +1 -0
- package/dist/structures/MiniGames/SpeedUHC.d.ts +36 -0
- package/dist/structures/MiniGames/SpeedUHC.js +74 -0
- package/dist/structures/MiniGames/SpeedUHC.js.map +1 -0
- package/dist/structures/MiniGames/TNTGames.d.ts +66 -0
- package/dist/structures/MiniGames/TNTGames.js +126 -0
- package/dist/structures/MiniGames/TNTGames.js.map +1 -0
- package/dist/structures/MiniGames/TurboKartRacers.d.ts +31 -0
- package/dist/structures/MiniGames/TurboKartRacers.js +60 -0
- package/dist/structures/MiniGames/TurboKartRacers.js.map +1 -0
- package/dist/structures/MiniGames/UHC.d.ts +31 -0
- package/dist/structures/MiniGames/UHC.js +115 -0
- package/dist/structures/MiniGames/UHC.js.map +1 -0
- package/dist/structures/MiniGames/VampireZ.d.ts +21 -0
- package/dist/structures/MiniGames/VampireZ.js +44 -0
- package/dist/structures/MiniGames/VampireZ.js.map +1 -0
- package/dist/structures/MiniGames/Walls.d.ts +12 -0
- package/dist/structures/MiniGames/Walls.js +28 -0
- package/dist/structures/MiniGames/Walls.js.map +1 -0
- package/dist/structures/MiniGames/Warlords.d.ts +40 -0
- package/dist/structures/MiniGames/Warlords.js +82 -0
- package/dist/structures/MiniGames/Warlords.js.map +1 -0
- package/dist/structures/MiniGames/WoolWars.d.ts +49 -0
- package/dist/structures/MiniGames/WoolWars.js +87 -0
- package/dist/structures/MiniGames/WoolWars.js.map +1 -0
- package/dist/structures/Pet.d.ts +19 -0
- package/dist/structures/Pet.js +41 -0
- package/dist/structures/Pet.js.map +1 -0
- package/dist/structures/Pets.d.ts +38 -0
- package/dist/structures/Pets.js +20 -0
- package/dist/structures/Pets.js.map +1 -0
- package/dist/structures/Player.d.ts +73 -0
- package/dist/structures/Player.js +158 -0
- package/dist/structures/Player.js.map +1 -0
- package/dist/structures/PlayerCosmetics.d.ts +26 -0
- package/dist/structures/PlayerCosmetics.js +120 -0
- package/dist/structures/PlayerCosmetics.js.map +1 -0
- package/dist/structures/RecentGame.d.ts +13 -0
- package/dist/structures/RecentGame.js +30 -0
- package/dist/structures/RecentGame.js.map +1 -0
- package/dist/structures/ServerInfo.d.ts +20 -0
- package/dist/structures/ServerInfo.js +34 -0
- package/dist/structures/ServerInfo.js.map +1 -0
- package/dist/structures/SkyBlock/Auctions/Auction.d.ts +22 -0
- package/dist/structures/SkyBlock/Auctions/Auction.js +45 -0
- package/dist/structures/SkyBlock/Auctions/Auction.js.map +1 -0
- package/dist/structures/SkyBlock/Auctions/AuctionInfo.d.ts +10 -0
- package/dist/structures/SkyBlock/Auctions/AuctionInfo.js +21 -0
- package/dist/structures/SkyBlock/Auctions/AuctionInfo.js.map +1 -0
- package/dist/structures/SkyBlock/Auctions/BaseAuction.d.ts +11 -0
- package/dist/structures/SkyBlock/Auctions/BaseAuction.js +25 -0
- package/dist/structures/SkyBlock/Auctions/BaseAuction.js.map +1 -0
- package/dist/structures/SkyBlock/Auctions/Bid.d.ts +11 -0
- package/dist/structures/SkyBlock/Auctions/Bid.js +23 -0
- package/dist/structures/SkyBlock/Auctions/Bid.js.map +1 -0
- package/dist/structures/SkyBlock/Bazzar/Order.d.ts +9 -0
- package/dist/structures/SkyBlock/Bazzar/Order.js +19 -0
- package/dist/structures/SkyBlock/Bazzar/Order.js.map +1 -0
- package/dist/structures/SkyBlock/Bazzar/Product.d.ts +19 -0
- package/dist/structures/SkyBlock/Bazzar/Product.js +33 -0
- package/dist/structures/SkyBlock/Bazzar/Product.js.map +1 -0
- package/dist/structures/SkyBlock/News/SkyblockNews.d.ts +10 -0
- package/dist/structures/SkyBlock/News/SkyblockNews.js +35 -0
- package/dist/structures/SkyBlock/News/SkyblockNews.js.map +1 -0
- package/dist/structures/SkyBlock/SkyblockGarden.d.ts +60 -0
- package/dist/structures/SkyBlock/SkyblockGarden.js +65 -0
- package/dist/structures/SkyBlock/SkyblockGarden.js.map +1 -0
- package/dist/structures/SkyBlock/SkyblockInventoryItem.d.ts +38 -0
- package/dist/structures/SkyBlock/SkyblockInventoryItem.js +83 -0
- package/dist/structures/SkyBlock/SkyblockInventoryItem.js.map +1 -0
- package/dist/structures/SkyBlock/SkyblockMember.d.ts +80 -0
- package/dist/structures/SkyBlock/SkyblockMember.js +288 -0
- package/dist/structures/SkyBlock/SkyblockMember.js.map +1 -0
- package/dist/structures/SkyBlock/SkyblockMuseum.d.ts +10 -0
- package/dist/structures/SkyBlock/SkyblockMuseum.js +35 -0
- package/dist/structures/SkyBlock/SkyblockMuseum.js.map +1 -0
- package/dist/structures/SkyBlock/SkyblockMuseumItem.d.ts +11 -0
- package/dist/structures/SkyBlock/SkyblockMuseumItem.js +30 -0
- package/dist/structures/SkyBlock/SkyblockMuseumItem.js.map +1 -0
- package/dist/structures/SkyBlock/SkyblockPet.d.ts +15 -0
- package/dist/structures/SkyBlock/SkyblockPet.js +33 -0
- package/dist/structures/SkyBlock/SkyblockPet.js.map +1 -0
- package/dist/structures/SkyBlock/SkyblockProfile.d.ts +14 -0
- package/dist/structures/SkyBlock/SkyblockProfile.js +42 -0
- package/dist/structures/SkyBlock/SkyblockProfile.js.map +1 -0
- package/dist/structures/SkyBlock/Static/Bingo.d.ts +16 -0
- package/dist/structures/SkyBlock/Static/Bingo.js +52 -0
- package/dist/structures/SkyBlock/Static/Bingo.js.map +1 -0
- package/dist/structures/SkyBlock/Static/BingoData.d.ts +10 -0
- package/dist/structures/SkyBlock/Static/BingoData.js +25 -0
- package/dist/structures/SkyBlock/Static/BingoData.js.map +1 -0
- package/dist/structures/SkyBlock/Static/Candidate.d.ts +11 -0
- package/dist/structures/SkyBlock/Static/Candidate.js +25 -0
- package/dist/structures/SkyBlock/Static/Candidate.js.map +1 -0
- package/dist/structures/SkyBlock/Static/FireSale.d.ts +12 -0
- package/dist/structures/SkyBlock/Static/FireSale.js +25 -0
- package/dist/structures/SkyBlock/Static/FireSale.js.map +1 -0
- package/dist/structures/SkyBlock/Static/Government.d.ts +13 -0
- package/dist/structures/SkyBlock/Static/Government.js +39 -0
- package/dist/structures/SkyBlock/Static/Government.js.map +1 -0
- package/dist/structures/SkyBlock/Static/Perk.d.ts +6 -0
- package/dist/structures/SkyBlock/Static/Perk.js +12 -0
- package/dist/structures/SkyBlock/Static/Perk.js.map +1 -0
- package/dist/structures/Static/Achievement.d.ts +14 -0
- package/dist/structures/Static/Achievement.js +50 -0
- package/dist/structures/Static/Achievement.js.map +1 -0
- package/dist/structures/Static/AchievementTier.d.ts +7 -0
- package/dist/structures/Static/AchievementTier.js +17 -0
- package/dist/structures/Static/AchievementTier.js.map +1 -0
- package/dist/structures/Static/Achievements.d.ts +9 -0
- package/dist/structures/Static/Achievements.js +21 -0
- package/dist/structures/Static/Achievements.js.map +1 -0
- package/dist/structures/Static/Challenges.d.ts +9 -0
- package/dist/structures/Static/Challenges.js +21 -0
- package/dist/structures/Static/Challenges.js.map +1 -0
- package/dist/structures/Static/GameAchievements.d.ts +10 -0
- package/dist/structures/Static/GameAchievements.js +20 -0
- package/dist/structures/Static/GameAchievements.js.map +1 -0
- package/dist/structures/Static/GameChallenges.d.ts +13 -0
- package/dist/structures/Static/GameChallenges.js +21 -0
- package/dist/structures/Static/GameChallenges.js.map +1 -0
- package/dist/structures/Static/GameQuests.d.ts +8 -0
- package/dist/structures/Static/GameQuests.js +16 -0
- package/dist/structures/Static/GameQuests.js.map +1 -0
- package/dist/structures/Static/GuildAchievements.d.ts +8 -0
- package/dist/structures/Static/GuildAchievements.js +21 -0
- package/dist/structures/Static/GuildAchievements.js.map +1 -0
- package/dist/structures/Static/Quest.d.ts +20 -0
- package/dist/structures/Static/Quest.js +27 -0
- package/dist/structures/Static/Quest.js.map +1 -0
- package/dist/structures/Static/Quests.d.ts +9 -0
- package/dist/structures/Static/Quests.js +21 -0
- package/dist/structures/Static/Quests.js.map +1 -0
- package/dist/structures/Status.d.ts +10 -0
- package/dist/structures/Status.js +23 -0
- package/dist/structures/Status.js.map +1 -0
- package/dist/structures/Watchdog/Stats.d.ts +9 -0
- package/dist/structures/Watchdog/Stats.js +18 -0
- package/dist/structures/Watchdog/Stats.js.map +1 -0
- package/dist/utils/Constants.d.ts +1017 -0
- package/dist/utils/Constants.js +2197 -0
- package/dist/utils/Constants.js.map +1 -0
- package/dist/utils/Guild.d.ts +15 -0
- package/dist/utils/Guild.js +85 -0
- package/dist/utils/Guild.js.map +1 -0
- package/dist/utils/Player.d.ts +8 -0
- package/dist/utils/Player.js +98 -0
- package/dist/utils/Player.js.map +1 -0
- package/dist/utils/SkyblockUtils.d.ts +131 -0
- package/dist/utils/SkyblockUtils.js +394 -0
- package/dist/utils/SkyblockUtils.js.map +1 -0
- package/dist/utils/divide.d.ts +1 -0
- package/dist/utils/divide.js +10 -0
- package/dist/utils/divide.js.map +1 -0
- package/dist/utils/isGuildID.d.ts +1 -0
- package/dist/utils/isGuildID.js +7 -0
- package/dist/utils/isGuildID.js.map +1 -0
- package/dist/utils/isUUID.d.ts +1 -0
- package/dist/utils/isUUID.js +9 -0
- package/dist/utils/isUUID.js.map +1 -0
- package/dist/utils/oscillation.d.ts +2 -0
- package/dist/utils/oscillation.js +15 -0
- package/dist/utils/oscillation.js.map +1 -0
- package/dist/utils/removeSnakeCase.d.ts +3 -0
- package/dist/utils/removeSnakeCase.js +20 -0
- package/dist/utils/removeSnakeCase.js.map +1 -0
- package/dist/utils/romanize.d.ts +1 -0
- package/dist/utils/romanize.js +45 -0
- package/dist/utils/romanize.js.map +1 -0
- package/{eslint.config.mjs → eslint.config.js} +16 -14
- package/package.json +32 -25
- package/renovate.json +21 -0
- package/src/API/API.d.ts +16 -0
- package/src/API/getAchievements.test.ts +81 -0
- package/src/API/getAchievements.ts +20 -0
- package/src/API/getActiveHouses.test.ts +45 -0
- package/src/API/getActiveHouses.ts +20 -0
- package/src/API/getBoosters.test.ts +53 -0
- package/src/API/getBoosters.ts +20 -0
- package/src/API/getChallenges.test.ts +54 -0
- package/src/API/getChallenges.ts +19 -0
- package/src/API/getGameCounts.test.ts +28 -0
- package/src/API/getGameCounts.ts +20 -0
- package/src/API/getGuild.test.ts +478 -0
- package/src/API/getGuild.ts +35 -0
- package/src/API/getGuildAchievements.test.ts +59 -0
- package/src/API/getGuildAchievements.ts +20 -0
- package/src/API/getHouse.test.ts +55 -0
- package/src/API/getHouse.ts +21 -0
- package/src/API/getLeaderboards.test.ts +41 -0
- package/src/API/getLeaderboards.ts +30 -0
- package/src/API/getPlayer.test.ts +494 -0
- package/src/API/getPlayer.ts +33 -0
- package/src/API/getPlayerHouses.test.ts +53 -0
- package/src/API/getPlayerHouses.ts +22 -0
- package/src/API/getQuests.test.ts +51 -0
- package/src/API/getQuests.ts +20 -0
- package/src/API/getRecentGames.test.ts +51 -0
- package/src/API/getRecentGames.ts +22 -0
- package/src/API/getSkyblockAuction.test.ts +293 -0
- package/src/API/getSkyblockAuction.ts +36 -0
- package/src/API/getSkyblockAuctions.test.ts +346 -0
- package/src/API/getSkyblockAuctions.ts +59 -0
- package/src/API/getSkyblockAuctionsByPlayer.test.ts +249 -0
- package/src/API/getSkyblockAuctionsByPlayer.ts +22 -0
- package/src/API/getSkyblockBazaar.test.ts +52 -0
- package/src/API/getSkyblockBazaar.ts +20 -0
- package/src/API/getSkyblockBingo.test.ts +42 -0
- package/src/API/getSkyblockBingo.ts +20 -0
- package/src/API/getSkyblockFireSales.test.ts +43 -0
- package/src/API/getSkyblockFireSales.ts +20 -0
- package/src/API/getSkyblockGarden.test.ts +60 -0
- package/src/API/getSkyblockGarden.ts +21 -0
- package/src/API/getSkyblockGovernment.test.ts +78 -0
- package/src/API/getSkyblockGovernment.ts +20 -0
- package/src/API/getSkyblockMember.test.ts +308 -0
- package/src/API/getSkyblockMember.ts +45 -0
- package/src/API/getSkyblockMuseum.test.ts +91 -0
- package/src/API/getSkyblockMuseum.ts +22 -0
- package/src/API/getSkyblockNews.test.ts +45 -0
- package/src/API/getSkyblockNews.ts +20 -0
- package/src/API/getSkyblockProfiles.test.ts +164 -0
- package/src/API/getSkyblockProfiles.ts +43 -0
- package/src/API/getStatus.test.ts +42 -0
- package/src/API/getStatus.ts +21 -0
- package/src/API/getWatchdogStats.test.ts +44 -0
- package/src/API/getWatchdogStats.ts +20 -0
- package/src/API/index.ts +56 -0
- package/src/Client.test.ts +148 -0
- package/src/Client.ts +91 -0
- package/src/Errors.ts +42 -0
- package/src/Private/CacheHandler.test.ts +49 -0
- package/src/Private/CacheHandler.ts +41 -0
- package/src/Private/Endpoint.test.ts +23 -0
- package/src/Private/Endpoint.ts +14 -0
- package/src/Private/RateLimit.test.ts +99 -0
- package/src/Private/RateLimit.ts +38 -0
- package/src/Private/Requests.test.ts +59 -0
- package/src/Private/Requests.ts +128 -0
- package/src/Private/Updater.test.ts +68 -0
- package/src/Private/Updater.ts +48 -0
- package/src/index.ts +119 -0
- package/src/structures/Boosters/Booster.ts +40 -0
- package/src/structures/Color.ts +79 -0
- package/src/structures/Game.ts +147 -0
- package/src/structures/GameCounts.ts +26 -0
- package/src/structures/Guild/Guild.ts +67 -0
- package/src/structures/Guild/GuildMember.ts +33 -0
- package/src/structures/Guild/GuildRank.ts +22 -0
- package/src/structures/House.ts +24 -0
- package/src/structures/ItemBytes.ts +18 -0
- package/src/structures/Leaderboard.ts +14 -0
- package/src/structures/MiniGames/Arcade.ts +460 -0
- package/src/structures/MiniGames/ArenaBrawl.ts +51 -0
- package/src/structures/MiniGames/{BedWars.js → BedWars.ts} +198 -298
- package/src/structures/MiniGames/BlitzSurvivalGames.ts +173 -0
- package/src/structures/MiniGames/BuildBattle.ts +36 -0
- package/src/structures/MiniGames/CopsAndCrims.ts +131 -0
- package/src/structures/MiniGames/{Duels.js → Duels.ts} +200 -737
- package/src/structures/MiniGames/MegaWalls.ts +197 -0
- package/src/structures/MiniGames/MurderMystery.ts +87 -0
- package/src/structures/MiniGames/Paintball.ts +38 -0
- package/src/structures/MiniGames/Pit.ts +139 -0
- package/src/structures/MiniGames/PitInventoryItem.ts +18 -0
- package/src/structures/MiniGames/Quakecraft.ts +70 -0
- package/src/structures/MiniGames/SkyWars.ts +288 -0
- package/src/structures/MiniGames/SmashHeroes.ts +114 -0
- package/src/structures/MiniGames/SpeedUHC.ts +71 -0
- package/src/structures/MiniGames/TNTGames.ts +126 -0
- package/src/structures/MiniGames/TurboKartRacers.ts +59 -0
- package/src/structures/MiniGames/{UHC.js → UHC.ts} +32 -114
- package/src/structures/MiniGames/VampireZ.ts +41 -0
- package/src/structures/MiniGames/Walls.ts +24 -0
- package/src/structures/MiniGames/Warlords.ts +79 -0
- package/src/structures/MiniGames/WoolWars.ts +106 -0
- package/src/structures/Pet.ts +40 -0
- package/src/structures/Pets.ts +46 -0
- package/src/structures/Player.ts +199 -0
- package/src/structures/{PlayerCosmetics.js → PlayerCosmetics.ts} +36 -63
- package/src/structures/RecentGame.ts +27 -0
- package/src/structures/ServerInfo.ts +40 -0
- package/src/structures/SkyBlock/Auctions/Auction.ts +43 -0
- package/src/structures/SkyBlock/Auctions/AuctionInfo.ts +20 -0
- package/src/structures/SkyBlock/Auctions/BaseAuction.ts +22 -0
- package/src/structures/SkyBlock/Auctions/Bid.ts +22 -0
- package/src/structures/SkyBlock/Bazzar/Order.ts +18 -0
- package/src/structures/SkyBlock/Bazzar/Product.ts +40 -0
- package/src/structures/SkyBlock/News/SkyblockNews.ts +35 -0
- package/src/structures/SkyBlock/SkyblockGarden.ts +118 -0
- package/src/structures/SkyBlock/SkyblockInventoryItem.ts +83 -0
- package/src/structures/SkyBlock/SkyblockMember.ts +317 -0
- package/src/structures/SkyBlock/SkyblockMuseum.ts +43 -0
- package/src/structures/SkyBlock/SkyblockMuseumItem.ts +26 -0
- package/src/structures/SkyBlock/SkyblockPet.ts +30 -0
- package/src/structures/SkyBlock/SkyblockProfile.ts +42 -0
- package/src/structures/SkyBlock/Static/Bingo.ts +50 -0
- package/src/structures/SkyBlock/Static/BingoData.ts +21 -0
- package/src/structures/SkyBlock/Static/Candidate.ts +22 -0
- package/src/structures/SkyBlock/Static/FireSale.ts +24 -0
- package/src/structures/SkyBlock/Static/Government.ts +42 -0
- package/src/structures/SkyBlock/Static/Perk.ts +10 -0
- package/src/structures/Static/Achievement.ts +49 -0
- package/src/structures/Static/AchievementTier.ts +18 -0
- package/src/structures/Static/Achievements.ts +20 -0
- package/src/structures/Static/Challenges.ts +20 -0
- package/src/structures/Static/GameAchievements.ts +19 -0
- package/src/structures/Static/GameChallenges.ts +28 -0
- package/src/structures/Static/GameQuests.ts +13 -0
- package/src/structures/Static/GuildAchievements.ts +19 -0
- package/src/structures/Static/Quest.ts +37 -0
- package/src/structures/Static/Quests.ts +20 -0
- package/src/structures/Status.ts +20 -0
- package/src/structures/Watchdog/Stats.ts +16 -0
- package/src/typings/index.d.ts +24 -0
- package/src/utils/{Constants.js → Constants.ts} +201 -1248
- package/src/utils/Guild.ts +90 -0
- package/src/utils/Player.ts +93 -0
- package/src/utils/SkyblockUtils.test.ts +9 -0
- package/src/utils/SkyblockUtils.ts +516 -0
- package/src/utils/divide.test.ts +13 -0
- package/src/utils/{divide.js → divide.ts} +2 -2
- package/src/utils/isGuildID.test.ts +19 -0
- package/src/utils/isGuildID.ts +3 -0
- package/src/utils/isUUID.test.ts +35 -0
- package/src/utils/{isUUID.js → isUUID.ts} +2 -2
- package/src/utils/oscillation.ts +11 -0
- package/src/utils/removeSnakeCase.ts +18 -0
- package/src/utils/romanize.test.ts +9 -0
- package/src/utils/{romanize.js → romanize.ts} +3 -4
- package/tsconfig.json +25 -0
- package/vitest.config.ts +8 -0
- package/vitest.setup.ts +2 -0
- package/src/API/getAPIStatus.js +0 -8
- package/src/API/getAchievements.js +0 -7
- package/src/API/getBoosters.js +0 -7
- package/src/API/getChallenges.js +0 -7
- package/src/API/getGameCounts.js +0 -7
- package/src/API/getGuild.js +0 -19
- package/src/API/getGuildAchievements.js +0 -7
- package/src/API/getLeaderboards.js +0 -15
- package/src/API/getPlayer.js +0 -23
- package/src/API/getQuests.js +0 -7
- package/src/API/getRecentGames.js +0 -14
- package/src/API/getServerInfo.js +0 -71
- package/src/API/getStatus.js +0 -9
- package/src/API/getWatchdogStats.js +0 -7
- package/src/API/housing/getActiveHouses.js +0 -7
- package/src/API/housing/getHouse.js +0 -9
- package/src/API/housing/getPlayerHouses.js +0 -11
- package/src/API/index.js +0 -35
- package/src/API/skyblock/getAuction.js +0 -21
- package/src/API/skyblock/getAuctions.js +0 -74
- package/src/API/skyblock/getAuctionsByPlayer.js +0 -11
- package/src/API/skyblock/getBazaar.js +0 -8
- package/src/API/skyblock/getBingo.js +0 -7
- package/src/API/skyblock/getBingoByPlayer.js +0 -14
- package/src/API/skyblock/getEndedAuctions.js +0 -11
- package/src/API/skyblock/getFireSales.js +0 -7
- package/src/API/skyblock/getGarden.js +0 -11
- package/src/API/skyblock/getGovernment.js +0 -7
- package/src/API/skyblock/getMember.js +0 -35
- package/src/API/skyblock/getMuseum.js +0 -15
- package/src/API/skyblock/getNews.js +0 -7
- package/src/API/skyblock/getProfiles.js +0 -49
- package/src/Client.js +0 -547
- package/src/Errors.js +0 -66
- package/src/Private/defaultCache.js +0 -77
- package/src/Private/rateLimit.js +0 -83
- package/src/Private/requests.js +0 -76
- package/src/Private/updater.js +0 -34
- package/src/Private/uuidCache.js +0 -30
- package/src/Private/validate.js +0 -108
- package/src/index.js +0 -96
- package/src/structures/APIIncident.js +0 -71
- package/src/structures/APIStatus.js +0 -46
- package/src/structures/Boosters/Booster.js +0 -84
- package/src/structures/Color.js +0 -174
- package/src/structures/Game.js +0 -166
- package/src/structures/GameCounts.js +0 -151
- package/src/structures/Guild/Guild.js +0 -191
- package/src/structures/Guild/GuildMember.js +0 -66
- package/src/structures/Guild/GuildRank.js +0 -48
- package/src/structures/House.js +0 -54
- package/src/structures/ItemBytes.js +0 -33
- package/src/structures/Leaderboard.js +0 -31
- package/src/structures/MiniGames/Arcade.js +0 -1058
- package/src/structures/MiniGames/ArenaBrawl.js +0 -118
- package/src/structures/MiniGames/BlitzSurvivalGames.js +0 -424
- package/src/structures/MiniGames/BuildBattle.js +0 -64
- package/src/structures/MiniGames/CopsAndCrims.js +0 -318
- package/src/structures/MiniGames/MegaWalls.js +0 -478
- package/src/structures/MiniGames/MurderMystery.js +0 -214
- package/src/structures/MiniGames/Paintball.js +0 -87
- package/src/structures/MiniGames/Pit.js +0 -247
- package/src/structures/MiniGames/PitInventoryItem.js +0 -43
- package/src/structures/MiniGames/Quakecraft.js +0 -164
- package/src/structures/MiniGames/SkyWars.js +0 -669
- package/src/structures/MiniGames/SmashHeroes.js +0 -272
- package/src/structures/MiniGames/SpeedUHC.js +0 -168
- package/src/structures/MiniGames/TNTGames.js +0 -285
- package/src/structures/MiniGames/TurboKartRacers.js +0 -141
- package/src/structures/MiniGames/VampireZ.js +0 -93
- package/src/structures/MiniGames/Walls.js +0 -52
- package/src/structures/MiniGames/Warlords.js +0 -187
- package/src/structures/MiniGames/WoolWars.js +0 -174
- package/src/structures/Pet.js +0 -96
- package/src/structures/Pets.js +0 -64
- package/src/structures/Player.js +0 -346
- package/src/structures/RecentGame.js +0 -57
- package/src/structures/ServerInfo.js +0 -78
- package/src/structures/SkyBlock/Auctions/Auction.js +0 -106
- package/src/structures/SkyBlock/Auctions/AuctionInfo.js +0 -56
- package/src/structures/SkyBlock/Auctions/BaseAuction.js +0 -46
- package/src/structures/SkyBlock/Auctions/Bid.js +0 -49
- package/src/structures/SkyBlock/Auctions/PartialAuction.js +0 -26
- package/src/structures/SkyBlock/Bazzar/Order.js +0 -38
- package/src/structures/SkyBlock/Bazzar/Product.js +0 -53
- package/src/structures/SkyBlock/News/SkyblockNews.js +0 -60
- package/src/structures/SkyBlock/PlayerBingo.js +0 -49
- package/src/structures/SkyBlock/SkyblockGarden.js +0 -146
- package/src/structures/SkyBlock/SkyblockInventoryItem.js +0 -168
- package/src/structures/SkyBlock/SkyblockMember.js +0 -591
- package/src/structures/SkyBlock/SkyblockMuseum.js +0 -60
- package/src/structures/SkyBlock/SkyblockMuseumItem.js +0 -54
- package/src/structures/SkyBlock/SkyblockPet.js +0 -71
- package/src/structures/SkyBlock/SkyblockProfile.js +0 -81
- package/src/structures/SkyBlock/Static/Bingo.js +0 -101
- package/src/structures/SkyBlock/Static/BingoData.js +0 -45
- package/src/structures/SkyBlock/Static/Candidate.js +0 -50
- package/src/structures/SkyBlock/Static/FireSale.js +0 -55
- package/src/structures/SkyBlock/Static/Government.js +0 -79
- package/src/structures/SkyBlock/Static/Perk.js +0 -23
- package/src/structures/Static/Achievement.js +0 -87
- package/src/structures/Static/AchievementTier.js +0 -33
- package/src/structures/Static/Achievements.js +0 -30
- package/src/structures/Static/Challenges.js +0 -29
- package/src/structures/Static/GameAchievements.js +0 -36
- package/src/structures/Static/GameChallenges.js +0 -40
- package/src/structures/Static/GameQuests.js +0 -24
- package/src/structures/Static/GuildAchievements.js +0 -34
- package/src/structures/Static/Quest.js +0 -66
- package/src/structures/Static/Quests.js +0 -31
- package/src/structures/Status.js +0 -41
- package/src/structures/Watchdog/Stats.js +0 -36
- package/src/utils/Guild.js +0 -90
- package/src/utils/Player.js +0 -112
- package/src/utils/SkyblockUtils.js +0 -667
- package/src/utils/arrayTools.js +0 -4
- package/src/utils/index.js +0 -14
- package/src/utils/isGuildID.js +0 -3
- package/src/utils/oscillation.js +0 -17
- package/src/utils/removeSnakeCase.js +0 -33
- package/src/utils/rgbToHexColor.js +0 -8
- package/src/utils/toUuid.js +0 -24
- package/src/utils/varInt.js +0 -17
- package/typings/index.d.ts +0 -4297
|
@@ -1,1058 +0,0 @@
|
|
|
1
|
-
// IMPORTANT : a lot of the properties from the API seem to be nonsense
|
|
2
|
-
|
|
3
|
-
const { removeSnakeCaseString } = require('../../utils/removeSnakeCase');
|
|
4
|
-
const { weekAB, monthAB } = require('../../utils/oscillation');
|
|
5
|
-
const divide = require('../../utils/divide');
|
|
6
|
-
|
|
7
|
-
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
8
|
-
function parseZombiesKills(data) {
|
|
9
|
-
const matches = Array.from(Object.keys(data))
|
|
10
|
-
.map((x) => x.match(/^([A-Za-z]+)_zombie_kills_zombies$/))
|
|
11
|
-
.filter((x) => x);
|
|
12
|
-
// From entries might be broken
|
|
13
|
-
return Object.fromEntries(matches.map((x) => [removeSnakeCaseString(x[1]), data[x[0]] || 0]));
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Zombies - Stats by Map + Difficulty
|
|
17
|
-
*/
|
|
18
|
-
class ZombiesStats {
|
|
19
|
-
/**
|
|
20
|
-
* Constructor
|
|
21
|
-
* @param {Object} data Data from API
|
|
22
|
-
* @param {string} type Map name + difficulty ( default overall )
|
|
23
|
-
*/
|
|
24
|
-
constructor(data, type = '') {
|
|
25
|
-
if (type) type = `_${type}`;
|
|
26
|
-
/**
|
|
27
|
-
* Best Round
|
|
28
|
-
* @type {number}
|
|
29
|
-
*/
|
|
30
|
-
this.bestRound = data[`best_round_zombies${type}`] || 0;
|
|
31
|
-
/**
|
|
32
|
-
* Deaths ( NOT losses )
|
|
33
|
-
* @type {number}
|
|
34
|
-
*/
|
|
35
|
-
this.deaths = data[`deaths_zombies${type}`] || 0;
|
|
36
|
-
/**
|
|
37
|
-
* Doors opened
|
|
38
|
-
* @type {number}
|
|
39
|
-
*/
|
|
40
|
-
this.doorsOpened = data[`doors_opened_zombies${type}`] || 0;
|
|
41
|
-
/**
|
|
42
|
-
* Fastest time to reach round 10 in seconds
|
|
43
|
-
* @type {number}
|
|
44
|
-
*/
|
|
45
|
-
this.fastestRound10 = data[`fastest_time_10_zombies${type}_normal`] || 0;
|
|
46
|
-
/**
|
|
47
|
-
* Fastest time to reach round 20 in seconds
|
|
48
|
-
* @type {number}
|
|
49
|
-
*/
|
|
50
|
-
this.fastestRound20 = data[`fastest_time_20_zombies${type}_normal`] || 0;
|
|
51
|
-
/**
|
|
52
|
-
* Fastest time to reach round 30 in seconds
|
|
53
|
-
* @type {number}
|
|
54
|
-
*/
|
|
55
|
-
this.fastestRound30 = data[`fastest_time_30_zombies${type}_normal`] || 0;
|
|
56
|
-
/**
|
|
57
|
-
* Players revived
|
|
58
|
-
* @type {number}
|
|
59
|
-
*/
|
|
60
|
-
this.playersRevived = data[`players_revived_zombies${type}`] || 0;
|
|
61
|
-
/**
|
|
62
|
-
* Number of times player is knocked down
|
|
63
|
-
* @type {number}
|
|
64
|
-
*/
|
|
65
|
-
this.timesKnockedDown = data[`times_knocked_down_zombies${type}`] || 0;
|
|
66
|
-
/**
|
|
67
|
-
* Total amount of rounds the player survived
|
|
68
|
-
* @type {number}
|
|
69
|
-
*/
|
|
70
|
-
this.roundsSurvived = data[`total_rounds_survived_zombies${type}`] || 0;
|
|
71
|
-
/**
|
|
72
|
-
* Total amount of windows fully repaired by player
|
|
73
|
-
* @type {number}
|
|
74
|
-
*/
|
|
75
|
-
this.windowsRepaired = data[`windows_repaired_zombies${type}`] || 0;
|
|
76
|
-
/**
|
|
77
|
-
* Wins
|
|
78
|
-
* @type {number}
|
|
79
|
-
*/
|
|
80
|
-
this.wins = data[`wins_zombies${type}`] || 0;
|
|
81
|
-
/**
|
|
82
|
-
* Total Zombie Kills
|
|
83
|
-
* @type {number}
|
|
84
|
-
*/
|
|
85
|
-
this.zombieKills = data[`zombie_kills_zombies${type}`] || 0;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Zombies - Overall stats
|
|
91
|
-
*/
|
|
92
|
-
class Zombies {
|
|
93
|
-
/**
|
|
94
|
-
* Constructor
|
|
95
|
-
* @param {Object} data Data from API
|
|
96
|
-
*/
|
|
97
|
-
constructor(data) {
|
|
98
|
-
/**
|
|
99
|
-
* Overall Stats
|
|
100
|
-
* @type {ZombiesStats}
|
|
101
|
-
*/
|
|
102
|
-
this.overall = new ZombiesStats(data);
|
|
103
|
-
/**
|
|
104
|
-
* Stats for Dead End
|
|
105
|
-
* @type {ZombiesStats}
|
|
106
|
-
*/
|
|
107
|
-
this.deadEnd = new ZombiesStats(data, 'deadend');
|
|
108
|
-
/**
|
|
109
|
-
* Stats for Bad Blood
|
|
110
|
-
* @type {ZombiesStats}
|
|
111
|
-
*/
|
|
112
|
-
this.badBlood = new ZombiesStats(data, 'badblood');
|
|
113
|
-
/**
|
|
114
|
-
* Stats for Alien Arcadium
|
|
115
|
-
* @type {ZombiesStats}
|
|
116
|
-
*/
|
|
117
|
-
this.alienArcadium = new ZombiesStats(data, 'alienarcadium');
|
|
118
|
-
/**
|
|
119
|
-
* Stats for Prison
|
|
120
|
-
* @type {ZombiesStats}
|
|
121
|
-
*/
|
|
122
|
-
this.prison = new ZombiesStats(data, 'prison');
|
|
123
|
-
/**
|
|
124
|
-
* Kills By Zombie
|
|
125
|
-
* @type {Record<string, number>}
|
|
126
|
-
*/
|
|
127
|
-
this.killsByZombie = parseZombiesKills(data);
|
|
128
|
-
/**
|
|
129
|
-
* Bullets Hit
|
|
130
|
-
* @type {number}
|
|
131
|
-
*/
|
|
132
|
-
this.bulletsHit = data.bullets_hit_zombies || 0;
|
|
133
|
-
/**
|
|
134
|
-
* Bullets Shot
|
|
135
|
-
* @type {number}
|
|
136
|
-
*/
|
|
137
|
-
this.bulletsShot = data.bullets_shot_zombies || 0;
|
|
138
|
-
/**
|
|
139
|
-
* Gun Accuracy
|
|
140
|
-
* @type {number}
|
|
141
|
-
*/
|
|
142
|
-
this.gunAccuracy = divide(this.bulletsHit, this.bulletsShot);
|
|
143
|
-
/**
|
|
144
|
-
* Headshots
|
|
145
|
-
* @type {number}
|
|
146
|
-
*/
|
|
147
|
-
this.headshots = data.headshots_zombies || 0;
|
|
148
|
-
/**
|
|
149
|
-
* Headshot Accuracy
|
|
150
|
-
* @type {number}
|
|
151
|
-
*/
|
|
152
|
-
this.headshotAccuracy = divide(this.headshots, this.bulletsShot);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Dropper stats by map
|
|
158
|
-
*/
|
|
159
|
-
class DropperMap {
|
|
160
|
-
/**
|
|
161
|
-
* Constructor
|
|
162
|
-
* @param {Object} data Data from API
|
|
163
|
-
* @param {string} mapName String map name
|
|
164
|
-
*/
|
|
165
|
-
constructor(data, mapName) {
|
|
166
|
-
/**
|
|
167
|
-
* Best Complete Time
|
|
168
|
-
* @type {number}
|
|
169
|
-
*/
|
|
170
|
-
this.bestTime = data?.[mapName]?.best_time ?? 0;
|
|
171
|
-
/**
|
|
172
|
-
* Total completions
|
|
173
|
-
* @type {number}
|
|
174
|
-
*/
|
|
175
|
-
this.completions = data?.[mapName]?.completions ?? 0;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* Blocking Dead class
|
|
181
|
-
*/
|
|
182
|
-
class BlockingDead {
|
|
183
|
-
constructor(data) {
|
|
184
|
-
/**
|
|
185
|
-
* Wins
|
|
186
|
-
* @type {number}
|
|
187
|
-
*/
|
|
188
|
-
this.wins = data.wins_dayone || 0;
|
|
189
|
-
/**
|
|
190
|
-
* Kills
|
|
191
|
-
* @type {number}
|
|
192
|
-
*/
|
|
193
|
-
this.kills = data.kills_dayone || 0;
|
|
194
|
-
/**
|
|
195
|
-
* Headshots
|
|
196
|
-
* @type {number}
|
|
197
|
-
*/
|
|
198
|
-
this.headshots = data.headshots_dayone || 0;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* Bounty Hunters class
|
|
203
|
-
*/
|
|
204
|
-
class BountyHunters {
|
|
205
|
-
constructor(data) {
|
|
206
|
-
/**
|
|
207
|
-
* Wins
|
|
208
|
-
* @type {number}
|
|
209
|
-
*/
|
|
210
|
-
this.wins = data.wins_oneinthequiver || 0;
|
|
211
|
-
/**
|
|
212
|
-
* Kills
|
|
213
|
-
* @type {number}
|
|
214
|
-
*/
|
|
215
|
-
this.kills = data.kills_oneinthequiver || 0;
|
|
216
|
-
/**
|
|
217
|
-
* Deaths
|
|
218
|
-
* @type {number}
|
|
219
|
-
*/
|
|
220
|
-
this.deaths = data.deaths_oneinthequiver || 0;
|
|
221
|
-
/**
|
|
222
|
-
* Kill Death Ratio
|
|
223
|
-
* @type {number}
|
|
224
|
-
*/
|
|
225
|
-
this.KDRatio = divide(this.kills, this.deaths);
|
|
226
|
-
/**
|
|
227
|
-
* Bounty Kills
|
|
228
|
-
* @type {number}
|
|
229
|
-
*/
|
|
230
|
-
this.bountyKills = data.bounty_kills_oneinthequiver || 0;
|
|
231
|
-
/**
|
|
232
|
-
* Bow Kills
|
|
233
|
-
* @type {number}
|
|
234
|
-
*/
|
|
235
|
-
this.bowKills = data.bow_kills_oneinthequiver || 0;
|
|
236
|
-
/**
|
|
237
|
-
* Sword Kills
|
|
238
|
-
* @type {number}
|
|
239
|
-
*/
|
|
240
|
-
this.swordKills = data.sword_kills_oneinthequiver || 0;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
* Capture the Wool class
|
|
245
|
-
*/
|
|
246
|
-
class CaptureTheWool {
|
|
247
|
-
constructor(data) {
|
|
248
|
-
/**
|
|
249
|
-
* Wins
|
|
250
|
-
* @type {number}
|
|
251
|
-
*/
|
|
252
|
-
this.wins = data.woolhunt_participated_wins || 0;
|
|
253
|
-
/**
|
|
254
|
-
* Losses
|
|
255
|
-
* @type {number}
|
|
256
|
-
*/
|
|
257
|
-
this.losses = data.woolhunt_participated_losses || 0;
|
|
258
|
-
/**
|
|
259
|
-
* Win Loss ratio
|
|
260
|
-
* @type {number}
|
|
261
|
-
*/
|
|
262
|
-
this.WLRatio = divide(this.wins, this.losses);
|
|
263
|
-
/**
|
|
264
|
-
* Draws
|
|
265
|
-
* @type {number}
|
|
266
|
-
*/
|
|
267
|
-
this.draws = data.woolhunt_participated_draws || 0;
|
|
268
|
-
/**
|
|
269
|
-
* Kills
|
|
270
|
-
* @type {number}
|
|
271
|
-
*/
|
|
272
|
-
this.kills = data.woolhunt_kills || 0;
|
|
273
|
-
/**
|
|
274
|
-
* Deaths
|
|
275
|
-
* @type {number}
|
|
276
|
-
*/
|
|
277
|
-
this.deaths = data.woolhunt_deaths || 0;
|
|
278
|
-
/**
|
|
279
|
-
* Kill Death ratio
|
|
280
|
-
* @type {number}
|
|
281
|
-
*/
|
|
282
|
-
this.KDRatio = divide(this.kills, this.deaths);
|
|
283
|
-
/**
|
|
284
|
-
* assists
|
|
285
|
-
* @type {number}
|
|
286
|
-
*/
|
|
287
|
-
this.assists = data.woolhunt_assists || 0;
|
|
288
|
-
/**
|
|
289
|
-
* woolPickedUp
|
|
290
|
-
* @type {number}
|
|
291
|
-
*/
|
|
292
|
-
this.woolPickedUp = data.woolhunt_wools_stolen || 0;
|
|
293
|
-
/**
|
|
294
|
-
* woolCaptured
|
|
295
|
-
* @type {number}
|
|
296
|
-
*/
|
|
297
|
-
this.woolCaptured = data.woolhunt_wools_captured || 0;
|
|
298
|
-
/**
|
|
299
|
-
* fastestWin (In seconds)
|
|
300
|
-
* @type {number}
|
|
301
|
-
*/
|
|
302
|
-
this.fastestWin = data.woolhunt_fastest_win || 0;
|
|
303
|
-
/**
|
|
304
|
-
* longestGame (In seconds)
|
|
305
|
-
* @type {number}
|
|
306
|
-
*/
|
|
307
|
-
this.longestGame = data.woolhunt_longest_game || 0;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
/**
|
|
311
|
-
* Dragon Wars class
|
|
312
|
-
*/
|
|
313
|
-
class DragonWars {
|
|
314
|
-
constructor(data) {
|
|
315
|
-
/**
|
|
316
|
-
* Wins
|
|
317
|
-
* @type {number}
|
|
318
|
-
*/
|
|
319
|
-
this.wins = data.wins_dragonwars2 || 0;
|
|
320
|
-
/**
|
|
321
|
-
* Kills
|
|
322
|
-
* @type {number}
|
|
323
|
-
*/
|
|
324
|
-
this.kills = data.kills_dragonwars2 || 0;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* Dropper class
|
|
329
|
-
*/
|
|
330
|
-
class Dropper {
|
|
331
|
-
constructor(data) {
|
|
332
|
-
/**
|
|
333
|
-
* Total Wins
|
|
334
|
-
* @type {number}
|
|
335
|
-
*/
|
|
336
|
-
this.wins = data?.wins ?? 0;
|
|
337
|
-
/**
|
|
338
|
-
* Total Fails
|
|
339
|
-
* @type {number}
|
|
340
|
-
*/
|
|
341
|
-
this.fails = data?.fails ?? 0;
|
|
342
|
-
/**
|
|
343
|
-
* Fastest Game
|
|
344
|
-
* @type {number}
|
|
345
|
-
*/
|
|
346
|
-
this.fastestGame = data?.fastest_game ?? 0;
|
|
347
|
-
/**
|
|
348
|
-
* Total Amount of Flawless Games
|
|
349
|
-
* @type {number}
|
|
350
|
-
*/
|
|
351
|
-
this.flawlessGames = data?.flawless_games ?? 0;
|
|
352
|
-
/**
|
|
353
|
-
* Total Amount of Games Played
|
|
354
|
-
* @type {number}
|
|
355
|
-
*/
|
|
356
|
-
this.gamesPlayed = data?.games_played ?? 0;
|
|
357
|
-
/**
|
|
358
|
-
* Total Amount of Maps Completed
|
|
359
|
-
* @type {number}
|
|
360
|
-
*/
|
|
361
|
-
this.mapsCompleted = data?.maps_completed ?? 0;
|
|
362
|
-
/**
|
|
363
|
-
* Total Amount of Games Finished
|
|
364
|
-
* @type {number}
|
|
365
|
-
*/
|
|
366
|
-
this.gamesFinished = data?.games_finished ?? 0;
|
|
367
|
-
/**
|
|
368
|
-
* Maps
|
|
369
|
-
* @type {Object.<string, DropperMap>}
|
|
370
|
-
*/
|
|
371
|
-
this.maps = {};
|
|
372
|
-
Object.keys(data?.map_stats ?? {}).forEach((map) => {
|
|
373
|
-
this.maps[map] = new DropperMap(data?.map_stats, map);
|
|
374
|
-
});
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
/**
|
|
378
|
-
* Ender Spleef class
|
|
379
|
-
*/
|
|
380
|
-
class EnderSpleef {
|
|
381
|
-
constructor(data) {
|
|
382
|
-
/**
|
|
383
|
-
* Wins
|
|
384
|
-
* @type {number}
|
|
385
|
-
*/
|
|
386
|
-
this.wins = data.wins_ender || 0;
|
|
387
|
-
/**
|
|
388
|
-
* Kills
|
|
389
|
-
* @type {number}
|
|
390
|
-
*/
|
|
391
|
-
this.kills = data.kills_dragonwars2 || 0;
|
|
392
|
-
/**
|
|
393
|
-
* Trail
|
|
394
|
-
* @type {string}
|
|
395
|
-
*/
|
|
396
|
-
this.trail = data.enderspleef_trail || '';
|
|
397
|
-
/**
|
|
398
|
-
* Blocks Destroyed
|
|
399
|
-
* @type {number}
|
|
400
|
-
*/
|
|
401
|
-
this.blocksDestroyed = data.blocks_destroyed_ender || 0;
|
|
402
|
-
/**
|
|
403
|
-
* Big Shot Activations
|
|
404
|
-
* @type {number}
|
|
405
|
-
*/
|
|
406
|
-
this.bigShotActivations = data.bigshot_powerup_activations_ender || 0;
|
|
407
|
-
/**
|
|
408
|
-
* Triple Shot Activations
|
|
409
|
-
* @type {number}
|
|
410
|
-
*/
|
|
411
|
-
this.tripleShotActivations = data.tripleshot_powerup_activations_ender || 0;
|
|
412
|
-
/**
|
|
413
|
-
* Total Powerup Activations
|
|
414
|
-
* @type {number}
|
|
415
|
-
*/
|
|
416
|
-
this.totalPowerUpActivations = this.bigShotActivations + this.tripleShotActivations;
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
/**
|
|
420
|
-
* Farm Hunt class
|
|
421
|
-
*/
|
|
422
|
-
class FarmHunt {
|
|
423
|
-
constructor(data) {
|
|
424
|
-
/**
|
|
425
|
-
* Wins
|
|
426
|
-
* @type {number}
|
|
427
|
-
*/
|
|
428
|
-
this.wins = data.wins_farm_hunt || 0;
|
|
429
|
-
/**
|
|
430
|
-
* Wins as Animal
|
|
431
|
-
* @type {number}
|
|
432
|
-
*/
|
|
433
|
-
this.winsAsAnimal = data.animal_wins_farm_hunt || 0;
|
|
434
|
-
/**
|
|
435
|
-
* Wins as Hunter
|
|
436
|
-
* @type {number}
|
|
437
|
-
*/
|
|
438
|
-
this.winsAsHunter = data.hunter_wins_farm_hunt || 0;
|
|
439
|
-
/**
|
|
440
|
-
* Kills
|
|
441
|
-
* @type {number}
|
|
442
|
-
*/
|
|
443
|
-
this.kills = data.kills_farm_hunt || 0;
|
|
444
|
-
/**
|
|
445
|
-
* Kills as Animal
|
|
446
|
-
* @type {number}
|
|
447
|
-
*/
|
|
448
|
-
this.killsAsAnimal = data.animal_kills_farm_hunt || 0;
|
|
449
|
-
/**
|
|
450
|
-
* Kills as Hunter
|
|
451
|
-
* @type {number}
|
|
452
|
-
*/
|
|
453
|
-
this.killsAsHunter = data.hunter_kills_farm_hunt || 0;
|
|
454
|
-
/**
|
|
455
|
-
* Taunts Used
|
|
456
|
-
* @type {number}
|
|
457
|
-
*/
|
|
458
|
-
this.tauntsUsed = data.taunts_used_farm_hunt || 0;
|
|
459
|
-
/**
|
|
460
|
-
* Risky Taunts Used
|
|
461
|
-
* @type {number}
|
|
462
|
-
*/
|
|
463
|
-
this.riskyTauntsUsed = data.risky_taunts_used_farm_hunt || 0;
|
|
464
|
-
/**
|
|
465
|
-
* Safe Taunts Used
|
|
466
|
-
* @type {number}
|
|
467
|
-
*/
|
|
468
|
-
this.safeTauntsUsed = data.safe_taunts_used_farm_hunt || 0;
|
|
469
|
-
/**
|
|
470
|
-
* Dangerous Taunts Used
|
|
471
|
-
* @type {number}
|
|
472
|
-
*/
|
|
473
|
-
this.dangerousTauntsUsed = data.dangerous_taunts_used_farm_hunt || 0;
|
|
474
|
-
/**
|
|
475
|
-
* Firework Taunts Used
|
|
476
|
-
* @type {number}
|
|
477
|
-
*/
|
|
478
|
-
this.fireworkTauntsUsed = data.firework_taunts_used_farm_hunt || 0;
|
|
479
|
-
/**
|
|
480
|
-
* Poop Collected
|
|
481
|
-
* @type {number}
|
|
482
|
-
*/
|
|
483
|
-
this.poop = (data.poop_collected_farm_hunt || 0) + (data.poop_collected || 0);
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
/**
|
|
487
|
-
* Football class
|
|
488
|
-
*/
|
|
489
|
-
class Football {
|
|
490
|
-
constructor(data) {
|
|
491
|
-
/**
|
|
492
|
-
* Wins
|
|
493
|
-
* @type {number}
|
|
494
|
-
*/
|
|
495
|
-
this.wins = data.wins_soccer || 0;
|
|
496
|
-
/**
|
|
497
|
-
* Goals
|
|
498
|
-
* @type {number}
|
|
499
|
-
*/
|
|
500
|
-
this.goals = data.goals_soccer || 0;
|
|
501
|
-
/**
|
|
502
|
-
* Kikcs
|
|
503
|
-
* @type {number}
|
|
504
|
-
*/
|
|
505
|
-
this.kicks = data.kicks_soccer || 0;
|
|
506
|
-
/**
|
|
507
|
-
* Power Kicks
|
|
508
|
-
* @type {number}
|
|
509
|
-
*/
|
|
510
|
-
this.powerKicks = data.powerkicks_soccer || 0;
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
/**
|
|
514
|
-
* Galxy Wars
|
|
515
|
-
*/
|
|
516
|
-
class GalaxyWars {
|
|
517
|
-
/**
|
|
518
|
-
* @param {Object} data Data from API
|
|
519
|
-
*/
|
|
520
|
-
constructor(data) {
|
|
521
|
-
/**
|
|
522
|
-
* Wins
|
|
523
|
-
* @type {number}
|
|
524
|
-
*/
|
|
525
|
-
this.wins = data.sw_game_wins || 0;
|
|
526
|
-
/**
|
|
527
|
-
* Kills
|
|
528
|
-
* @type {number}
|
|
529
|
-
*/
|
|
530
|
-
this.kills = data.sw_kills || 0;
|
|
531
|
-
/**
|
|
532
|
-
* Deaths
|
|
533
|
-
* @type {number}
|
|
534
|
-
*/
|
|
535
|
-
this.deaths = data.sw_deaths || 0;
|
|
536
|
-
/**
|
|
537
|
-
* Total shots fired
|
|
538
|
-
* @type {number}
|
|
539
|
-
*/
|
|
540
|
-
this.shotsFired = data.sw_shots_fired || 0;
|
|
541
|
-
/**
|
|
542
|
-
* Total weekly kills
|
|
543
|
-
* @type {number}
|
|
544
|
-
*/
|
|
545
|
-
this.weeklyKills = parseInt(data[`weekly_kills_${weekAB()}`] || 0, 10);
|
|
546
|
-
/**
|
|
547
|
-
* Total Monthly kills
|
|
548
|
-
* @type {number}
|
|
549
|
-
*/
|
|
550
|
-
this.monthlyKills = parseInt(data[`monthly_kills_${monthAB()}`] || 0, 10);
|
|
551
|
-
/**
|
|
552
|
-
* Attacker Kills
|
|
553
|
-
* @type {number}
|
|
554
|
-
*/
|
|
555
|
-
this.attackerKills = data.sw_rebel_kills || 0;
|
|
556
|
-
/**
|
|
557
|
-
* Defender Kills
|
|
558
|
-
* @type {number}
|
|
559
|
-
*/
|
|
560
|
-
this.defenderKills = data.sw_empire_kills || 0;
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
/**
|
|
564
|
-
* Party Popper Stats (Sub gamemode of Hide and Seek)
|
|
565
|
-
*/
|
|
566
|
-
class PartyPopper {
|
|
567
|
-
/**
|
|
568
|
-
* @param {Object} data Data from API
|
|
569
|
-
*/
|
|
570
|
-
constructor(data) {
|
|
571
|
-
/**
|
|
572
|
-
* Wins as Seeker
|
|
573
|
-
* @type {number}
|
|
574
|
-
*/
|
|
575
|
-
this.winsAsSeeker = data.party_pooper_seeker_wins_hide_and_seek || 0;
|
|
576
|
-
/**
|
|
577
|
-
* Wins as Hider
|
|
578
|
-
* @type {number}
|
|
579
|
-
*/
|
|
580
|
-
this.winsAsHider = data.party_pooper_hider_wins_hide_and_seek || 0;
|
|
581
|
-
/**
|
|
582
|
-
* Wins
|
|
583
|
-
* @type {number}
|
|
584
|
-
*/
|
|
585
|
-
this.wins = this.winsAsSeeker + this.winsAsHider;
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
/**
|
|
589
|
-
* Prop Hunt Stats (Sub gamemode of Hide and Seek)
|
|
590
|
-
*/
|
|
591
|
-
class PropHunt {
|
|
592
|
-
/**
|
|
593
|
-
* @param {Object} data Data from API
|
|
594
|
-
*/
|
|
595
|
-
constructor(data) {
|
|
596
|
-
/**
|
|
597
|
-
* Wins as Seeker
|
|
598
|
-
* @type {number}
|
|
599
|
-
*/
|
|
600
|
-
this.winsAsSeeker = data.prop_hunt_seeker_wins_hide_and_seek || 0;
|
|
601
|
-
/**
|
|
602
|
-
* Wins as Hider
|
|
603
|
-
* @type {number}
|
|
604
|
-
*/
|
|
605
|
-
this.winsAsHider = data.prop_hunt_hider_wins_hide_and_seek || 0;
|
|
606
|
-
/**
|
|
607
|
-
* Wins
|
|
608
|
-
* @type {number}
|
|
609
|
-
*/
|
|
610
|
-
this.wins = this.winsAsSeeker + this.winsAsHider;
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
/**
|
|
614
|
-
* Hide And Seek Stats
|
|
615
|
-
*/
|
|
616
|
-
class HideAndSeek {
|
|
617
|
-
/**
|
|
618
|
-
* @param {Object} data Data from API
|
|
619
|
-
*/
|
|
620
|
-
constructor(data) {
|
|
621
|
-
/**
|
|
622
|
-
* Party Popper Stats
|
|
623
|
-
* @type {PartyPopper}
|
|
624
|
-
*/
|
|
625
|
-
this.partyPopper = new PartyPopper(data);
|
|
626
|
-
/**
|
|
627
|
-
* Prop Hunt Stats
|
|
628
|
-
* @type {PropHunt}
|
|
629
|
-
*/
|
|
630
|
-
this.propHunt = new PropHunt(data);
|
|
631
|
-
/**
|
|
632
|
-
* Wins as Seeker
|
|
633
|
-
* @type {number}
|
|
634
|
-
*/
|
|
635
|
-
this.winsAsSeeker = data.seeker_wins_hide_and_seek || 0;
|
|
636
|
-
/**
|
|
637
|
-
* Wins as Hider
|
|
638
|
-
* @type {number}
|
|
639
|
-
*/
|
|
640
|
-
this.winsAsHider = data.hider_wins_hide_and_seek || 0;
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
/**
|
|
644
|
-
* Hide And Seek Stats
|
|
645
|
-
*/
|
|
646
|
-
class HoleInTheWall {
|
|
647
|
-
/**
|
|
648
|
-
* @param {Object} data Data from API
|
|
649
|
-
*/
|
|
650
|
-
constructor(data) {
|
|
651
|
-
/**
|
|
652
|
-
* Wins
|
|
653
|
-
* @type {number}
|
|
654
|
-
*/
|
|
655
|
-
this.wins = data.wins_hole_in_the_wall || 0;
|
|
656
|
-
/**
|
|
657
|
-
* Rounds Played
|
|
658
|
-
* @type {number}
|
|
659
|
-
*/
|
|
660
|
-
this.rounds = data.rounds_hole_in_the_wall || 0;
|
|
661
|
-
/**
|
|
662
|
-
* Score Record in Finals
|
|
663
|
-
* @type {number}
|
|
664
|
-
*/
|
|
665
|
-
this.scoreRecordFinals = data.hitw_record_f || 0;
|
|
666
|
-
/**
|
|
667
|
-
* Score Record in Normal
|
|
668
|
-
* @type {number}
|
|
669
|
-
*/
|
|
670
|
-
this.scoreRecordNormal = data.hitw_record_q || 0;
|
|
671
|
-
/**
|
|
672
|
-
* Score Record Overall
|
|
673
|
-
* @type {number}
|
|
674
|
-
*/
|
|
675
|
-
this.scoreRecordOverall = this.scoreRecordFinals + this.scoreRecordNormal;
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
/**
|
|
679
|
-
* Hypixel Says Stats
|
|
680
|
-
*/
|
|
681
|
-
class HypixelSays {
|
|
682
|
-
constructor(data) {
|
|
683
|
-
/**
|
|
684
|
-
* Wins
|
|
685
|
-
* @type {number}
|
|
686
|
-
*/
|
|
687
|
-
this.wins = data.wins_simon_says || 0;
|
|
688
|
-
/**
|
|
689
|
-
* Rounds
|
|
690
|
-
* @type {number}
|
|
691
|
-
*/
|
|
692
|
-
this.rounds = data.rounds_simon_says || 0;
|
|
693
|
-
/**
|
|
694
|
-
* Round Wins
|
|
695
|
-
* @type {number}
|
|
696
|
-
*/
|
|
697
|
-
this.roundWins = data.round_wins_simon_says || 0;
|
|
698
|
-
/**
|
|
699
|
-
* Top Score
|
|
700
|
-
* @type {number}
|
|
701
|
-
*/
|
|
702
|
-
this.topScore = data.top_score_simon_says || 0;
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
|
-
/**
|
|
706
|
-
* Mini Walls class
|
|
707
|
-
*/
|
|
708
|
-
class MiniWalls {
|
|
709
|
-
/**
|
|
710
|
-
* Constructor
|
|
711
|
-
* @param {Object} data data from API
|
|
712
|
-
*/
|
|
713
|
-
constructor(data) {
|
|
714
|
-
/**
|
|
715
|
-
* Active Kit
|
|
716
|
-
* @type {string}
|
|
717
|
-
*/
|
|
718
|
-
this.kit = data.miniWalls_activeKit || '';
|
|
719
|
-
/**
|
|
720
|
-
* Wins
|
|
721
|
-
* @type {number}
|
|
722
|
-
*/
|
|
723
|
-
this.wins = data.wins_mini_walls || 0;
|
|
724
|
-
/**
|
|
725
|
-
* Kills
|
|
726
|
-
* @type {number}
|
|
727
|
-
*/
|
|
728
|
-
this.kills = data.kills_mini_walls || 0;
|
|
729
|
-
/**
|
|
730
|
-
* Deaths
|
|
731
|
-
* @type {number}
|
|
732
|
-
*/
|
|
733
|
-
this.deaths = data.deaths_mini_walls || 0;
|
|
734
|
-
/**
|
|
735
|
-
* Kill Death Ratio
|
|
736
|
-
* @type {number}
|
|
737
|
-
*/
|
|
738
|
-
this.KDRatio = divide(this.kills, this.deaths);
|
|
739
|
-
/**
|
|
740
|
-
* Final Kills
|
|
741
|
-
* @type {number}
|
|
742
|
-
*/
|
|
743
|
-
this.finalKills = data.final_kills_mini_walls || 0;
|
|
744
|
-
/**
|
|
745
|
-
* Wither Kills
|
|
746
|
-
* @type {number}
|
|
747
|
-
*/
|
|
748
|
-
this.witherKills = data.wither_kills_mini_walls || 0;
|
|
749
|
-
/**
|
|
750
|
-
* Wither Damage
|
|
751
|
-
* @type {number}
|
|
752
|
-
*/
|
|
753
|
-
this.witherDamage = data.wither_damage_mini_walls || 0;
|
|
754
|
-
/**
|
|
755
|
-
* Arrows Shot
|
|
756
|
-
* @type {number}
|
|
757
|
-
*/
|
|
758
|
-
this.arrowsShot = data.arrows_shot_mini_walls || 0;
|
|
759
|
-
/**
|
|
760
|
-
* Arrows Hit
|
|
761
|
-
* @type {number}
|
|
762
|
-
*/
|
|
763
|
-
this.arrowsHit = data.arrows_hit_mini_walls || 0;
|
|
764
|
-
/**
|
|
765
|
-
* Bow Accuracy
|
|
766
|
-
* @type {number}
|
|
767
|
-
*/
|
|
768
|
-
this.bowAccuracy = divide(this.arrowsHit, this.arrowsShot);
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
/**
|
|
772
|
-
* Party Games class
|
|
773
|
-
*/
|
|
774
|
-
class PartyGames {
|
|
775
|
-
/**
|
|
776
|
-
* Constructor
|
|
777
|
-
* @param {Object} data data from API
|
|
778
|
-
*/
|
|
779
|
-
constructor(data) {
|
|
780
|
-
/**
|
|
781
|
-
* Wins
|
|
782
|
-
* @type {number}
|
|
783
|
-
*/
|
|
784
|
-
this.wins = data.wins_party || 0;
|
|
785
|
-
/**
|
|
786
|
-
* Rounds Won
|
|
787
|
-
* @type {number}
|
|
788
|
-
*/
|
|
789
|
-
this.roundWins = data.round_wins_party || 0;
|
|
790
|
-
/**
|
|
791
|
-
* Stars Earned
|
|
792
|
-
* @type {number}
|
|
793
|
-
*/
|
|
794
|
-
this.stars = data.total_stars_party || 0;
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
/**
|
|
798
|
-
* Pixel Party Game Mode
|
|
799
|
-
*/
|
|
800
|
-
class PixelPartyGameMode {
|
|
801
|
-
/**
|
|
802
|
-
* Constructor
|
|
803
|
-
* @param {Object} data data from API
|
|
804
|
-
* @param {string} modeName Mode name
|
|
805
|
-
*/
|
|
806
|
-
constructor(data, modeName) {
|
|
807
|
-
/**
|
|
808
|
-
* Wins
|
|
809
|
-
* @type {number}
|
|
810
|
-
*/
|
|
811
|
-
this.wins = data?.[`wins_${modeName}`] || 0;
|
|
812
|
-
/**
|
|
813
|
-
* Games Played
|
|
814
|
-
* @type {number}
|
|
815
|
-
*/
|
|
816
|
-
this.gamesPlayed = data?.[`games_played_${modeName}`] || 0;
|
|
817
|
-
/**
|
|
818
|
-
* Losses
|
|
819
|
-
* @type {number}
|
|
820
|
-
*/
|
|
821
|
-
this.losses = this.gamesPlayed - this.wins;
|
|
822
|
-
/**
|
|
823
|
-
* Win Loss Ratio
|
|
824
|
-
* @type {number}
|
|
825
|
-
*/
|
|
826
|
-
this.WLRatio = divide(this.wins, this.losses);
|
|
827
|
-
/**
|
|
828
|
-
* Rounds Played
|
|
829
|
-
* @type {number}
|
|
830
|
-
*/
|
|
831
|
-
this.roundsPlayed = data?.[`rounds_completed_${modeName}`] || 0;
|
|
832
|
-
/**
|
|
833
|
-
* Power Ups Collected
|
|
834
|
-
* @type {number}
|
|
835
|
-
*/
|
|
836
|
-
this.powerUpsCollected = data?.[`power_ups_collected_${modeName}`] || 0;
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
/**
|
|
840
|
-
* Party Games class
|
|
841
|
-
*/
|
|
842
|
-
class PixelParty {
|
|
843
|
-
/**
|
|
844
|
-
* Constructor
|
|
845
|
-
* @param {Object} data data from API
|
|
846
|
-
*/
|
|
847
|
-
constructor(data) {
|
|
848
|
-
/**
|
|
849
|
-
* Wins
|
|
850
|
-
* @type {number}
|
|
851
|
-
*/
|
|
852
|
-
this.wins = data?.pixel_party?.wins || 0;
|
|
853
|
-
/**
|
|
854
|
-
* Games Played
|
|
855
|
-
* @type {number}
|
|
856
|
-
*/
|
|
857
|
-
this.gamesPlayed = data?.pixel_party?.games_played || 0;
|
|
858
|
-
/**
|
|
859
|
-
* Losses
|
|
860
|
-
* @type {number}
|
|
861
|
-
*/
|
|
862
|
-
this.losses = this.gamesPlayed - this.wins;
|
|
863
|
-
/**
|
|
864
|
-
* Win Loss Ratio
|
|
865
|
-
* @type {number}
|
|
866
|
-
*/
|
|
867
|
-
this.WLRatio = divide(this.wins, this.losses);
|
|
868
|
-
/**
|
|
869
|
-
* Rounds Played
|
|
870
|
-
* @type {number}
|
|
871
|
-
*/
|
|
872
|
-
this.roundsPlayed = data?.pixel_party?.rounds_completed || 0;
|
|
873
|
-
/**
|
|
874
|
-
* Power Ups Collected
|
|
875
|
-
* @type {number}
|
|
876
|
-
*/
|
|
877
|
-
this.powerUpsCollected = data?.pixel_party?.power_ups_collected || 0;
|
|
878
|
-
/**
|
|
879
|
-
* Normal Game Mode
|
|
880
|
-
* @type {PixelPartyGameMode}
|
|
881
|
-
*/
|
|
882
|
-
this.normal = new PixelPartyGameMode(data.pixel_party, 'normal');
|
|
883
|
-
/**
|
|
884
|
-
* Hyper Game Mode
|
|
885
|
-
* @type {PixelPartyGameMode}
|
|
886
|
-
*/
|
|
887
|
-
this.hyper = new PixelPartyGameMode(data.pixel_party, 'hyper');
|
|
888
|
-
/**
|
|
889
|
-
* Highest Round
|
|
890
|
-
* @type {number}
|
|
891
|
-
*/
|
|
892
|
-
this.highestRound = data?.pixel_party?.highest_round || 0;
|
|
893
|
-
/**
|
|
894
|
-
* Music Volume
|
|
895
|
-
* @type {number}
|
|
896
|
-
*/
|
|
897
|
-
this.musicVolume = data.pixel_party_music_volume || 0;
|
|
898
|
-
/**
|
|
899
|
-
* Color Blind Settings
|
|
900
|
-
* @type {object}
|
|
901
|
-
*/
|
|
902
|
-
this.colorBlind = data.pixelparty || {};
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
/**
|
|
906
|
-
* Throw Out class
|
|
907
|
-
*/
|
|
908
|
-
class ThrowOut {
|
|
909
|
-
/**
|
|
910
|
-
* Constructor
|
|
911
|
-
* @param {Object} data data from API
|
|
912
|
-
*/
|
|
913
|
-
constructor(data) {
|
|
914
|
-
/**
|
|
915
|
-
* Wins
|
|
916
|
-
* @type {number}
|
|
917
|
-
*/
|
|
918
|
-
this.wins = data.wins_throw_out || 0;
|
|
919
|
-
/**
|
|
920
|
-
* Kills
|
|
921
|
-
* @type {number}
|
|
922
|
-
*/
|
|
923
|
-
this.kills = data.kills_throw_out || 0;
|
|
924
|
-
/**
|
|
925
|
-
* Deaths
|
|
926
|
-
* @type {number}
|
|
927
|
-
*/
|
|
928
|
-
this.deaths = data.deaths_throw_out || 0;
|
|
929
|
-
/**
|
|
930
|
-
* KDRatio
|
|
931
|
-
* @type {number}
|
|
932
|
-
*/
|
|
933
|
-
this.KDRatio = divide(this.kills, this.deaths);
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
/**
|
|
937
|
-
* Arcade class
|
|
938
|
-
*/
|
|
939
|
-
class Arcade {
|
|
940
|
-
/**
|
|
941
|
-
* Constructor
|
|
942
|
-
* @param {Object} data Data from the API
|
|
943
|
-
*/
|
|
944
|
-
constructor(data = {}) {
|
|
945
|
-
/**
|
|
946
|
-
* Amount of coins
|
|
947
|
-
* @type {number}
|
|
948
|
-
*/
|
|
949
|
-
this.coins = data.coins || 0;
|
|
950
|
-
/**
|
|
951
|
-
* Weekly coins
|
|
952
|
-
* @type {number}
|
|
953
|
-
*/
|
|
954
|
-
this.weeklyCoins = parseInt(data[`weekly_coins_${weekAB()}`] || 0, 10);
|
|
955
|
-
/**
|
|
956
|
-
* Monthly coins
|
|
957
|
-
* @type {number}
|
|
958
|
-
*/
|
|
959
|
-
this.monthlyCoins = parseInt(data[`monthly_coins_${monthAB()}`] || 0, 10);
|
|
960
|
-
/**
|
|
961
|
-
* Hints Disabled
|
|
962
|
-
* @type {boolean}
|
|
963
|
-
*/
|
|
964
|
-
this.hintsDisabled = !data.hints;
|
|
965
|
-
/**
|
|
966
|
-
* Flash Disabled
|
|
967
|
-
* @type {boolean}
|
|
968
|
-
*/
|
|
969
|
-
this.flashDisabled = !data.flash;
|
|
970
|
-
/**
|
|
971
|
-
* Blocking dead ( previously known as DayOne ) stats
|
|
972
|
-
* @type {BlockingDead}
|
|
973
|
-
*/
|
|
974
|
-
this.blockingDead = new BlockingDead(data);
|
|
975
|
-
/**
|
|
976
|
-
* Bounty Hunters (previously known as One In The Quiver) stats
|
|
977
|
-
* @type {BountyHunters}
|
|
978
|
-
*/
|
|
979
|
-
this.bountyHunters = new BountyHunters(data);
|
|
980
|
-
/**
|
|
981
|
-
* Capture The Wool
|
|
982
|
-
* @type {CaptureTheWool}
|
|
983
|
-
*/
|
|
984
|
-
this.captureTheWool = new CaptureTheWool(data);
|
|
985
|
-
/**
|
|
986
|
-
* Dragon wars stats
|
|
987
|
-
* @type {DragonWars}
|
|
988
|
-
*/
|
|
989
|
-
this.dragonWars = new DragonWars(data);
|
|
990
|
-
/**
|
|
991
|
-
* Dropper
|
|
992
|
-
* @type {Dropper}
|
|
993
|
-
*/
|
|
994
|
-
this.dropper = new Dropper(data.dropper);
|
|
995
|
-
/**
|
|
996
|
-
* Ender Spleef stats
|
|
997
|
-
* @type {EnderSpleef}
|
|
998
|
-
*/
|
|
999
|
-
this.enderSpleef = new EnderSpleef(data);
|
|
1000
|
-
/**
|
|
1001
|
-
* Farm Hunt stats
|
|
1002
|
-
* @type {FarmHunt}
|
|
1003
|
-
*/
|
|
1004
|
-
this.farmHunt = new FarmHunt(data);
|
|
1005
|
-
/**
|
|
1006
|
-
* Football stats
|
|
1007
|
-
* @type {Football}
|
|
1008
|
-
*/
|
|
1009
|
-
this.football = new Football(data);
|
|
1010
|
-
/**
|
|
1011
|
-
* Galaxy Wars stats
|
|
1012
|
-
* @type {GalaxyWars}
|
|
1013
|
-
*/
|
|
1014
|
-
this.galaxyWars = new GalaxyWars(data);
|
|
1015
|
-
/**
|
|
1016
|
-
* Hide and Seek stats
|
|
1017
|
-
* @type {HideAndSeek}
|
|
1018
|
-
*/
|
|
1019
|
-
this.hideAndSeek = new HideAndSeek(data);
|
|
1020
|
-
/**
|
|
1021
|
-
* Hole in the Wall stats
|
|
1022
|
-
* @type {HoleInTheWall}
|
|
1023
|
-
*/
|
|
1024
|
-
this.holeInTheWall = new HoleInTheWall(data);
|
|
1025
|
-
/**
|
|
1026
|
-
* Hypixel Says stats
|
|
1027
|
-
* @type {HypixelSays}
|
|
1028
|
-
*/
|
|
1029
|
-
this.hypixelSays = new HypixelSays(data);
|
|
1030
|
-
/**
|
|
1031
|
-
* Mini Walls stats
|
|
1032
|
-
* @type {MiniWalls}
|
|
1033
|
-
*/
|
|
1034
|
-
this.miniWalls = new MiniWalls(data);
|
|
1035
|
-
/**
|
|
1036
|
-
* Party games stats
|
|
1037
|
-
* @type {PartyGames}
|
|
1038
|
-
*/
|
|
1039
|
-
this.partyGames = new PartyGames(data);
|
|
1040
|
-
/**
|
|
1041
|
-
* Pixel Party stats
|
|
1042
|
-
* @type {PixelParty}
|
|
1043
|
-
*/
|
|
1044
|
-
this.pixelParty = new PixelParty(data);
|
|
1045
|
-
/**
|
|
1046
|
-
* Throw out stats
|
|
1047
|
-
* @type {ThrowOut}
|
|
1048
|
-
*/
|
|
1049
|
-
this.throwOut = new ThrowOut(data);
|
|
1050
|
-
/**
|
|
1051
|
-
* Zombies
|
|
1052
|
-
* @type {Zombies}
|
|
1053
|
-
*/
|
|
1054
|
-
this.zombies = new Zombies(data);
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
module.exports = Arcade;
|