Package dev.jorel.commandapi
Class InternalVelocityConfig
java.lang.Object
dev.jorel.commandapi.InternalConfig
dev.jorel.commandapi.InternalVelocityConfig
Configuration wrapper class for Velocity. 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.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dev.jorel.commandapi.InternalConfig
getDispatcherFile, getMissingImplementationMessage, getNamespace, hasSilentLogs, hasVerboseOutput
-
Constructor Details
-
InternalVelocityConfig
Creates anInternalVelocityConfigfrom aCommandAPIVelocityConfig- Parameters:
config- The configuration to use to set up this internal configuration
-
-
Method Details
-
getServer
public com.velocitypowered.api.proxy.ProxyServer getServer()- Returns:
- The
ProxyServerthe CommandAPI is running on
-
getPlugin
- Returns:
- The plugin object (annotated by
Plugin) loading the CommandAPI
-