CommandAPI 9.6.0
An API for the command UI introduced in Minecraft 1.13
|
Configuration wrapper class for Bukkit. More...
Public Member Functions | |
InternalBukkitConfig (CommandAPIBukkitConfig config) | |
Creates an InternalBukkitConfig from a CommandAPIBukkitConfig . More... | |
JavaPlugin | getPlugin () |
boolean | shouldHookPaperReload () |
boolean | skipReloadDatapacks () |
boolean | hasVerboseOutput () |
boolean | hasSilentLogs () |
boolean | shouldUseLatestNMSVersion () |
boolean | shouldBeLenientForMinorVersions () |
String | getMissingImplementationMessage () |
File | getDispatcherFile () |
boolean | shouldSkipSenderProxy (String commandName) |
Class<?> | getNBTContainerClass () |
Function< Object, ?> | getNBTContainerConstructor () |
void | lateInitializeNBT (Class<?> nbtContainerClass, Function< Object, ?> nbtContainerConstructor) |
String | getNamespace () |
Configuration wrapper class for Bukkit.
The config.yml file used by the CommandAPI is only ever read from, nothing is ever written to it. That's why there's only getter methods.
dev.jorel.commandapi.InternalBukkitConfig.InternalBukkitConfig | ( | CommandAPIBukkitConfig | config | ) |
Creates an InternalBukkitConfig
from a CommandAPIBukkitConfig
.
config | The configuration to use to set up this internal configuration |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
JavaPlugin dev.jorel.commandapi.InternalBukkitConfig.getPlugin | ( | ) |
JavaPlugin
that is loading the CommandAPI
|
inherited |
|
inherited |
|
inherited |
boolean dev.jorel.commandapi.InternalBukkitConfig.shouldHookPaperReload | ( | ) |
ServerResourcesReloadedEvent
when available to perform the CommandAPI's custom datapack reload when /minecraft:reload
is run.
|
inherited |
commandName | A command where sender proxying should be skipped |
|
inherited |
boolean dev.jorel.commandapi.InternalBukkitConfig.skipReloadDatapacks | ( | ) |