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

A

addPermission(LapisPermission) - Method in class net.lapismc.lapiscore.LapisCorePermissions.PermissionManager
Adds the given permission to the stored permissions for later use
addShutdownTask(Runnable) - Method in class net.lapismc.lapiscore.utils.LapisTaskHandler
Adds a task to be run when the plugin is disabled
addTask(BukkitTask) - Method in class net.lapismc.lapiscore.utils.LapisTaskHandler
Add a task so that it can be canceled later

C

calculatePermission(UUID) - Method in class net.lapismc.lapiscore.LapisCorePermissions
Calculate the PlayerPermission for a player
checkOtherFile(File) - Method in class net.lapismc.lapiscore.utils.LapisCoreFileWatcher
Override this method to deal with an unhandled file being edited This will only be fired for unknown files, it will not trigger when config or messages files are edited
checkUpdate() - Method in class net.lapismc.lapiscore.utils.LapisUpdater
Check if there is an update
colorMessage(String) - Method in class net.lapismc.lapiscore.LapisCoreConfiguration
Colorize any string with color codes, this is used to support the p and s color codes that you might retrieve directly
CommandRegistry - Class in net.lapismc.lapiscore.commands
Place to store the LapisCoreCommands that are registered to each plugin
CommandRegistry() - Constructor for class net.lapismc.lapiscore.commands.CommandRegistry
 
config - Variable in class net.lapismc.lapiscore.LapisCorePlugin
The config management class is registered here so that it can be accessed mainly for message retrieval

D

downloadFile(URL, File) - Method in class net.lapismc.lapiscore.utils.FileDownloader
Download a file
downloadUpdate() - Method in class net.lapismc.lapiscore.utils.LapisUpdater
Downloads the latest jar (if there is an update) and readies it for installation

E

execute(CommandSender, String, String[]) - Method in class net.lapismc.lapiscore.commands.LapisCoreCommand
 

F

FileDownloader - Class in net.lapismc.lapiscore.utils
A simple file downloading class This is not Async so do that your self
FileDownloader() - Constructor for class net.lapismc.lapiscore.utils.FileDownloader
 
fileUpdate(File) - Method in class net.lapismc.lapiscore.utils.LapisCoreFileWatcher
Override this method to deal with a file being edited This will be fired for every file change, including config.yml and messages.yml files
fileWatcher - Variable in class net.lapismc.lapiscore.LapisCorePlugin
PLease store your LapisCoreFileWatcher here so that it can be stopped on disable

G

generateConfigs() - Method in class net.lapismc.lapiscore.LapisCoreConfiguration
Generates the default configs from the plugin jar file Will not overwrite existing files, will only generate them if they don't exist
getAssignedPermission(UUID) - Method in class net.lapismc.lapiscore.LapisCorePermissions
Get the Bukkit permission assigned to a player
getCommand(String) - Static method in class net.lapismc.lapiscore.commands.CommandRegistry
Get a LapisCore command registered to this plugin
getDefaultValue() - Method in class net.lapismc.lapiscore.permissions.LapisPermission
Get the default state for this permission, definined in the plugin implementing it defaults to 0 if not set by plugin
getHandlerList() - Static method in class net.lapismc.lapiscore.events.LapisCoreEvent
Another requirement of the Spigot API
getHandlers() - Method in class net.lapismc.lapiscore.events.LapisCoreEvent
 
getInstance() - Static method in class net.lapismc.lapiscore.LapisCorePlugin
Get the main instance of this class for use in Bukkit methods in places where dependency injection isn't viable Should only be used when 100% necessary, don't use this if you can get a normal reference to the main class in some way
getMessage(String) - Method in class net.lapismc.lapiscore.LapisCoreConfiguration
Get a message from the messages.yml, This method will colorize the file when it is loaded
getMessage(String, OfflinePlayer) - Method in class net.lapismc.lapiscore.LapisCoreConfiguration
Overloaded LapisCoreConfiguration.getMessage(String) for dealing with placeholder API
getMessages() - Method in class net.lapismc.lapiscore.LapisCoreConfiguration
Get the messages.yml as a YamlConfiguration
getName() - Method in class net.lapismc.lapiscore.permissions.LapisPermission
Get the name of this permission
getNewVersion() - Method in class net.lapismc.lapiscore.utils.SpigotUpdateChecker
Get the string for the latest version, this could be used when informing the user about an update to show how far behind they are
getOfflinePlayerPermission(UUID) - Method in class net.lapismc.lapiscore.LapisCorePermissions
Override this method to provide a method of retrieving the players permission while they are offline
getPermission() - Method in class net.lapismc.lapiscore.permissions.PlayerPermission
 
