rattle-parent
0.1.1-SNAPSHOT
jvm
rattle-common
/
io.github.aecsocket.rattle.impl
/
RattleCommand
Rattle
Command
abstract
class
RattleCommand
<
C
:
Audience
>
(
rattle
:
RattleHook
,
messages
:
MessageProxy
<
RattleMessages
>
,
manager
:
CommandManager
<
C
>
)
:
AlexandriaCommand
<
C
>
Members
Constructors
Rattle
Command
Link copied to clipboard
constructor
(
rattle
:
RattleHook
,
messages
:
MessageProxy
<
RattleMessages
>
,
manager
:
CommandManager
<
C
>
)
Properties
manager
Link copied to clipboard
val
manager
:
CommandManager
<
C
>
plugin
Id
Link copied to clipboard
val
pluginId
:
String
root
Link copied to clipboard
val
root
:
Command.Builder
<
C
>
Functions
ax
Handler
Link copied to clipboard
fun
Command.Builder
<
C
>
.
axHandler
(
block
:
(
CommandContext
<
C
>
)
->
Unit
)
:
Command.Builder
<
C
>
ax
Permission
Link copied to clipboard
fun
Command.Builder
<
C
>
.
axPermission
(
permission
:
String
)
:
Command.Builder
<
C
>
error
Link copied to clipboard
fun
error
(
text
:
Message
)
:
Nothing
for
Audience
Link copied to clipboard
fun
<
T
:
Any
>
MessageProxy
<
T
>
.
forAudience
(
sender
:
Audience
)
:
T
must
Be
Player
Link copied to clipboard
fun
mustBePlayer
(
sender
:
C
)
:
Nothing
send
To
Link copied to clipboard
fun
Message
.
sendTo
(
audience
:
Audience
)