Class SpigotServer
java.lang.Object
nl.pim16aap2.animatedarchitecture.spigot.util.implementations.SpigotServer
- All Implemented Interfaces:
IMessageable, ICommandSender, IServer
-
Method Summary
Modifier and TypeMethodDescriptionCreates a newPersonalizedLocalizerusing the localizer and locale of this messageable.Gets the text factory of this messageable.voidsendMessage(Text text) Sends a message to this object.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IMessageable
newText, sendError, sendInfo, sendMessage, sendSuccessMethods inherited from interface IServer
formatCommand, getPlayer, hasPermission, hasPermission, isPlayer
-
Method Details
-
sendMessage
Description copied from interface:IMessageableSends a message to this object.- Specified by:
sendMessagein interfaceIMessageable- Parameters:
text- The message to send. This may or may not contain formatting.
-
getTextFactory
Description copied from interface:IMessageableGets the text factory of this messageable.- Specified by:
getTextFactoryin interfaceIMessageable- Returns:
- The text factory of this messageable.
-
getPersonalizedLocalizer
Description copied from interface:IMessageableCreates a newPersonalizedLocalizerusing the localizer and locale of this messageable.- Specified by:
getPersonalizedLocalizerin interfaceIMessageable- Returns:
- A new
PersonalizedLocalizerobject.
-