getPermission(String) - Method in class net.lapismc.lapiscore.LapisCorePermissions.PermissionManager
Retrieve a specific permission given its name
getPermissions() - Method in class net.lapismc.lapiscore.LapisCorePermissions.PermissionManager
Get all registered permissions
getPermissions() - Method in class net.lapismc.lapiscore.permissions.PlayerPermission
 
getPermissionValue(UUID, LapisPermission) - Method in class net.lapismc.lapiscore.LapisCorePermissions
Get the raw Integer value of the permission for a player
getPermissionValue(LapisPermission) - Method in class net.lapismc.lapiscore.permissions.PlayerPermission
 
getPluginClassLoader() - Method in class net.lapismc.lapiscore.LapisCorePlugin
Get the normally protected class loader from the JavaPlugin class
getReason() - Method in class net.lapismc.lapiscore.events.LapisCoreCancellableEvent
getTakenAliases() - Method in class net.lapismc.lapiscore.commands.LapisCoreCommand
Get a list of aliases that this command has attempted to override from other plugins

H

handlers - Static variable in class net.lapismc.lapiscore.events.LapisCoreEvent
This is a list required by the Spigot API

I

isCancelled() - Method in class net.lapismc.lapiscore.events.LapisCoreCancellableEvent
Check if the event is cancelled
isNotPlayer(CommandSender, String) - Method in class net.lapismc.lapiscore.commands.LapisCoreCommand
Test if the sender is a player and send them a message if they are not a player
isPermitted(UUID, LapisPermission) - Method in class net.lapismc.lapiscore.LapisCorePermissions
Check if a player is given a permission
isPermitted(CommandSender, LapisPermission) - Method in class net.lapismc.lapiscore.commands.LapisCoreCommand
Check if a sender is permitted, requires LapisCorePermissions to be registered in LapisCorePlugin
isUpdateAvailable() - Method in class net.lapismc.lapiscore.utils.SpigotUpdateChecker
Check if there is an update available on Spigot

L

LapisCoreCancellableEvent - Class in net.lapismc.lapiscore.events
An utility class to make cancellable events
LapisCoreCancellableEvent() - Constructor for class net.lapismc.lapiscore.events.LapisCoreCancellableEvent
 
LapisCoreCommand - Class in net.lapismc.lapiscore.commands
An utility class to make custom commands that are not in the plugin.yml
LapisCoreCommand(LapisCorePlugin, String, String, List<String>) - Constructor for class net.lapismc.lapiscore.commands.LapisCoreCommand
If in doubt use this constructor
LapisCoreCommand(LapisCorePlugin, String, String, List<String>, boolean) - Constructor for class net.lapismc.lapiscore.commands.LapisCoreCommand
This constructor allows you to take conflicting commands and aliases
LapisCoreConfigUpdater - Class in net.lapismc.lapiscore.utils
This class uses the ConfigUpdater by tchristofferson This project can be found here https://github.com/tchristofferson/Config-Updater
LapisCoreConfigUpdater(LapisCorePlugin, int, File) - Constructor for class net.lapismc.lapiscore.utils.LapisCoreConfigUpdater
Adds new keys to configs without loosing comments
LapisCoreConfiguration - Class in net.lapismc.lapiscore
An utility class for dealing with config.yml and messages.yml files
LapisCoreConfiguration(LapisCorePlugin, int, int) - Constructor for class net.lapismc.lapiscore.LapisCoreConfiguration
Register the configurations and generate them
LapisCoreContextCalculator<Player> - Class in net.lapismc.lapiscore.utils.luckperms
 
LapisCoreContextCalculator() - Constructor for class net.lapismc.lapiscore.utils.luckperms.LapisCoreContextCalculator
 
