WorldCommandSender

Interface for a command sender that is spawned in a world.

Members

Properties

position
EntityPosition position [@property getter]

Gets the command sender's current position.

visibleEntities
Entity[] visibleEntities [@property getter]

Gets the list of the entities visible by the command sender.

visiblePlayers
Player[] visiblePlayers [@property getter]

Gets the list of the players visible by the command sender.

world
World world [@property getter]

Gets the command sender's world.

Inherited Members

From CommandSender

server
shared(NodeServer) server [@property getter]

Gets the command sender's current server.

availableCommands
Command[string] availableCommands [@property getter]

Gets the commands that can be called by the command sender in its current status. Aliases are included in the list and the Command object is the same as the non-aliased command.

sendMessage
void sendMessage(E args)

Sends a message to the command sender. The message can contain formatting codes and translations.

sendMessageImpl
void sendMessageImpl(Message[] messages)
Undocumented in source.

Meta