Class CoreMessages
-
- All Implemented Interfaces:
-
org.bukkit.configuration.Configuration
,org.bukkit.configuration.ConfigurationSection
public final class CoreMessages extends SavedConfig
Provides messages used by the core classes, or are commonly used in other modules
-
-
Field Summary
Fields Modifier and Type Field Description private final Message
tooManyArguments
private final Message
noSafeLocationFound
private final Message
noPermission
private final Message
commandNotFromConsole
private final Message
mustSpecifyPlayerFromConsole
private final Message
commandModuleDisabled
private final Message
failedToLoadDataOnJoin
private final Message
notHavingItemInHand
private final Message
cantUseRelativeCoordsFromConsole
-
Constructor Summary
Constructors Constructor Description CoreMessages(ConfigInstantiationContext context)
-
Method Summary
-
Methods inherited from class com.github.spigotbasics.core.config.SavedConfig
getMessage, load, reload, save
-
Methods inherited from class org.bukkit.configuration.file.FileConfiguration
load, load, save, save
-
Methods inherited from class org.bukkit.configuration.MemorySection
contains, contains, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getComments, getConfigurationSection, getCurrentPath, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInlineComments, getInt, getInt, getIntegerList, getItemStack, getItemStack, getKeys, getList, getList, getLocation, getLocation, getLong, getLong, getLongList, getMapList, getName, getObject, getObject, getOfflinePlayer, getOfflinePlayer, getRoot, getSerializable, getSerializable, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLocation, isLong, isOfflinePlayer, isSet, isString, isVector, set, setComments, setInlineComments, toString
-
Methods inherited from class org.bukkit.configuration.MemoryConfiguration
addDefault, addDefaults, addDefaults, getDefaults, getParent, setDefaults
-
Methods inherited from class org.bukkit.configuration.file.YamlConfiguration
loadFromString, options, saveToString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CoreMessages
CoreMessages(ConfigInstantiationContext context)
-
-
Method Detail
-
getTooManyArguments
final Message getTooManyArguments()
-
getNoSafeLocationFound
final Message getNoSafeLocationFound()
-
getNoPermission
final Message getNoPermission()
-
getCommandNotFromConsole
final Message getCommandNotFromConsole()
-
getMustSpecifyPlayerFromConsole
final Message getMustSpecifyPlayerFromConsole()
-
getCommandModuleDisabled
final Message getCommandModuleDisabled()
-
getFailedToLoadDataOnJoin
final Message getFailedToLoadDataOnJoin()
-
getNotHavingItemInHand
final Message getNotHavingItemInHand()
-
getCantUseRelativeCoordsFromConsole
final Message getCantUseRelativeCoordsFromConsole()
-
notHavingItemInHand
final Message notHavingItemInHand(Player player)
-
noPermission
final Message noPermission(Permission permission)
-
unknownOption
final Message unknownOption(String option)
-
invalidArgument
final Message invalidArgument(String argument)
-
playerNotFound
final Message playerNotFound(String name)
-
worldNotFound
final Message worldNotFound(String name)
-
worldNotLoaded
final Message worldNotLoaded(String name)
-
unsupportedServerSoftware
final Message unsupportedServerSoftware(String feature)
-
selectorIncludesEntities
final Message selectorIncludesEntities(String argumentName, String selector)
-
selectorMatchesNoEntities
final Message selectorMatchesNoEntities(String argumentName, String selector)
-
selectorMatchesMultiplePlayers
final Message selectorMatchesMultiplePlayers(String argumentName, String selector)
-
selectorMatchesMultipleEntities
final Message selectorMatchesMultipleEntities(String argumentName, String selector)
-
selectorCouldNotParse
final Message selectorCouldNotParse(String argumentName, String selector)
-
errorExecutingCommand
final Message errorExecutingCommand(Permissible receiver, Throwable error)
-
invalidValueForArgument
final Message invalidValueForArgument(String argumentName, String givenValue)
-
invalidValueForArgumentMustBeInteger
final Message invalidValueForArgumentMustBeInteger(String argumentName, String givenValue)
-
invalidValueForArgumentNumberNotInRange
final Message invalidValueForArgumentNumberNotInRange(String argumentName, Integer givenValue, Integer min, Integer max)
-
missingArgument
final Message missingArgument(String name)
-
invalidSubcommand
final Message invalidSubcommand(String argument)
-
notEnoughArgumentsGivenForArgument
final Message notEnoughArgumentsGivenForArgument(String name)
-
-
-
-