selery ~master (2019-01-01T00:21:55Z)
Dub
Repo
NodeServer.registerCommand
selery
node
server
NodeServer
Registers a command.
class
NodeServer
void
registerCommand
(
alias
func
)
(
void
delegate
(
Parameters
!
func
)
del
,
string
command
,
Description
description
,
string
[]
aliases
,
ubyte
permissionLevel
,
string
[]
permissions
,
bool
hidden
,
bool
implemented
= true
)
Meta
Source
See Implementation
selery
node
server
NodeServer
constructors
this
functions
addWorld
addWorldGroup
broadcast
handleCloseResult
handlePlayerAdd
handlePlayerGamePacket
handlePlayerRemove
handlePlayerUpdateDisplayName
handlePlayerUpdateLanguage
handlePlayerUpdateLatency
handlePlayerUpdatePacketLoss
handlePlayerUpdatePermissionLevel
handlePlayerUpdateViewDistance
handleStatusAddNode
handleStatusLatency
handleStatusReceiveMessage
handleStatusRemoteCommand
handleStatusRemoveNode
handleStatusUpdateDisplayName
handleStatusUpdateMOTD
handleStatusUpdatePlayers
handleStatusUpdateSupportedProtocols
kick
logCommand
logWorld
nodeWithHubId
nodeWithName
registerCommand
removeWorld
removeWorldGroup
sendMessage
shutdown
transfer
updateGroupDifficulty
updateLanguageFiles
updatePlayerDisplayName
updatePlayerGamemode
updatePlayerPermissionLevel
properties
args
commands
config
defaultWorld
getGroupByName
hubAddress
hubLatency
hubMax
hubOnline
id
isMainNode
logger
mainWorldGroup
max
name
nextUUID
nodeName
nodes
online
players
plugins
social
uptime
website
worldGroups
variables
globalListener
lite
tid
Registers a command.