chickeneer
1d285db1aa
Allow extension of module specific context classes
...
I am uncertain whether this is an api feature we want
to 'advertise', but I do not see a compelling reason
we need to block extending the classes.
2025-01-28 19:01:41 -06:00
Jeremy Wood
d2d8833b9d
Open CommandIssuer implementations for extension. ( #416 )
2025-01-28 18:55:16 -06:00
chickeneer
3e830097ba
Remove irc reference regarding support and contributing
2024-12-13 18:23:42 -06:00
chickeneer
623048b763
Add a JDA 5 module
...
Eventually will drop the JDA 4 module - but it still functions so no
reason to arbitrarily upgrade it or drop without bumping acf version
2024-12-13 18:11:04 -06:00
Vaan1310
43323e656a
Add updated sponge module, sponge 10 ( #411 )
2024-10-31 18:10:09 -05:00
mohammed Alteneiji
aff3e6a8c7
fix Velocity root command not checking for permissions correctly ( #406 )
2024-05-04 13:35:52 -05:00
chickeneer
8f9c0d141b
Fix locale reading for non-paper bukkit for 1.20.2+ #405
2024-01-25 07:13:04 -06:00
chickeneer
26d72f27c6
Use the player locale api instead of reflection to fix issues #402
2023-10-02 16:25:35 -05:00
chickeneer
d22fae6bfa
Remove save actions intellij plugin
2023-10-01 21:48:00 -05:00
chickeneer
651a558a68
Try to fix readPlayerLocale from 1.20.2 #402
2023-10-01 21:41:16 -05:00
Alien0-7
461090c1c8
Italian translation ( #398 )
...
* Italian translation
Italian translation
* add italian translation
2023-08-02 11:19:10 -05:00
chickeneer
b50215e2fa
Move all scheduler initialization to BukkitCommandManager #394
...
The create Locale task is happening DURING object construction so initializing the scheduler in the
PaperCommandManager initialization step is too late due to the bukkit/paper modules extending.
This should fix the issues
2023-06-26 18:11:01 -05:00
chickeneer
6a259126a5
Let's not use reflection for scheduler detection
2023-06-26 16:55:22 -05:00
chickeneer
8c56e992a6
Improve AsyncScheduler detection #394
...
Since paper now has the AsyncScheduler, we can add detection for the AsyncScheduler to Paper itself instead of Folia specifically
2023-06-26 16:24:21 -05:00
chickeneer
e41896bf2f
Update javadocs
2023-04-02 16:51:48 -05:00
Christopher Nethercott
fa29b4de22
Add deregister ability to completions and contexts ( #364 )
...
* feat: add deregister methods to completions and dependencies
* fix: change unregister to deregister
* feat: add javadocs to deregisterCompleition
* fix: add throws to javadocs for dependency methods
* fix: missing negation thanks @JOO200
* fix: change deregister -> unregister
* Fix missed rename of deregister to unregister
---------
Co-authored-by: chickeneer <emcchickeneer@gmail.com >
2023-04-02 16:47:44 -05:00
chickeneer
e9ca4fcd65
Change valid name checking to a configurable predicate #382
...
I see the value in allowing acf users to disable the valid name check.
I think others may want to go a step further and create their own
valid name verification. Those that want to truly accept all names can simply
do `CommandManager#setValidNamePredicate(name -> true)` with the new API.
Another solution I considered was having users override the isValidName method
on their CommandManager, but this functionality seemed more friendly.
2023-04-02 16:41:26 -05:00
AlexProgrammerDE
260a772903
Add backwards api support
2023-04-02 06:52:44 -05:00
AlexProgrammerDE
905d5406ec
Add allow illegal name manager option
2023-04-02 06:52:44 -05:00
chickeneer
720e43cbac
Update javadocs
2023-04-02 06:42:01 -05:00
chickeneer
f607076412
Cleanup some formatting on folia PR
2023-04-02 06:31:59 -05:00
creatorfromhell
8b87af631f
Remove Folia Module.
...
- Add a scheduler assign check into the BukkitCommandManager
2023-04-01 13:19:45 -04:00
creatorfromhell
6cfe46e532
Add support for Folia.
...
- Added a new Scheduler class to managing all scheduling.
2023-04-01 12:36:22 -04:00
chickeneer
a1578baea3
Deprecate bukkit command manager getTimings and remove creation of timing calls #385
...
There is an acknowledged loss in functionality with this approach for older versions of
Minecraft and also Bukkit/Spigot servers which still have continued access to timings.
This change was implemented on the current acf snapshot version knowing this,
to enable plugin authors to simply recompile to fix this issue without making
the small change of upgrading the dependency.
2023-03-30 00:00:47 -05:00
chickeneer
5afde372a2
leanup lastCommandOperationContext after command has executed #337
...
This is to deter acf from holding onto references of context
objects which would otherwise be garbage collected post execution
2022-11-13 18:14:52 -06:00
chickeneer
1f14cbc079
Translate CommandCompletion #377
...
Yes, people should register a completion so it is per-issuer but non-registered
static completions would benefit from the replacements system
2022-11-05 18:31:24 -05:00
chickeneer
31341dcebd
Adjust some README stuff to better reflect the state of the project
2022-09-21 20:42:36 -05:00
chickeneer
0f75b89a2e
Fix brigadier command registration with no required arguments
...
This fixes issues with optional arguments and Default subcommands
2022-08-01 02:01:05 -05:00
chickeneer
c35e45477e
Strings should only consume rest when they are the last parameter
...
This fixes a brigadier issue with strings being automatically greedy
2022-07-31 10:08:24 -05:00
chickeneer
348f8fb4c9
Add korean to list of supported languages
2022-07-30 20:08:03 -05:00
_LittleGiant_
d4724bf9b8
Create acf-core_ko.properties
2022-07-30 20:04:50 -05:00
_LittleGiant_
368b32fb81
Create acf-minecraft_ko.properties
2022-07-30 20:04:50 -05:00
GrowlyX
b397cf6ab4
Fix NullPointerException when attempting to parsing a location relative to the player's position with the ~ term
2022-07-30 20:01:10 -05:00
chickeneer
5374719bf3
Attach the command executor to brigadier last parameters
...
Fixes #372
2022-07-30 19:56:22 -05:00
chickeneer
3652ceb975
Send invalid name feedback only after no player is returned #365
2022-04-27 17:22:49 -05:00
chickeneer
9ededdf0c6
Resolve some missing language keys
2022-02-26 13:32:49 -06:00
Christopher Nethercott
4c3d33b26f
feat: add description dependency to bungeecord
2022-02-24 18:36:33 -06:00
Christopher Nethercott
44616313a0
feat: add plugin description to dependency injection
2022-02-24 18:36:33 -06:00
chickeneer
4fa0d8ee32
Fix a bug with command completions generations for some subcommands
2022-02-07 18:36:08 -06:00
JOO200
1c1a39ec8f
Use every subcommand for command completions
2022-02-02 23:46:10 -06:00
kyngs
c76a9f911e
Minor language fix in acf-core_cs.properties
...
Change Error to proper translation "Chyba"
2022-02-02 19:46:26 -06:00
DeathRealms
c9fff6a372
Pass RegisteredCommand and permCheckerSub for default command
2022-01-31 06:07:35 -06:00
DeathRealms
1bb376f7f6
Move duplicated code to new method
2022-01-31 06:07:35 -06:00
DeathRealms
6db6f97c01
Fixed tab completion for @Default method when using brigadier
2022-01-31 06:07:35 -06:00
RoinujNosde
dcbc28c931
Fixes /help <plugin> messages not localized #296
2022-01-31 05:51:24 -06:00
chickeneer
153a636fa1
Fix isOptional usage in onlinePlayer context resolvers
...
Null should not be returned when something is provided as an argument
2022-01-15 13:45:55 -06:00
chickeneer
61904737e0
Revert "Short circuit getOnlinePlayer if empty lookup"
...
This reverts commit 1a06f4f801 .
2022-01-15 12:10:36 -06:00
chickeneer
1a06f4f801
Short circuit getOnlinePlayer if empty lookup
...
This is to fix an issue where findPlayerSmart sends error messaging to the issuer
2022-01-15 12:00:08 -06:00
chickeneer
39d3f9909e
Update javadocs
2021-12-21 20:55:35 -06:00
chickeneer
4d3b0192fc
Miscellaneous grammar improvements
2021-12-21 20:46:53 -06:00