Index

C D E F G H I L N O P R S T V W 
All Classes and Interfaces|All Packages

C

close() - Method in class net.lewmc.foundry.Files
Closes the configuration file without saving it.
command(String[], CommandExecutor) - Method in class net.lewmc.foundry.Registry
Registers a command with the server, handling any potential issues.
command(String, CommandExecutor) - Method in class net.lewmc.foundry.Registry
Registers a command with the server, handling any potential issues.
create(String) - Method in class net.lewmc.foundry.Files
Creates a file.

D

delete(String) - Method in class net.lewmc.foundry.Files
Deletes a file.

E

event(Listener) - Method in class net.lewmc.foundry.Registry
Registers an event with the server, handling any potential issues.
exists(String) - Method in class net.lewmc.foundry.Files
Checks if a file exists.

F

Files - Class in net.lewmc.foundry
File Utility.
Files(FoundryConfig, JavaPlugin) - Constructor for class net.lewmc.foundry.Files
The constructor for the Files class.
Foundry - Class in net.lewmc.foundry
The main Foundry class.
Foundry() - Constructor for class net.lewmc.foundry.Foundry
 
FoundryCommand - Class in net.lewmc.foundry.command
Foundry's command class.
FoundryCommand() - Constructor for class net.lewmc.foundry.command.FoundryCommand
 
FoundryConfig - Class in net.lewmc.foundry
The configuration class.
FoundryConfig(JavaPlugin) - Constructor for class net.lewmc.foundry.FoundryConfig
Sets up the FoundryConfig class.
FoundryConsoleCommand - Class in net.lewmc.foundry.command
A command that can only be executed by the console.
FoundryConsoleCommand() - Constructor for class net.lewmc.foundry.command.FoundryConsoleCommand
 
FoundryModule - Class in net.lewmc.foundry
Essence Module class
FoundryModule(JavaPlugin, Registry) - Constructor for class net.lewmc.foundry.FoundryModule
Executes all other functions.
FoundryPlayerCommand - Class in net.lewmc.foundry.command
A command that can only be executed by the console.
FoundryPlayerCommand() - Constructor for class net.lewmc.foundry.command.FoundryPlayerCommand
 

G

get(String) - Method in class net.lewmc.foundry.Files
Gets an object from the configuration file.
getBoolean(String) - Method in class net.lewmc.foundry.Files
Gets a boolean from the configuration file.
getDouble(String) - Method in class net.lewmc.foundry.Files
Gets a double from the configuration file.
getInt(String) - Method in class net.lewmc.foundry.Files
Gets an integer from the configuration file.
getKeys(boolean) - Method in class net.lewmc.foundry.Files
Gets a List from the configuration file if is root.
getKeys(String, boolean) - Method in class net.lewmc.foundry.Files
Gets a List from the configuration file if not root.
getString(String) - Method in class net.lewmc.foundry.Files
Gets a string from the configuration file.
getStringList(String) - Method in class net.lewmc.foundry.Files
Gets a String List from the configuration file.

H

has(String) - Method in class net.lewmc.foundry.Permissions
Checks if the user has a specific permission.
hasPermission(CommandSender, String) - Method in class net.lewmc.foundry.command.FoundryCommand
Checks if the CommandSender has the required permission.
hasSpecialCharacters(String) - Method in class net.lewmc.foundry.Security
Checks for special characters.

I

info(String) - Method in class net.lewmc.foundry.Logger
Logs a message to the server console as informational (standard).
isOpen() - Method in class net.lewmc.foundry.Files
Checks if a file is open.

L

load(String) - Method in class net.lewmc.foundry.Files
Opens a configuration file.
loadNoReformat(File) - Method in class net.lewmc.foundry.Files
Opens a configuration file from root (without checking format).
Logger - Class in net.lewmc.foundry
Logging Utility.
Logger(FoundryConfig) - Constructor for class net.lewmc.foundry.Logger
Constructor for the LogUtil class.

N

net.lewmc.foundry - package net.lewmc.foundry
 
net.lewmc.foundry.command - package net.lewmc.foundry.command
 
