A B C D E F G H I J L M N O P R S T U V W Y 
All Classes All Packages

A

addActionItem(int, ItemStack, Runnable) - Method in class dev.majek.pc.gui.Gui
 
addActionItem(int, ItemStack, Runnable, boolean) - Method in class dev.majek.pc.gui.Gui
 
addActionItem(int, ItemStack, String, Runnable, String...) - Method in class dev.majek.pc.gui.Gui
 
addActionItem(int, Material, String, Runnable, boolean, String...) - Method in class dev.majek.pc.gui.Gui
 
addActionItem(int, Material, String, Runnable, String...) - Method in class dev.majek.pc.gui.Gui
 
addBlockedPlayer(Player) - Method in class dev.majek.pc.data.object.Party
Add a player to the list of temporarily blocked players.
addLabel(int, ItemStack) - Method in class dev.majek.pc.gui.Gui
 
addLabel(int, ItemStack, String, String...) - Method in class dev.majek.pc.gui.Gui
 
addLabel(int, Material, String, String...) - Method in class dev.majek.pc.gui.Gui
 
addMember(User) - Method in class dev.majek.pc.data.object.Party
Add a new party member.
addPendingInvitation(Player, Player) - Method in class dev.majek.pc.data.object.Party
Add a player to the list of pending invitations.
addPendingJoinRequest(Player) - Method in class dev.majek.pc.data.object.Party
Add a player to the list of pending join requests.
addPendingSummons(Player) - Method in class dev.majek.pc.data.object.Party
Add a player to the list of players with pending summon requests.
addPlayer(Player) - Method in class dev.majek.pc.data.object.Bar
 
addToPartyMap(UUID, Party) - Method in class dev.majek.pc.data.PartyHandler
Add a party id and the party to the party map.
addToUserMap(User) - Method in class dev.majek.pc.data.DataHandler
Add a user to the user map.
allowsFriendlyFire() - Method in class dev.majek.pc.data.object.Party
Get whether the party allows friendly fire between members.
anyoneCanUse() - Method in class dev.majek.pc.command.PartyCommand
 
api() - Static method in class dev.majek.pc.hooks.HeadDatabase
 
api() - Static method in class dev.majek.pc.PartyChat
Get the PartyChat API.
applyColorCodes(String) - Static method in class dev.majek.pc.chat.ChatUtils
Apply color codes using ChatUtils.applyColorCodes(String, boolean) and defaulting blockDarkColors to false.
applyColorCodes(String, boolean) - Static method in class dev.majek.pc.chat.ChatUtils
This will translate 6 character and 3 character hex codes and standard minecraft color codes to color.
applyPlaceholders(Player, String) - Static method in class dev.majek.pc.hooks.PAPI
 

B

banned - Static variable in class dev.majek.pc.hooks.LiteBans
 
Bar - Class in dev.majek.pc.data.object
Create the teleportation BossBar for /party summon.
Bar() - Constructor for class dev.majek.pc.data.object.Bar
 
BASECOMPONENT - dev.majek.pc.data.DataHandler.MessageType
 
blockInappropriateChat - Variable in class dev.majek.pc.data.DataHandler
 
blockInappropriateNames - Variable in class dev.majek.pc.data.DataHandler
 

C

cacheSkull(UUID) - Static method in class dev.majek.pc.util.SkullCache
Cache a skull from a uuid.
cacheSkull(Player) - Static method in class dev.majek.pc.util.SkullCache
Cache a skull from an online player.
cacheSkull(OfflinePlayer) - Static method in class dev.majek.pc.util.SkullCache
Cache a skull from an offline player.
cacheSkulls(UUID[]) - Static method in class dev.majek.pc.util.SkullCache
Cache an array of skulls from uuids.
cacheSkulls(Player[]) - Static method in class dev.majek.pc.util.SkullCache
Cache an array of skulls from online players.
cacheSkulls(OfflinePlayer[]) - Static method in class dev.majek.pc.util.SkullCache
Cache an array of skulls from offline players.
canRegister() - Method in class dev.majek.pc.hooks.PAPI
 
canStand(Block) - Static method in class dev.majek.pc.util.Utils
If a player would be teleported to the location of this block, confirm they cannot: fall through or take damage unless the block is water
canUse(Player) - Method in class dev.majek.pc.command.PartyCommand
Check if a player can use a certain subcommand.
capitalize(String) - Static method in class dev.majek.pc.util.Utils
Capitalizes each word in the provided string.
cast(int) - Method in class dev.majek.pc.data.object.Bar
 
censorWords - Variable in class dev.majek.pc.data.DataHandler
 
ChatParser - Class in dev.majek.pc.chat
Handles parsing raw strings into rich json components with hover/click events.
ChatParser() - Constructor for class dev.majek.pc.chat.ChatParser
 
ChatParser.ParseException - Exception in dev.majek.pc.chat
Thrown if there is an error parsing a function.
ChatUtils - Class in dev.majek.pc.chat
Handles all color codes (formatting/removing) within strings.
ChatUtils() - Constructor for class dev.majek.pc.chat.ChatUtils
 
clearClickEvents() - Method in class dev.majek.pc.chat.ChatParser
Clear all click events from the functions.
clearColors() - Method in class dev.majek.pc.chat.ChatParser
Clear all colors from the parsed string.
clearHoverEvents() - Method in class dev.majek.pc.chat.ChatParser
Clear all hover events from the functions.
clickActions - Variable in class dev.majek.pc.gui.Gui
 
clone(ItemStack) - Static method in class dev.majek.pc.gui.Gui
 
close() - Method in class dev.majek.pc.util.Logging
 
close(PartyChat, Exception) - Static method in class dev.majek.pc.data.legacy.Error
 
COLOR_CHARS - Static variable in class dev.majek.pc.chat.ChatUtils
List of all valid color characters
commandConfig - Variable in class dev.majek.pc.data.DataHandler
 
commandHandler() - Static method in class dev.majek.pc.PartyChat
Get PartyChat's command handler.
CommandHandler - Class in dev.majek.pc.command
Handles command registration, fetching, and managing aliases.
CommandHandler() - Constructor for class dev.majek.pc.command.CommandHandler
 
COMPONENT - dev.majek.pc.data.DataHandler.MessageType
 
constrain(int, int, int) - Static method in class dev.majek.pc.util.Utils
Constrains the given number between the given minimum and maximum value.
containsCensoredWord(String) - Static method in class dev.majek.pc.data.Restrictions
 
convertItemStackToJson(ItemStack) - Static method in class dev.majek.pc.util.Utils
Converts an ItemStack to a Json string for sending with BaseComponent's.
Cooldown - Class in dev.majek.pc.data.object
Represents the amount of time between running commands.
Cooldown(PartyCommand) - Constructor for class dev.majek.pc.data.object.Cooldown
 
cooldownMap - Static variable in class dev.majek.pc.command.PartyCommand
Map in a map for cooldown storage.
core() - Static method in class dev.majek.pc.PartyChat
Get main PartyChat class.
createBar(int) - Method in class dev.majek.pc.data.object.Bar
 
createConfig() - Method in class dev.majek.pc.data.storage.JsonConfig
This creates the configuration file.
createFile(String, String) - Method in class dev.majek.pc.data.storage.YamlConfig
 
createFileIfNotExists(YamlConfig, File) - Method in class dev.majek.pc.data.object.Language
 
createPage(List<String>, int, String) - Method in class dev.majek.pc.chat.Paginate
Create a new page of values.
createParty(String, User) - Method in class dev.majek.pc.api.PartyChatApi
Create a new party with a party name and user as the leader.
createSkull() - Static method in class dev.majek.pc.util.SkullCache
Creates a new player head item stack.
createSubDirectory(String) - Method in class dev.majek.pc.data.storage.JsonConfig
This will create a sub-directory in the plugin's data folder, which can be accessed with JsonConfig.getDirectory().
createTable - Variable in class dev.majek.pc.data.legacy.SQLite
 

D

Database - Class in dev.majek.pc.data.legacy
Legacy PartyChat database for persistent party storage.
Database(PartyChat) - Constructor for class dev.majek.pc.data.legacy.Database
 
