- GameAreaEnterEvent - Class in com.github.lazoyoung.craftgames.api.event
-
- GameAreaEnterEvent(game, areaName, player) - Constructor for class com.github.lazoyoung.craftgames.api.event.GameAreaEnterEvent
-
- GameAreaEnterEvent.Companion - Class in com.github.lazoyoung.craftgames.api.event
-
- GameAreaExitEvent - Class in com.github.lazoyoung.craftgames.api.event
-
- GameAreaExitEvent(game, areaName, player) - Constructor for class com.github.lazoyoung.craftgames.api.event.GameAreaExitEvent
-
- GameAreaExitEvent.Companion - Class in com.github.lazoyoung.craftgames.api.event
-
- GameEntityDamageEvent - Class in com.github.lazoyoung.craftgames.api.event
-
- GameEntityDamageEvent(game, damageEvent) - Constructor for class com.github.lazoyoung.craftgames.api.event.GameEntityDamageEvent
-
- GameEntityDamageEvent.Companion - Class in com.github.lazoyoung.craftgames.api.event
-
- GameEntityEvent - Class in com.github.lazoyoung.craftgames.api.event
-
- GameEntityEvent(game, entity) - Constructor for class com.github.lazoyoung.craftgames.api.event.GameEntityEvent
-
- GameEvent - Class in com.github.lazoyoung.craftgames.api.event
-
- GameEvent(game) - Constructor for class com.github.lazoyoung.craftgames.api.event.GameEvent
-
- GameFinishEvent - Class in com.github.lazoyoung.craftgames.api.event
-
- GameFinishEvent(game, result, team, winners) - Constructor for class com.github.lazoyoung.craftgames.api.event.GameFinishEvent
-
- GameFinishEvent.Companion - Class in com.github.lazoyoung.craftgames.api.event
-
- GameInitEvent - Class in com.github.lazoyoung.craftgames.api.event
-
This event is fired once all the modules and data is initialized.
However at this point, the map is not generated yet.
- GameInitEvent(game) - Constructor for class com.github.lazoyoung.craftgames.api.event.GameInitEvent
-
This event is fired once all the modules and data is initialized.
However at this point, the map is not generated yet.
- GameInitEvent.Companion - Class in com.github.lazoyoung.craftgames.api.event
-
- GameJoinEvent - Class in com.github.lazoyoung.craftgames.api.event
-
This event fires if a player joins game.
- GameJoinEvent(game, player, playerType) - Constructor for class com.github.lazoyoung.craftgames.api.event.GameJoinEvent
-
This event fires if a player joins game.
- GameJoinEvent.Companion - Class in com.github.lazoyoung.craftgames.api.event
-
- GameJoinPostEvent - Class in com.github.lazoyoung.craftgames.api.event
-
- GameJoinPostEvent(game, player, playerType) - Constructor for class com.github.lazoyoung.craftgames.api.event.GameJoinPostEvent
-
- GameJoinPostEvent.Companion - Class in com.github.lazoyoung.craftgames.api.event
-
- GameLeaveEvent - Class in com.github.lazoyoung.craftgames.api.event
-
- GameLeaveEvent(game, player, playerType) - Constructor for class com.github.lazoyoung.craftgames.api.event.GameLeaveEvent
-
- GameLeaveEvent.Companion - Class in com.github.lazoyoung.craftgames.api.event
-
- GameModule - Interface in com.github.lazoyoung.craftgames.api.module
-
- GameModule() - Constructor for interface com.github.lazoyoung.craftgames.api.module.GameModule
-
- GamePlayerDeathEvent - Class in com.github.lazoyoung.craftgames.api.event
-
- GamePlayerDeathEvent(playerData, game, bukkitEvent) - Constructor for class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
- GamePlayerDeathEvent.Companion - Class in com.github.lazoyoung.craftgames.api.event
-
- GamePlayerEvent - Class in com.github.lazoyoung.craftgames.api.event
-
- GamePlayerEvent(playerData, game) - Constructor for class com.github.lazoyoung.craftgames.api.event.GamePlayerEvent
-
- GamePlayerInteractEvent - Class in com.github.lazoyoung.craftgames.api.event
-
- GamePlayerInteractEvent(playerData, game, event) - Constructor for class com.github.lazoyoung.craftgames.api.event.GamePlayerInteractEvent
-
- GamePlayerInteractEvent.Companion - Class in com.github.lazoyoung.craftgames.api.event
-
- GamePlayerKillEvent - Class in com.github.lazoyoung.craftgames.api.event
-
- GamePlayerKillEvent(playerData, victim, game) - Constructor for class com.github.lazoyoung.craftgames.api.event.GamePlayerKillEvent
-
- GamePlayerKillEvent.Companion - Class in com.github.lazoyoung.craftgames.api.event
-
- GameResult - Enum in com.github.lazoyoung.craftgames.api
-
- GameScript - Class in com.github.lazoyoung.craftgames.api.script
-
- GameScript(engine, file, regex) - Constructor for class com.github.lazoyoung.craftgames.api.script.GameScript
-
- GameShopkeeper - Class in com.github.lazoyoung.craftgames.api.shopkeepers
-
- GameShopkeeper(layout, instance) - Constructor for class com.github.lazoyoung.craftgames.api.shopkeepers.GameShopkeeper
-
- GameStartEvent - Class in com.github.lazoyoung.craftgames.api.event
-
This event is triggered once every players have been teleported into field.
- GameStartEvent(game) - Constructor for class com.github.lazoyoung.craftgames.api.event.GameStartEvent
-
This event is triggered once every players have been teleported into field.
- GameStartEvent.Companion - Class in com.github.lazoyoung.craftgames.api.event
-
- GameTimeoutEvent - Class in com.github.lazoyoung.craftgames.api.event
-
- GameTimeoutEvent(game) - Constructor for class com.github.lazoyoung.craftgames.api.event.GameTimeoutEvent
-
- GameTimeoutEvent.Companion - Class in com.github.lazoyoung.craftgames.api.event
-
- get(name) - Method in class com.github.lazoyoung.craftgames.api.script.ScriptCompiler.Companion
-
- get(path, mode) - Method in class com.github.lazoyoung.craftgames.api.script.ScriptFactory.Companion
-
- getBlock(world) - Method in interface com.github.lazoyoung.craftgames.api.tag.coordinate.BlockCapture
-
- getBlockAction() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerInteractEvent
-
Returns the action type of block interaction.
- getByLabel(label) - Method in class com.github.lazoyoung.craftgames.api.tag.coordinate.TagMode.Companion
-
- getCanRespawn() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
Determines if this player can respawn or not.
- getCaptures(mapID) - Method in class com.github.lazoyoung.craftgames.api.tag.coordinate.CoordTag
-
Returns every CoordCaptureService in this game.
- getCause() - Method in class com.github.lazoyoung.craftgames.api.event.GameEntityDamageEvent
-
- getCause() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
Get the cause of this event.
- getClickedBlock() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerInteractEvent
-
Returns the clicked block
- getCoordTag(name) - Method in interface com.github.lazoyoung.craftgames.api.module.WorldModule
-
- getCost1() - Method in class com.github.lazoyoung.craftgames.api.shopkeepers.Trade
-
- getCost2() - Method in class com.github.lazoyoung.craftgames.api.shopkeepers.Trade
-
- getDamage() - Method in class com.github.lazoyoung.craftgames.api.event.GameEntityDamageEvent
-
- getDamagerBlock() - Method in class com.github.lazoyoung.craftgames.api.event.GameEntityDamageEvent
-
- getDamagerEntity() - Method in class com.github.lazoyoung.craftgames.api.event.GameEntityDamageEvent
-
- getDeadPlayers() - Method in interface com.github.lazoyoung.craftgames.api.module.PlayerModule
-
- getDebug() - Method in class com.github.lazoyoung.craftgames.api.script.GameScript
-
- getDefault() - Method in class com.github.lazoyoung.craftgames.api.script.ScriptCompiler.Companion
-
- getDropItems() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
Decide to drop items on ground upon death.
- getEngine() - Method in class com.github.lazoyoung.craftgames.api.script.GameScript
-
- getEntity() - Method in class com.github.lazoyoung.craftgames.api.event.GameEntityEvent
-
- getEventModule() - Method in interface com.github.lazoyoung.craftgames.api.module.Module
-
- getExtension() - Method in enum com.github.lazoyoung.craftgames.api.script.ScriptFactory.Engine
-
- getFile(path) - Method in interface com.github.lazoyoung.craftgames.api.module.CommandModule
-
Returns the
File which is silently created if it didn't exist there.
- getFile(path) - Method in interface com.github.lazoyoung.craftgames.api.module.ScriptModule
-
Returns the
File which is silently created if it didn't exist there.
- getGame() - Method in class com.github.lazoyoung.craftgames.api.event.GameEvent
-
- getGameModule() - Method in interface com.github.lazoyoung.craftgames.api.module.Module
-
- getHandlerList() - Method in class com.github.lazoyoung.craftgames.api.event.GameAreaEnterEvent.Companion
-
- getHandlerList() - Static method in class com.github.lazoyoung.craftgames.api.event.GameAreaEnterEvent
-
- getHandlerList() - Method in class com.github.lazoyoung.craftgames.api.event.GameAreaExitEvent.Companion
-
- getHandlerList() - Static method in class com.github.lazoyoung.craftgames.api.event.GameAreaExitEvent
-
- getHandlerList() - Method in class com.github.lazoyoung.craftgames.api.event.GameEntityDamageEvent.Companion
-
- getHandlerList() - Static method in class com.github.lazoyoung.craftgames.api.event.GameEntityDamageEvent
-
- getHandlerList() - Method in class com.github.lazoyoung.craftgames.api.event.GameFinishEvent.Companion
-
- getHandlerList() - Static method in class com.github.lazoyoung.craftgames.api.event.GameFinishEvent
-
- getHandlerList() - Method in class com.github.lazoyoung.craftgames.api.event.GameInitEvent.Companion
-
- getHandlerList() - Static method in class com.github.lazoyoung.craftgames.api.event.GameInitEvent
-
- getHandlerList() - Method in class com.github.lazoyoung.craftgames.api.event.GameJoinEvent.Companion
-
- getHandlerList() - Static method in class com.github.lazoyoung.craftgames.api.event.GameJoinEvent
-
- getHandlerList() - Method in class com.github.lazoyoung.craftgames.api.event.GameJoinPostEvent.Companion
-
- getHandlerList() - Static method in class com.github.lazoyoung.craftgames.api.event.GameJoinPostEvent
-
- getHandlerList() - Method in class com.github.lazoyoung.craftgames.api.event.GameLeaveEvent.Companion
-
- getHandlerList() - Static method in class com.github.lazoyoung.craftgames.api.event.GameLeaveEvent
-
- getHandlerList() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent.Companion
-
- getHandlerList() - Static method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
- getHandlerList() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerInteractEvent.Companion
-
- getHandlerList() - Static method in class com.github.lazoyoung.craftgames.api.event.GamePlayerInteractEvent
-
- getHandlerList() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerKillEvent.Companion
-
- getHandlerList() - Static method in class com.github.lazoyoung.craftgames.api.event.GamePlayerKillEvent
-
- getHandlerList() - Method in class com.github.lazoyoung.craftgames.api.event.GameStartEvent.Companion
-
- getHandlerList() - Static method in class com.github.lazoyoung.craftgames.api.event.GameStartEvent
-
- getHandlerList() - Method in class com.github.lazoyoung.craftgames.api.event.GameTimeoutEvent.Companion
-
- getHandlerList() - Static method in class com.github.lazoyoung.craftgames.api.event.GameTimeoutEvent
-
- getHandlers() - Method in class com.github.lazoyoung.craftgames.api.event.GameAreaEnterEvent
-
- getHandlers() - Method in class com.github.lazoyoung.craftgames.api.event.GameAreaExitEvent
-
- getHandlers() - Method in class com.github.lazoyoung.craftgames.api.event.GameEntityDamageEvent
-
- getHandlers() - Method in class com.github.lazoyoung.craftgames.api.event.GameEvent
-
- getHandlers() - Method in class com.github.lazoyoung.craftgames.api.event.GameFinishEvent
-
- getHandlers() - Method in class com.github.lazoyoung.craftgames.api.event.GameInitEvent
-
- getHandlers() - Method in class com.github.lazoyoung.craftgames.api.event.GameJoinEvent
-
- getHandlers() - Method in class com.github.lazoyoung.craftgames.api.event.GameJoinPostEvent
-
- getHandlers() - Method in class com.github.lazoyoung.craftgames.api.event.GameLeaveEvent
-
- getHandlers() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
- getHandlers() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerInteractEvent
-
- getHandlers() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerKillEvent
-
- getHandlers() - Method in class com.github.lazoyoung.craftgames.api.event.GameStartEvent
-
- getHandlers() - Method in class com.github.lazoyoung.craftgames.api.event.GameTimeoutEvent
-
- getIndex() - Method in interface com.github.lazoyoung.craftgames.api.tag.coordinate.CoordCapture
-
- getItemInHand() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerInteractEvent
-
Returns the item in hand represented by this event
- getItemModule() - Method in interface com.github.lazoyoung.craftgames.api.module.Module
-
- getItemStack() - Method in class com.github.lazoyoung.craftgames.api.tag.item.ItemTag
-
- getItemTag(name) - Method in interface com.github.lazoyoung.craftgames.api.module.ItemModule
-
- getKeepInventory() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
Decide to keep the items in inventory upon death.
- getKillerBlock() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
Get the block which killed this player.
- getKillerEntity() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
Get the entity who killed this player.
- getLabel() - Method in enum com.github.lazoyoung.craftgames.api.tag.coordinate.TagMode
-
- getLivingPlayers() - Method in interface com.github.lazoyoung.craftgames.api.module.PlayerModule
-
- getLobbyModule() - Method in interface com.github.lazoyoung.craftgames.api.module.Module
-
- getLocation(x, y, z, yaw, pitch) - Method in interface com.github.lazoyoung.craftgames.api.module.WorldModule
-
- getLogRoot() - Method in class com.github.lazoyoung.craftgames.api.script.GameScript
-
- getLootTable(key) - Method in interface com.github.lazoyoung.craftgames.api.module.ItemModule
-
- getLosers() - Method in class com.github.lazoyoung.craftgames.api.event.GameFinishEvent
-
- getMapID() - Method in interface com.github.lazoyoung.craftgames.api.module.WorldModule
-
Get current map ID.
- getMapID() - Method in interface com.github.lazoyoung.craftgames.api.tag.coordinate.CoordCapture
-
- getMobModule() - Method in interface com.github.lazoyoung.craftgames.api.module.Module
-
- getMobsInside(areaTag, callback) - Method in interface com.github.lazoyoung.craftgames.api.module.MobModule
-
Deprecated.
- getMode() - Method in class com.github.lazoyoung.craftgames.api.tag.coordinate.CoordTag
-
- getName() - Method in class com.github.lazoyoung.craftgames.api.script.GameScript
-
- getName() - Method in class com.github.lazoyoung.craftgames.api.tag.coordinate.CoordTag
-
- getName() - Method in class com.github.lazoyoung.craftgames.api.tag.item.ItemTag
-
- getNamespacedKey(livingEntity) - Method in interface com.github.lazoyoung.craftgames.api.module.MobModule
-
- getPlayer() - Method in class com.github.lazoyoung.craftgames.api.event.GameAreaEnterEvent
-
- getPlayer() - Method in class com.github.lazoyoung.craftgames.api.event.GameAreaExitEvent
-
- getPlayer() - Method in class com.github.lazoyoung.craftgames.api.event.GameJoinEvent
-
- getPlayer() - Method in class com.github.lazoyoung.craftgames.api.event.GameJoinPostEvent
-
- getPlayer() - Method in class com.github.lazoyoung.craftgames.api.event.GameLeaveEvent
-
- getPlayer() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerEvent
-
- getPlayerData() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerEvent
-
- getPlayerModule() - Method in interface com.github.lazoyoung.craftgames.api.module.Module
-
- getPlayers(team) - Method in interface com.github.lazoyoung.craftgames.api.module.TeamModule
-
- getPlayersInside(areaTag, callback) - Method in interface com.github.lazoyoung.craftgames.api.module.PlayerModule
-
Deprecated.
- getPlayersInside(areaTag, callback) - Method in interface com.github.lazoyoung.craftgames.api.module.PlayerModule
-
Inspect which
Players are inside the area.
- getPlayerTeam(player) - Method in interface com.github.lazoyoung.craftgames.api.module.TeamModule
-
- getPlayerType() - Method in class com.github.lazoyoung.craftgames.api.event.GameJoinEvent
-
- getPlayerType() - Method in class com.github.lazoyoung.craftgames.api.event.GameJoinPostEvent
-
- getPlayerType() - Method in class com.github.lazoyoung.craftgames.api.event.GameLeaveEvent
-
- getRegistry() - Method in class com.github.lazoyoung.craftgames.api.tag.coordinate.CoordTag
-
- getRemoved() - Method in class com.github.lazoyoung.craftgames.api.tag.coordinate.CoordTag
-
- getRespawnTimer() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
Get amount of time it takes to respawn this player.
- getResult() - Method in class com.github.lazoyoung.craftgames.api.event.GameFinishEvent
-
- getResult() - Method in class com.github.lazoyoung.craftgames.api.shopkeepers.Trade
-
- getScoreboard() - Method in interface com.github.lazoyoung.craftgames.api.module.TeamModule
-
- getScoreTable(objective) - Method in interface com.github.lazoyoung.craftgames.api.module.TeamModule
-
Score table records the total score of each team.
- getScript(fileName, mode) - Method in interface com.github.lazoyoung.craftgames.api.module.ScriptModule
-
- getScriptModule() - Method in interface com.github.lazoyoung.craftgames.api.module.Module
-
- getShopkeeper(entity) - Method in interface com.github.lazoyoung.craftgames.api.module.MobModule
-
- getSpawnpoint() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
- getTagName() - Method in class com.github.lazoyoung.craftgames.api.event.GameAreaEnterEvent
-
- getTagName() - Method in class com.github.lazoyoung.craftgames.api.event.GameAreaExitEvent
-
- getTeamModule() - Method in interface com.github.lazoyoung.craftgames.api.module.Module
-
- getTime(absolute) - Method in interface com.github.lazoyoung.craftgames.api.module.WorldModule
-
Get world time.
- getTimer() - Method in interface com.github.lazoyoung.craftgames.api.module.GameModule
-
- getTopPlayerScore(objective) - Method in interface com.github.lazoyoung.craftgames.api.module.TeamModule
-
Find which
Player has the most
Score compared to others.
- getTopTeams(objective) - Method in interface com.github.lazoyoung.craftgames.api.module.TeamModule
-
Find which team(s) have the most
Score compared to others.
- getTrades() - Method in class com.github.lazoyoung.craftgames.api.shopkeepers.GameShopkeeper
-
- getVictim() - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerKillEvent
-
- getWinners() - Method in class com.github.lazoyoung.craftgames.api.event.GameFinishEvent
-
- getWinningTeam() - Method in class com.github.lazoyoung.craftgames.api.event.GameFinishEvent
-
- getWorldBorder() - Method in interface com.github.lazoyoung.craftgames.api.module.WorldModule
-
- getWorldModule() - Method in interface com.github.lazoyoung.craftgames.api.module.Module
-
- getYamlConfiguration(file, consumer) - Method in interface com.github.lazoyoung.craftgames.api.module.CommandModule
-
Read or write data of your custom YAML configuration.
- getYamlConfiguration(file, consumer) - Method in interface com.github.lazoyoung.craftgames.api.module.ScriptModule
-
Read or write data of your custom YAML configuration.
- save(id) - Method in class com.github.lazoyoung.craftgames.api.shopkeepers.GameShopkeeper
-
- saveKit(name, player) - Method in interface com.github.lazoyoung.craftgames.api.module.ItemModule
-
Save kit with the given
name. If there's an existing kit, this will overwrite it.
- ScriptCompiler - Enum in com.github.lazoyoung.craftgames.api.script
-
- ScriptCompiler.Companion - Class in com.github.lazoyoung.craftgames.api.script
-
- ScriptFactory - Class in com.github.lazoyoung.craftgames.api.script
-
- ScriptFactory() - Constructor for class com.github.lazoyoung.craftgames.api.script.ScriptFactory
-
- ScriptFactory.Companion - Class in com.github.lazoyoung.craftgames.api.script
-
- ScriptFactory.Engine - Enum in com.github.lazoyoung.craftgames.api.script
-
- ScriptModule - Interface in com.github.lazoyoung.craftgames.api.module
-
- ScriptModule() - Constructor for interface com.github.lazoyoung.craftgames.api.module.ScriptModule
-
- selectKit(name, player) - Method in interface com.github.lazoyoung.craftgames.api.module.ItemModule
-
- setBorderCenter(blockTag, index) - Method in interface com.github.lazoyoung.craftgames.api.module.WorldModule
-
Deprecated.
- setCancelled(cancel) - Method in class com.github.lazoyoung.craftgames.api.event.GameEntityDamageEvent
-
- setCancelled(cancel) - Method in class com.github.lazoyoung.craftgames.api.event.GameInitEvent
-
- setCancelled(cancel) - Method in class com.github.lazoyoung.craftgames.api.event.GameJoinEvent
-
- setCancelled(cancel) - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
- setCancelled(cancel) - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerInteractEvent
-
- setCanJoinAfterStart(p) - Method in interface com.github.lazoyoung.craftgames.api.module.GameModule
-
After the game starts, you decide
to allow or deny players from joining this game.
(Defaults to false)
- setCanRespawn(p) - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
Determines if this player can respawn or not.
- setCanRespawn(p) - Method in interface com.github.lazoyoung.craftgames.api.module.GameModule
-
Whether or not to let players respawn upon death.
(Defaults to false)
- setDamage(amount) - Method in class com.github.lazoyoung.craftgames.api.event.GameEntityDamageEvent
-
- setDeathMessage(message) - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
Set death message to be announced upon death.
- setDebug(p) - Method in class com.github.lazoyoung.craftgames.api.script.GameScript
-
- setDefaultKit(name) - Method in interface com.github.lazoyoung.craftgames.api.module.ItemModule
-
Default kit is assigned to players who don't select anything.
- setDifficulty(difficulty) - Method in interface com.github.lazoyoung.craftgames.api.module.WorldModule
-
- setExitServer(server) - Method in interface com.github.lazoyoung.craftgames.api.module.LobbyModule
-
- setExitWorld(world, x, y, z) - Method in interface com.github.lazoyoung.craftgames.api.module.LobbyModule
-
- setGameMode(mode) - Method in interface com.github.lazoyoung.craftgames.api.module.GameModule
-
- setGameRule(rule, value) - Method in interface com.github.lazoyoung.craftgames.api.module.WorldModule
-
- setItemReward(player, lootTable) - Method in interface com.github.lazoyoung.craftgames.api.module.GameModule
-
- setKeepExp(keep, drop) - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
Decide if player's experience level should be kept upon death.
- setKeepInventory(keep, drop) - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
Decide if player's items should be kept upon death.
- setKeepInventory(keep, drop) - Method in interface com.github.lazoyoung.craftgames.api.module.GameModule
-
Decide if players' items should be kept upon death.
- setKit(team, kits) - Method in interface com.github.lazoyoung.craftgames.api.module.TeamModule
-
- setLastManStanding(enable) - Method in interface com.github.lazoyoung.craftgames.api.module.GameModule
-
Toggle LastManStanding mode.
- setLogVerbosity(verbose) - Method in interface com.github.lazoyoung.craftgames.api.module.CommandModule
-
Set whether or not to print out debugging message inside script log.
- setLogVerbosity(verbose) - Method in interface com.github.lazoyoung.craftgames.api.module.ScriptModule
-
Set whether or not to print out debugging message inside script log.
- setMoneyReward(player, amount) - Method in interface com.github.lazoyoung.craftgames.api.module.GameModule
-
- setPlayerCapacity(min, max) - Method in interface com.github.lazoyoung.craftgames.api.module.GameModule
-
Set
min
and
max
number of player capacity.
- setPVP(pvp) - Method in interface com.github.lazoyoung.craftgames.api.module.GameModule
-
Control the ability of players to attack each other.
- setRespawnTimer(timer) - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
Set amount of time it takes to respawn this player.
- setRespawnTimer(timer) - Method in interface com.github.lazoyoung.craftgames.api.module.GameModule
-
The amount of
class Timer
players have to wait before they respawn.
- setRewind(rewind) - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent
-
Decide if player should respawn back to the location where he/she died last time.
- setSpawnpoint(x, y, z) - Method in interface com.github.lazoyoung.craftgames.api.module.LobbyModule
-
Set spawnpoint for this lobby.
- setSpawnpoint(x, y, z, yaw, pitch) - Method in interface com.github.lazoyoung.craftgames.api.module.LobbyModule
-
Set spawnpoint for this lobby.
- setSpawnpoint(type, spawnTag) - Method in interface com.github.lazoyoung.craftgames.api.module.PlayerModule
-
Deprecated.
- setSpawnpoint(type, tag) - Method in interface com.github.lazoyoung.craftgames.api.module.PlayerModule
-
- setSpawnpoint(team, spawnTag) - Method in interface com.github.lazoyoung.craftgames.api.module.TeamModule
-
Deprecated.
- setSpawnpoint(team, tag) - Method in interface com.github.lazoyoung.craftgames.api.module.TeamModule
-
Set spawnpoint for the team.
- setStormyWeather(storm, thunder) - Method in interface com.github.lazoyoung.craftgames.api.module.WorldModule
-
Set world weather to
storm
or not.
- setTime(time, absolute) - Method in interface com.github.lazoyoung.craftgames.api.module.WorldModule
-
Set time for this world.
- setTimer(timer) - Method in interface com.github.lazoyoung.craftgames.api.module.GameModule
-
- setTimer(timer) - Method in interface com.github.lazoyoung.craftgames.api.module.LobbyModule
-
Set timer for this lobby. The game starts when the timer runs out.
- setTrades(trade) - Method in class com.github.lazoyoung.craftgames.api.shopkeepers.GameShopkeeper
-
- setUseInteractedBlock(use) - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerInteractEvent
-
- setUseItemInHand(use) - Method in class com.github.lazoyoung.craftgames.api.event.GamePlayerInteractEvent
-
- SpawnCapture - Interface in com.github.lazoyoung.craftgames.api.tag.coordinate
-
- SpawnCapture() - Constructor for interface com.github.lazoyoung.craftgames.api.tag.coordinate.SpawnCapture
-
- spawnItem(tag, itemStack) - Method in interface com.github.lazoyoung.craftgames.api.module.ItemModule
-
Deprecated.
- spawnItem(location, item) - Method in interface com.github.lazoyoung.craftgames.api.module.ItemModule
-
Spawn a floating item.
- spawnMob(type, name, loot, location) - Method in interface com.github.lazoyoung.craftgames.api.module.MobModule
-
- spawnMob(type, name, loot, tag) - Method in interface com.github.lazoyoung.craftgames.api.module.MobModule
-
Spawn vanilla mob at arbitrary location.
Location is randomly picked among the ones captured by
tag
.
- spawnMythicMob(name, level, location) - Method in interface com.github.lazoyoung.craftgames.api.module.MobModule
-
- spawnMythicMob(name, level, tag) - Method in interface com.github.lazoyoung.craftgames.api.module.MobModule
-
Spawn one MythicMob at arbitrary location.
Location is randomly picked among the ones captured by
tag
.
- spawnNPC(name, type, assignment, location) - Method in interface com.github.lazoyoung.craftgames.api.module.MobModule
-
- spawnNPC(name, type, assignment, tag) - Method in interface com.github.lazoyoung.craftgames.api.module.MobModule
-
Spawn NPC at arbitrary location.
Location is randomly picked among the ones captured by
tag
.
- spawnPlayerNPC(name, skinURL, assignment, location) - Method in interface com.github.lazoyoung.craftgames.api.module.MobModule
-
- spawnPlayerNPC(name, skinURL, assignment, tag) - Method in interface com.github.lazoyoung.craftgames.api.module.MobModule
-
Spawn Player-typed NPC at arbitrary location.
Location is randomly picked among the ones captured by
tag
.
- start() - Method in class com.github.lazoyoung.craftgames.api.ActionbarTask
-
- start() - Method in class com.github.lazoyoung.craftgames.api.MessageTask
-
Start messaging service.
- subtract(unit, amount) - Method in class com.github.lazoyoung.craftgames.api.Timer
-
- subtract(amount) - Method in class com.github.lazoyoung.craftgames.api.Timer
-