noConsole() - Method in class net.lewmc.foundry.Logger
Logs a message to the console, informing the console operator that it cannot run the command requested.

O

onCommand(CommandSender, Command, String, String[]) - Method in class net.lewmc.foundry.command.FoundryCommand
Runs the command.
onCommand(CommandSender, Command, String, String[]) - Method in class net.lewmc.foundry.command.FoundryConsoleCommand
Runs the command with a check to ensure that the executor is a console entity.
onCommand(CommandSender, Command, String, String[]) - Method in class net.lewmc.foundry.command.FoundryPlayerCommand
Runs the command with a check to ensure that the executor is a player entity.
onEnable() - Method in class net.lewmc.foundry.Foundry
This function runs when Foundry is enabled.
onRun(CommandSender, Command, String, String[]) - Method in class net.lewmc.foundry.command.FoundryCommand
Runs the command.

P

Permissions - Class in net.lewmc.foundry
Permission Handler.
Permissions(CommandSender) - Constructor for class net.lewmc.foundry.Permissions
Constructor.
playerDataFile(UUID) - Method in class net.lewmc.foundry.Files
Return the location of the player's data file from the player's UUID.
playerDataFile(Player) - Method in class net.lewmc.foundry.Files
Return the location of the player's data file from an instance of the player.
plugin - Variable in class net.lewmc.foundry.FoundryConfig
Reference to the parent plugin.
plugin - Variable in class net.lewmc.foundry.FoundryModule
The plugin
pluginId - Variable in class net.lewmc.foundry.FoundryConfig
The plugin's ID

R

reg - Variable in class net.lewmc.foundry.FoundryModule
The Foundry Registry
registerCommands() - Method in class net.lewmc.foundry.FoundryModule
Where commands to be registered should be placed.
registerEvents() - Method in class net.lewmc.foundry.FoundryModule
Where events to be registered should be placed.
registerTabCompleters() - Method in class net.lewmc.foundry.FoundryModule
Where tab completers to be registered should be placed.
Registry - Class in net.lewmc.foundry
Command Registry
Registry(FoundryConfig, JavaPlugin) - Constructor for class net.lewmc.foundry.Registry
Constructor for the class.
remove(String) - Method in class net.lewmc.foundry.Files
Removes a key and it's associated data.
requiredPermission() - Method in class net.lewmc.foundry.command.FoundryCommand
Stores the permission that is required.

S

save() - Method in class net.lewmc.foundry.Files
Saves and closes the current configuration file.
save(File) - Method in class net.lewmc.foundry.Files
Saves and closes the current configuration file to a custom location.
Security - Class in net.lewmc.foundry
Security Utility
Security(FoundryConfig) - Constructor for class net.lewmc.foundry.Security
Constructor for the Security Utility.
set(String, Object) - Method in class net.lewmc.foundry.Files
Sets a value in the configuration file.
setVerbose(boolean) - Method in class net.lewmc.foundry.FoundryConfig
Sets if Foundry should be verbose.
severe(String) - Method in class net.lewmc.foundry.Logger
Logs a message to the server console as severe (fatal error).
startWatchdog() - Method in class net.lewmc.foundry.Security
startWatchdog keeps tabs on the startup processes, preventing your plugin from being started twice.
stopWatchdog() - Method in class net.lewmc.foundry.Security
Stops the watchdog service.

T

tabCompleter(String[], TabCompleter) - Method in class net.lewmc.foundry.Registry
Registers a Tab Completer with the server, handling any potential issues.
tabCompleter(String, TabCompleter) - Method in class net.lewmc.foundry.Registry
Registers a Tab Completer with the server, handling any potential issues.

V

verbose - Variable in class net.lewmc.foundry.FoundryConfig
Should Foundry be verbose?
verboseAlert(String, String) - Method in class net.lewmc.foundry.Registry
Alerts the verbose logs of a registration.

W

warn(String) - Method in class net.lewmc.foundry.Logger
Logs a message to the server console as warning (non-fatal error).
C D E F G H I L N O P R S T V W 
All Classes and Interfaces|All Packages