A B C D E F G H I K L M N O P R S T 
All Classes All Packages

A

addPlayer(Player) - Method in class net.craftions.api.game.Team
Adds a player to the team.
addTeam(Team) - Method in class net.craftions.api.game.Game
 
addTeam(Team) - Method in class net.craftions.api.game.util.GameBuilder
 
Api - Class in net.craftions.api
 
Api() - Constructor for class net.craftions.api.Api
 

B

build() - Method in class net.craftions.api.game.util.GameBuilder
 
build() - Method in class net.craftions.api.game.util.TeamBuilder
 
BungeeCordConnector - Class in net.craftions.api.bungeecord
 
BungeeCordConnector() - Constructor for class net.craftions.api.bungeecord.BungeeCordConnector
 

C

canLoadFromConfig(String) - Static method in class net.craftions.api.game.Game
Checks if a game can be loaded from a config
close() - Method in class net.craftions.api.database.MySQL
Close connection and disconnect from database.
Code() - Constructor for class net.craftions.api.language.Language.Code
 
ColorCode - Class in net.craftions.api.color
 
ColorCode() - Constructor for class net.craftions.api.color.ColorCode
 
CommandStartGame - Class in net.craftions.api.game.commands
 
CommandStartGame() - Constructor for class net.craftions.api.game.commands.CommandStartGame
 
Config - Class in net.craftions.api.config
 
Config(File, String) - Constructor for class net.craftions.api.config.Config
 
connect(Player, String) - Static method in class net.craftions.api.bungeecord.BungeeCordConnector
 
createGame(Game, Boolean) - Static method in class net.craftions.api.game.GameManager
 

D

de_de - Static variable in class net.craftions.api.language.Language
 
decrypt(byte[], PrivateKey) - Static method in class net.craftions.api.encryption.RSA
Decrypt message
download(String, File) - Static method in class net.craftions.api.networking.NetUtils
 

E

en_us - Static variable in class net.craftions.api.language.Language
 
encrypt(String, PublicKey) - Static method in class net.craftions.api.encryption.RSA
Encrypt a message
end() - Method in class net.craftions.api.game.Game
Ends the game after the given time.
endFinal() - Method in class net.craftions.api.game.Game
Ends the final game (after countdown)
ENGLISH - Static variable in class net.craftions.api.language.Language.Code
 
EventPlayerJoin - Class in net.craftions.api.game.events.bukkit
 
EventPlayerJoin(Game) - Constructor for class net.craftions.api.game.events.bukkit.EventPlayerJoin
 
executeQuery() - Method in class net.craftions.api.database.MySQL
 
executeUpdate() - Method in class net.craftions.api.database.MySQL
Execute Update with the given sql string.
Experimental - Annotation Type in net.craftions.api.annotations
This element has an experimental maturity.

F

from(String) - Static method in class net.craftions.api.color.ColorCode
Reformats a text (changes §- color codes to &-color codes)
fromConfigFile(String) - Static method in class net.craftions.api.game.Game
Creates a Game Instance from a Config File

G

game - Static variable in class net.craftions.api.game.commands.CommandStartGame
 
game - Variable in class net.craftions.api.game.events.bukkit.EventPlayerJoin
 
Game - Class in net.craftions.api.game
This class is used for round-based team games.
Game(String) - Constructor for class net.craftions.api.game.Game
Creates a Game Instance with values from the given config instance
Game(String, String, Integer, Integer, Integer, String) - Constructor for class net.craftions.api.game.Game
 
GameBuilder - Class in net.craftions.api.game.util
 
GameBuilder() - Constructor for class net.craftions.api.game.util.GameBuilder
 
GameEndEvent - Class in net.craftions.api.game.events
 
GameEndEvent(Game) - Constructor for class net.craftions.api.game.events.GameEndEvent
 
GameException - Exception in net.craftions.api.game.exceptions
 
GameException(String) - Constructor for exception net.craftions.api.game.exceptions.GameException
 
GameManager - Class in net.craftions.api.game
 
GameManager() - Constructor for class net.craftions.api.game.GameManager
 
GameStartEvent - Class in net.craftions.api.game.events
 
GameStartEvent(Game) - Constructor for class net.craftions.api.game.events.GameStartEvent
 
gen(int) - Static method in class net.craftions.api.encryption.RSA
Generate Keys
GERMAN - Static variable in class net.craftions.api.language.Language.Code
 
get(String) - Method in class net.craftions.api.config.Config
 
getAdditionalConnectionParameters() - Method in class net.craftions.api.database.MySQL
 
getAll(String, Boolean) - Method in class net.craftions.api.config.Config
 
getColor() - Method in class net.craftions.api.game.Team
 
