Interface CommandSender
- All Superinterfaces:
Audience, PermissionHolder, Pointered
- All Known Subinterfaces:
Player
Something that can run commands.
Receives their feedback and holds the permissions they check.
- Since:
- 0.1.0
-
Method Summary
Methods inherited from interface Audience
clearResourcePacks, clearTitle, closeDialog, deleteMessage, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, openBook, openBook, playSound, playSound, playSound, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendResourcePacks, sendResourcePacks, sendResourcePacks, sendTitlePart, showBossBar, showDialog, showTitle, stopSound, stopSoundMethods inherited from interface PermissionHolder
activeOverrides, hasPermission, hasPermission, invalidatePermissions, isOperator, isPermissionDecided, newGrant, permissionState, permissionState, setOperatorMethods inherited from interface Pointered
get, getOrDefault, getOrDefaultFrom, pointers
-
Method Details
-
name
-
server
Server server()Returns the server this sender belongs to.- Returns:
- the server this sender belongs to
- Since:
- 0.1.0
-
commandSource
CommandSource commandSource()Returns the source a command run by this sender starts from.- Returns:
- the source a command run by this sender starts from
- Since:
- 0.1.0
-