dataHandler() - Static method in class dev.majek.pc.PartyChat
Get PartyChat's data handler.
DataHandler - Class in dev.majek.pc.data
Handles all plugin data storage, config file access, and the main config file.
DataHandler() - Constructor for class dev.majek.pc.data.DataHandler
 
DataHandler.MessageType - Enum in dev.majek.pc.data
 
DAY - dev.majek.pc.util.TimeInterval
 
debug - Variable in class dev.majek.pc.data.DataHandler
 
debug(Player, String) - Static method in class dev.majek.pc.PartyChat
Send a debug message to console and a player.
deleteFile() - Method in class dev.majek.pc.data.storage.JsonConfig
This deletes the config file.
deleteParentDir() - Method in class dev.majek.pc.data.storage.JsonConfig
This deletes the config file's directory and all it's contents.
deleteParty(Party) - Method in class dev.majek.pc.data.PartyHandler
Delete a party from the JSON file storage.
deserializeMembers(String) - Static method in class dev.majek.pc.util.Utils
 
dev.majek.pc - package dev.majek.pc
 
dev.majek.pc.api - package dev.majek.pc.api
 
dev.majek.pc.chat - package dev.majek.pc.chat
 
dev.majek.pc.command - package dev.majek.pc.command
 
dev.majek.pc.command.party - package dev.majek.pc.command.party
 
dev.majek.pc.data - package dev.majek.pc.data
 
dev.majek.pc.data.legacy - package dev.majek.pc.data.legacy
 
dev.majek.pc.data.object - package dev.majek.pc.data.object
 
dev.majek.pc.data.storage - package dev.majek.pc.data.storage
 
dev.majek.pc.gui - package dev.majek.pc.gui
 
dev.majek.pc.hooks - package dev.majek.pc.hooks
 
dev.majek.pc.mechanic - package dev.majek.pc.mechanic
 
dev.majek.pc.util - package dev.majek.pc.util
 
disableGuis - Variable in class dev.majek.pc.data.DataHandler
 
discordMessageToMineCraft(DiscordGuildMessagePreBroadcastEvent) - Method in class dev.majek.pc.hooks.DiscordSRVListener
 
DiscordSRVListener - Class in dev.majek.pc.hooks
Handles integration with DiscordSRV.
DiscordSRVListener() - Constructor for class dev.majek.pc.hooks.DiscordSRVListener
 
doubleToString(double, int) - Static method in class dev.majek.pc.util.Utils
Converts the given floating point number to a string and then truncates the decimal point to the given precision.

E

equals(Object) - Method in class dev.majek.pc.util.Pair
error(Object) - Static method in class dev.majek.pc.PartyChat
Log an error to console.
Error - Class in dev.majek.pc.data.legacy
Database error causes.
Error() - Constructor for class dev.majek.pc.data.legacy.Error
 
Errors - Class in dev.majek.pc.data.legacy
Database error messages.
Errors() - Constructor for class dev.majek.pc.data.legacy.Errors
 
Essentials - Class in dev.majek.pc.hooks
Handles integration with Essentials.
Essentials() - Constructor for class dev.majek.pc.hooks.Essentials
 
execute(User, User, boolean) - Static method in class dev.majek.pc.command.party.PartyLeave
 
execute(PartyChat, Exception) - Static method in class dev.majek.pc.data.legacy.Error
 
execute(Player) - Static method in class dev.majek.pc.command.party.PartyVersion
 
execute(Player, String) - Static method in class dev.majek.pc.command.party.PartyAdd
 
execute(Player, String) - Static method in class dev.majek.pc.command.party.PartyCreate
 
execute(Player, String) - Static method in class dev.majek.pc.command.party.PartyJoin
 
execute(Player, String) - Static method in class dev.majek.pc.command.party.PartyRemove
 
execute(Player, String) - Static method in class dev.majek.pc.command.party.PartyRename
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartyAccept
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartyAdd
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartyCreate
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartyDeny
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartyDisband
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartyHelp
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartyInfo
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartyJoin
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartyLeave
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartyPromote
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartyRemove
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartyRename
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartySummon
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartyToggle
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.party.PartyVersion
 
execute(Player, String[], boolean) - Method in class dev.majek.pc.command.PartyCommand
 
execute(Player, String, boolean) - Static method in class dev.majek.pc.command.party.PartyPromote
 

F

filterStartingWith(String, Collection<String>) - Static method in class dev.majek.pc.util.TabCompleterBase
Filters the given string list by removing null or empty strings, or strings who do not start with the given prefix (ignoring case).
filterStartingWith(String, Stream<String>) - Static method in class dev.majek.pc.util.TabCompleterBase
Filters the given stream by removing null or empty strings, or strings who do not start with the given prefix (ignoring case).
findSafe(Location, int, int) - Static method in class dev.majek.pc.util.Utils
Search for a safe location for a player to stand We search a column at the x z of the origin The algorithm treats this column as being sorted with ground at the bottom and sky above it Because of this we can make assumptions that the ground will always have: 2 non damaging blocks above (air|vines|etc) and 1 block the player can stand on below (non passable and non damaging) Because bottom and top specify search range for Y they should satisfy these ranges:
findSafeNear(Location, int, int) - Static method in class dev.majek.pc.util.Utils
Search the nearby area for a location a player can safely stand before teleporting them Set the location to be in the center of the block ready for teleportation Calculate reasonable bottom and top values
finish() - Method in class dev.majek.pc.data.object.Cooldown
 
flipPartyChatToggle() - Method in class dev.majek.pc.data.object.User
 
flipPartyOnly() - Method in class dev.majek.pc.data.object.User
 
flipSpyToggle() - Method in class dev.majek.pc.data.object.User
 
flush() - Method in class dev.majek.pc.util.Logging
 
flush(long) - Static method in class dev.majek.pc.util.SkullCache
Remove skulls from memory if they haven't been cached or accessed within the specified amount of time.
flushWeek() - Static method in class dev.majek.pc.util.SkullCache
Remove skulls from memory that haven't been cached or accessed within a week.
formattedName(Enum) - Static method in class dev.majek.pc.util.Utils
Converts the given enumeration element's name (which should be all capitalized with underscores) and replaces the underscores with hyphens and converts the string to lower case.
formatTime(long, boolean) - Static method in enum dev.majek.pc.util.TimeInterval
 
formatTime(long, boolean, TimeInterval) - Static method in enum dev.majek.pc.util.TimeInterval
 

G

getAbbreviation() - Method in enum dev.majek.pc.util.TimeInterval
 
getAliases() - Method in class dev.majek.pc.command.PartyCommand
 
getAllCommandsAndAliases() - Method in class dev.majek.pc.command.CommandHandler
 
getAsBaseComponent() - Method in class dev.majek.pc.chat.ChatParser
Get the parsed string as an array of BaseComponents.
getAsComponent() - Method in class dev.majek.pc.chat.ChatParser
Get the parsed string as a Component.
getAsRawString() - Method in class dev.majek.pc.chat.ChatParser
Get the parsed string as a raw string.
getAuthor() - Method in class dev.majek.pc.hooks.PAPI
 
getBar() - Method in class dev.majek.pc.data.object.Bar
 
getBlockedPlayers() - Method in class dev.majek.pc.data.object.Party
Get a list of players who are temporarily blocked from requesting to join the party.
getColorCodes(String) - Static method in class dev.majek.pc.chat.ChatUtils
Get only the color codes from a given string.
getCommand(Class<T>) - Method in class dev.majek.pc.command.CommandHandler
 
getCommand(String) - Method in class dev.majek.pc.command.CommandHandler
 
getCommands() - Method in class dev.majek.pc.command.CommandHandler
 
getConfig() - Method in class dev.majek.pc.data.storage.YamlConfig
 
getConfigBoolean(String) - Static method in class dev.majek.pc.command.PartyCommand
 
getConfigBoolean(FileConfiguration, String) - Method in class dev.majek.pc.data.DataHandler
Get a boolean value from a config file.
getConfigInt(FileConfiguration, String) - Method in class dev.majek.pc.data.DataHandler
Get an int value from a config file.
getConfigString(String) - Method in class dev.majek.pc.chat.Paginate
 