LapisCoreContexts - Class in net.lapismc.lapiscore.utils.luckperms
 
LapisCoreContexts(LapisCorePlugin) - Constructor for class net.lapismc.lapiscore.utils.luckperms.LapisCoreContexts
 
LapisCoreEvent - Class in net.lapismc.lapiscore.events
An utility class for making notification events
LapisCoreEvent() - Constructor for class net.lapismc.lapiscore.events.LapisCoreEvent
 
LapisCoreFileWatcher - Class in net.lapismc.lapiscore.utils
An utility class for reloading files when they are edited
LapisCoreFileWatcher(LapisCorePlugin) - Constructor for class net.lapismc.lapiscore.utils.LapisCoreFileWatcher
Start the file watcher
LapisCorePermissions - Class in net.lapismc.lapiscore
This class handles the complex custom permission system that LapisCore
LapisCorePermissions(LapisCorePlugin) - Constructor for class net.lapismc.lapiscore.LapisCorePermissions
 
LapisCorePermissions.PermissionManager - Class in net.lapismc.lapiscore
This class is used to store and retrieve permissions
LapisCorePlugin - Class in net.lapismc.lapiscore
An extendable class that adds utility to the core JavaPlugin class
LapisCorePlugin() - Constructor for class net.lapismc.lapiscore.LapisCorePlugin
Used to register the instance of the plugin for static access, this is called by Bukkit when it loads the plugin
LapisPermission - Class in net.lapismc.lapiscore.permissions
This class is used to represent a setting that can be set for each permission
LapisPermission(String) - Constructor for class net.lapismc.lapiscore.permissions.LapisPermission
Create a permission with the given name
LapisPermission(String, int) - Constructor for class net.lapismc.lapiscore.permissions.LapisPermission
Overloads LapisPermission(String) with a default value
LapisTaskHandler - Class in net.lapismc.lapiscore.utils
A class for storing BukkitTasks so that they can be cleanly canceled when the plugin disables
LapisTaskHandler() - Constructor for class net.lapismc.lapiscore.utils.LapisTaskHandler
 
LapisUpdater - Class in net.lapismc.lapiscore.utils
An utility class to check and download plugin updates using GitHub
LapisUpdater(JavaPlugin, String, String, String, String) - Constructor for class net.lapismc.lapiscore.utils.LapisUpdater
The URL to the latest jar should be https://raw.githubusercontent.com/username/repoName/branch/updater/ID/jarName.jar
loadPermissions() - Method in class net.lapismc.lapiscore.LapisCorePermissions
Call this method to load the permission values from config once all of your LapisPermissions have been registered
LocationUtils - Class in net.lapismc.lapiscore.utils
A util for parsing Location objects to and from String objects Primarily used for storing locations in configs
LocationUtils() - Constructor for class net.lapismc.lapiscore.utils.LocationUtils
 

N

net.lapismc.lapiscore - package net.lapismc.lapiscore
 
net.lapismc.lapiscore.commands - package net.lapismc.lapiscore.commands
 
net.lapismc.lapiscore.events - package net.lapismc.lapiscore.events
 
net.lapismc.lapiscore.permissions - package net.lapismc.lapiscore.permissions
 
net.lapismc.lapiscore.utils - package net.lapismc.lapiscore.utils
 
net.lapismc.lapiscore.utils.luckperms - package net.lapismc.lapiscore.utils.luckperms
 

O

onCommand(CommandSender, String[]) - Method in class net.lapismc.lapiscore.commands.LapisCoreCommand
Implement this to process commands
onCommand(CommandSender, String, String[]) - Method in class net.lapismc.lapiscore.commands.LapisCoreCommand
This is here to allow legacy commands to be moved over to this API easily
onDisable() - Method in class net.lapismc.lapiscore.LapisCorePlugin
 

P

parseLocationToString(Location) - Method in class net.lapismc.lapiscore.utils.LocationUtils
Creates a config safe String from a Location
parseStringToLocation(String) - Method in class net.lapismc.lapiscore.utils.LocationUtils
Creates a Location object from a String
PermissionManager() - Constructor for class net.lapismc.lapiscore.LapisCorePermissions.PermissionManager
 
