Index
All Classes|All Packages|Constant Field Values
G
- GAME_EXCEPTION_DATA_UPDATE - Static variable in class com.minigameworld.util.Setting
- GameA - Class in com.minigameworld.dev
- GameA() - Constructor for class com.minigameworld.dev.GameA
- GameEvent - Annotation Interface in com.minigameworld.managers.event
- GameEvent.State - Enum Class in com.minigameworld.managers.event
- gameEventHandlers(Class<?>) - Static method in class com.minigameworld.managers.event.GameListener
- GameEventListener - Interface in com.minigameworld.managers.event
- GameListener - Class in com.minigameworld.managers.event
- GameListener(Class<? extends Event>, GameEventListener) - Constructor for class com.minigameworld.managers.event.GameListener
- GameListenerManager - Class in com.minigameworld.managers.event
-
[Rules]
- Must register instance which processes playing game player's only (not about viewers and outers)
- If event is detectable with players byMiniGameEventDetector
, the event will be only passed to the player's playing game listeners.
- If event is not detectable with players byMiniGameEventDetector
, the event will be passed to all listeners related with event.
In thisGameListenerManager
class, useGameListenerManager.getListeners(Class)
to get listeners with event
[Listener registration tutorial]
If listener related with minigame needs to handle events
1. - GameListenerManager(MiniGameEventDetector) - Constructor for class com.minigameworld.managers.event.GameListenerManager
- gamePlayer(Player) - Method in class com.minigameworld.frames.MiniGame
-
Get PlayerData
- gamePlayers() - Method in class com.minigameworld.api.MiniGameAccessor
-
Gets copied PlayerData list in minigame (Data change will not be applied)
- gamePlayers() - Method in class com.minigameworld.frames.MiniGame
-
Get all player data list
- games(CommandSender, String[]) - Method in class com.minigameworld.commands.MiniGameGamesConfigCommand
- GAMES_ACTIVE - Static variable in class com.minigameworld.util.Setting
- GAMES_CUSTOM_DATA - Static variable in class com.minigameworld.util.Setting
- GAMES_FINISH_DELAY - Static variable in class com.minigameworld.util.Setting
- GAMES_ICON - Static variable in class com.minigameworld.util.Setting
- GAMES_INSTANCE_WORLD - Static variable in class com.minigameworld.util.Setting
- GAMES_INSTANCES - Static variable in class com.minigameworld.util.Setting
- GAMES_LOCATIONS - Static variable in class com.minigameworld.util.Setting
- GAMES_MAX_PLAYERS - Static variable in class com.minigameworld.util.Setting
- GAMES_MIN_PLAYERS - Static variable in class com.minigameworld.util.Setting
- GAMES_PLAY_TIME - Static variable in class com.minigameworld.util.Setting
- GAMES_SCOREBOARD - Static variable in class com.minigameworld.util.Setting
- GAMES_TITLE - Static variable in class com.minigameworld.util.Setting
- GAMES_TUTORIAL - Static variable in class com.minigameworld.util.Setting
- GAMES_VIEW - Static variable in class com.minigameworld.util.Setting
- GAMES_WAITING_TIME - Static variable in class com.minigameworld.util.Setting
- GameViewEventListener - Class in com.minigameworld.listeners
-
If player can be checked with event, use
GameViewEventListener.getViewingManager(Player)
and pass event.
If player can not be checked, just pass to the all minigame view managers - GameViewEventListener() - Constructor for class com.minigameworld.listeners.GameViewEventListener
- get(MiniGameCustomOption.Option) - Method in class com.minigameworld.frames.helpers.MiniGameCustomOption
- getArea() - Method in class com.minigameworld.events.menu.MenuClickEvent
- getBackupDir() - Method in class com.minigameworld.managers.DataManager
- getClassName() - Method in class com.minigameworld.frames.helpers.MiniGameDataManager
- getClick() - Method in class com.minigameworld.events.menu.MenuClickEvent
- getColor() - Method in class com.minigameworld.frames.TeamBattleMiniGame.Team
-
Gets team color
- getColoredTeamName() - Method in class com.minigameworld.frames.TeamBattleMiniGame.Team
- getConfig() - Method in class com.minigameworld.managers.language.LanguageFile
- getCreationTime() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getCurrentScoreboardType() - Method in class com.minigameworld.frames.helpers.scoreboard.MiniGameScoreboardManager
- getCurrentScoreboardUpdater() - Method in class com.minigameworld.frames.helpers.scoreboard.MiniGameScoreboardManager
-
Get current scoreboard updater
- getCustomData() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getData() - Method in class com.minigameworld.frames.helpers.MiniGameDataManager
- getDataFolder() - Static method in class com.minigameworld.util.Utils
- getDefaultLocation() - Static method in class com.minigameworld.util.Utils
-
Default minigame location
- getDefaultMessageKey() - Method in class com.minigameworld.util.Messenger
- getDifferent(String, String) - Static method in class com.minigameworld.util.VersionChecker
- getEventDetector() - Method in class com.minigameworld.managers.MiniGameManager
- getFileName() - Method in class com.minigameworld.frames.helpers.MiniGameDataManager
- getFileName() - Method in class com.minigameworld.managers.language.LanguageFile
- getFileName() - Method in class com.minigameworld.managers.MiniGameManager
- getFileSetting() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getFinishDelay() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getFinishTime() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getGameFinishCondition() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getGameFinishConditionPlayerCount() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getGameListenerManager() - Method in class com.minigameworld.managers.MiniGameManager
- getHandlerList() - Static method in class com.minigameworld.events.menu.MenuEvent
- getHandlerList() - Static method in class com.minigameworld.events.minigame.MiniGameEvent
- getHandlers() - Method in class com.minigameworld.events.menu.MenuEvent
- getHandlers() - Method in class com.minigameworld.events.minigame.MiniGameEvent
- getIcon() - Method in class com.minigameworld.events.menu.MenuClickEvent
- getIcon() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getId() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getInGame(Player) - Static method in class com.minigameworld.api.MwUtil
-
Get minigame player is in(playing or viewing) any minigame
- getInGame(Player) - Method in class com.minigameworld.managers.MiniGameManager
- getInGamePlayers(List<Player>) - Static method in class com.minigameworld.api.MwUtil
-
Get players who are in(playing or viewing) a minigame
- getInGamePlayers(List<Player>, boolean) - Static method in class com.minigameworld.api.MwUtil
-
Get players who are in(playing or viewing) a minigame (reverse option)
- getInstance() - Static method in class com.minigameworld.managers.MiniGameManager
- getInstance() - Static method in class com.minigameworld.MiniGameWorldMain
- getInstanceGame(Class<?>, String) - Static method in class com.minigameworld.api.MwUtil
-
Get instance game with class simple name and minigame id
- getInstanceGame(Class<?>, String) - Method in class com.minigameworld.managers.MiniGameManager
-
Get instance game with class simple name and minigame id
- getInstanceGame(String, String) - Static method in class com.minigameworld.api.MwUtil
-
Get instance game with title and minigame id
- getInstanceGame(String, String) - Method in class com.minigameworld.managers.MiniGameManager
-
Get instance game with title and minigame id
- getInstanceGames() - Method in class com.minigameworld.managers.MiniGameManager
- getInstances() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getInventoryClickEvent() - Method in class com.minigameworld.events.menu.MenuClickEvent
- getItem() - Method in enum class com.minigameworld.managers.menu.MiniGameMenu.BaseIcon
- getKeyString() - Method in enum class com.minigameworld.frames.helpers.MiniGameCustomOption.Option
- getKickVotesCount() - Method in class com.minigameworld.managers.party.PartyMember
-
Gets kick votes count
- getKickVotesCount(Player) - Method in class com.minigameworld.managers.party.Party
-
Gets kick votes count of player
- getLanguage() - Method in class com.minigameworld.managers.language.LanguageFile
- getLanguageFile(String) - Method in class com.minigameworld.managers.language.LanguageManager
- getLeftPlayTime() - Method in class com.minigameworld.frames.helpers.MiniGameTaskManager
- getLeftWaitingTime() - Method in class com.minigameworld.frames.helpers.MiniGameTaskManager
- getLiveMemberCount() - Method in class com.minigameworld.frames.TeamBattleMiniGame.Team
-
Gets live members count
- getLiveMembers() - Method in class com.minigameworld.frames.TeamBattleMiniGame.Team
-
Gets live member list
- getLiveTeamCount() - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets live teams count
- getLiveTeams() - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets live teams
- getLocation() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getLocations() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getMaxPlayerCountTeam() - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets team which has maximum team player count
- getMaxPlayers() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getMemberCount() - Method in class com.minigameworld.frames.TeamBattleMiniGame.Team
-
Gets members count
- getMembers() - Method in class com.minigameworld.frames.TeamBattleMiniGame.Team
-
Gets team members
- getMembers() - Method in class com.minigameworld.managers.party.Party
-
Gets member list
- getMembers(Player) - Method in class com.minigameworld.managers.party.PartyManager
-
Gets player's party member list
- getMembersName() - Method in class com.minigameworld.frames.TeamBattleMiniGame.Team
-
Gets all members name string
- getMenu() - Method in class com.minigameworld.events.menu.MenuEvent
- getMenuManager() - Method in class com.minigameworld.managers.MiniGameManager
- getMessage(String) - Method in class com.minigameworld.managers.language.LanguageFile
- getMessage(String, String) - Method in class com.minigameworld.managers.language.LanguageManager
- getMessagesDir() - Static method in class com.minigameworld.api.MwUtil
-
Get "plugins/MiniGameWorld/messages" directory
- getMessagesDir() - Static method in class com.minigameworld.util.Utils
- getMiniGame() - Method in class com.minigameworld.events.minigame.instance.MiniGameInstanceCreateEvent
-
Get template minigame, not created instance minigame
- getMiniGame() - Method in class com.minigameworld.events.minigame.MiniGameEvent
-
Get minigame accessor
- getMiniGameFile() - Method in class com.minigameworld.frames.helpers.MiniGameDataManager
- getMiniGamesDir() - Static method in class com.minigameworld.api.MwUtil
-
Get "plugins/MiniGameWorld/minigames" directory
- getMiniGamesDir() - Static method in class com.minigameworld.util.Utils
- getMinPlayerCountTeam() - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets team which has minimum player count
- getMinPlayers() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getMsg(Player, String) - Static method in class com.minigameworld.util.LangUtils
- getMsg(Player, String) - Method in class com.minigameworld.util.Messenger
- getMsg(Player, String, boolean) - Static method in class com.minigameworld.util.LangUtils
- getMsg(Player, String, boolean, String[][]) - Static method in class com.minigameworld.util.LangUtils
- getMsg(Player, String, String[][]) - Static method in class com.minigameworld.util.LangUtils
- getMsg(Player, String, String[][]) - Method in class com.minigameworld.util.Messenger
- getName() - Method in class com.minigameworld.frames.TeamBattleMiniGame.Team
-
Gets team name
- getNotUsingLocations() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getPartyCountOfPlayers(List<Player>) - Static method in class com.minigameworld.managers.party.PartyManager
-
Get party count between the players
- getPartyManager() - Method in class com.minigameworld.managers.MiniGameManager
- getPartyMember(Player) - Method in class com.minigameworld.managers.party.Party
-
Gets member list
- getPlayer() - Method in class com.minigameworld.events.menu.MenuClickEvent
- getPlayer() - Method in class com.minigameworld.events.menu.MenuCloseEvent
- getPlayer() - Method in class com.minigameworld.events.menu.MenuOpenEvent
- getPlayer() - Method in class com.minigameworld.events.minigame.MiniGamePlayerExceptionEvent
-
Get player
- getPlayer() - Method in class com.minigameworld.events.minigame.player.MiniGamePlayerEvent
- getPlayer() - Method in class com.minigameworld.frames.helpers.MiniGamePlayer
-
Gets a player
- getPlayer() - Method in class com.minigameworld.frames.helpers.MiniGamePlayerState
- getPlayer() - Method in class com.minigameworld.managers.party.PartyMember
-
Gets player
- getPlayerParty(Player) - Method in class com.minigameworld.managers.party.PartyManager
-
Gets player's party
- getPlayers() - Method in class com.minigameworld.frames.helpers.MiniGamePlayer
- getPlayers() - Method in interface com.minigameworld.frames.helpers.MiniGameRank
-
Gets rank players
- getPlayers() - Method in class com.minigameworld.frames.TeamBattleMiniGame.Team
- getPlayers() - Method in class com.minigameworld.frames.TeamMiniGame.OneTeam
- getPlayersFromEvent(Event) - Method in interface com.minigameworld.api.MiniGameExternalEventDetector
-
Returns players related with event
[IMPORTANT] Event will be passed to minigame if player list is not empty - getPlayingGame(Player) - Static method in class com.minigameworld.api.MwUtil
-
Gets player's playing minigame
- getPlayingGame(Player) - Method in class com.minigameworld.managers.MiniGameManager
-
Get playing instance minigame
- getPlayingGamePlayers(List<Player>) - Static method in class com.minigameworld.api.MwUtil
-
Get players who are playing a minigame
- getPlayingGamePlayers(List<Player>, boolean) - Static method in class com.minigameworld.api.MwUtil
-
Get players who are playing a minigame (reverse option)
- getPlayScoreboardUpdater() - Method in class com.minigameworld.frames.helpers.scoreboard.MiniGameScoreboardManager
- getPlayTime() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getPrefix() - Method in class com.minigameworld.util.Messenger
- getRandomLocation() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getRandomMember() - Method in class com.minigameworld.frames.TeamBattleMiniGame.Team
-
Gets random player of team members
- getRandomTeam() - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets random team
- getRandomTeam(List<TeamBattleMiniGame.Team>) - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets random team in given list
- getReason() - Method in class com.minigameworld.events.minigame.MiniGameExceptionEvent
-
Get exception reason
- getScore() - Method in class com.minigameworld.frames.helpers.MiniGamePlayer
-
Gets player's score
- getScore() - Method in interface com.minigameworld.frames.helpers.MiniGameRank
-
Gets score
- getScore() - Method in class com.minigameworld.frames.SoloMiniGame
-
Get solo player's score
- getScore() - Method in class com.minigameworld.frames.TeamBattleMiniGame.Team
-
Gets team score
- getScore() - Method in class com.minigameworld.frames.TeamMiniGame.OneTeam
- getScoreboard() - Method in class com.minigameworld.events.minigame.MiniGameScoreboardUpdateEvent
-
Get scoreboard of minigame
- getScoreboard() - Method in class com.minigameworld.frames.helpers.scoreboard.MiniGameScoreboardManager
- getServerFile(String) - Static method in class com.minigameworld.util.Utils
- getSettings() - Method in class com.minigameworld.managers.MiniGameManager
- getSidebarLastScoreLine() - Method in class com.minigameworld.frames.helpers.scoreboard.MiniGameScoreboardUpdater
-
Get last score line of sidebar objective in scoreboard
Useful when update in hook method or 3rd-party
[IMPORTANT] score line is descending order (from 0) - getSize() - Method in class com.minigameworld.managers.party.Party
-
Gets size of party members
- getSlot() - Method in class com.minigameworld.events.menu.MenuClickEvent
- getSlot() - Method in enum class com.minigameworld.managers.menu.MiniGameMenu.BaseIcon
- getSoloPlayer() - Method in class com.minigameworld.frames.SoloMiniGame
-
Returns solo player
- getStartTime() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getState() - Method in class com.minigameworld.frames.helpers.MiniGamePlayer
-
Gets player state instance
- getTaskManager() - Method in class com.minigameworld.frames.helpers.MiniGameTaskManager
- getTeam(int) - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets team
- getTeam(String) - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets team
- getTeam(Player) - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets player's team
- getTeamCount() - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets all team count
- getTeamCountLimit() - Method in class com.minigameworld.frames.TeamBattleMiniGame
- getTeamRegisterMode() - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets team register mode
- getTeams() - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets all team list
- getTeamScore() - Method in class com.minigameworld.frames.TeamMiniGame
-
Gets team score
- getTeamScore(int) - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets team score with index
- getTeamScore(String) - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets team score with team name
- getTeamScore(Player) - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Gets score of team which player belongs
- getTeamSize() - Method in class com.minigameworld.frames.TeamBattleMiniGame
-
Get team size
- getTemplateGame(Class<?>) - Static method in class com.minigameworld.api.MwUtil
-
Gets MiniGameAccessor with class name
- getTemplateGame(Class<?>) - Method in class com.minigameworld.managers.MiniGameManager
-
Get template minigame with class simple name
[USAGE] - getTemplateGame(String) - Static method in class com.minigameworld.api.MwUtil
-
Get MiniGameAccessor with title
- getTemplateGame(String) - Method in class com.minigameworld.managers.MiniGameManager
-
Get template minigame with title
- getTemplateGames() - Method in class com.minigameworld.managers.MiniGameManager
- getTitle() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getTitleTimes() - Method in class com.minigameworld.util.Messenger
- getTutorial() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getUsingLocations() - Static method in class com.minigameworld.frames.helpers.LocationManager
- getViewers() - Method in class com.minigameworld.frames.helpers.MiniGameViewManager
-
Get viewer list
- getViewingGame(Player) - Static method in class com.minigameworld.api.MwUtil
-
Get player's viewing minigame
- getViewingGame(Player) - Method in class com.minigameworld.managers.MiniGameManager
-
Get viewing instance minigame
- getViewingGamePlayers(List<Player>) - Static method in class com.minigameworld.api.MwUtil
-
Get players who are viewing a minigame
- getViewingGamePlayers(List<Player>, boolean) - Static method in class com.minigameworld.api.MwUtil
-
Get players who are viewing a minigame (reverse option)
- getWaitingScoreboardUpdater() - Method in class com.minigameworld.frames.helpers.scoreboard.MiniGameScoreboardManager
- getWaitingTime() - Method in class com.minigameworld.frames.helpers.MiniGameSetting
- getYamlManager() - Method in class com.minigameworld.managers.MiniGameManager
- give(Player, FunctionItem) - Static method in enum class com.minigameworld.util.FunctionItem
- giveAll(Player) - Static method in enum class com.minigameworld.util.FunctionItem
All Classes|All Packages|Constant Field Values