getConfigString(String) - Static method in class dev.majek.pc.gui.Gui
 
getConfigString(FileConfiguration, String) - Method in class dev.majek.pc.data.DataHandler
Get a String value from a config file.
getConfigStringList(FileConfiguration, String) - Method in class dev.majek.pc.data.DataHandler
Get a list of strings from a config file.
getConnection(Player) - Static method in class dev.majek.pc.util.ReflectionUtil
Get a Bukkit Player players NMS playerConnection object
getConstructor(Class<?>, Class<?>...) - Static method in class dev.majek.pc.util.ReflectionUtil
Get a classes constructor
getCooldown() - Method in class dev.majek.pc.command.PartyCommand
 
getCreator() - Method in class dev.majek.pc.api.PartyCreateEvent
Get the player who is creating the party.
getDescription() - Method in class dev.majek.pc.command.PartyCommand
 
getDirectory() - Method in class dev.majek.pc.data.storage.JsonConfig
 
getField(Class<?>, String) - Static method in class dev.majek.pc.util.ReflectionUtil
Get a field with a particular name from a class
getFile() - Method in class dev.majek.pc.data.storage.JsonConfig
This returns the actual File object of the config file.
getFirst() - Method in class dev.majek.pc.util.Pair
Get the first value in the pair.
getHandlerList() - Static method in class dev.majek.pc.api.PartyChatEvent
 
getHandlerList() - Static method in class dev.majek.pc.api.PartyCreateEvent
 
getHandlerList() - Static method in class dev.majek.pc.api.PartyDeleteEvent
 
getHandlerList() - Static method in class dev.majek.pc.api.PartyJoinEvent
 
getHandlerList() - Static method in class dev.majek.pc.api.PartyLeaveEvent
 
getHandlerList() - Static method in class dev.majek.pc.api.PartyRenameEvent
 
getHandlers() - Method in class dev.majek.pc.api.PartyChatEvent
getHandlers() - Method in class dev.majek.pc.api.PartyCreateEvent
getHandlers() - Method in class dev.majek.pc.api.PartyDeleteEvent
getHandlers() - Method in class dev.majek.pc.api.PartyJoinEvent
getHandlers() - Method in class dev.majek.pc.api.PartyLeaveEvent
getHandlers() - Method in class dev.majek.pc.api.PartyRenameEvent
getHead(int) - Static method in class dev.majek.pc.hooks.HeadDatabase
 
getId() - Method in class dev.majek.pc.data.object.Party
Get the party's unique id.
getIdentifier() - Method in class dev.majek.pc.hooks.PAPI
 
getInventory() - Method in class dev.majek.pc.gui.Gui
 
getItemStack(GuiToggle) - Method in class dev.majek.pc.gui.Gui
 
getLangID() - Method in class dev.majek.pc.data.object.Language
 
getLangMap() - Method in class dev.majek.pc.data.LanguageHandler
Get the plugin's map of Languages.
getLanguage() - Method in class dev.majek.pc.data.LanguageHandler
Get the current plugin Language.
getLeader() - Method in class dev.majek.pc.data.object.Party
Get the unique id of the party leader.
getLeaderCommandsAndAliases() - Method in class dev.majek.pc.command.CommandHandler
 
getLuminescence(String) - Static method in class dev.majek.pc.chat.ChatUtils
Get luminescence of a formatted hex color.
getMaxPage() - Method in class dev.majek.pc.chat.Paginate
 
getMembers() - Method in class dev.majek.pc.data.object.Party
Get a list of the party member's unique ids.
getMessage() - Method in class dev.majek.pc.api.PartyChatEvent
Get the message the player is sending to party chat.
getMessagesConfig() - Method in class dev.majek.pc.data.object.Language
 
getMethod(Class<?>, String, Class<?>...) - Static method in class dev.majek.pc.util.ReflectionUtil
Get a method from a class that has the specific paramaters
getName() - Method in class dev.majek.pc.command.PartyCommand
 
getName() - Method in class dev.majek.pc.data.object.Party
Get the party's name.
getName() - Method in class dev.majek.pc.data.storage.JsonConfig
This returns the name of the configuration file with the .json extension.
getName() - Method in enum dev.majek.pc.util.TimeInterval
 
getNewLeader() - Method in class dev.majek.pc.api.PartyLeaveEvent
The randomly chosen player who will be the new party leader.
getNewName() - Method in class dev.majek.pc.api.PartyRenameEvent
Get the party's new name.
getNextPage() - Method in class dev.majek.pc.chat.Paginate
 
getNickname() - Method in class dev.majek.pc.data.object.User
 
getNMSClass(String) - Static method in class dev.majek.pc.util.ReflectionUtil
Get an NMS Class
getOBCClass(String) - Static method in class dev.majek.pc.util.ReflectionUtil
Get a class from the org.bukkit.craftbukkit package
getOldName() - Method in class dev.majek.pc.api.PartyRenameEvent
Get the party's previous name.
getOnlinePlayers(String) - Static method in class dev.majek.pc.util.TabCompleterBase
Returns a list of the currently online players whose name starts with the given partial name.
getPage() - Method in class dev.majek.pc.chat.Paginate
 
getPage(int) - Method in class dev.majek.pc.chat.Paginate
 
getParties() - Method in class dev.majek.pc.data.legacy.Database
 
getParties() - Method in class dev.majek.pc.data.PartyHandler
Get a list of all active parties.
getParty() - Method in class dev.majek.pc.api.PartyChatEvent
Get the party the player is sending the message to.
getParty() - Method in class dev.majek.pc.api.PartyCreateEvent
Get the party that is being created.
getParty() - Method in class dev.majek.pc.api.PartyDeleteEvent
Get the party that is being deleted.
getParty() - Method in class dev.majek.pc.api.PartyJoinEvent
Get the party the player is joining.
getParty() - Method in class dev.majek.pc.api.PartyLeaveEvent
Get the party the player is leaving.
getParty() - Method in class dev.majek.pc.api.PartyRenameEvent
Get the party that is being renamed.
getParty() - Method in class dev.majek.pc.data.object.User
 
getParty(User) - Method in class dev.majek.pc.api.PartyChatApi
Get a Party from a User in the party.
getParty(UUID) - Method in class dev.majek.pc.api.PartyChatApi
Get a Party from the party's unique id.
getParty(User) - Method in class dev.majek.pc.data.PartyHandler
Get a party from a User.
getParty(UUID) - Method in class dev.majek.pc.data.PartyHandler
Get a party from a party unique id.
getParty(Player) - Method in class dev.majek.pc.data.PartyHandler
Get a party from a player.
getPartyID() - Method in class dev.majek.pc.data.object.User
 
getPartyMap() - Method in class dev.majek.pc.data.PartyHandler
Get main party map.
getPartyNames() - Method in class dev.majek.pc.data.legacy.Database
 
getPendingInvitations() - Method in class dev.majek.pc.data.object.Party
Get a list of players who have pending invitations.
getPendingJoinRequests() - Method in class dev.majek.pc.data.object.Party
Get a list of players who have pending join requests.
getPendingSummons() - Method in class dev.majek.pc.data.object.Party
Get a list of players who have pending summon requests from the party leader.
getPlayer() - Method in class dev.majek.pc.api.PartyChatEvent
Get the player who is sending a message to party chat.
getPlayer() - Method in class dev.majek.pc.api.PartyJoinEvent
Get the player who is joining the party.
getPlayer() - Method in class dev.majek.pc.api.PartyLeaveEvent
Get the player who is leaving the party.
getPlayer() - Method in class dev.majek.pc.api.PartyRenameEvent
Get the player who is renaming the party.
getPlayer() - Method in class dev.majek.pc.data.object.User
 
getPlayerDisplayName(Player) - Static method in class dev.majek.pc.hooks.Vault
 
getPlayerID() - Method in class dev.majek.pc.data.object.User
 
getPreviousPage() - Method in class dev.majek.pc.chat.Paginate
 