getColorCode() - Method in class net.craftions.api.game.Game
 
getConnectionString() - Method in class net.craftions.api.database.MySQL
 
getDatabase() - Method in class net.craftions.api.database.MySQL
 
getDefaultInventory() - Method in class net.craftions.api.game.Game
 
getEndTime() - Method in class net.craftions.api.game.Game
 
getGame() - Method in class net.craftions.api.game.events.GameEndEvent
 
getGame() - Method in class net.craftions.api.game.events.GameStartEvent
 
getGameByName(String) - Static method in class net.craftions.api.game.GameManager
 
getHandlerList() - Static method in class net.craftions.api.game.events.GameEndEvent
 
getHandlerList() - Static method in class net.craftions.api.game.events.GameStartEvent
 
getHandlers() - Method in class net.craftions.api.game.events.GameEndEvent
 
getHandlers() - Method in class net.craftions.api.game.events.GameStartEvent
 
getHead(String) - Static method in class net.craftions.api.util.PlayerHeads
Get an PlayerHead with a custom texture Inspired by https://github.com/Dobb1000/PERKS/blob/70aeee51ec80020ac18a4d5619dc73eedf1ae332/src/net/craftions/util/headsmenu/HeadMenu.java#L145
getHost() - Method in class net.craftions.api.database.MySQL
 
getInstance() - Static method in class net.craftions.api.Api
 
getInstance(String) - Static method in class net.craftions.api.config.Config
 
getLanguageCode() - Method in class net.craftions.api.game.Game
 
getMessage(String, int) - Static method in class net.craftions.api.language.Language
 
getMinPlayers() - Method in class net.craftions.api.game.Game
 
getName() - Method in class net.craftions.api.game.Game
 
getName() - Method in class net.craftions.api.game.Team
 
getPassword() - Method in class net.craftions.api.database.MySQL
 
getPlayers() - Method in class net.craftions.api.game.Team
 
getPlayerTeam(Player) - Method in class net.craftions.api.game.Game
 
getPort() - Method in class net.craftions.api.database.MySQL
 
getRunning() - Method in class net.craftions.api.game.Game
 
getSpawn() - Method in class net.craftions.api.game.Game
 
getSpawn() - Method in class net.craftions.api.game.Team
 
getSql() - Method in class net.craftions.api.database.MySQL
 
getStarting() - Method in class net.craftions.api.game.Game
 
getStartTime() - Method in class net.craftions.api.game.Game
 
getTeams() - Method in class net.craftions.api.game.Game
 
getUsername() - Method in class net.craftions.api.database.MySQL
 
getWaitingLobby() - Method in class net.craftions.api.game.Game
 

H

HANDLERS - Static variable in class net.craftions.api.game.events.GameEndEvent
 
HANDLERS - Static variable in class net.craftions.api.game.events.GameStartEvent
 
httpGet(String) - Static method in class net.craftions.api.networking.NetUtils
 

I

initialize() - Method in class net.craftions.api.game.Game
 
initMap() - Static method in class net.craftions.api.color.ColorCode
Inits the color code map
initMaps() - Static method in class net.craftions.api.language.Language
 
instance - Static variable in class net.craftions.api.Api
 
isCancelled() - Method in class net.craftions.api.game.events.GameEndEvent
 
isCancelled() - Method in class net.craftions.api.game.events.GameStartEvent
 

K

keyWordColor - Static variable in class net.craftions.api.language.Language
 

L

Language - Class in net.craftions.api.language
 
Language() - Constructor for class net.craftions.api.language.Language
 
Language.Code - Class in net.craftions.api.language
 

M

MySQL - Class in net.craftions.api.database
This class is used for MySQL Database connections.
MySQL(String, String, String, String, String, String, String) - Constructor for class net.craftions.api.database.MySQL
 

N

net.craftions.api - package net.craftions.api
 
net.craftions.api.annotations - package net.craftions.api.annotations
 
net.craftions.api.bungeecord - package net.craftions.api.bungeecord
 
net.craftions.api.color - package net.craftions.api.color
 
net.craftions.api.config - package net.craftions.api.config
 
net.craftions.api.database - package net.craftions.api.database
 
net.craftions.api.encryption - package net.craftions.api.encryption
 
net.craftions.api.game - package net.craftions.api.game
 
net.craftions.api.game.commands - package net.craftions.api.game.commands
 
net.craftions.api.game.events - package net.craftions.api.game.events
 
net.craftions.api.game.events.bukkit - package net.craftions.api.game.events.bukkit
 
net.craftions.api.game.exceptions - package net.craftions.api.game.exceptions
 
net.craftions.api.game.util - package net.craftions.api.game.util
 
net.craftions.api.language - package net.craftions.api.language
 