perms - Variable in class net.lapismc.lapiscore.LapisCorePlugin
The permission management class is registered here so that it can be accessed throughout the plugin for checking permissions
PlayerPermission - Class in net.lapismc.lapiscore.permissions
A class to represent the permissions given to players and the values applied to them
PlayerPermission(Permission, Map<LapisPermission, Integer>) - Constructor for class net.lapismc.lapiscore.permissions.PlayerPermission
 
plugin - Variable in class net.lapismc.lapiscore.utils.luckperms.LapisCoreContextCalculator
 
primaryColor - Variable in class net.lapismc.lapiscore.LapisCorePlugin
The primary color pulled from the config

R

registerCommand(LapisCoreCommand) - Static method in class net.lapismc.lapiscore.commands.CommandRegistry
Regster a command to this plugin for later retrieval
registerConfiguration(LapisCoreConfiguration) - Method in class net.lapismc.lapiscore.LapisCorePlugin
Register a LapisCoreConfiguration class to be accessed with this.config
registerContext(LapisCoreContextCalculator<Player>) - Method in class net.lapismc.lapiscore.utils.luckperms.LapisCoreContexts
 
registerPermissions(LapisCorePermissions) - Method in class net.lapismc.lapiscore.LapisCorePlugin
Register a LapisCorePermissions class to be accessed with this.perms
registerPermissions(LapisPermission...) - Method in class net.lapismc.lapiscore.LapisCorePermissions
Register permissions with LapisPermission objects
registerTabCompleter(TabCompleter) - Method in class net.lapismc.lapiscore.commands.LapisCoreCommand
Registers the given class as the tab completer for this command
reloadMessages() - Method in class net.lapismc.lapiscore.LapisCoreConfiguration
Reload the messages file into memory as the messages.yml
replacePlaceholders(String, OfflinePlayer) - Method in class net.lapismc.lapiscore.LapisCoreConfiguration
A utility method to replace placeholders from PAPI

S

savePlayersPermission(UUID, Permission) - Method in class net.lapismc.lapiscore.LapisCorePermissions
Override this method to save the players permission for retrieval when they are offline
secondaryColor - Variable in class net.lapismc.lapiscore.LapisCorePlugin
The secondary color pulled from the config
sendMessage(CommandSender, String) - Method in class net.lapismc.lapiscore.commands.LapisCoreCommand
Send a message from the messages.yml to the command sender provided, requires LapisCoreConfiguration to be registered in LapisCorePlugin
setCancelled(boolean) - Method in class net.lapismc.lapiscore.events.LapisCoreCancellableEvent
Deprecated.
setCancelled(boolean, String) - Method in class net.lapismc.lapiscore.events.LapisCoreCancellableEvent
Cancel the event with a reason
SpigotUpdateChecker - Class in net.lapismc.lapiscore.utils
Class used to check for updates on Spigot resources Useful for closed source/premium plugins
SpigotUpdateChecker(LapisCorePlugin, String) - Constructor for class net.lapismc.lapiscore.utils.SpigotUpdateChecker
Setup the Update Checker
stop() - Method in class net.lapismc.lapiscore.utils.LapisCoreFileWatcher
Used to safely stop the file watcher
stopALlTasks() - Method in class net.lapismc.lapiscore.utils.LapisTaskHandler
Should only be called from on disable as it will cancel all registered commands

T

tabComplete(CommandSender, String, String[]) - Method in class net.lapismc.lapiscore.commands.LapisCoreCommand
Calls the default behaviour unless a tab completer has been set with LapisCoreCommand.registerTabCompleter(TabCompleter), from 1.13 onwards this is constantly triggered for possible completions displayed above the chat bar
tasks - Variable in class net.lapismc.lapiscore.LapisCorePlugin
Please use this object to store tasks since it means stopping them all is so easy
toString() - Method in class net.lapismc.lapiscore.permissions.LapisPermission
 
toString() - Method in class net.lapismc.lapiscore.permissions.PlayerPermission
 

U

unregisterAll() - Method in class net.lapismc.lapiscore.utils.luckperms.LapisCoreContexts
 
A C D E F G H I L N O P R S T U 
All Classes All Packages