getRawName() - Method in class dev.majek.pc.data.object.Party
Get the party's name without color codes.
getSecond() - Method in class dev.majek.pc.util.Pair
Get the second value in the pair.
getSize() - Method in class dev.majek.pc.data.object.Party
Get the size of the party.
getSkull(UUID) - Static method in class dev.majek.pc.util.SkullCache
Get a skull from a uuid.
getSkull(Player) - Static method in class dev.majek.pc.util.SkullCache
Get a skull from an online player.
getSkull(OfflinePlayer) - Static method in class dev.majek.pc.util.SkullCache
Get a skull from an offline player.
getSkulls(UUID[]) - Static method in class dev.majek.pc.util.SkullCache
Get an array of player skulls from uuids.
getSkulls(Player[]) - Static method in class dev.majek.pc.util.SkullCache
Get an array of online player skulls from online players.
getSkulls(OfflinePlayer[]) - Static method in class dev.majek.pc.util.SkullCache
Get an array of offline player skulls from offline players.
getSQLConnection() - Method in class dev.majek.pc.data.legacy.Database
 
getSQLConnection() - Method in class dev.majek.pc.data.legacy.SQLite
 
getSubCommandAliases(String) - Static method in class dev.majek.pc.command.PartyCommand
 
getSubCommandCooldown(String) - Static method in class dev.majek.pc.command.PartyCommand
 
getSubCommandDescription(String) - Static method in class dev.majek.pc.command.PartyCommand
 
getSubCommandDisabled(String) - Static method in class dev.majek.pc.command.PartyCommand
 
getSubCommandUsage(String) - Static method in class dev.majek.pc.command.PartyCommand
 
getTimeRemaining() - Method in class dev.majek.pc.data.object.Cooldown
 
getTodaysLog() - Method in class dev.majek.pc.data.DataHandler
Get today's plugin log file.
getToggle(String) - Method in class dev.majek.pc.gui.GuiHandler
 
getToSecondsFactor() - Method in enum dev.majek.pc.util.TimeInterval
 
getUsage() - Method in class dev.majek.pc.command.PartyCommand
 
getUser(String) - Method in class dev.majek.pc.data.DataHandler
Get a PartyChat user from a name.
getUser(Player) - Method in class dev.majek.pc.data.DataHandler
Get PartyChat user from map.
getUser(UUID) - Method in class dev.majek.pc.data.DataHandler
Get PartyChat user from map.
getUserMap() - Method in class dev.majek.pc.data.DataHandler
Get PartyChat's user map.
getUsername() - Method in class dev.majek.pc.data.object.User
 
getVersion() - Method in class dev.majek.pc.hooks.PAPI
 
getVersion() - Static method in class dev.majek.pc.util.ReflectionUtil
Gets the version string for NMS and OBC class paths
getWorldName(String) - Static method in class dev.majek.pc.util.Utils
Attempts to find the proper world name for the given alias.
Gui - Class in dev.majek.pc.gui
Used for constructing GUIs for a player to see and interact with.
Gui(String, String, int) - Constructor for class dev.majek.pc.gui.Gui
 
guiConfig - Variable in class dev.majek.pc.data.DataHandler
 
guiHandler() - Static method in class dev.majek.pc.PartyChat
Get PartyChat's GUI handler.
GuiHandler - Class in dev.majek.pc.gui
Handles registering active GUIs and managing inventory events.
GuiHandler() - Constructor for class dev.majek.pc.gui.GuiHandler
 
GuiInParty - Class in dev.majek.pc.gui
Handles the gui shown when a player is in a party.
GuiInParty() - Constructor for class dev.majek.pc.gui.GuiInParty
 
GuiJoinParty - Class in dev.majek.pc.gui
Handles the gui when a player is trying to join a party.
GuiJoinParty() - Constructor for class dev.majek.pc.gui.GuiJoinParty
 
GuiManagePlayer - Class in dev.majek.pc.gui
Handles the gui when a leader is managing a player.
GuiManagePlayer(User) - Constructor for class dev.majek.pc.gui.GuiManagePlayer
 
GuiMembers - Class in dev.majek.pc.gui
Handles the gui when a player is viewing the party members.
GuiMembers(User) - Constructor for class dev.majek.pc.gui.GuiMembers
 
guiName - Variable in class dev.majek.pc.gui.Gui
 
GuiNoParty - Class in dev.majek.pc.gui
Handles the gui when a player is not in a party.
GuiNoParty() - Constructor for class dev.majek.pc.gui.GuiNoParty
 
GuiToggle - Class in dev.majek.pc.gui
Handles toggles for an ItemStack in a gui.
GuiToggle(String, int, Material, Material, boolean) - Constructor for class dev.majek.pc.gui.GuiToggle
 

H

handler() - Method in class dev.majek.pc.gui.Gui
 
hasDiscordSRV - Static variable in class dev.majek.pc.PartyChat
True if PartyChat is hooked into DiscordSRV.
hasEssentials - Static variable in class dev.majek.pc.PartyChat
True if PartyChat is hooked into Essentials.
hashCode() - Method in class dev.majek.pc.util.Pair
Creates a hash code for this object.
hasHDB - Static variable in class dev.majek.pc.PartyChat
True if PartyChat is hooked into HeadDatabase.
hasHdbId() - Method in class dev.majek.pc.gui.GuiToggle
 
hasLiteBans - Static variable in class dev.majek.pc.PartyChat
True if PartyChat is hooked into LiteBans.
hasPapi - Static variable in class dev.majek.pc.PartyChat
True if PartyChat is hooked into PlaceholderAPI.
hasUpdate - Static variable in class dev.majek.pc.PartyChat
 
hasVault - Static variable in class dev.majek.pc.PartyChat
True if PartyChat is hooked into Vault.
hdbId() - Method in class dev.majek.pc.gui.GuiToggle
 
HeadDatabase - Class in dev.majek.pc.hooks
Handles integration with HeadDatabase.
HeadDatabase() - Constructor for class dev.majek.pc.hooks.HeadDatabase
 
HOUR - dev.majek.pc.util.TimeInterval
 

I

indexOfDefault(int, int) - Static method in class dev.majek.pc.util.Utils
Returns the given index if it is not equal to negative one, otherwise it returns the default value.
initialize() - Method in class dev.majek.pc.data.legacy.Database
 
insertItemHover(String, String, ItemStack) - Method in class dev.majek.pc.chat.ChatParser
Insert a hover item on a certain bit of text in the component.
instance - Variable in class dev.majek.pc.data.DataHandler
 
inv - Variable in class dev.majek.pc.gui.Gui
 
isAheadOfSpigot() - Method in class dev.majek.pc.util.UpdateChecker
 
isBanned(Player) - Static method in class dev.majek.pc.data.Restrictions
Check if a player is banned by any of our hooked plugins or by vanilla command
isBehindSpigot() - Method in class dev.majek.pc.util.UpdateChecker
 
isCancelled() - Method in class dev.majek.pc.api.PartyChatEvent
isCancelled() - Method in class dev.majek.pc.api.PartyCreateEvent
isCancelled() - Method in class dev.majek.pc.api.PartyDeleteEvent
isCancelled() - Method in class dev.majek.pc.api.PartyJoinEvent
isCancelled() - Method in class dev.majek.pc.api.PartyLeaveEvent
isCancelled() - Method in class dev.majek.pc.api.PartyRenameEvent
isChatInputCreate() - Method in class dev.majek.pc.data.object.User
 
isChatInputInvite() - Method in class dev.majek.pc.data.object.User
 
isChatInputLeave() - Method in class dev.majek.pc.data.object.User
 
isChatInputRename() - Method in class dev.majek.pc.data.object.User
 
isDisabled() - Method in class dev.majek.pc.command.PartyCommand
 
isEmpty() - Method in class dev.majek.pc.api.PartyDeleteEvent
Whether or not the party is being deleted because it is empty.
isEnabled() - Method in class dev.majek.pc.command.PartyCommand
 
isEssentialsBanned(UUID) - Static method in class dev.majek.pc.hooks.Essentials
Check if the player is banned by Essentials
isEssentialsMuted(UUID) - Static method in class dev.majek.pc.hooks.Essentials
Check if the player is muted by Essentials
isEssentialsVanished(UUID) - Static method in class dev.majek.pc.hooks.Essentials
Check if the player is vanished by Essentials
isFinished() - Method in class dev.majek.pc.data.object.Cooldown
 