net.craftions.api.networking - package net.craftions.api.networking
 
net.craftions.api.util - package net.craftions.api.util
 
NetUtils - Class in net.craftions.api.networking
 
NetUtils() - Constructor for class net.craftions.api.networking.NetUtils
 
normalColor - Static variable in class net.craftions.api.language.Language
 

O

onCommand(CommandSender, Command, String, String[]) - Method in class net.craftions.api.game.commands.CommandStartGame
 
onDisable() - Method in class net.craftions.api.Api
 
onEnable() - Method in class net.craftions.api.Api
 
onPlayerJoin(PlayerJoinEvent) - Method in class net.craftions.api.game.events.bukkit.EventPlayerJoin
 

P

PlayerHeads - Class in net.craftions.api.util
 
PlayerHeads() - Constructor for class net.craftions.api.util.PlayerHeads
 
privFromString(String) - Static method in class net.craftions.api.encryption.RSA
Get Private Key from String.
processTeams() - Method in class net.craftions.api.game.Game
Used for choosing the teams
pubFromString(String) - Static method in class net.craftions.api.encryption.RSA
Get Public Key from String.

R

reload(Boolean) - Method in class net.craftions.api.config.Config
 
removeGame(Game) - Static method in class net.craftions.api.game.GameManager
 
replacements - Static variable in class net.craftions.api.color.ColorCode
 
replacementsReversed - Static variable in class net.craftions.api.color.ColorCode
 
RSA - Class in net.craftions.api.encryption
 
RSA() - Constructor for class net.craftions.api.encryption.RSA
 

S

save() - Method in class net.craftions.api.config.Config
 
saveToConfig() - Method in class net.craftions.api.game.Game
Saves the current Game options (name, color code, ...) to the configuration
set(String, Object) - Method in class net.craftions.api.config.Config
 
setCancelled(boolean) - Method in class net.craftions.api.game.events.GameEndEvent
 
setCancelled(boolean) - Method in class net.craftions.api.game.events.GameStartEvent
 
setColor(String) - Method in class net.craftions.api.game.util.TeamBuilder
 
setColorCode(String) - Method in class net.craftions.api.game.util.GameBuilder
 
setDefaultInventory(Inventory) - Method in class net.craftions.api.game.Game
 
setDefaultInventory(Inventory) - Method in class net.craftions.api.game.util.GameBuilder
 
setEndTime(Integer) - Method in class net.craftions.api.game.util.GameBuilder
 
setLanguageCode(String) - Method in class net.craftions.api.game.util.GameBuilder
 
setMinPlayers(Integer) - Method in class net.craftions.api.game.util.GameBuilder
 
setName(String) - Method in class net.craftions.api.game.util.GameBuilder
 
setName(String) - Method in class net.craftions.api.game.util.TeamBuilder
 
setSpawn(Location) - Method in class net.craftions.api.game.Game
 
setSpawn(Location) - Method in class net.craftions.api.game.Team
 
setSpawn(Location) - Method in class net.craftions.api.game.util.GameBuilder
 
setSpawn(Location) - Method in class net.craftions.api.game.util.TeamBuilder
 
setStartTime(Integer) - Method in class net.craftions.api.game.util.GameBuilder
 
setTeamSize(Integer) - Method in class net.craftions.api.game.Game
 
setTeamSize(Integer) - Method in class net.craftions.api.game.util.GameBuilder
 
setUseTeams(boolean) - Method in class net.craftions.api.game.Game
 
setUseTeams(Boolean) - Method in class net.craftions.api.game.util.GameBuilder
 
setUseTeamSpawns(boolean) - Method in class net.craftions.api.game.Game
 
setUseTeamSpawns(Boolean) - Method in class net.craftions.api.game.util.GameBuilder
 
setWaitingLobby(Location) - Method in class net.craftions.api.game.Game
 
setWaitingLobby(Location) - Method in class net.craftions.api.game.util.GameBuilder
 
start() - Method in class net.craftions.api.game.Game
Start the game with its default values
start(int) - Method in class net.craftions.api.game.Game
Start the game with a specific start time (used for /start)
startFinal() - Method in class net.craftions.api.game.Game
Starts the final game (after countdown)

T

Team - Class in net.craftions.api.game
This class is used for teams in round-based games.
Team(String, String) - Constructor for class net.craftions.api.game.Team
 
TeamBuilder - Class in net.craftions.api.game.util
 
TeamBuilder() - Constructor for class net.craftions.api.game.util.TeamBuilder
 
to(String) - Static method in class net.craftions.api.color.ColorCode
Reformats a text (changes &-color codes to §-color codes)
A B C D E F G H I K L M N O P R S T 
All Classes All Packages