1.3.4 Release Notes
- Now aliases supports more or less arguments then actual command length.
- Fixed methods without annotated Cooldown annotation throws exception.
Newly Supported Behaviours
Code (Java):
// min - max values are supported for both
// arguments are now splitting dynamically
@Command
(
name
=
"test1",
aliases
=
{
"testAlias",
"alias.1",
"alias.1.2",
"alias.2.3"
}
)
public
void testCommand_1
(CommandArguments arguments
)
{
arguments.
sendMessage
(
"Test message."
)
;
}
@Command
(
name
=
"test2",
aliases
=
{
"randomAlias",
"another.alias.arg1.arg2"
}
)
public
void testCommand_2
(CommandArguments arguments
)
{
arguments.
sendMessage
(
"Test message."
)
;
}
Full Changelog:
1.3.3...1.3.4