isHead(int) - Static method in class dev.majek.pc.hooks.HeadDatabase
 
isInParty() - Method in class dev.majek.pc.data.object.User
 
isLeader() - Method in class dev.majek.pc.api.PartyLeaveEvent
Whether or not the player leaving the party is currently the leader.
isLeader() - Method in class dev.majek.pc.data.object.User
 
isLiteBansBanned(UUID, String) - Static method in class dev.majek.pc.hooks.LiteBans
Check if the player is banned by LiteBans
isLiteBansMuted(UUID, String) - Static method in class dev.majek.pc.hooks.LiteBans
Check if the player is muted by LiteBans
isMuted(Player) - Static method in class dev.majek.pc.data.Restrictions
Check if a player is muted by any of our hooked plugins
isNameTaken(String) - Method in class dev.majek.pc.data.PartyHandler
Check if a certain party name is already taken.
isNoMove() - Method in class dev.majek.pc.data.object.User
 
isOnline() - Method in class dev.majek.pc.data.object.User
 
isPartyOnly() - Method in class dev.majek.pc.data.object.User
 
isPublic() - Method in class dev.majek.pc.data.object.Party
Get party status: public or private.
isSafe(Location) - Static method in class dev.majek.pc.util.Utils
If a player would be teleported to this location, confirm they cannot: take damage from the block at the location (body) take damage from the block above the location (head)
isSpigotLatest() - Method in class dev.majek.pc.util.UpdateChecker
 
isSpyToggle() - Method in class dev.majek.pc.data.object.User
 
isStaff() - Method in class dev.majek.pc.data.object.User
 
isVanillaBanned(UUID) - Static method in class dev.majek.pc.hooks.Vanilla
Check if a player is vanilla banned
isVanished(Player) - Static method in class dev.majek.pc.data.Restrictions
Check if a player is vanished
isVanished(Player) - Static method in class dev.majek.pc.hooks.Vanilla
Check if a player is vanished
isVisible() - Method in class dev.majek.pc.gui.GuiToggle
 
itemWithUuid(ItemStack, UUID) - Static method in class dev.majek.pc.util.SkullCache
Modifies a skull to use the skin of the player with a given uuid.

J

jda() - Static method in class dev.majek.pc.PartyChat
Get the PartyChat JDA connection if it exists.
joinArgsBeyond(int, String, String[]) - Static method in class dev.majek.pc.util.TabCompleterBase
Joins all the arguments after the argument at the given index with the given delimiter.
JsonConfig - Class in dev.majek.pc.data.storage
Used for JSON configuration files.
JsonConfig(File, String) - Constructor for class dev.majek.pc.data.storage.JsonConfig
Please notice that the constructor does not yet create the JSON configuration file.

L

langMap - Variable in class dev.majek.pc.data.LanguageHandler
 
Language - Class in dev.majek.pc.data.object
A language setup in the config with a file ready.
Language(String) - Constructor for class dev.majek.pc.data.object.Language
 
languageHandler() - Static method in class dev.majek.pc.PartyChat
Get PartyChat's language handler.
LanguageHandler - Class in dev.majek.pc.data
Handles all plugin languages and their config files.
LanguageHandler() - Constructor for class dev.majek.pc.data.LanguageHandler
 
LiteBans - Class in dev.majek.pc.hooks
Handles integration with LiteBans.
LiteBans() - Constructor for class dev.majek.pc.hooks.LiteBans
 
load() - Method in class dev.majek.pc.data.legacy.Database
 
load() - Method in class dev.majek.pc.data.legacy.SQLite
 
loadConfig(String) - Method in class dev.majek.pc.data.storage.YamlConfig
 
loadParties() - Method in class dev.majek.pc.data.PartyHandler
Load parties from JSON file storage.
log(Object) - Static method in class dev.majek.pc.PartyChat
Log an object to console.
logError(Throwable, String) - Static method in class dev.majek.pc.PartyChat
Log an exception to console and the plugin's log.
Logging - Class in dev.majek.pc.util
 
Logging() - Constructor for class dev.majek.pc.util.Logging
 
logToDiscord(String) - Static method in class dev.majek.pc.PartyChat
Log a message to the Discord channel defined in the config.yml
logToFile(String, String) - Method in class dev.majek.pc.data.DataHandler
Log a message to today's log file.

M

mainConfig - Static variable in class dev.majek.pc.command.PartyChatCommand
PartyChat's main config file.
mainConfig - Static variable in class dev.majek.pc.command.PartyCommand
PartyChat's main config file.
mainConfig - Variable in class dev.majek.pc.data.DataHandler
 
matches(InventoryEvent) - Method in class dev.majek.pc.gui.Gui
 
material() - Method in class dev.majek.pc.gui.GuiToggle
 
Mechanic - Class in dev.majek.pc.mechanic
Represents a mechanic such as a PlayerQuitEvent and is used in classes that need to run code on plugin startup.
Mechanic() - Constructor for class dev.majek.pc.mechanic.Mechanic
 
mechanicHandler() - Static method in class dev.majek.pc.PartyChat
Get PartyChat's mechanic handler.
MechanicHandler - Class in dev.majek.pc.mechanic
Handles all game mechanics and registers it's sub classes.
MechanicHandler() - Constructor for class dev.majek.pc.mechanic.MechanicHandler
 
messageHandler() - Static method in class dev.majek.pc.PartyChat
Get PartyChat's message handler.
MessageHandler - Class in dev.majek.pc.chat
Handles all plugin messages.
MessageHandler() - Constructor for class dev.majek.pc.chat.MessageHandler
 
messages - Variable in class dev.majek.pc.data.DataHandler
 
messageType - Variable in class dev.majek.pc.data.DataHandler
 
migrated - Variable in class dev.majek.pc.data.DataHandler
 
minecraftVersion - Variable in class dev.majek.pc.data.DataHandler
 
MINUTE - dev.majek.pc.util.TimeInterval
 
MONTH - dev.majek.pc.util.TimeInterval
 
muted - Static variable in class dev.majek.pc.hooks.LiteBans
 

N

name() - Method in class dev.majek.pc.gui.GuiToggle
 
newInventory(int, String) - Method in class dev.majek.pc.gui.Gui
 
NEXT - Variable in class dev.majek.pc.chat.Paginate
 
NEXT_PAGE - Variable in class dev.majek.pc.chat.Paginate
 
NO_ACTION - Static variable in class dev.majek.pc.gui.Gui
 
NO_NEXT_PAGE - Variable in class dev.majek.pc.chat.Paginate
 
NO_PREVIOUS_PAGE - Variable in class dev.majek.pc.chat.Paginate
 
noSQLConnection() - Static method in class dev.majek.pc.data.legacy.Errors
 
noTableFound() - Static method in class dev.majek.pc.data.legacy.Errors
 

O

onClose() - Method in class dev.majek.pc.gui.Gui
 
onCommand(CommandSender, Command, String, String[]) - Method in class dev.majek.pc.command.PartyChatCommand
 
onCommand(CommandSender, Command, String, String[]) - Method in class dev.majek.pc.command.PartyCommand
Handle all of the /party command and subcommands.
onCommandPreprocess(PlayerCommandPreprocessEvent) - Method in class dev.majek.pc.data.DataHandler
 
onDatabaseLoad(DatabaseLoadEvent) - Method in class dev.majek.pc.hooks.HeadDatabase
 
onDisable() - Method in class dev.majek.pc.PartyChat
 
onEnable() - Method in class dev.majek.pc.PartyChat
 
onInventoryClick(InventoryClickEvent) - Method in class dev.majek.pc.gui.GuiHandler
 
onInventoryClose(InventoryCloseEvent) - Method in class dev.majek.pc.gui.GuiHandler
 
onInventoryClosed() - Method in class dev.majek.pc.gui.Gui
 
onItemClick(InventoryClickEvent) - Method in class dev.majek.pc.gui.Gui
 
onPlayerChat(AsyncPlayerChatEvent) - Method in class dev.majek.pc.mechanic.PlayerChat
 
