Index
All Classes and Interfaces|All Packages
A
- activeGames - Static variable in class com.storytimeproductions.stweaks.listeners.GameManagerListener
- addAvailableSeconds(double) - Method in class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Adds or subtracts seconds from the player's available time.
- afterInit() - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Called after the minigame has been initialized.
- afterInit() - Method in class com.storytimeproductions.stweaks.games.BattleshipGame
-
Called after the game has been initialized.
- afterInit() - Method in class com.storytimeproductions.stweaks.games.BlockBreakGame
-
Called after the game has been initialized.
- afterInit() - Method in class com.storytimeproductions.stweaks.games.BlockPartyGame
-
Called after the game has been initialized.
- afterInit() - Method in class com.storytimeproductions.stweaks.games.BombermanGame
-
Called after the game has been initialized.
- afterInit() - Method in class com.storytimeproductions.stweaks.games.ColorSplatGame
-
Called after the game has been initialized.
- afterInit() - Method in class com.storytimeproductions.stweaks.games.DodgeballGame
-
Called after the game has been initialized.
- afterInit() - Method in class com.storytimeproductions.stweaks.games.FishSlapGame
-
Called after the game has been initialized.
- afterInit() - Method in class com.storytimeproductions.stweaks.games.GymGame
-
Called after the game has been initialized.
- afterInit() - Method in class com.storytimeproductions.stweaks.games.HungryHungryHooksGame
-
Called after the game has been initialized.
- afterInit() - Method in class com.storytimeproductions.stweaks.games.KothTagGame
-
Called after the game has been initialized.
- afterInit() - Method in class com.storytimeproductions.stweaks.games.ParkourGame
- afterInit() - Method in class com.storytimeproductions.stweaks.games.RouletteGame
- afterInit() - Method in class com.storytimeproductions.stweaks.games.SpleefGame
-
Called after the game has been initialized.
- afterInit() - Method in class com.storytimeproductions.stweaks.games.StoryBlitz
-
Called after the game has been initialized.
- allowsConcurrentJoins() - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Returns true if players can join this game while it is already running.
- allowsConcurrentJoins() - Method in class com.storytimeproductions.stweaks.games.GymGame
- allowsConcurrentJoins() - Method in class com.storytimeproductions.stweaks.games.ParkourGame
-
If a player in the game lands on the floor level, remove them from the game.
- allowsConcurrentJoins() - Method in class com.storytimeproductions.stweaks.games.RouletteGame
- AnvilConsumable - Class in com.storytimeproductions.stweaks.consumables
-
Represents a consumable item that allows players to open an anvil anywhere.
- AnvilConsumable() - Constructor for class com.storytimeproductions.stweaks.consumables.AnvilConsumable
B
- BackConsumable - Class in com.storytimeproductions.stweaks.consumables
-
Represents a consumable item that allows players to return to a previously teleported region.
- BackConsumable() - Constructor for class com.storytimeproductions.stweaks.consumables.BackConsumable
- BattleshipGame - Class in com.storytimeproductions.stweaks.games
-
Represents a Battleship game where players place ships on a board and take turns.
- BattleshipGame(GameConfig) - Constructor for class com.storytimeproductions.stweaks.games.BattleshipGame
-
Constructs a new Battleship game with the specified configuration.
- BellRingChallenge - Class in com.storytimeproductions.models.stgames.challenges
-
A challenge where players must ring a single bell placed in the spawn region.
- BellRingChallenge(List) - Constructor for class com.storytimeproductions.models.stgames.challenges.BellRingChallenge
-
Constructs a BellRingChallenge using the provided spawn regions.
- BetInfo - Class in com.storytimeproductions.models.stgames
-
Represents a bet placed in a game, containing information about the table, color, slot, and whether the bet is locked.
- BetInfo(int, String, int) - Constructor for class com.storytimeproductions.models.stgames.BetInfo
-
Constructor to create a BetInfo object with the specified table, color, and slot.
- BiomeNotifier - Class in com.storytimeproductions.stweaks.listeners
-
BiomeNotifier is a listener that notifies players via the action bar when they enter a new biome.
- BiomeNotifier(Plugin, BiomeTrackerManager) - Constructor for class com.storytimeproductions.stweaks.listeners.BiomeNotifier
-
Constructs a new BiomeNotifier with a reference to the main plugin instance.
- BiomeTrackerCommand - Class in com.storytimeproductions.stweaks.commands
-
Handles the `/biometracker` command for opening a GUI that shows the player's discovered biomes.
- BiomeTrackerCommand(BiomeTrackerManager, JavaPlugin) - Constructor for class com.storytimeproductions.stweaks.commands.BiomeTrackerCommand
-
Constructs a BiomeTrackerCommand instance.
- BiomeTrackerManager - Class in com.storytimeproductions.stweaks.util
-
Manages tracking of biomes discovered by players.
- BiomeTrackerManager(DbManager, JavaPlugin) - Constructor for class com.storytimeproductions.stweaks.util.BiomeTrackerManager
-
Constructs a new BiomeTrackerManager instance.
- BlockBreakGame - Class in com.storytimeproductions.stweaks.games
-
Represents a Block Break game where players can break blocks to score points.
- BlockBreakGame(GameConfig) - Constructor for class com.storytimeproductions.stweaks.games.BlockBreakGame
-
Constructs a new Block Break game with the specified configuration.
- BlockPartyGame - Class in com.storytimeproductions.stweaks.games
-
Represents a Block Party game where players must stand on the correct colored blocks.
- BlockPartyGame(GameConfig) - Constructor for class com.storytimeproductions.stweaks.games.BlockPartyGame
-
Constructs a new Block Party game with the specified configuration.
- BombermanGame - Class in com.storytimeproductions.stweaks.games
-
Represents a Bomberman game, implementing the Minigame interface and handling player interactions, game state updates, and rendering.
- BombermanGame(GameConfig) - Constructor for class com.storytimeproductions.stweaks.games.BombermanGame
-
Constructs a new Bomberman game with the specified configuration.
- BoostConsumable - Class in com.storytimeproductions.stweaks.consumables
-
Represents a consumable item that allows players to add a small boost to the server multiplier.
- BoostConsumable() - Constructor for class com.storytimeproductions.stweaks.consumables.BoostConsumable
- BossBarManager - Class in com.storytimeproductions.stweaks.util
-
Manages Boss Bars that show each player's remaining playtime progress.
- BossBarManager() - Constructor for class com.storytimeproductions.stweaks.util.BossBarManager
- BreakBlockChallenge - Class in com.storytimeproductions.models.stgames.challenges
-
Represents a challenge where players must break a block.
- BreakBlockChallenge(List) - Constructor for class com.storytimeproductions.models.stgames.challenges.BreakBlockChallenge
-
Constructs a new BreakBlockChallenge with a random block type and count.
- breakdownSeconds(double) - Static method in class com.storytimeproductions.stweaks.util.TimeUtils
-
Breaks down a total number of seconds into hours, minutes, and seconds.
C
- cleanup(List) - Method in class com.storytimeproductions.models.stgames.challenges.BellRingChallenge
- cleanup(List) - Method in class com.storytimeproductions.models.stgames.challenges.BreakBlockChallenge
-
Cleans up resources when the challenge ends.
- cleanup(List) - Method in class com.storytimeproductions.models.stgames.challenges.CraftItemChallenge
- cleanup(List) - Method in class com.storytimeproductions.models.stgames.challenges.EmptyInventoryChallenge
-
Cleans up the challenge by unregistering the event listener and clearing completed players.
- cleanup(List) - Method in class com.storytimeproductions.models.stgames.challenges.HatSwitchChallenge
- cleanup(List) - Method in class com.storytimeproductions.models.stgames.challenges.KillPlayerChallenge
-
Cleans up the challenge by unregistering the event listener and removing the tower.
- cleanup(List) - Method in class com.storytimeproductions.models.stgames.challenges.LadderClimbChallenge
- cleanup(List) - Method in class com.storytimeproductions.models.stgames.challenges.PunchPigChallenge
-
Cleans up the challenge by despawning all pigs and unregistering the event listener.
- cleanup(List) - Method in class com.storytimeproductions.models.stgames.challenges.RidePigChallenge
-
Cleans up the challenge by unregistering the event listener and removing all pigs.
- cleanup(List) - Method in class com.storytimeproductions.models.stgames.challenges.ShearSheepChallenge
- cleanup(List) - Method in class com.storytimeproductions.models.stgames.challenges.SnowballChallenge
- cleanup(List) - Method in interface com.storytimeproductions.models.stgames.challenges.StoryBlitzChallenge
-
Called when the challenge ends (cleanup).
- color - Variable in class com.storytimeproductions.models.stgames.BetInfo
- ColoredArmorCraftListener - Class in com.storytimeproductions.stweaks.listeners
-
Prevents already-colored armor pieces from being used as ingredients in the colored armor crafting recipes, which would otherwise allow infinite re-dyeing.
- ColoredArmorCraftListener() - Constructor for class com.storytimeproductions.stweaks.listeners.ColoredArmorCraftListener
- ColorSplatGame - Class in com.storytimeproductions.stweaks.games
-
Represents a Color Splat game where players can slap each other with fish.
- ColorSplatGame(GameConfig) - Constructor for class com.storytimeproductions.stweaks.games.ColorSplatGame
-
Constructs a new Color Splat game with the specified configuration.
- com.storytimeproductions.models - package com.storytimeproductions.models
-
This package contains the model classes for the Stweaks plugin.
- com.storytimeproductions.models.stgames - package com.storytimeproductions.models.stgames
- com.storytimeproductions.models.stgames.challenges - package com.storytimeproductions.models.stgames.challenges
- com.storytimeproductions.stweaks - package com.storytimeproductions.stweaks
-
This package contains the main classes for the Stweaks plugin.
- com.storytimeproductions.stweaks.commands - package com.storytimeproductions.stweaks.commands
-
This package contains the command classes for the STweaks application.
- com.storytimeproductions.stweaks.config - package com.storytimeproductions.stweaks.config
-
This package contains the configuration classes for the STweaks application.
- com.storytimeproductions.stweaks.consumables - package com.storytimeproductions.stweaks.consumables
- com.storytimeproductions.stweaks.games - package com.storytimeproductions.stweaks.games
- com.storytimeproductions.stweaks.listeners - package com.storytimeproductions.stweaks.listeners
-
This package contains the event listeners for the STweaks application.
- com.storytimeproductions.stweaks.managers - package com.storytimeproductions.stweaks.managers
- com.storytimeproductions.stweaks.playtime - package com.storytimeproductions.stweaks.playtime
-
This package contains the Playtime feature used for the Stracker module for the plugin.
- com.storytimeproductions.stweaks.util - package com.storytimeproductions.stweaks.util
-
This package contains utility classes for the Stweaks plugin.
- computeGlobalSocialMultiplier() - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Computes the social multiplier as the socialMultiplier times the weighted average of all party sizes, with more weight attributed to larger parties.
- connect() - Method in class com.storytimeproductions.stweaks.util.DbManager
-
Establishes a connection to the SQLite database and creates the playtime table if it doesn't exist.
- contains(Location) - Method in class com.storytimeproductions.models.stgames.Cuboid
-
Checks if the specified location is within this cuboid.
- Cosmetic - Class in com.storytimeproductions.stweaks.util
-
Represents a cosmetic item with an ID, item model, display name, lore, and crafting recipe.
- Cosmetic(String, String, String, List, Material[][]) - Constructor for class com.storytimeproductions.stweaks.util.Cosmetic
-
Constructs a new Cosmetic.
- CosmeticsListener - Class in com.storytimeproductions.stweaks.listeners
-
Listener for handling clicks in the Cosmetics Menu GUI.
- CosmeticsListener() - Constructor for class com.storytimeproductions.stweaks.listeners.CosmeticsListener
- CosmeticsManager - Class in com.storytimeproductions.stweaks.util
-
Manages the loading and retrieval of cosmetic items from configuration.
- CosmeticsManager(JavaPlugin) - Constructor for class com.storytimeproductions.stweaks.util.CosmeticsManager
-
Constructs a new CosmeticsManager and loads cosmetics from configuration.
- CosmeticsMenuCommand - Class in com.storytimeproductions.stweaks.commands
-
Command executor and menu handler for the Cosmetics GUI.
- CosmeticsMenuCommand(CosmeticsManager) - Constructor for class com.storytimeproductions.stweaks.commands.CosmeticsMenuCommand
-
Constructs a new CosmeticsMenuCommand.
- CowSkinnerListener - Class in com.storytimeproductions.stweaks.listeners
-
Handles custom crafting and interaction behavior for the Cow Skinner tool.
- CowSkinnerListener() - Constructor for class com.storytimeproductions.stweaks.listeners.CowSkinnerListener
- CraftItemChallenge - Class in com.storytimeproductions.models.stgames.challenges
-
Represents a challenge where players must craft a specific item.
- CraftItemChallenge(List) - Constructor for class com.storytimeproductions.models.stgames.challenges.CraftItemChallenge
-
Constructs a new CraftItemChallenge with a random item and its ingredients.
- Cuboid - Class in com.storytimeproductions.models.stgames
-
Represents a 3D cuboid defined by two opposite corners in a Minecraft world.
- Cuboid(World, int, int, int, int, int, int) - Constructor for class com.storytimeproductions.models.stgames.Cuboid
-
Constructs a Cuboid with the specified world and corner coordinates.
D
- DbManager - Class in com.storytimeproductions.stweaks.util
-
Manages connection and setup for the SQLite database used to store player playtime.
- DbManager() - Constructor for class com.storytimeproductions.stweaks.util.DbManager
- disconnect() - Method in class com.storytimeproductions.stweaks.util.DbManager
-
Closes the database connection if it is open.
- DodgeballGame - Class in com.storytimeproductions.stweaks.games
-
Represents a Dodgeball game where players are split into two teams and can throw rockets at each other.
- DodgeballGame(GameConfig) - Constructor for class com.storytimeproductions.stweaks.games.DodgeballGame
-
Constructs a new Dodgeball game with the specified configuration.
E
- EmptyInventoryChallenge - Class in com.storytimeproductions.models.stgames.challenges
-
Represents a challenge where players must empty their hotbar.
- EmptyInventoryChallenge(List) - Constructor for class com.storytimeproductions.models.stgames.challenges.EmptyInventoryChallenge
-
Constructs a new EmptyInventoryChallenge.
- EnderchestConsumable - Class in com.storytimeproductions.stweaks.consumables
-
Represents a consumable item that allows players to open their ender chest anywhere.
- EnderchestConsumable() - Constructor for class com.storytimeproductions.stweaks.consumables.EnderchestConsumable
- EntitySizeConsumable - Class in com.storytimeproductions.stweaks.consumables
-
Represents a consumable item that allows players to change the size of the entity they are looking at using /entitysize entity looking 'size'.
- EntitySizeConsumable() - Constructor for class com.storytimeproductions.stweaks.consumables.EntitySizeConsumable
- executeAsConsole() - Method in class com.storytimeproductions.stweaks.consumables.BoostConsumable
-
Executes the command as if it were run by the console.
F
- FbiDiscListener - Class in com.storytimeproductions.stweaks.listeners
-
Handles behavior when the custom FBI Disc item (based on a cookie) is consumed.
- FbiDiscListener() - Constructor for class com.storytimeproductions.stweaks.listeners.FbiDiscListener
- FishSlapGame - Class in com.storytimeproductions.stweaks.games
-
Represents a Fish Slap game where players can slap each other with fish.
- FishSlapGame(GameConfig) - Constructor for class com.storytimeproductions.stweaks.games.FishSlapGame
-
Constructs a new Fish Slap game with the specified configuration.
- formatBiomeName(String) - Static method in class com.storytimeproductions.stweaks.util.BiomeTrackerManager
-
Formats the biome key into a human-readable name by capitalizing the first letter of each word and replacing underscores with spaces.
G
- GameConfig - Class in com.storytimeproductions.models.stgames
-
Represents the configuration for a game, including its properties and settings.
- GameConfig(String, Location, int, Location, Location, int, String, String, String, String, Map) - Constructor for class com.storytimeproductions.models.stgames.GameConfig
-
Constructs a new GameConfig with the specified parameters.
- GameManagerListener - Class in com.storytimeproductions.stweaks.listeners
-
Manages the lifecycle and player interactions for all minigames.
- GameManagerListener(JavaPlugin) - Constructor for class com.storytimeproductions.stweaks.listeners.GameManagerListener
-
Constructor to initialize the GameManagerListener.
- getActiveGames() - Static method in class com.storytimeproductions.stweaks.listeners.GameManagerListener
-
Gets the map of currently active minigames.
- getAfkSince() - Method in class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Gets the time in milliseconds since the player was last marked as AFK.
- getAfkThresholdSeconds(UUID) - Static method in class com.storytimeproductions.stweaks.config.SettingsManager
-
Retrieves the AFK threshold in seconds for a specific player.
- getAllCosmetics() - Static method in class com.storytimeproductions.stweaks.util.CosmeticsManager
-
Gets a list of all loaded cosmetics.
- getAllPets() - Method in class com.storytimeproductions.stweaks.util.PetsManager
- getAvailableMinutes() - Method in class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Retrieves the number of full minutes available.
- getAvailableQuestsFor(UUID) - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Returns a list of quests available to a specific player.
- getAvailableSeconds() - Method in class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Retrieves the total available seconds for the player.
- getBankedTickets() - Method in class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Gets the number of banked 5-minute tickets for the player.
- getBaseMaterial() - Method in interface com.storytimeproductions.models.ItemConsumable
-
Returns the base material for this consumable item.
- getBaseMaterial() - Method in class com.storytimeproductions.stweaks.consumables.AnvilConsumable
- getBaseMaterial() - Method in class com.storytimeproductions.stweaks.consumables.BackConsumable
-
Returns the base material for this consumable item.
- getBaseMaterial() - Method in class com.storytimeproductions.stweaks.consumables.BoostConsumable
- getBaseMaterial() - Method in class com.storytimeproductions.stweaks.consumables.EnderchestConsumable
- getBaseMaterial() - Method in class com.storytimeproductions.stweaks.consumables.EntitySizeConsumable
- getBaseMaterial() - Method in class com.storytimeproductions.stweaks.consumables.NickConsumable
- getBaseMaterial() - Method in class com.storytimeproductions.stweaks.consumables.PlayerSizeConsumable
- getBaseMaterial() - Method in class com.storytimeproductions.stweaks.consumables.SetWarpConsumable
- getBaseMaterial() - Method in class com.storytimeproductions.stweaks.consumables.SmithingTableConsumable
- getBaseMaterial() - Method in class com.storytimeproductions.stweaks.consumables.WorkbenchConsumable
- getBaseMultiplier() - Static method in class com.storytimeproductions.stweaks.config.SettingsManager
-
Retrieves the base multiplier for all players.
- getBaseMultiplier() - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Retrieves the base multiplier for playtime.
- getBurpSounds() - Method in class com.storytimeproductions.models.Pet
-
Returns the list of sound effect names this pet may randomly play.
- getCommand() - Method in interface com.storytimeproductions.models.ItemConsumable
-
Returns the command associated with this consumable item.
- getCommand() - Method in class com.storytimeproductions.stweaks.consumables.AnvilConsumable
- getCommand() - Method in class com.storytimeproductions.stweaks.consumables.BackConsumable
-
Returns the command associated with this consumable item.
- getCommand() - Method in class com.storytimeproductions.stweaks.consumables.BoostConsumable
- getCommand() - Method in class com.storytimeproductions.stweaks.consumables.EnderchestConsumable
- getCommand() - Method in class com.storytimeproductions.stweaks.consumables.EntitySizeConsumable
- getCommand() - Method in class com.storytimeproductions.stweaks.consumables.NickConsumable
- getCommand() - Method in class com.storytimeproductions.stweaks.consumables.PlayerSizeConsumable
- getCommand() - Method in class com.storytimeproductions.stweaks.consumables.SetWarpConsumable
- getCommand() - Method in class com.storytimeproductions.stweaks.consumables.SmithingTableConsumable
- getCommand() - Method in class com.storytimeproductions.stweaks.consumables.WorkbenchConsumable
- getCompletedPlayers(Quest) - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Retrieves a list of players who have completed a specific quest.
- getCompletedQuestCount(UUID) - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Returns the number of quests the player has completed.
- getConfig() - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Gets the minigame configuration.
- getConfig() - Static method in class com.storytimeproductions.stweaks.config.SettingsManager
-
Retrieves the config.
- getConfig() - Method in class com.storytimeproductions.stweaks.games.BattleshipGame
-
Gets the game configuration.
- getConfig() - Method in class com.storytimeproductions.stweaks.games.BlockBreakGame
-
Gets the game configuration.
- getConfig() - Method in class com.storytimeproductions.stweaks.games.BlockPartyGame
-
Gets the game configuration.
- getConfig() - Method in class com.storytimeproductions.stweaks.games.BombermanGame
-
Gets the game configuration.
- getConfig() - Method in class com.storytimeproductions.stweaks.games.ColorSplatGame
-
Gets the game configuration.
- getConfig() - Method in class com.storytimeproductions.stweaks.games.DodgeballGame
-
Gets the game configuration.
- getConfig() - Method in class com.storytimeproductions.stweaks.games.FishSlapGame
-
Gets the game configuration.
- getConfig() - Method in class com.storytimeproductions.stweaks.games.GymGame
-
Returns the game configuration.
- getConfig() - Method in class com.storytimeproductions.stweaks.games.HungryHungryHooksGame
-
Gets the game configuration.
- getConfig() - Method in class com.storytimeproductions.stweaks.games.KothTagGame
-
Gets the game configuration.
- getConfig() - Method in class com.storytimeproductions.stweaks.games.ParkourGame
- getConfig() - Method in class com.storytimeproductions.stweaks.games.RouletteGame
- getConfig() - Method in class com.storytimeproductions.stweaks.games.SpleefGame
-
Gets the game configuration.
- getConfig() - Method in class com.storytimeproductions.stweaks.games.StoryBlitz
-
Gets the game configuration.
- getConnection() - Method in class com.storytimeproductions.stweaks.util.DbManager
-
Gets the current database connection.
- getCosmetic(String) - Static method in class com.storytimeproductions.stweaks.util.CosmeticsManager
-
Gets a cosmetic by its unique identifier.
- getCosmeticById(String) - Static method in class com.storytimeproductions.stweaks.util.CosmeticsManager
-
Gets a cosmetic by its unique identifier.
- getCurrentIt() - Method in class com.storytimeproductions.stweaks.games.KothTagGame
-
Gets the current "it" player in the game.
- getData(UUID) - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Retrieves the playtime data for a specific player.
- getDeadline() - Method in class com.storytimeproductions.models.Quest
-
Gets the optional deadline for the quest.
- getDescription() - Method in class com.storytimeproductions.models.stgames.challenges.BellRingChallenge
- getDescription() - Method in class com.storytimeproductions.models.stgames.challenges.BreakBlockChallenge
-
Returns the description of the challenge.
- getDescription() - Method in class com.storytimeproductions.models.stgames.challenges.CraftItemChallenge
- getDescription() - Method in class com.storytimeproductions.models.stgames.challenges.EmptyInventoryChallenge
-
Returns the name of the challenge.
- getDescription() - Method in class com.storytimeproductions.models.stgames.challenges.HatSwitchChallenge
- getDescription() - Method in class com.storytimeproductions.models.stgames.challenges.KillPlayerChallenge
-
Returns the description of the challenge.
- getDescription() - Method in class com.storytimeproductions.models.stgames.challenges.LadderClimbChallenge
- getDescription() - Method in class com.storytimeproductions.models.stgames.challenges.PunchPigChallenge
-
Gets the description of the challenge.
- getDescription() - Method in class com.storytimeproductions.models.stgames.challenges.RidePigChallenge
-
Gets the description of the challenge.
- getDescription() - Method in class com.storytimeproductions.models.stgames.challenges.ShearSheepChallenge
- getDescription() - Method in class com.storytimeproductions.models.stgames.challenges.SnowballChallenge
- getDescription() - Method in interface com.storytimeproductions.models.stgames.challenges.StoryBlitzChallenge
-
Returns the description of the challenge, which is shown to players.
- getDescriptionWithGoob(String) - Method in interface com.storytimeproductions.models.stgames.challenges.StoryBlitzChallenge
-
Returns a description with a chance to include "goob" for fun.
- getDiscoveredBiomes(UUID) - Method in class com.storytimeproductions.stweaks.util.BiomeTrackerManager
-
Retrieves a set of biomes that the player with the given UUID has discovered.
- getDisplayableQuestIdsFor(UUID) - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Returns a list of quest IDs that are visible to the given player.
- getDisplayName() - Method in class com.storytimeproductions.stweaks.util.Cosmetic
-
Gets the display name of the cosmetic.
- getExitArea() - Method in class com.storytimeproductions.models.stgames.GameConfig
-
Gets the location representing the exit area.
- getFood() - Method in class com.storytimeproductions.models.Pet
-
Returns the food item required for the pet's perk to activate.
- getGameArea() - Method in class com.storytimeproductions.models.stgames.GameConfig
-
Gets the location representing the game area.
- getGameId() - Method in class com.storytimeproductions.models.stgames.GameConfig
-
Gets the unique identifier for the game.
- getGameProperties() - Method in class com.storytimeproductions.models.stgames.GameConfig
-
Gets additional game-specific properties.
- getIcon() - Method in class com.storytimeproductions.models.Quest
-
Gets the icon representing the quest in the GUI.
- getId() - Method in class com.storytimeproductions.models.Pet
-
Returns the unique identifier of the pet.
- getId() - Method in class com.storytimeproductions.models.Quest
-
Gets the unique identifier of the quest.
- getId() - Method in class com.storytimeproductions.stweaks.util.Cosmetic
-
Gets the unique identifier for this cosmetic.
- getInstance() - Static method in class com.storytimeproductions.stweaks.Stweaks
-
Gets the instance of the Stweaks plugin.
- getItemModel() - Method in interface com.storytimeproductions.models.ItemConsumable
-
Returns the unique item model identifier for this consumable.
- getItemModel() - Method in class com.storytimeproductions.stweaks.consumables.AnvilConsumable
- getItemModel() - Method in class com.storytimeproductions.stweaks.consumables.BackConsumable
-
Returns the unique item model identifier for this consumable.
- getItemModel() - Method in class com.storytimeproductions.stweaks.consumables.BoostConsumable
- getItemModel() - Method in class com.storytimeproductions.stweaks.consumables.EnderchestConsumable
- getItemModel() - Method in class com.storytimeproductions.stweaks.consumables.EntitySizeConsumable
- getItemModel() - Method in class com.storytimeproductions.stweaks.consumables.NickConsumable
- getItemModel() - Method in class com.storytimeproductions.stweaks.consumables.PlayerSizeConsumable
- getItemModel() - Method in class com.storytimeproductions.stweaks.consumables.SetWarpConsumable
- getItemModel() - Method in class com.storytimeproductions.stweaks.consumables.SmithingTableConsumable
- getItemModel() - Method in class com.storytimeproductions.stweaks.consumables.WorkbenchConsumable
- getItemModel() - Method in class com.storytimeproductions.stweaks.util.Cosmetic
-
Gets the item model identifier.
- getItemRequirements() - Method in class com.storytimeproductions.models.Quest
-
Gets the list of item requirements.
- getJoinBlock() - Method in class com.storytimeproductions.models.stgames.GameConfig
-
Gets the location of the join block.
- getJoinFailMessage() - Method in class com.storytimeproductions.models.stgames.GameConfig
-
Gets the message shown when joining the game fails.
- getJoinSuccessMessage() - Method in class com.storytimeproductions.models.stgames.GameConfig
-
Gets the message shown when joining the game succeeds.
- getLastHourChecked() - Method in class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Gets the last hour checked for daily playtime reset.
- getLocations() - Method in class com.storytimeproductions.models.stgames.Cuboid
-
Returns a list of all block locations within this cuboid.
- getLore() - Method in interface com.storytimeproductions.models.ItemConsumable
-
Returns the lore for this consumable item.
- getLore() - Method in class com.storytimeproductions.models.Quest
-
Gets the lore or description of the quest.
- getLore() - Method in class com.storytimeproductions.stweaks.consumables.AnvilConsumable
- getLore() - Method in class com.storytimeproductions.stweaks.consumables.BackConsumable
-
Returns the lore for this consumable item.
- getLore() - Method in class com.storytimeproductions.stweaks.consumables.BoostConsumable
- getLore() - Method in class com.storytimeproductions.stweaks.consumables.EnderchestConsumable
- getLore() - Method in class com.storytimeproductions.stweaks.consumables.EntitySizeConsumable
- getLore() - Method in class com.storytimeproductions.stweaks.consumables.NickConsumable
- getLore() - Method in class com.storytimeproductions.stweaks.consumables.PlayerSizeConsumable
- getLore() - Method in class com.storytimeproductions.stweaks.consumables.SetWarpConsumable
- getLore() - Method in class com.storytimeproductions.stweaks.consumables.SmithingTableConsumable
- getLore() - Method in class com.storytimeproductions.stweaks.consumables.WorkbenchConsumable
- getLore() - Method in class com.storytimeproductions.stweaks.util.Cosmetic
-
Gets the lore (description) of the cosmetic.
- getLoseMessage() - Method in class com.storytimeproductions.models.stgames.GameConfig
-
Gets the message shown when a player loses the game.
- getMinutes(UUID) - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Retrieves the remaining time in minutes for a player.
- getName() - Method in interface com.storytimeproductions.models.ItemConsumable
-
Returns the display name for this consumable item.
- getName() - Method in class com.storytimeproductions.models.Quest
-
Gets the display name of the quest.
- getName() - Method in class com.storytimeproductions.stweaks.consumables.AnvilConsumable
- getName() - Method in class com.storytimeproductions.stweaks.consumables.BackConsumable
-
Returns the display name for this consumable item.
- getName() - Method in class com.storytimeproductions.stweaks.consumables.BoostConsumable
- getName() - Method in class com.storytimeproductions.stweaks.consumables.EnderchestConsumable
- getName() - Method in class com.storytimeproductions.stweaks.consumables.EntitySizeConsumable
- getName() - Method in class com.storytimeproductions.stweaks.consumables.NickConsumable
- getName() - Method in class com.storytimeproductions.stweaks.consumables.PlayerSizeConsumable
- getName() - Method in class com.storytimeproductions.stweaks.consumables.SetWarpConsumable
- getName() - Method in class com.storytimeproductions.stweaks.consumables.SmithingTableConsumable
- getName() - Method in class com.storytimeproductions.stweaks.consumables.WorkbenchConsumable
- getOpenQuestCount(UUID) - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Returns the number of open quests available to the specified player by username.
- getParameterNames() - Method in interface com.storytimeproductions.models.ItemConsumable
-
Returns a list of parameter names required for the command associated with this consumable.
- getParameterNames() - Method in class com.storytimeproductions.stweaks.consumables.AnvilConsumable
- getParameterNames() - Method in class com.storytimeproductions.stweaks.consumables.BackConsumable
-
Returns the names of parameters required by the command associated with this consumable.
- getParameterNames() - Method in class com.storytimeproductions.stweaks.consumables.BoostConsumable
- getParameterNames() - Method in class com.storytimeproductions.stweaks.consumables.EnderchestConsumable
- getParameterNames() - Method in class com.storytimeproductions.stweaks.consumables.EntitySizeConsumable
- getParameterNames() - Method in class com.storytimeproductions.stweaks.consumables.NickConsumable
- getParameterNames() - Method in class com.storytimeproductions.stweaks.consumables.PlayerSizeConsumable
- getParameterNames() - Method in class com.storytimeproductions.stweaks.consumables.SetWarpConsumable
- getParameterNames() - Method in class com.storytimeproductions.stweaks.consumables.SmithingTableConsumable
- getParameterNames() - Method in class com.storytimeproductions.stweaks.consumables.WorkbenchConsumable
- getParameterTypes() - Method in interface com.storytimeproductions.models.ItemConsumable
-
Returns a list of parameter types for each parameter name.
- getParameterTypes() - Method in class com.storytimeproductions.stweaks.consumables.EntitySizeConsumable
- getParameterTypes() - Method in class com.storytimeproductions.stweaks.consumables.PlayerSizeConsumable
- getPerk() - Method in class com.storytimeproductions.models.Pet
-
Returns the perk string that defines what the pet does.
- getPermissionNode() - Method in interface com.storytimeproductions.models.ItemConsumable
-
Returns the permission node required to use this consumable item.
- getPermissionNode() - Method in class com.storytimeproductions.stweaks.consumables.AnvilConsumable
- getPermissionNode() - Method in class com.storytimeproductions.stweaks.consumables.BackConsumable
-
Returns the permission node required to use this consumable item.
- getPermissionNode() - Method in class com.storytimeproductions.stweaks.consumables.BoostConsumable
- getPermissionNode() - Method in class com.storytimeproductions.stweaks.consumables.EnderchestConsumable
- getPermissionNode() - Method in class com.storytimeproductions.stweaks.consumables.EntitySizeConsumable
- getPermissionNode() - Method in class com.storytimeproductions.stweaks.consumables.NickConsumable
- getPermissionNode() - Method in class com.storytimeproductions.stweaks.consumables.PlayerSizeConsumable
- getPermissionNode() - Method in class com.storytimeproductions.stweaks.consumables.SetWarpConsumable
- getPermissionNode() - Method in class com.storytimeproductions.stweaks.consumables.SmithingTableConsumable
- getPermissionNode() - Method in class com.storytimeproductions.stweaks.consumables.WorkbenchConsumable
- getPetById(String) - Method in class com.storytimeproductions.stweaks.util.PetsManager
-
Retrieves a Pet by its ID.
- getPetByItem(ItemStack) - Method in class com.storytimeproductions.stweaks.util.PetsManager
-
Returns the Pet corresponding to the given item if it has a hotbar_pets model, or null otherwise.
- getPlayerLimit() - Method in class com.storytimeproductions.models.stgames.GameConfig
-
Gets the maximum number of players allowed in the game.
- getPlayers() - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Gets the list of players currently in the minigame.
- getPlayers() - Method in class com.storytimeproductions.stweaks.games.BattleshipGame
-
Gets the list of players currently in the game.
- getPlayers() - Method in class com.storytimeproductions.stweaks.games.BlockBreakGame
-
Gets the list of players currently in the game.
- getPlayers() - Method in class com.storytimeproductions.stweaks.games.BlockPartyGame
-
Gets the list of players currently in the game.
- getPlayers() - Method in class com.storytimeproductions.stweaks.games.BombermanGame
-
Gets the list of players currently in the game.
- getPlayers() - Method in class com.storytimeproductions.stweaks.games.ColorSplatGame
-
Gets the list of players currently in the game.
- getPlayers() - Method in class com.storytimeproductions.stweaks.games.DodgeballGame
-
Gets the list of players currently in the game.
- getPlayers() - Method in class com.storytimeproductions.stweaks.games.FishSlapGame
-
Gets the list of players currently in the game.
- getPlayers() - Method in class com.storytimeproductions.stweaks.games.GymGame
-
Returns the list of players currently in the game.
- getPlayers() - Method in class com.storytimeproductions.stweaks.games.HungryHungryHooksGame
-
Gets the list of players currently in the game.
- getPlayers() - Method in class com.storytimeproductions.stweaks.games.KothTagGame
-
Gets the list of players currently playing.
- getPlayers() - Method in class com.storytimeproductions.stweaks.games.ParkourGame
- getPlayers() - Method in class com.storytimeproductions.stweaks.games.RouletteGame
- getPlayers() - Method in class com.storytimeproductions.stweaks.games.SpleefGame
-
Gets the list of players currently in the game.
- getPlayers() - Method in class com.storytimeproductions.stweaks.games.StoryBlitz
-
Gets the list of players currently in the game.
- getPlaytime(UUID) - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Gets the total available time in seconds for a player.
- getQuestById(String) - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Retrieves a quest by its unique identifier.
- getQuestByName(String) - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Retrieves a quest by its name.
- getQuotes() - Method in class com.storytimeproductions.models.Pet
-
Returns the list of quotes the pet may say at random intervals.
- getRecipe() - Method in class com.storytimeproductions.models.Pet
-
Returns the crafting recipe as a 3x3 matrix of materials.
- getRecipe() - Method in class com.storytimeproductions.stweaks.util.Cosmetic
-
Gets the crafting recipe for the cosmetic.
- getRequiredMinutes(UUID) - Static method in class com.storytimeproductions.stweaks.config.SettingsManager
-
Retrieves the required playtime for a specific player.
- getRequiredPlayers() - Method in class com.storytimeproductions.models.Quest
-
Gets the list of players required to complete this quest.
- getRewards() - Method in class com.storytimeproductions.models.Quest
-
Gets the list of rewards for completing the quest.
- getSeconds(UUID) - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Retrieves the remaining time in seconds for a player.
- getSocialDistance() - Static method in class com.storytimeproductions.stweaks.config.SettingsManager
-
Retrieves the social distance for all players.
- getSocialDistance() - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
- getSocialMultiplier() - Static method in class com.storytimeproductions.stweaks.config.SettingsManager
-
Retrieves the social multiplier for all players.
- getSocialMultiplier() - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
- getSocialMultiplierCap() - Static method in class com.storytimeproductions.stweaks.config.SettingsManager
-
Retrieves the social multiplier cap applied when 5 or more players are online.
- getStatRequirements() - Method in class com.storytimeproductions.models.Quest
-
Gets the list of stat requirements.
- getSubtitle() - Method in class com.storytimeproductions.models.Pet
-
Returns the subtitle or description of the pet.
- getTicketCost() - Method in class com.storytimeproductions.models.stgames.GameConfig
-
Gets the cost to join the game.
- getTimeLeft(UUID) - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Gets the total remaining time for a player as a
Duration. - getTodayMultiplier() - Static method in class com.storytimeproductions.stweaks.util.TimeUtils
-
Retrieves the multiplier for the current day.
- getTotalMultiplier() - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Computes the total multiplier for a player.
- getWeekendMultiplier() - Static method in class com.storytimeproductions.stweaks.config.SettingsManager
-
Retrieves the global weekend multiplier for all players.
- getWeekendMultiplier() - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
- getWinMessage() - Method in class com.storytimeproductions.models.stgames.GameConfig
-
Gets the message shown when a player wins the game.
- giveRewards(Player, Quest) - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Gives the rewards to the player for completing a specific quest.
- GymGame - Class in com.storytimeproductions.stweaks.games
-
Represents a gym-themed minigame where players can interact with punching bags, treadmills, and trampolines to earn time tickets.
- GymGame(GameConfig) - Constructor for class com.storytimeproductions.stweaks.games.GymGame
-
Constructs a new GymGame with the specified configuration and plugin.
H
- hasRequiredItems(Player, Quest) - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Checks if the player has the required items for a specific quest.
- hasRequiredStats(Player, Quest) - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Checks if the player has met all required statistics for a specific quest.
- HatSwitchChallenge - Class in com.storytimeproductions.models.stgames.challenges
-
A challenge where players must open a chest and equip the golden helmet inside.
- HatSwitchChallenge(List) - Constructor for class com.storytimeproductions.models.stgames.challenges.HatSwitchChallenge
-
Constructs a HatSwitchChallenge using the provided spawn regions.
- HungryHungryHooksGame - Class in com.storytimeproductions.stweaks.games
-
Minigame: Hungry Hungry Hooks.
- HungryHungryHooksGame(GameConfig) - Constructor for class com.storytimeproductions.stweaks.games.HungryHungryHooksGame
-
Constructs a new HungryHungryHooksGame game with the specified configuration.
I
- IllegalWaterListener - Class in com.storytimeproductions.stweaks.listeners
-
Handles the placement and interaction with the custom Illegal Water item.
- IllegalWaterListener(JavaPlugin) - Constructor for class com.storytimeproductions.stweaks.listeners.IllegalWaterListener
-
Constructor for the IllegalWaterListener class.
- init(JavaPlugin) - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Initializes the PlaytimeTracker and starts periodic updates for all online players.
- init(JavaPlugin) - Static method in class com.storytimeproductions.stweaks.util.BossBarManager
-
Initializes the BossBarManager and starts periodic updates for all online players.
- isAfk() - Method in class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Checks if the player is currently marked as AFK.
- isAvailableTo(UUID) - Method in class com.storytimeproductions.models.Quest
-
Checks whether a specific player is eligible to undertake the quest.
- isCompleted(Player) - Method in class com.storytimeproductions.models.stgames.challenges.BellRingChallenge
- isCompleted(Player) - Method in class com.storytimeproductions.models.stgames.challenges.BreakBlockChallenge
-
Checks if the player has completed the challenge.
- isCompleted(Player) - Method in class com.storytimeproductions.models.stgames.challenges.CraftItemChallenge
- isCompleted(Player) - Method in class com.storytimeproductions.models.stgames.challenges.EmptyInventoryChallenge
-
Handles the event when a player empties their hotbar.
- isCompleted(Player) - Method in class com.storytimeproductions.models.stgames.challenges.HatSwitchChallenge
- isCompleted(Player) - Method in class com.storytimeproductions.models.stgames.challenges.KillPlayerChallenge
-
Checks if the challenge is completed by the player.
- isCompleted(Player) - Method in class com.storytimeproductions.models.stgames.challenges.LadderClimbChallenge
- isCompleted(Player) - Method in class com.storytimeproductions.models.stgames.challenges.PunchPigChallenge
-
Checks if the player has punched all five pigs.
- isCompleted(Player) - Method in class com.storytimeproductions.models.stgames.challenges.RidePigChallenge
-
Checks if the challenge is completed for a player.
- isCompleted(Player) - Method in class com.storytimeproductions.models.stgames.challenges.ShearSheepChallenge
- isCompleted(Player) - Method in class com.storytimeproductions.models.stgames.challenges.SnowballChallenge
- isCompleted(Player) - Method in interface com.storytimeproductions.models.stgames.challenges.StoryBlitzChallenge
-
Checks if the player has completed the challenge.
- isDefaultQuest() - Method in class com.storytimeproductions.models.Quest
-
Determines if the quest is available to all players (i.e., not limited to specific players).
- isExpired() - Method in class com.storytimeproductions.models.Quest
-
Checks whether the quest has expired based on the current date and time.
- isItInvulnerable(Player) - Method in class com.storytimeproductions.stweaks.games.KothTagGame
-
Checks if a player is currently invulnerable.
- isKickOnAfkTimeout() - Method in class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Checks if the player should be kicked on AFK timeout.
- isQuestCompleted(UUID, String) - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Checks if a quest is completed for a specific player.
- isWeekend() - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Checks if it is currently the weekend in Eastern Time.
- ItemConsumable - Interface in com.storytimeproductions.models
-
Represents a consumable item in the game that can be used by players.
- ItemConsumableListener - Class in com.storytimeproductions.stweaks.listeners
-
Listens for item consumption events and handles custom consumable items.
- ItemConsumableListener() - Constructor for class com.storytimeproductions.stweaks.listeners.ItemConsumableListener
J
- join(Player) - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Adds the specified player to the minigame.
- join(Player) - Method in class com.storytimeproductions.stweaks.games.BattleshipGame
-
Allows a player to join the game.
- join(Player) - Method in class com.storytimeproductions.stweaks.games.BlockBreakGame
-
Adds the specified player to the game.
- join(Player) - Method in class com.storytimeproductions.stweaks.games.BlockPartyGame
-
Adds the specified player to the game.
- join(Player) - Method in class com.storytimeproductions.stweaks.games.BombermanGame
-
Adds the specified player to the game.
- join(Player) - Method in class com.storytimeproductions.stweaks.games.ColorSplatGame
-
Adds the specified player to the game.
- join(Player) - Method in class com.storytimeproductions.stweaks.games.DodgeballGame
-
Adds the specified player to the game.
- join(Player) - Method in class com.storytimeproductions.stweaks.games.FishSlapGame
-
Adds the specified player to the game.
- join(Player) - Method in class com.storytimeproductions.stweaks.games.GymGame
-
Adds the player to the game.
- join(Player) - Method in class com.storytimeproductions.stweaks.games.HungryHungryHooksGame
-
Adds the specified player to the game.
- join(Player) - Method in class com.storytimeproductions.stweaks.games.KothTagGame
-
Adds the specified player to the game.
- join(Player) - Method in class com.storytimeproductions.stweaks.games.ParkourGame
- join(Player) - Method in class com.storytimeproductions.stweaks.games.RouletteGame
-
Initializes the hologram lines for each slot at each table.
- join(Player) - Method in class com.storytimeproductions.stweaks.games.SpleefGame
-
Adds the specified player to the game.
- join(Player) - Method in class com.storytimeproductions.stweaks.games.StoryBlitz
-
Adds the specified player to the game.
K
- KillPlayerChallenge - Class in com.storytimeproductions.models.stgames.challenges
-
Represents a challenge where players must kill themselves by jumping off a tower.
- KillPlayerChallenge(List) - Constructor for class com.storytimeproductions.models.stgames.challenges.KillPlayerChallenge
-
Constructor for the KillPlayerChallenge.
- KothTagGame - Class in com.storytimeproductions.stweaks.games
-
Represents a King of the Hill Tag game where players compete to control a designated area.
- KothTagGame(GameConfig) - Constructor for class com.storytimeproductions.stweaks.games.KothTagGame
-
Constructs a new King of the Hill Tag game with the specified configuration.
L
- LadderClimbChallenge - Class in com.storytimeproductions.models.stgames.challenges
-
A challenge where players must climb a spawned ladder tower and reach the top.
- LadderClimbChallenge(List) - Constructor for class com.storytimeproductions.models.stgames.challenges.LadderClimbChallenge
-
Constructor for the LadderClimbChallenge.
- leave(Player) - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Removes the specified player from the minigame.
- leave(Player) - Method in class com.storytimeproductions.stweaks.games.BattleshipGame
-
Allows a player to leave the game.
- leave(Player) - Method in class com.storytimeproductions.stweaks.games.BlockBreakGame
-
Removes the specified player from the game.
- leave(Player) - Method in class com.storytimeproductions.stweaks.games.BlockPartyGame
-
Removes the specified player from the game.
- leave(Player) - Method in class com.storytimeproductions.stweaks.games.BombermanGame
-
Removes the specified player from the game.
- leave(Player) - Method in class com.storytimeproductions.stweaks.games.ColorSplatGame
-
Removes the specified player from the game.
- leave(Player) - Method in class com.storytimeproductions.stweaks.games.DodgeballGame
-
Removes the specified player from the game.
- leave(Player) - Method in class com.storytimeproductions.stweaks.games.FishSlapGame
-
Removes the specified player from the game.
- leave(Player) - Method in class com.storytimeproductions.stweaks.games.GymGame
-
Removes the player from the game.
- leave(Player) - Method in class com.storytimeproductions.stweaks.games.HungryHungryHooksGame
-
Removes the specified player from the game.
- leave(Player) - Method in class com.storytimeproductions.stweaks.games.KothTagGame
-
Removes the specified player from the game.
- leave(Player) - Method in class com.storytimeproductions.stweaks.games.ParkourGame
- leave(Player) - Method in class com.storytimeproductions.stweaks.games.RouletteGame
-
Removes the specified player from the game and updates holograms.
- leave(Player) - Method in class com.storytimeproductions.stweaks.games.SpleefGame
-
Removes the specified player from the game.
- leave(Player) - Method in class com.storytimeproductions.stweaks.games.StoryBlitz
-
Removes the specified player from the game.
- LebronArmorListener - Class in com.storytimeproductions.stweaks.listeners
-
Listener that handles applying and restoring the "Lebron" skin based on whether a player is wearing a full set of custom Lebron armor.
- LebronArmorListener(Stweaks) - Constructor for class com.storytimeproductions.stweaks.listeners.LebronArmorListener
-
Constructs the listener with the given plugin reference.
- load(JavaPlugin) - Static method in class com.storytimeproductions.stweaks.config.SettingsManager
-
Loads the plugin's configuration file.
- loadCompletedQuestsFromDb() - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Loads the mapping of players to completed quests from the database.
- loadCosmetics() - Method in class com.storytimeproductions.stweaks.util.CosmeticsManager
-
Loads all cosmetics from the configuration file into memory.
- loadFromDatabase(Connection) - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Loads player playtime data from the SQLite database into memory.
- loadGamesFromConfig(FileConfiguration) - Static method in class com.storytimeproductions.stweaks.listeners.GameManagerListener
-
Loads games from the provided configuration file.
- loadPets() - Method in class com.storytimeproductions.stweaks.util.PetsManager
-
Loads pets from the pets.yml configuration file.
- loadQuestsFromYaml() - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Loads all quest definitions from the quests.yml configuration file.
- locked - Variable in class com.storytimeproductions.models.stgames.BetInfo
M
- markBiomeDiscovered(UUID, String) - Method in class com.storytimeproductions.stweaks.util.BiomeTrackerManager
-
Marks a biome as discovered for the player with the given UUID.
- markQuestCompleted(UUID, String) - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Marks a quest as completed for a given player and persists the change in the database.
- Minigame - Interface in com.storytimeproductions.models.stgames
-
Represents a minigame that can be played within the game environment.
N
- NickConsumable - Class in com.storytimeproductions.stweaks.consumables
-
Represents a consumable item that allows players to change their nickname.
- NickConsumable() - Constructor for class com.storytimeproductions.stweaks.consumables.NickConsumable
O
- onArmorChange(PlayerArmorChangeEvent) - Method in class com.storytimeproductions.stweaks.listeners.LebronArmorListener
-
Handles when a player changes armor.
- onCommand(CommandSender, Command, String, String[]) - Method in class com.storytimeproductions.stweaks.commands.BiomeTrackerCommand
-
Handles the `/biometracker` command, opening a GUI that displays biomes the player has discovered and those they haven't, using different colors for each.
- onCommand(CommandSender, Command, String, String[]) - Method in class com.storytimeproductions.stweaks.commands.CosmeticsMenuCommand
-
Handles the /cosmetics command, opening the menu or reloading cosmetics.
- onCommand(CommandSender, Command, String, String[]) - Method in class com.storytimeproductions.stweaks.commands.PetsMenuCommand
-
Executes the command to open the pets menu or reload the configuration.
- onCommand(CommandSender, Command, String, String[]) - Method in class com.storytimeproductions.stweaks.commands.QuestMenuCommand
-
Executes the /quests command.
- onCommand(CommandSender, Command, String, String[]) - Method in class com.storytimeproductions.stweaks.commands.StCasinoCommand
-
Executes the /casino command.
- onCommand(CommandSender, Command, String, String[]) - Method in class com.storytimeproductions.stweaks.commands.StLobbyCommand
-
Handles the /lobby command.
- onCommand(CommandSender, Command, String, String[]) - Method in class com.storytimeproductions.stweaks.commands.StSpawnCommand
-
Executes the /spawn command.
- onCommand(CommandSender, Command, String, String[]) - Method in class com.storytimeproductions.stweaks.commands.StStatusCommand
- onCommand(PlayerCommandPreprocessEvent) - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Called when a player in this game runs a command.
- onCommand(PlayerCommandPreprocessEvent) - Method in class com.storytimeproductions.stweaks.games.ParkourGame
-
Prevents players from using TPA commands while in the parkour game.
- onCowRightClick(PlayerInteractEntityEvent) - Method in class com.storytimeproductions.stweaks.listeners.CowSkinnerListener
-
Handles the event when a player right-clicks an entity.
- onCraft(CraftItemEvent) - Method in class com.storytimeproductions.stweaks.listeners.ColoredArmorCraftListener
-
Cancels the craft if the result is a colored armor piece but an ingredient already carries a custom item model, meaning it is itself a colored piece being recycled.
- onDamage(EntityDamageByEntityEvent) - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Called when a player in this game damages another player in this game.
- onDamage(EntityDamageByEntityEvent) - Method in class com.storytimeproductions.stweaks.games.FishSlapGame
-
Handles the event when a player is damaged by another entity.
- onDamage(EntityDamageByEntityEvent) - Method in class com.storytimeproductions.stweaks.games.KothTagGame
- onDeath(PlayerDeathEvent) - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Called when a player in this game dies.
- onDeath(PlayerDeathEvent) - Method in class com.storytimeproductions.stweaks.games.BombermanGame
-
Handles player death events to eliminate players.
- onDeath(PlayerDeathEvent) - Method in class com.storytimeproductions.stweaks.games.DodgeballGame
-
Handles player death events to announce which team the player belonged to.
- onDestroy() - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Cleans up resources when the minigame is destroyed.
- onDestroy() - Method in class com.storytimeproductions.stweaks.games.BattleshipGame
-
Called when the game is destroyed or stopped.
- onDestroy() - Method in class com.storytimeproductions.stweaks.games.BlockBreakGame
-
Cleans up resources when the game is destroyed.
- onDestroy() - Method in class com.storytimeproductions.stweaks.games.BlockPartyGame
-
Cleans up resources when the game is destroyed.
- onDestroy() - Method in class com.storytimeproductions.stweaks.games.BombermanGame
-
Cleans up resources when the game is destroyed.
- onDestroy() - Method in class com.storytimeproductions.stweaks.games.ColorSplatGame
-
Cleans up resources when the game is destroyed.
- onDestroy() - Method in class com.storytimeproductions.stweaks.games.DodgeballGame
-
Cleans up resources when the game is destroyed.
- onDestroy() - Method in class com.storytimeproductions.stweaks.games.FishSlapGame
-
Cleans up resources when the game is destroyed.
- onDestroy() - Method in class com.storytimeproductions.stweaks.games.GymGame
-
Destroys the game, unregistering all events and cleaning up resources.
- onDestroy() - Method in class com.storytimeproductions.stweaks.games.HungryHungryHooksGame
-
Cleans up resources when the game is destroyed.
- onDestroy() - Method in class com.storytimeproductions.stweaks.games.KothTagGame
-
Cleans up resources when the game is destroyed.
- onDestroy() - Method in class com.storytimeproductions.stweaks.games.ParkourGame
- onDestroy() - Method in class com.storytimeproductions.stweaks.games.RouletteGame
-
Initializes the hologram lines for each slot at each table.
- onDestroy() - Method in class com.storytimeproductions.stweaks.games.SpleefGame
-
Cleans up resources when the game is destroyed.
- onDestroy() - Method in class com.storytimeproductions.stweaks.games.StoryBlitz
-
Cleans up resources when the game is destroyed.
- onDisable() - Method in class com.storytimeproductions.stweaks.Stweaks
-
Called when the plugin is disabled.
- onEnable() - Method in class com.storytimeproductions.stweaks.Stweaks
-
Called when the plugin is enabled.
- onEntityDamageByEntity(EntityDamageByEntityEvent) - Method in class com.storytimeproductions.models.stgames.challenges.SnowballChallenge
-
Handles when a player is hit by a snowball thrown by another player.
- onFbiDiscEaten(PlayerItemConsumeEvent) - Method in class com.storytimeproductions.stweaks.listeners.FbiDiscListener
-
Called when a player consumes any item.
- onFireworkDamage(EntityDamageByEntityEvent) - Method in class com.storytimeproductions.stweaks.listeners.GameManagerListener
-
Prevents firework damage to players in the casino world.
- onInit() - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Initializes the minigame.
- onInit() - Method in class com.storytimeproductions.stweaks.games.BattleshipGame
-
Initializes the Battleship game.
- onInit() - Method in class com.storytimeproductions.stweaks.games.BlockBreakGame
-
Initializes the Battleship game.
- onInit() - Method in class com.storytimeproductions.stweaks.games.BlockPartyGame
-
Initializes the BlockParty game.
- onInit() - Method in class com.storytimeproductions.stweaks.games.BombermanGame
-
Initializes the Bomberman game.
- onInit() - Method in class com.storytimeproductions.stweaks.games.ColorSplatGame
-
Initializes the Color Splat game.
- onInit() - Method in class com.storytimeproductions.stweaks.games.DodgeballGame
-
Initializes the Battleship game.
- onInit() - Method in class com.storytimeproductions.stweaks.games.FishSlapGame
-
Initializes the Battleship game.
- onInit() - Method in class com.storytimeproductions.stweaks.games.GymGame
- onInit() - Method in class com.storytimeproductions.stweaks.games.HungryHungryHooksGame
-
Initializes the Battleship game.
- onInit() - Method in class com.storytimeproductions.stweaks.games.KothTagGame
-
Initializes the Battleship game.
- onInit() - Method in class com.storytimeproductions.stweaks.games.ParkourGame
- onInit() - Method in class com.storytimeproductions.stweaks.games.RouletteGame
- onInit() - Method in class com.storytimeproductions.stweaks.games.SpleefGame
-
Initializes the Spleef game.
- onInit() - Method in class com.storytimeproductions.stweaks.games.StoryBlitz
-
Initializes the Battleship game.
- onInteract(PlayerInteractEvent) - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Called when a player in this game interacts with a block or air.
- onInteract(PlayerInteractEvent) - Method in class com.storytimeproductions.stweaks.games.BattleshipGame
-
Handles player interactions to place or remove ship blocks on the board.
- onInteract(PlayerInteractEvent) - Method in class com.storytimeproductions.stweaks.games.BombermanGame
-
Handles player interactions with TNT items.
- onInteract(PlayerInteractEvent) - Method in class com.storytimeproductions.stweaks.games.GymGame
-
Handles player interactions with punching bags.
- onInteract(PlayerInteractEvent) - Method in class com.storytimeproductions.stweaks.games.ParkourGame
-
If a player in the game right-clicks the win block, reward and remove them.
- onInteract(PlayerInteractEvent) - Method in class com.storytimeproductions.stweaks.games.RouletteGame
-
Handles player interaction with a table block.
- onInventoryClick(InventoryClickEvent) - Method in class com.storytimeproductions.models.stgames.challenges.HatSwitchChallenge
-
Handles when a player equips the golden helmet from a chest.
- onInventoryClick(InventoryClickEvent) - Method in class com.storytimeproductions.stweaks.listeners.BiomeNotifier
-
Handles the inventory click event for pagination in the Biome Tracker GUI.
- onInventoryClick(InventoryClickEvent) - Method in class com.storytimeproductions.stweaks.listeners.CosmeticsListener
-
Handles inventory click events for the Cosmetics Menu.
- onInventoryClick(InventoryClickEvent) - Method in class com.storytimeproductions.stweaks.listeners.PetsMenuListener
-
Event handler that listens for clicks in inventories.
- onInventoryClick(InventoryClickEvent) - Method in class com.storytimeproductions.stweaks.listeners.PlayerActivityListener
-
Prevents users from moving items in the "Your Playtime Status" inventory.
- onInventoryClick(InventoryClickEvent) - Method in class com.storytimeproductions.stweaks.listeners.QuestMenuListener
-
Handles click events inside custom quest-related inventories.
- onInventoryClick(InventoryClickEvent) - Method in class com.storytimeproductions.stweaks.managers.SurvivalRewardManager
-
Handles clicks inside the StoryTime guide menu GUI.
- onInventoryDrag(InventoryDragEvent) - Method in class com.storytimeproductions.stweaks.managers.SurvivalRewardManager
-
Prevents dragging items inside the StoryTime guide menu GUI.
- onJoinBlockInteract(PlayerInteractEvent) - Method in class com.storytimeproductions.stweaks.listeners.GameManagerListener
-
Handles player right-click on join blocks to let players enter games.
- onMove(PlayerMoveEvent) - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Called when a player in this game moves.
- onMove(PlayerMoveEvent) - Method in class com.storytimeproductions.stweaks.games.ColorSplatGame
-
Handles player movement events to detect when they land in the pool.
- onMove(PlayerMoveEvent) - Method in class com.storytimeproductions.stweaks.games.GymGame
-
Handles player movement to detect treadmill and trampoline interactions.
- onMove(PlayerMoveEvent) - Method in class com.storytimeproductions.stweaks.games.ParkourGame
- onPigPunch(EntityDamageByEntityEvent) - Method in class com.storytimeproductions.models.stgames.challenges.PunchPigChallenge
-
Handles pig punch events.
- onPlaceIllegalWater(PlayerInteractEvent) - Method in class com.storytimeproductions.stweaks.listeners.IllegalWaterListener
-
Called when a player interacts with a block.
- onPlayerChangedWorld(PlayerChangedWorldEvent) - Method in class com.storytimeproductions.stweaks.managers.SurvivalRewardManager
-
Gives items when entering the lobby, removes them when leaving.
- onPlayerChat(AsyncChatEvent) - Method in class com.storytimeproductions.stweaks.listeners.ItemConsumableListener
-
Handles the AsyncChatEvent to collect parameters for consumable commands.
- onPlayerCommand(PlayerCommandPreprocessEvent) - Method in class com.storytimeproductions.stweaks.listeners.GameManagerListener
-
Dispatches command events to each minigame the player is in.
- onPlayerConsume(PlayerItemConsumeEvent) - Method in class com.storytimeproductions.stweaks.listeners.ItemConsumableListener
-
Handles the PlayerItemConsumeEvent.
- onPlayerDamage(EntityDamageEvent) - Method in class com.storytimeproductions.models.stgames.challenges.KillPlayerChallenge
-
Handles player damage events to check if the player has killed themselves.
- onPlayerDamagePlayer(EntityDamageByEntityEvent) - Method in class com.storytimeproductions.stweaks.listeners.GameManagerListener
-
Dispatches player-vs-player damage events to the relevant minigame.
- onPlayerDeath(PlayerDeathEvent) - Method in class com.storytimeproductions.models.stgames.challenges.KillPlayerChallenge
-
Handles player death events to check if the player has killed themselves.
- onPlayerDeath(PlayerDeathEvent) - Method in class com.storytimeproductions.stweaks.listeners.GameManagerListener
-
Dispatches player death events to each minigame the player is in.
- onPlayerDrop(PlayerDropItemEvent) - Method in class com.storytimeproductions.stweaks.managers.SurvivalRewardManager
-
Prevents players from dropping the Guide Book or Threshold Key.
- onPlayerDropItem(PlayerDropItemEvent) - Method in class com.storytimeproductions.models.stgames.challenges.EmptyInventoryChallenge
-
Prevents item drops and removes the item from the player's inventory instead.
- onPlayerInteract(PlayerInteractEvent) - Method in class com.storytimeproductions.models.stgames.challenges.BellRingChallenge
-
Handles player interaction with the bell.
- onPlayerInteract(PlayerInteractEvent) - Method in class com.storytimeproductions.stweaks.managers.SurvivalRewardManager
-
Handles right-clicking the Guide Book (opens menu) and Threshold Key (returns to lobby).
- onPlayerInteractEntity(PlayerInteractEntityEvent) - Method in class com.storytimeproductions.models.stgames.challenges.HatSwitchChallenge
-
Handles player interaction with item frames containing a golden helmet.
- onPlayerInteractInGame(PlayerInteractEvent) - Method in class com.storytimeproductions.stweaks.listeners.GameManagerListener
-
Dispatches in-game player interact events to the relevant minigame.
- onPlayerJoin(PlayerJoinEvent) - Method in class com.storytimeproductions.stweaks.listeners.PlayerActivityListener
-
Handles the player join event.
- onPlayerJoin(PlayerJoinEvent) - Method in class com.storytimeproductions.stweaks.managers.SurvivalRewardManager
-
Gives items to portal-unlocked players who join (they are auto-sent to the lobby).
- onPlayerMountPig(PlayerInteractEntityEvent) - Method in class com.storytimeproductions.models.stgames.challenges.RidePigChallenge
-
Handles the event when a player mounts a pig.
- onPlayerMove(PlayerMoveEvent) - Method in class com.storytimeproductions.models.stgames.challenges.LadderClimbChallenge
-
Handles player movement to check if they have reached the top of the ladder.
- onPlayerMove(PlayerMoveEvent) - Method in class com.storytimeproductions.stweaks.listeners.BiomeNotifier
-
Event handler for player movement.
- onPlayerMove(PlayerMoveEvent) - Method in class com.storytimeproductions.stweaks.listeners.GameManagerListener
-
Dispatches player move events to each minigame the player is in.
- onPlayerMove(PlayerMoveEvent) - Method in class com.storytimeproductions.stweaks.listeners.PlayerActivityListener
-
Handles the player movement event.
- onPlayerQuit(PlayerQuitEvent) - Method in class com.storytimeproductions.stweaks.listeners.GameManagerListener
-
Handles player quitting: removes items and leaves all active games.
- onPlayerQuit(PlayerQuitEvent) - Method in class com.storytimeproductions.stweaks.listeners.PlayerActivityListener
-
Handles the player quit event.
- onPlayerShearSheep(PlayerShearEntityEvent) - Method in class com.storytimeproductions.models.stgames.challenges.ShearSheepChallenge
-
Handles the event when a player shears a sheep.
- onPlayerToggleSneak(PlayerToggleSneakEvent) - Method in class com.storytimeproductions.stweaks.listeners.GameManagerListener
-
Dispatches sneak toggle events to each minigame the player is in.
- onSneak(PlayerToggleSneakEvent) - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Called when a player in this game toggles sneak.
- onSneak(PlayerToggleSneakEvent) - Method in class com.storytimeproductions.stweaks.games.GymGame
-
Handles player crouch (sneak) actions to detect squat interactions.
- openCosmeticView(Player, Cosmetic, int) - Static method in class com.storytimeproductions.stweaks.commands.CosmeticsMenuCommand
-
Opens a detailed view of a specific cosmetic for the player.
- openMainMenu(Player, int) - Static method in class com.storytimeproductions.stweaks.commands.CosmeticsMenuCommand
-
Opens the main cosmetics menu for the player at the specified page.
- openMainPetsMenu(Player, int) - Method in class com.storytimeproductions.stweaks.commands.PetsMenuCommand
-
Opens the main pets menu for the player with pagination.
- openPetView(Player, Pet, int) - Method in class com.storytimeproductions.stweaks.commands.PetsMenuCommand
-
Opens the detailed pet view menu for a specific pet.
- openPlayerManageInventory(Player, Player, Plugin) - Static method in class com.storytimeproductions.stweaks.commands.StStatusCommand
-
Opens a 27-slot inventory for the admin to manage another player's playtime.
- openQuestViewMenu(Player, Quest, int) - Method in class com.storytimeproductions.stweaks.commands.QuestMenuCommand
-
Opens a detailed view of a specific quest for the player.
P
- ParkourGame - Class in com.storytimeproductions.stweaks.games
-
ParkourGame: Players are teleported to the start area.
- ParkourGame(GameConfig) - Constructor for class com.storytimeproductions.stweaks.games.ParkourGame
-
Constructs a ParkourGame instance.
- Pet - Class in com.storytimeproductions.models
-
Represents a custom pet in the plugin, which includes metadata such as a subtitle, special perk behavior, sound effects, quotes, required food, and a crafting recipe.
- Pet(String, String, String, List, List, Material, List) - Constructor for class com.storytimeproductions.models.Pet
-
Constructs a new Pet object with the provided attributes.
- PetsListener - Class in com.storytimeproductions.stweaks.listeners
-
Listener that manages pet activity, hunger, and perks for players.
- PetsListener(JavaPlugin, PetsManager) - Constructor for class com.storytimeproductions.stweaks.listeners.PetsListener
-
Constructs the PetsListener and starts the periodic pet action task.
- PetsManager - Class in com.storytimeproductions.stweaks.util
-
Manages the loading and retrieval of pets from the pets.yml configuration file.
- PetsManager(JavaPlugin) - Constructor for class com.storytimeproductions.stweaks.util.PetsManager
-
Constructs a PetsManager instance.
- PetsMenuCommand - Class in com.storytimeproductions.stweaks.commands
-
Command handler for the pets menu.
- PetsMenuCommand(JavaPlugin, PetsManager) - Constructor for class com.storytimeproductions.stweaks.commands.PetsMenuCommand
-
Constructs the PetsMenuCommand.
- PetsMenuListener - Class in com.storytimeproductions.stweaks.listeners
-
Handles interactions with the pet-related GUIs: - The main pets menu that lists all available pets.
- PetsMenuListener(Plugin, PetsManager, PetsMenuCommand) - Constructor for class com.storytimeproductions.stweaks.listeners.PetsMenuListener
-
Constructs the PetsMenuListener.
- PlaceBlockOnConcreteChallenge - Class in com.storytimeproductions.models.stgames.challenges
-
This class is a placeholder for the PlaceBlockOnConcreteChallenge.
- PlaceBlockOnConcreteChallenge() - Constructor for class com.storytimeproductions.models.stgames.challenges.PlaceBlockOnConcreteChallenge
- PlayerActivityListener - Class in com.storytimeproductions.stweaks.listeners
-
Listens for player movement and connection events to track activity and manage UI elements.
- PlayerActivityListener(JavaPlugin) - Constructor for class com.storytimeproductions.stweaks.listeners.PlayerActivityListener
-
Constructs a new
PlayerActivityListenerand starts a repeating task to check AFK statuses. - PlayerSizeConsumable - Class in com.storytimeproductions.stweaks.consumables
-
Represents a consumable item that allows players to change their own size using /entitysize 'size'.
- PlayerSizeConsumable() - Constructor for class com.storytimeproductions.stweaks.consumables.PlayerSizeConsumable
- PlaytimeData - Class in com.storytimeproductions.stweaks.playtime
-
Represents the playtime data for a player.
- PlaytimeData() - Constructor for class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Constructs a PlaytimeData object with zero available seconds and not AFK.
- PlaytimeData(double) - Constructor for class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Constructs a PlaytimeData object with a predefined number of available seconds.
- playtimeMap - Static variable in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
- PlaytimeTracker - Class in com.storytimeproductions.stweaks.playtime
-
Manages and tracks the playtime of players on the server.
- PlaytimeTracker() - Constructor for class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
- previewPet(Player, Pet) - Method in class com.storytimeproductions.stweaks.commands.PetsMenuCommand
-
Previews a pet by playing a random sound and showing a random quote.
- PunchPigChallenge - Class in com.storytimeproductions.models.stgames.challenges
-
A challenge where players must punch five named pigs.
- PunchPigChallenge(List) - Constructor for class com.storytimeproductions.models.stgames.challenges.PunchPigChallenge
-
Constructs a PunchPigChallenge using spawn regions.
Q
- Quest - Class in com.storytimeproductions.models
-
Represents a quest that a player can complete in the game.
- Quest(String, String, String, List, List, List, List, LocalDateTime, Material) - Constructor for class com.storytimeproductions.models.Quest
-
Constructs a new Quest object with the specified parameters.
- QuestMenuCommand - Class in com.storytimeproductions.stweaks.commands
-
Handles the "/questmenu" command to open a graphical quest menu interface for players.
- QuestMenuCommand(QuestsManager) - Constructor for class com.storytimeproductions.stweaks.commands.QuestMenuCommand
-
Constructs the command executor with a reference to the QuestsManager.
- QuestMenuListener - Class in com.storytimeproductions.stweaks.listeners
-
QuestMenuListener handles player interactions within custom quest-related GUIs, including the Quest Menu (listing quests with pagination) and the Quest View (detailed view of a selected quest).
- QuestMenuListener(Plugin, QuestsManager, QuestMenuCommand) - Constructor for class com.storytimeproductions.stweaks.listeners.QuestMenuListener
-
Constructs a new QuestMenuListener.
- QuestsManager - Class in com.storytimeproductions.stweaks.util
-
Manages the lifecycle of quests, including loading from YAML, tracking completed quests per player, and querying quest availability.
- QuestsManager(DbManager, JavaPlugin) - Constructor for class com.storytimeproductions.stweaks.util.QuestsManager
-
Constructs a new QuestsManager with the given database manager and plugin instance.
R
- registerListener(Listener) - Method in class com.storytimeproductions.stweaks.Stweaks
-
Registers a Bukkit event listener for this plugin.
- reload() - Static method in class com.storytimeproductions.stweaks.config.SettingsManager
-
Reloads the plugin's configuration file.
- reloadQuests() - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Reloads all quests from the YAML file and refreshes the completed quests mapping from the database.
- removeBossBar(Player) - Static method in class com.storytimeproductions.stweaks.util.BossBarManager
-
Removes a player's boss bar (e.g., on logout).
- removeItems(Player) - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Removes all game-related items from the player's inventory.
- removeItems(Player) - Method in class com.storytimeproductions.stweaks.games.BattleshipGame
- removeItems(Player) - Method in class com.storytimeproductions.stweaks.games.BlockBreakGame
- removeItems(Player) - Method in class com.storytimeproductions.stweaks.games.BlockPartyGame
- removeItems(Player) - Method in class com.storytimeproductions.stweaks.games.BombermanGame
-
Removes items from the player's inventory when they leave the game.
- removeItems(Player) - Method in class com.storytimeproductions.stweaks.games.ColorSplatGame
- removeItems(Player) - Method in class com.storytimeproductions.stweaks.games.DodgeballGame
-
Removes any items related to the game from the player's inventory.
- removeItems(Player) - Method in class com.storytimeproductions.stweaks.games.FishSlapGame
- removeItems(Player) - Method in class com.storytimeproductions.stweaks.games.GymGame
-
Removes specific items from the player's inventory as required by the minigame.
- removeItems(Player) - Method in class com.storytimeproductions.stweaks.games.HungryHungryHooksGame
- removeItems(Player) - Method in class com.storytimeproductions.stweaks.games.KothTagGame
- removeItems(Player) - Method in class com.storytimeproductions.stweaks.games.ParkourGame
- removeItems(Player) - Method in class com.storytimeproductions.stweaks.games.RouletteGame
- removeItems(Player) - Method in class com.storytimeproductions.stweaks.games.SpleefGame
- removeItems(Player) - Method in class com.storytimeproductions.stweaks.games.StoryBlitz
- render() - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Renders the minigame state.
- render() - Method in class com.storytimeproductions.stweaks.games.BattleshipGame
-
Renders the game state.
- render() - Method in class com.storytimeproductions.stweaks.games.BlockBreakGame
-
Renders the game state.
- render() - Method in class com.storytimeproductions.stweaks.games.BlockPartyGame
- render() - Method in class com.storytimeproductions.stweaks.games.BombermanGame
-
Renders the game state.
- render() - Method in class com.storytimeproductions.stweaks.games.ColorSplatGame
-
Renders the game state.
- render() - Method in class com.storytimeproductions.stweaks.games.DodgeballGame
-
Renders the game state.
- render() - Method in class com.storytimeproductions.stweaks.games.FishSlapGame
-
Renders the game state.
- render() - Method in class com.storytimeproductions.stweaks.games.GymGame
-
Renders any visual elements or updates required by the minigame.
- render() - Method in class com.storytimeproductions.stweaks.games.HungryHungryHooksGame
-
Renders the game state to all players.
- render() - Method in class com.storytimeproductions.stweaks.games.KothTagGame
-
Renders the game state.
- render() - Method in class com.storytimeproductions.stweaks.games.ParkourGame
- render() - Method in class com.storytimeproductions.stweaks.games.RouletteGame
-
Renders the game state.
- render() - Method in class com.storytimeproductions.stweaks.games.SpleefGame
-
Renders the game state.
- render() - Method in class com.storytimeproductions.stweaks.games.StoryBlitz
-
Renders the game state.
- reset() - Method in class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Resets the available seconds to zero.
- resetAllCounts() - Method in class com.storytimeproductions.stweaks.games.GymGame
-
Resets all gym station counts and displays back to the goal value.
- resetPlaytime(UUID) - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Resets the recorded available seconds for a specific player.
- RidePigChallenge - Class in com.storytimeproductions.models.stgames.challenges
-
A challenge where players must mount a pig with a saddle.
- RidePigChallenge(List) - Constructor for class com.storytimeproductions.models.stgames.challenges.RidePigChallenge
-
Constructs a RidePigChallenge using the provided spawn regions.
- RouletteGame - Class in com.storytimeproductions.stweaks.games
-
Roulette game with three tables, each represented by a wall block.
- RouletteGame(GameConfig) - Constructor for class com.storytimeproductions.stweaks.games.RouletteGame
-
Constructs a new RouletteGame with the specified configuration.
S
- saveConfig() - Static method in class com.storytimeproductions.stweaks.config.SettingsManager
-
Saves the config.
- saveToDatabase(Connection) - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Saves the in-memory playtime data to the SQLite database.
- sendPlaytimeWarningTitle(Player, int) - Static method in class com.storytimeproductions.stweaks.util.TablistManager
-
Sends a warning title to the player when their playtime is about to end, based on the time remaining.
- sendRandomPetMessage(Player) - Method in class com.storytimeproductions.models.Pet
-
Sends a random quote as a message and plays a random sound from burpSounds for the player.
- setAfk(boolean) - Method in class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Sets the player's AFK status.
- setAfk(UUID, boolean) - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Sets the AFK status for a specific player.
- setAvailableSeconds(double) - Method in class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Sets the total available seconds for the player.
- setBankedTickets(int) - Method in class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Sets the number of banked 5-minute tickets for the player.
- setKickOnAfkTimeout(boolean) - Method in class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Sets whether the player should be kicked on AFK timeout.
- setLastHourChecked(Integer) - Method in class com.storytimeproductions.stweaks.playtime.PlaytimeData
-
Sets the last hour checked for daily playtime reset.
- setPlaytime(UUID, PlaytimeData) - Static method in class com.storytimeproductions.stweaks.playtime.PlaytimeTracker
-
Sets or replaces the current playtime data for a player.
- SettingsManager - Class in com.storytimeproductions.stweaks.config
-
A utility class for managing player-specific configuration settings.
- SettingsManager() - Constructor for class com.storytimeproductions.stweaks.config.SettingsManager
- SetWarpConsumable - Class in com.storytimeproductions.stweaks.consumables
-
Consumable item that allows a player to use /setwarp with a warp name.
- SetWarpConsumable() - Constructor for class com.storytimeproductions.stweaks.consumables.SetWarpConsumable
- ShearSheepChallenge - Class in com.storytimeproductions.models.stgames.challenges
-
A challenge where players must shear a sheep.
- ShearSheepChallenge(List) - Constructor for class com.storytimeproductions.models.stgames.challenges.ShearSheepChallenge
-
Constructs a ShearSheepChallenge using the provided spawn regions.
- shouldQuit() - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Determines if the minigame should quit.
- shouldQuit() - Method in class com.storytimeproductions.stweaks.games.BattleshipGame
-
Determines if the game should quit.
- shouldQuit() - Method in class com.storytimeproductions.stweaks.games.BlockBreakGame
-
Determines if the game should quit.
- shouldQuit() - Method in class com.storytimeproductions.stweaks.games.BlockPartyGame
-
Determines if the game should quit.
- shouldQuit() - Method in class com.storytimeproductions.stweaks.games.BombermanGame
-
Determines if the game should quit.
- shouldQuit() - Method in class com.storytimeproductions.stweaks.games.ColorSplatGame
-
Determines if the game should quit.
- shouldQuit() - Method in class com.storytimeproductions.stweaks.games.DodgeballGame
-
Determines if the game should quit.
- shouldQuit() - Method in class com.storytimeproductions.stweaks.games.FishSlapGame
-
Determines if the game should quit.
- shouldQuit() - Method in class com.storytimeproductions.stweaks.games.GymGame
-
Determines whether the game should end or quit.
- shouldQuit() - Method in class com.storytimeproductions.stweaks.games.HungryHungryHooksGame
-
Determines if the game should quit.
- shouldQuit() - Method in class com.storytimeproductions.stweaks.games.KothTagGame
-
Determines if the game should quit.
- shouldQuit() - Method in class com.storytimeproductions.stweaks.games.ParkourGame
- shouldQuit() - Method in class com.storytimeproductions.stweaks.games.RouletteGame
- shouldQuit() - Method in class com.storytimeproductions.stweaks.games.SpleefGame
-
Determines if the game should quit.
- shouldQuit() - Method in class com.storytimeproductions.stweaks.games.StoryBlitz
-
Determines if the game should quit.
- shouldTeleportOnExit() - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Returns true if players should be teleported to the exit area when the game ends.
- shouldTeleportOnExit() - Method in class com.storytimeproductions.stweaks.games.GymGame
- shouldTeleportOnExit() - Method in class com.storytimeproductions.stweaks.games.ParkourGame
- shouldTeleportOnExit() - Method in class com.storytimeproductions.stweaks.games.RouletteGame
- slot - Variable in class com.storytimeproductions.models.stgames.BetInfo
- SmithingTableConsumable - Class in com.storytimeproductions.stweaks.consumables
-
Represents a consumable item that allows players to open a smithing table anywhere.
- SmithingTableConsumable() - Constructor for class com.storytimeproductions.stweaks.consumables.SmithingTableConsumable
- SnowballChallenge - Class in com.storytimeproductions.models.stgames.challenges
-
A challenge where players must hit another player with a snowball.
- SnowballChallenge(List) - Constructor for class com.storytimeproductions.models.stgames.challenges.SnowballChallenge
-
Constructs a SnowballChallenge using the provided spawn regions.
- SpleefGame - Class in com.storytimeproductions.stweaks.games
-
Represents a Spleef game where players can dig blocks to make opponents fall.
- SpleefGame(GameConfig) - Constructor for class com.storytimeproductions.stweaks.games.SpleefGame
-
Constructs a new Spleef game with the specified configuration.
- start(List) - Method in class com.storytimeproductions.models.stgames.challenges.BellRingChallenge
- start(List) - Method in class com.storytimeproductions.models.stgames.challenges.BreakBlockChallenge
-
Starts the challenge for the given players.
- start(List) - Method in class com.storytimeproductions.models.stgames.challenges.CraftItemChallenge
- start(List) - Method in class com.storytimeproductions.models.stgames.challenges.EmptyInventoryChallenge
-
Returns the name of the challenge.
- start(List) - Method in class com.storytimeproductions.models.stgames.challenges.HatSwitchChallenge
- start(List) - Method in class com.storytimeproductions.models.stgames.challenges.KillPlayerChallenge
-
Starts the challenge by teleporting players to the top of the tower and registering the event listener.
- start(List) - Method in class com.storytimeproductions.models.stgames.challenges.LadderClimbChallenge
- start(List) - Method in class com.storytimeproductions.models.stgames.challenges.PunchPigChallenge
-
Starts the challenge by spawning five named pigs and registering the event listener.
- start(List) - Method in class com.storytimeproductions.models.stgames.challenges.RidePigChallenge
-
Starts the challenge by spawning pigs at random locations.
- start(List) - Method in class com.storytimeproductions.models.stgames.challenges.ShearSheepChallenge
- start(List) - Method in class com.storytimeproductions.models.stgames.challenges.SnowballChallenge
- start(List) - Method in interface com.storytimeproductions.models.stgames.challenges.StoryBlitzChallenge
-
Called when the challenge starts for the given players.
- StCasinoCommand - Class in com.storytimeproductions.stweaks.commands
-
Handles the /casino command, teleporting the player to the "casino" world using Multiverse.
- StCasinoCommand(FileConfiguration) - Constructor for class com.storytimeproductions.stweaks.commands.StCasinoCommand
-
Constructs a new StCasinoCommand with access to the plugin's configuration.
- StLobbyCommand - Class in com.storytimeproductions.stweaks.commands
-
Command that teleports a player to the lobby world and then to specific coordinates.
- StLobbyCommand(FileConfiguration) - Constructor for class com.storytimeproductions.stweaks.commands.StLobbyCommand
-
Constructs a new StLobbyCommand with access to the plugin's configuration.
- StoryBlitz - Class in com.storytimeproductions.stweaks.games
-
Represents a StoryBlitz game.
- StoryBlitz(GameConfig) - Constructor for class com.storytimeproductions.stweaks.games.StoryBlitz
-
Constructs a new StoryBlitz game with the specified configuration.
- StoryBlitzChallenge - Interface in com.storytimeproductions.models.stgames.challenges
-
Represents a single challenge in StoryBlitz.
- StSpawnCommand - Class in com.storytimeproductions.stweaks.commands
-
Command that teleports a player to a configured spawn location in the "world" world.
- StSpawnCommand(FileConfiguration) - Constructor for class com.storytimeproductions.stweaks.commands.StSpawnCommand
-
Constructs a new StSpawnCommand using the provided configuration file.
- StStatusCommand - Class in com.storytimeproductions.stweaks.commands
-
Command for checking the player's current playtime status.
- StStatusCommand(JavaPlugin) - Constructor for class com.storytimeproductions.stweaks.commands.StStatusCommand
-
Constructor for the StStatusCommand class.
- Stweaks - Class in com.storytimeproductions.stweaks
-
Main class for the Stweaks, a plugin designed to manage and track player playtime, enforce playtime requirements, and handle other gameplay enhancements.
- Stweaks() - Constructor for class com.storytimeproductions.stweaks.Stweaks
- SurvivalRewardManager - Class in com.storytimeproductions.stweaks.managers
-
Gives portal-unlocked players the StoryTime Guide (slot 3) and Threshold Key (slot 5) when they enter the survival world, and handles right-click interactions for both items.
- SurvivalRewardManager(Stweaks) - Constructor for class com.storytimeproductions.stweaks.managers.SurvivalRewardManager
-
Constructs a new SurvivalRewardManager.
- syncAndLoadBiomeItems(Set) - Method in class com.storytimeproductions.stweaks.util.BiomeTrackerManager
-
Synchronizes and loads the biome-to-item mapping from the biome_item.yml configuration file.
T
- table - Variable in class com.storytimeproductions.models.stgames.BetInfo
- TablistManager - Class in com.storytimeproductions.stweaks.util
-
Utility class responsible for updating the tab list header and footer for players on the server.
- TablistManager() - Constructor for class com.storytimeproductions.stweaks.util.TablistManager
- tag(Player, Player) - Method in class com.storytimeproductions.stweaks.games.KothTagGame
-
Tags a player as "it" in the game.
- TimeUtils - Class in com.storytimeproductions.stweaks.util
-
A utility class for time-related functions in the plugin.
- TimeUtils() - Constructor for class com.storytimeproductions.stweaks.util.TimeUtils
- toString() - Method in class com.storytimeproductions.models.Quest
-
Returns a string representation of the quest, including ID, name, lore, requirements, rewards, required players, and deadline.
U
- unsetQuestCompletion(UUID, String) - Method in class com.storytimeproductions.stweaks.util.QuestsManager
-
Unsets the completion status of a quest for a specific player, both in memory and in the database.
- update() - Method in interface com.storytimeproductions.models.stgames.Minigame
-
Updates the minigame state.
- update() - Method in class com.storytimeproductions.stweaks.games.BattleshipGame
-
Updates the game state.
- update() - Method in class com.storytimeproductions.stweaks.games.BlockBreakGame
-
Updates the game state.
- update() - Method in class com.storytimeproductions.stweaks.games.BlockPartyGame
- update() - Method in class com.storytimeproductions.stweaks.games.BombermanGame
-
Updates the game state.
- update() - Method in class com.storytimeproductions.stweaks.games.ColorSplatGame
-
Updates the game state.
- update() - Method in class com.storytimeproductions.stweaks.games.DodgeballGame
-
Updates the game state.
- update() - Method in class com.storytimeproductions.stweaks.games.FishSlapGame
-
Updates the game state.
- update() - Method in class com.storytimeproductions.stweaks.games.GymGame
-
Updates the game state.
- update() - Method in class com.storytimeproductions.stweaks.games.HungryHungryHooksGame
-
Updates the game state.
- update() - Method in class com.storytimeproductions.stweaks.games.KothTagGame
-
Updates the game state.
- update() - Method in class com.storytimeproductions.stweaks.games.ParkourGame
- update() - Method in class com.storytimeproductions.stweaks.games.RouletteGame
-
Initializes the hologram lines for each slot at each table.
- update() - Method in class com.storytimeproductions.stweaks.games.SpleefGame
-
Updates the game state.
- update() - Method in class com.storytimeproductions.stweaks.games.StoryBlitz
-
Updates the game state.
- updateBossBar(Player) - Static method in class com.storytimeproductions.stweaks.util.BossBarManager
-
Updates the Boss Bar for the given player to reflect their live playtime countdown.
- updateTablist(Player, double) - Static method in class com.storytimeproductions.stweaks.util.TablistManager
-
Updates the tab list for the given player with a custom header and footer.
- updateTablistTimer(Player, double) - Static method in class com.storytimeproductions.stweaks.listeners.PlayerActivityListener
-
Updates the player's Tab list name to include their remaining time.
W
- WorkbenchConsumable - Class in com.storytimeproductions.stweaks.consumables
-
Represents a consumable item that allows players to open a workbench anywhere.
- WorkbenchConsumable() - Constructor for class com.storytimeproductions.stweaks.consumables.WorkbenchConsumable
- world - Variable in class com.storytimeproductions.models.stgames.Cuboid
X
- x1 - Variable in class com.storytimeproductions.models.stgames.Cuboid
- x2 - Variable in class com.storytimeproductions.models.stgames.Cuboid
Y
- y1 - Variable in class com.storytimeproductions.models.stgames.Cuboid
- y2 - Variable in class com.storytimeproductions.models.stgames.Cuboid
Z
- z1 - Variable in class com.storytimeproductions.models.stgames.Cuboid
- z2 - Variable in class com.storytimeproductions.models.stgames.Cuboid
All Classes and Interfaces|All Packages