Speedgot
Command Framework [1.7 - 1.21.4]
-----
A lightweight annotation based command system
Download Now
Via external site
Overview
Updates (
--
)
Reviews (
---
)
Version History
Discussion
Added new cooldown system and some bug fixes
1.3.3 Release Notes
Added new cooldown system, see
Cooldown annotation
.
Now registering command aliases as a plugin command, if they have head command and are sub-commands then they'll be registered as a sub-command.
Separated SHORT_OR_LONG_ARG_SIZE into SHORT_ARG_SIZE and LONG_ARG_SIZE variables.
Fixed knownCommands field not found.
Removed CommandFramework#unregisterCommands(Object) method.
Instead use:
CommandFramework#unregisterCommand(String)
CommandFramework#unregisterCommands
Example Command with Cooldown Annotation
Code (Java):
@Command
(
name
=
"test"
)
@Cooldown
(
cooldown
=
10
,
timeUnit
=
TimeUnit.
SECONDS
,
// default is seconds
bypassPerm
=
"cooldown.bypass"
,
overrideConsole
=
true
)
public
void
testCommand
(
CommandArguments arguments
)
{
arguments.
sendMessage
(
"Test message."
)
;
}
Full Changelog:
1.3.2...1.3.3
----------
,
Feb 1, 2024
View on SpigotMC
Resource Information
Author:
----------
Total Downloads:
5,843
First Release:
Mar 10, 2021
Last Update:
Jan 3, 2025
Category:
---------------
All-Time Rating:
2 ratings
Find more info at github.com...
Version
-----
Released:
--------------------
Downloads:
------
Version Rating:
----------------------
--
ratings
Ask Questions / Get Support