onPlayerJoin(Player) - Method in class dev.majek.pc.mechanic.Mechanic
Runs when a player joins the server.
onPlayerJoin(PlayerJoinEvent) - Method in class dev.majek.pc.data.object.User
 
onPlayerJoin(PlayerJoinEvent) - Method in class dev.majek.pc.mechanic.MechanicHandler
 
onPlayerMove(PlayerMoveEvent) - Method in class dev.majek.pc.mechanic.PlayerMove
This checks if the player moves after accepting a summon request.
onPlayerPvP(EntityDamageByEntityEvent) - Method in class dev.majek.pc.mechanic.PvPEvent
 
onPlayerQuit(Player) - Method in class dev.majek.pc.mechanic.Mechanic
Runs when a player quits the server.
onPlayerQuit(PlayerQuitEvent) - Method in class dev.majek.pc.data.object.User
 
onPlayerQuit(PlayerQuitEvent) - Method in class dev.majek.pc.mechanic.MechanicHandler
 
onPlayerQuit(PlayerQuitEvent) - Method in class dev.majek.pc.mechanic.PlayerQuit
 
onPluginDisable(PluginDisableEvent) - Method in class dev.majek.pc.mechanic.MechanicHandler
 
onPluginEnable(PluginEnableEvent) - Method in class dev.majek.pc.mechanic.MechanicHandler
 
onRequest(OfflinePlayer, String) - Method in class dev.majek.pc.hooks.PAPI
 
onShutdown() - Method in class dev.majek.pc.data.PartyHandler
Runs on plugin shutdown.
onShutdown() - Method in class dev.majek.pc.mechanic.Mechanic
Runs when the plugin is being shutdown.
onStartup() - Method in class dev.majek.pc.command.CommandHandler
 
onStartup() - Method in class dev.majek.pc.data.DataHandler
Runs on plugin startup.
onStartup() - Method in class dev.majek.pc.data.LanguageHandler
 
onStartup() - Method in class dev.majek.pc.data.PartyHandler
 
onStartup() - Method in class dev.majek.pc.mechanic.Mechanic
Runs when the plugin is being enabled.
onTabComplete(CommandSender, Command, String, String[]) - Method in class dev.majek.pc.command.PartyChatCommand
 
onTabComplete(CommandSender, Command, String, String[]) - Method in class dev.majek.pc.command.PartyCommand
Tab completion for /party command and subcommands.
openGui(Player) - Method in class dev.majek.pc.gui.Gui
 

P

PAGE - Variable in class dev.majek.pc.chat.Paginate
 
Paginate - Class in dev.majek.pc.chat
Used to paginate long lists of text, such as help, in chat.
Paginate(List<String>, String, int, String) - Constructor for class dev.majek.pc.chat.Paginate
Generate pagination for when there is a long list of values to display in chat.
Pair<A,​B> - Class in dev.majek.pc.util
Stores two related values.
Pair() - Constructor for class dev.majek.pc.util.Pair
Constructs a new instance of Pair without specifying the two values stored in the pair.
Pair(A, B) - Constructor for class dev.majek.pc.util.Pair
Constructs a new instance of Pair with the two values stored in the pair.
PAPI - Class in dev.majek.pc.hooks
Handles integration with PlaceholderAPI.
PAPI(PartyChat) - Constructor for class dev.majek.pc.hooks.PAPI
 
parse(String) - Method in class dev.majek.pc.chat.ChatParser
Parse the provided string starting at the beginning.
parse(String, int) - Method in class dev.majek.pc.chat.ChatParser
Parse the provided string starting at the provided start location.
parse(String, String...) - Method in class dev.majek.pc.chat.ChatParser
Parse the provided strings starting at the beginning.
ParseException(String) - Constructor for exception dev.majek.pc.chat.ChatParser.ParseException
 
parseSeconds(String) - Static method in enum dev.majek.pc.util.TimeInterval
 
Party - Class in dev.majek.pc.data.object
A party.
Party(String, String, List<User>, Boolean, Boolean) - Constructor for class dev.majek.pc.data.object.Party
Constructed when a party is recreated after restart.
Party(Player, String) - Constructor for class dev.majek.pc.data.object.Party
Constructed when an online player creates a new party.
PartyAccept - Class in dev.majek.pc.command.party
Handles /party accept.
PartyAccept() - Constructor for class dev.majek.pc.command.party.PartyAccept
 
PartyAdd - Class in dev.majek.pc.command.party
Handles /party add.
PartyAdd() - Constructor for class dev.majek.pc.command.party.PartyAdd
 
PartyChat - Class in dev.majek.pc
Main plugin class.
PartyChat() - Constructor for class dev.majek.pc.PartyChat
 
PartyChatApi - Class in dev.majek.pc.api
Handles PartyChat api methods.
PartyChatApi() - Constructor for class dev.majek.pc.api.PartyChatApi
 
PartyChatCommand - Class in dev.majek.pc.command
Handles all /partychat commands and subcommands.
PartyChatCommand() - Constructor for class dev.majek.pc.command.PartyChatCommand
 
PartyChatEvent - Class in dev.majek.pc.api
Handles the event fired when a player sends a message to party chat.
PartyChatEvent(Player, Party, String) - Constructor for class dev.majek.pc.api.PartyChatEvent
Fired when a player sends a message to party chat.
partyChatToggle() - Method in class dev.majek.pc.data.object.User
 
PartyCommand - Class in dev.majek.pc.command
Handles all /party commands and subcommands.
PartyCommand(String, String, String, boolean, boolean, int, List<String>) - Constructor for class dev.majek.pc.command.PartyCommand
 
PartyCreate - Class in dev.majek.pc.command.party
Handles /party create.
PartyCreate() - Constructor for class dev.majek.pc.command.party.PartyCreate
 
PartyCreateEvent - Class in dev.majek.pc.api
Handles the event fired when a party is created.
PartyCreateEvent(Player, Party) - Constructor for class dev.majek.pc.api.PartyCreateEvent
Fires when an in-game player creates a new party.
PartyDeleteEvent - Class in dev.majek.pc.api
Handles the event fired when a party is deleted.
PartyDeleteEvent(Party) - Constructor for class dev.majek.pc.api.PartyDeleteEvent
Fired when a party is deleted.
PartyDeny - Class in dev.majek.pc.command.party
Handles /party deny.
PartyDeny() - Constructor for class dev.majek.pc.command.party.PartyDeny
 
PartyDisband - Class in dev.majek.pc.command.party
Handles /party disband.
PartyDisband() - Constructor for class dev.majek.pc.command.party.PartyDisband
 
partyHandler() - Static method in class dev.majek.pc.PartyChat
Get PartyChat's party handler.
PartyHandler - Class in dev.majek.pc.data
Handles party saving, loading, and storage.
PartyHandler() - Constructor for class dev.majek.pc.data.PartyHandler
 
PartyHelp - Class in dev.majek.pc.command.party
Handles /party help.
PartyHelp() - Constructor for class dev.majek.pc.command.party.PartyHelp
 
PartyInfo - Class in dev.majek.pc.command.party
Handles /party info.
PartyInfo() - Constructor for class dev.majek.pc.command.party.PartyInfo
 
PartyJoin - Class in dev.majek.pc.command.party
Handles /party join.
PartyJoin() - Constructor for class dev.majek.pc.command.party.PartyJoin
 
PartyJoinEvent - Class in dev.majek.pc.api
Handles the event fired when a player joins a party.
PartyJoinEvent(Player, Party) - Constructor for class dev.majek.pc.api.PartyJoinEvent
Fires when an in-game player joins an existing party.
PartyLeave - Class in dev.majek.pc.command.party
Handles /party leave.
PartyLeave() - Constructor for class dev.majek.pc.command.party.PartyLeave
 
PartyLeaveEvent - Class in dev.majek.pc.api
Handles the event fired when a player leaves a party.
PartyLeaveEvent(OfflinePlayer, Party, User) - Constructor for class dev.majek.pc.api.PartyLeaveEvent
Fires when an in-game player leaves a party.
PartyPromote - Class in dev.majek.pc.command.party
Handles /party promote.
PartyPromote() - Constructor for class dev.majek.pc.command.party.PartyPromote
 
