Releases: DatAsianBoi123/CommandCore
Releases · DatAsianBoi123/CommandCore
v2.1.0
Breaking Changes
- Class
command.CommandSource
got moved tocommand.source.CommandSource
New features
- Created many new argument types
WORLD
- a loaded worldENTITY
- any entityLIVING_ENTITY
- any living entitySPAWNABLE_ENTITY
- any entity that is not a playerLOOT_TABLE
- a loot table
- Created 2 new command sources
- Locatable - any command sender that can be located, like an entity or a command block
- Command block - a command block
Improvements
- Greatly improved error messages
Old error:
New error:
CommandCore#createSource
is now an actual factory method
Bug fixes
- Fixed bug with commands without descriptions
- Gave the created root command a description if the root command isn't in your
plugin.yml
v2.0.0
Full Changelog
ArgumentType
's now return aResult
when parsingCommandNodes
's now return aResult
when executing- Changed how arguments are read by using an
Arguments
class - Created an
InitOptions
class that's used when initializing CommandCore - Created an
ArgumentReader
interface that allows arguments to contain multiple spaces - Removed
CustomArgumentType
to force users to create separate classes for eachArgumentType
- Renamed Impl classes
- Removed the source generic type for all
CommandNode
's - Added support for command aliases
- Created custom
TabComplete
class that is returns when tab completing - Removed
CommandOutput
and usedResult
instead - Separated the command generated by a
CommandBuilder
into its own class - Created require methods that all
CommandLink
s can use - Created a
CommandSource
class that can be used to get a command's sender - Fixed many bugs
- Cleaned up lots of code and created checks for almost everything
v1.0.2
Added javadocs, and fixed some bugs with tabcompletions
v1.0.1
Fixed a bug that disallowed users to create a custom argument type.
v1.0.0
Initial Release