PartyRemove - Class in dev.majek.pc.command.party
Handles /party remove.
PartyRemove() - Constructor for class dev.majek.pc.command.party.PartyRemove
 
PartyRename - Class in dev.majek.pc.command.party
Handles /party rename.
PartyRename() - Constructor for class dev.majek.pc.command.party.PartyRename
 
PartyRenameEvent - Class in dev.majek.pc.api
Handles the event fired when a player renames a party.
PartyRenameEvent(Player, Party, String) - Constructor for class dev.majek.pc.api.PartyRenameEvent
Fires when an in-game player renames a party.
PartySummon - Class in dev.majek.pc.command.party
Handles /party summon.
PartySummon() - Constructor for class dev.majek.pc.command.party.PartySummon
 
PartyToggle - Class in dev.majek.pc.command.party
Handles /party toggle
PartyToggle() - Constructor for class dev.majek.pc.command.party.PartyToggle
 
PartyVersion - Class in dev.majek.pc.command.party
Handles /party version.
PartyVersion() - Constructor for class dev.majek.pc.command.party.PartyVersion
 
persist() - Method in class dev.majek.pc.hooks.PAPI
 
persistentParties - Variable in class dev.majek.pc.data.DataHandler
 
PlayerChat - Class in dev.majek.pc.mechanic
Handles the player chat event.
PlayerChat() - Constructor for class dev.majek.pc.mechanic.PlayerChat
 
PlayerMove - Class in dev.majek.pc.mechanic
Handles the player move event.
PlayerMove() - Constructor for class dev.majek.pc.mechanic.PlayerMove
 
PlayerQuit - Class in dev.majek.pc.mechanic
Handles the player quit event.
PlayerQuit() - Constructor for class dev.majek.pc.mechanic.PlayerQuit
 
populateInventory(Player) - Method in class dev.majek.pc.gui.Gui
 
populateInventory(Player) - Method in class dev.majek.pc.gui.GuiInParty
 
populateInventory(Player) - Method in class dev.majek.pc.gui.GuiJoinParty
 
populateInventory(Player) - Method in class dev.majek.pc.gui.GuiManagePlayer
 
populateInventory(Player) - Method in class dev.majek.pc.gui.GuiMembers
 
populateInventory(Player) - Method in class dev.majek.pc.gui.GuiNoParty
 
postStartup() - Method in class dev.majek.pc.data.DataHandler
Set message config file a little after startup.
PREV - Variable in class dev.majek.pc.chat.Paginate
 
PREVIOUS_PAGE - Variable in class dev.majek.pc.chat.Paginate
 
publish(LogRecord) - Method in class dev.majek.pc.util.Logging
 
putInJsonObject(String, int) - Method in class dev.majek.pc.data.storage.JsonConfig
 
putInJsonObject(String, JsonElement) - Method in class dev.majek.pc.data.storage.JsonConfig
 
putInJsonObject(String, String) - Method in class dev.majek.pc.data.storage.JsonConfig
 
PvPEvent - Class in dev.majek.pc.mechanic
Handles the player pvp event.
PvPEvent() - Constructor for class dev.majek.pc.mechanic.PvPEvent
 

R

RAW - dev.majek.pc.data.DataHandler.MessageType
 
ReflectionUtil - Class in dev.majek.pc.util
Useful utility for accessing net.minecraft.server or org.bukkit.craftbukkit classes/methods/fields.
ReflectionUtil() - Constructor for class dev.majek.pc.util.ReflectionUtil
 
refreshInventory() - Method in class dev.majek.pc.gui.Gui
 
registerActiveGui(Gui) - Method in class dev.majek.pc.gui.GuiHandler
Add a Gui to the list of active GUIs.
registerCommands() - Method in class dev.majek.pc.command.CommandHandler
 
registerMechanic(Mechanic) - Method in class dev.majek.pc.mechanic.MechanicHandler
 
registerMechanics() - Method in class dev.majek.pc.mechanic.MechanicHandler
 
registerToggle(GuiToggle) - Method in class dev.majek.pc.gui.GuiHandler
 
registerToggles() - Method in class dev.majek.pc.gui.GuiHandler
 
reload() - Method in class dev.majek.pc.command.CommandHandler
 
reload() - Static method in class dev.majek.pc.command.PartyChatCommand
Refresh the main PartyChat config object used in this class and subclasses.
reload() - Static method in class dev.majek.pc.command.PartyCommand
Refresh the main PartyChat config object used in this class and subclasses.
reload() - Method in class dev.majek.pc.data.DataHandler
 
reload(boolean) - Method in class dev.majek.pc.data.DataHandler
Reload config files to recognize changes.
reloadConfig() - Method in class dev.majek.pc.data.storage.YamlConfig
 
reloadPlugin() - Method in class dev.majek.pc.api.PartyChatApi
Reloads the PartyChat plugin.
removeActiveGui(Gui) - Method in class dev.majek.pc.gui.GuiHandler
Remove a Gui from the list of active GUIs.
removeBar() - Method in class dev.majek.pc.data.object.Bar
 
removeBlockedPlayer(Player) - Method in class dev.majek.pc.data.object.Party
Remove a player from the list of temporarily blocked players.
removeColorCodes(String) - Static method in class dev.majek.pc.chat.ChatUtils
Completely remove all color codes from a string.
removeFromJsonObject(String) - Method in class dev.majek.pc.data.storage.JsonConfig
Remove a key-value from the JSONObject inside JsonConfig.getFile().
removeFromPartyMap(UUID) - Method in class dev.majek.pc.data.PartyHandler
Remove a player from the party map.
removeFromUserMap(User) - Method in class dev.majek.pc.data.DataHandler
Remove a user from the user map.
removeMember(User) - Method in class dev.majek.pc.data.object.Party
Remove a party member.
removePendingInvitation(Player) - Method in class dev.majek.pc.data.object.Party
Remove a player from the list of pending invitations.
removePendingJoinRequest(Player) - Method in class dev.majek.pc.data.object.Party
Remove a player from the list of pending join requests.
removePendingSummons(Player) - Method in class dev.majek.pc.data.object.Party
Remove a player from the list of players with pending summon requests.
removePlayer(Player) - Method in class dev.majek.pc.data.object.Bar
 
requiresLeader() - Method in class dev.majek.pc.command.PartyCommand
 
reset() - Method in class dev.majek.pc.data.storage.JsonConfig
This deletes and recreates the file, wiping all its contents.
Restrictions - Class in dev.majek.pc.data
Handles checking if a player is banned, muted, vanished, etc.
Restrictions() - Constructor for class dev.majek.pc.data.Restrictions
 
run() - Method in class dev.majek.pc.data.object.Cooldown
 
runTaskLater(int, Runnable) - Static method in class dev.majek.pc.command.PartyCommand
 

S

safeValueOf(Function<String, T>, String) - Static method in class dev.majek.pc.util.Utils
Returns the value returned by the given function with the given input, or null if the function throws an exception.
saveConfig() - Method in class dev.majek.pc.data.storage.YamlConfig
 
saveDefaultConfig() - Method in class dev.majek.pc.data.storage.YamlConfig
 
saveParty(Party) - Method in class dev.majek.pc.data.PartyHandler
Save a party to the JSON file storage.
SECOND - dev.majek.pc.util.TimeInterval
 
sendFormattedMessage(CommandSender, String) - Method in class dev.majek.pc.chat.MessageHandler
This will apply PlaceholderAPI placeholders and then parse the message to a Component using ChatParser.
sendMessage(User, String) - Method in class dev.majek.pc.chat.MessageHandler
 
sendMessage(Component) - Method in class dev.majek.pc.data.object.User
 
sendMessage(CommandSender, String) - Method in class dev.majek.pc.chat.MessageHandler
Send a player a message from the messages config file (this will be set to the correct language).
sendMessageToPartyChat(Party, User, String) - Method in class dev.majek.pc.data.PartyHandler
Send a message to a party.
sendMessageWithEverything(CommandSender, String, String, String, String, String, String) - Method in class dev.majek.pc.chat.MessageHandler
Send a message with replacements and message to send to PartyChat.
sendMessageWithReplacement(CommandSender, String, String, String) - Method in class dev.majek.pc.chat.MessageHandler
Send a player a message from the messages config file (this will be set to the correct language) while replacing a target with a defined string.
sendMessageWithReplacements(CommandSender, String, Map<String, String>) - Method in class dev.majek.pc.chat.MessageHandler
Send a message to a CommandSender with multiple replacements.
serializeMembers(List<UUID>) - Static method in class dev.majek.pc.util.Utils
 
setCancelled(boolean) - Method in class dev.majek.pc.api.PartyChatEvent
setCancelled(boolean) - Method in class dev.majek.pc.api.PartyCreateEvent
setCancelled(boolean) - Method in class dev.majek.pc.api.PartyDeleteEvent
setCancelled(boolean) - Method in class dev.majek.pc.api.PartyJoinEvent
setCancelled(boolean) - Method in class dev.majek.pc.api.PartyLeaveEvent
setCancelled(boolean) - Method in class dev.majek.pc.api.PartyRenameEvent
setChatInputCreate(boolean) - Method in class dev.majek.pc.data.object.User
 
setChatInputInvite(boolean) - Method in class dev.majek.pc.data.object.User
 
setChatInputLeave(boolean) - Method in class dev.majek.pc.data.object.User
 
setChatInputRename(boolean) - Method in class dev.majek.pc.data.object.User
 
setCooldown(int) - Method in class dev.majek.pc.command.PartyCommand
 
setDisabled(boolean) - Method in class dev.majek.pc.command.PartyCommand
 
setDisplayName(int, String) - Method in class dev.majek.pc.gui.Gui
 
setFirst(A) - Method in class dev.majek.pc.util.Pair
Set the first value in the pair to the specified value.
setFriendlyFire(boolean) - Method in class dev.majek.pc.data.object.Party
Set the party's friendly fire toggle.
setInParty(boolean) - Method in class dev.majek.pc.data.object.User
 
setItem(int, ItemStack, String, String...) - Method in class dev.majek.pc.gui.Gui
 
setItem(int, Material, String, String...) - Method in class dev.majek.pc.gui.Gui
 
setLanguage(Language) - Method in class dev.majek.pc.data.LanguageHandler
Set the plugin Language.
setLeader(User) - Method in class dev.majek.pc.data.object.Party
Set a new party leader.
setLore(int, String...) - Method in class dev.majek.pc.gui.Gui
 
setMessage(String) - Method in class dev.majek.pc.api.PartyChatEvent
Set the message the player is sending to party chat.
setMessages(String) - Method in class dev.majek.pc.data.DataHandler
Set the DataHandler.messages config file to a different language.
setName(String) - Method in class dev.majek.pc.data.object.Party
Set the party's name.
setNewLeader(User) - Method in class dev.majek.pc.api.PartyLeaveEvent
Set a different player to be the new party leader.
setNewName(String) - Method in class dev.majek.pc.api.PartyRenameEvent
Set the new name of the party.
setNickname(String) - Method in class dev.majek.pc.data.object.User
 
setNoMove(boolean) - Method in class dev.majek.pc.data.object.User
 
setOnline(boolean) - Method in class dev.majek.pc.data.object.User
 
setPartyChatToggle(boolean) - Method in class dev.majek.pc.data.object.User
 
setPartyID(UUID) - Method in class dev.majek.pc.data.object.User
 
setPartyOnly(boolean) - Method in class dev.majek.pc.data.object.User
 
setPlayer(Player) - Method in class dev.majek.pc.data.object.User
 
setPlayerID(UUID) - Method in class dev.majek.pc.data.object.User
 
setPublic(boolean) - Method in class dev.majek.pc.data.object.Party
Set the public status.
setSecond(B) - Method in class dev.majek.pc.util.Pair
Set the second value in the pair to the specified value.
setSpyToggle(boolean) - Method in class dev.majek.pc.data.object.User
 
setStaff(boolean) - Method in class dev.majek.pc.data.object.User
 
SkullCache - Class in dev.majek.pc.util
Handles fetching and caching player skulls for easier use in GUIs.
SkullCache() - Constructor for class dev.majek.pc.util.SkullCache
 
skullFromUuid(UUID) - Static method in class dev.majek.pc.util.SkullCache
Creates a player skull item with the skin based on a player's UUID.
sqlConnectionClose() - Static method in class dev.majek.pc.data.legacy.Errors
 
sqlConnectionExecute() - Static method in class dev.majek.pc.data.legacy.Errors
 
SQLite - Class in dev.majek.pc.data.legacy
SQLite setup for legacy Database.
SQLite(PartyChat) - Constructor for class dev.majek.pc.data.legacy.SQLite
 
supportedLanguages - Variable in class dev.majek.pc.data.LanguageHandler
 

T

TabCompleterBase - Class in dev.majek.pc.util
Allows for some static utility methods to be available to tab completer.
TabCompleterBase() - Constructor for class dev.majek.pc.util.TabCompleterBase
 
table - Variable in class dev.majek.pc.data.legacy.Database
 
TimeInterval - Enum in dev.majek.pc.util
Time stuffs.
toJSONObject() - Method in class dev.majek.pc.data.storage.JsonConfig
 
toString() - Method in class dev.majek.pc.util.Pair

U

UpdateChecker - Class in dev.majek.pc.util
Used to check for plugin updates from the Spigot plugin page.
UpdateChecker(JavaPlugin, int) - Constructor for class dev.majek.pc.util.UpdateChecker
Construct a new update checker.
updateFile() - Method in class dev.majek.pc.data.object.Language
 
updateMainConfig() - Method in class dev.majek.pc.data.DataHandler
Initialize the main config file before doing anything else.
updatePerms(Player) - Method in class dev.majek.pc.data.DataHandler
Update a players staff permissions.
useDisplayNames - Variable in class dev.majek.pc.data.DataHandler
 
user - Variable in class dev.majek.pc.gui.Gui
 
User - Class in dev.majek.pc.data.object
A PartyChat user.
User() - Constructor for class dev.majek.pc.data.object.User
 
User(UUID) - Constructor for class dev.majek.pc.data.object.User
Constructed when the server restarts and saved parties are pulled from JSON.
User(Player) - Constructor for class dev.majek.pc.data.object.User
Constructed when a player joins and isn't already in memory.
useVault - Variable in class dev.majek.pc.data.DataHandler
 
Utils - Class in dev.majek.pc.util
Contains various unrelated utility functions.
UUID_00 - Static variable in class dev.majek.pc.util.Utils
 

V

valueOf(String) - Static method in enum dev.majek.pc.data.DataHandler.MessageType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.majek.pc.util.TimeInterval
Returns the enum constant of this type with the specified name.
values() - Static method in enum dev.majek.pc.data.DataHandler.MessageType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.majek.pc.util.TimeInterval
Returns an array containing the constants of this enum type, in the order they are declared.
VALUES - Static variable in enum dev.majek.pc.util.TimeInterval
 
Vanilla - Class in dev.majek.pc.hooks
Handles miscellaneous vanilla hooks.
Vanilla() - Constructor for class dev.majek.pc.hooks.Vanilla
 
Vault - Class in dev.majek.pc.hooks
Handles integration with Vault.
Vault() - Constructor for class dev.majek.pc.hooks.Vault
 

W

walk(Location, int, int) - Static method in class dev.majek.pc.util.Utils
Search for a safe location using findSafe starting at and including origin in steps of dx dz where these values are multiplied by 16 when there is Liquid at y62 as this usually indicates being in an ocean and oceans provide a lower probability for findSafe to return a non null location.
WEEK - dev.majek.pc.util.TimeInterval
 
wipeDirectory() - Method in class dev.majek.pc.data.storage.JsonConfig
Wipe the config file's directory, including the file itself.
wipeOldPlugin() - Method in class dev.majek.pc.data.DataHandler
This will replace the old config files if they still exist.

Y

YamlConfig - Class in dev.majek.pc.data.storage
Used for YAML configuration files.
YamlConfig(JavaPlugin, String) - Constructor for class dev.majek.pc.data.storage.YamlConfig
 
YEAR - dev.majek.pc.util.TimeInterval
 
A B C D E F G H I J L M N O P R S T U V W Y 
All Classes All Packages