770 Commits

Author SHA1 Message Date
chickeneer 0f50af34a9 Merge pull request #440 from benwoo1110/feat/completion-filter
Add support for having custom completion filters
2026-05-11 17:10:10 -05:00
chickeneer 5dc302e07f Merge pull request #441 from benwoo1110/feat/expose-args
Expose command args in completion context
2026-05-09 09:26:41 -05:00
Ben Woo dd43f40e4d Expose command args in completion context 2026-05-09 11:54:08 +08:00
Ben Woo 68595f9657 Add support for having custom completion filters 2026-05-04 23:46:46 +08:00
chickeneer a084fec321 Don't require a commands arguments to not exceed registered resolvers
This is resolving a reported issue where putting extra arguments
at the end of a command cause that command to not execute
2026-01-17 18:55:04 -06:00
chickeneer f5df0e8117 Do not double add BaseCommands in RootCommand children #439
Also register command aliases more completely
2025-11-21 03:44:18 -06:00
chickeneer 3b2de1f46e Reapply "Merge pull request #439 from benwoo1110/fix/tab-complete-spam"
This reverts commit 79c39903e7.
With the next commit for the proper fix to original issue
2025-11-21 03:40:51 -06:00
chickeneer edfe2bed23 Update some dependencies 2025-11-20 23:32:41 -06:00
chickeneer 79c39903e7 Revert "Merge pull request #439 from benwoo1110/fix/tab-complete-spam"
This fix has side-effects where secondary command aliases do not fully
use the commandcompletion - alternative solutions are being investigated

This reverts commit 6c8bb2620c, reversing
changes made to 01d900efd8.
2025-11-20 23:20:25 -06:00
chickeneer 6c8bb2620c Merge pull request #439 from benwoo1110/fix/tab-complete-spam
BaseCommand should only fulfill tab complete of its own scope
2025-10-27 07:34:22 -05:00
chickeneer 01d900efd8 Merge pull request #437 from Intybyte/fix/sponge10-broken-contexts
Sponge8 fix broken SpongeCommandSource
2025-10-27 07:32:37 -05:00
Ben Woo 0d89c8f8ea BaseCommand should only fulfill tab complete of its own scope 2025-10-15 20:03:06 +08:00
Intybyte 06b314ce91 Import cleanup 2025-10-14 11:58:56 +02:00
Intybyte ae9a93f23a Hide the hours wasted crying 2025-10-14 11:58:40 +02:00
Intybyte 459ef7b5bb Fix command completions 2025-10-14 11:58:14 +02:00
Intybyte e895cbefe4 How did I even miss this 2025-10-12 21:04:02 +02:00
chickeneer bd7d26a015 Merge pull request #436 from Trynocs/master
Update acf-core_de.properties
2025-07-15 10:43:29 -05:00
trynocs 1930d73e11 Update acf-core_de.properties
Fix German localization typos: corrected all instances of "must" to "musst" for proper grammar in error messages.
2025-07-15 01:53:57 +02:00
chickeneer c9b808ec49 Merge pull request #432 from benwoo1110/feat/consumes-rest
Implement `@ConsumesRest` annotation
2025-04-12 17:27:20 -05:00
chickeneer 85829acc41 Merge pull request #429 from benwoo1110/feat/recursive-annotations
Add support for getting annotation from parent class/method/parameter
2025-04-12 17:27:08 -05:00
chickeneer 5a5a31c483 Rename method to getAnnotationFromParentParameters to match other methods 2025-04-12 17:26:50 -05:00
Ben Woo 3bd89c6902 Make LogLevel enum public to allow overriding of log method in CommandManager (#433) 2025-04-12 10:34:03 -05:00
chickeneer 2d1fe63b6f Merge pull request #430 from benwoo1110/feat/openbukkitrootcommand
Open BukkitRootCommand implementations for extension
2025-04-12 10:33:36 -05:00
chickeneer 51ec341fb9 Merge pull request #421 from Intybyte/update/sponge-8-fix
Update/sponge 8 fix
2025-04-12 10:14:05 -05:00
chickeneer ddb827e5b2 Rework subclass unusable constructor logging #428
Users should only need to know information about unusable constructors
if the subclass subcommand doesn't successfully register.
Theory being that the constructor could exist for other purposes
2025-04-12 10:09:44 -05:00
chickeneer b434783ae1 Merge pull request #428 from benwoo1110/fix/subclass
Fix instantiate subclass if constructor parameter is the command's type
2025-04-12 10:04:40 -05:00
chickeneer b1b050b87b Merge pull request #426 from Intybyte/fix/method-handle
Use MethodHandle API
2025-04-12 09:26:21 -05:00
chickeneer a2cf22892c Improve MethodHandle API PR for ACFBukkitLocalesListener 2025-04-12 09:25:20 -05:00
Ben Woo 94815618d1 Implement @ConsumesRest annotation 2025-04-09 13:36:50 +08:00
Ben Woo 254164bc49 Open BukkitRootCommand implementations for extension 2025-04-08 13:52:40 +08:00
Ben Woo e3c16dc16d Add support for getting annotation from parent class/method/parameter 2025-04-06 17:10:17 +08:00
Ben Woo 8cc4aa0115 Fix instantiate subclass if constructor parameter is the command's type 2025-04-06 11:50:00 +08:00
Intybyte 11fd673a6e Use MethodHandle API 2025-03-26 15:11:53 +01:00
chickeneer 5efec647c5 Fix issue with 1.8 paper having a different named method when locale changes 2025-03-25 16:13:53 -05:00
Intybyte 056d595ddf Add @NotNull annotations, restore and deprecate old constructors, only store Locale. 2025-03-24 15:30:49 +01:00
chickeneer 2b2e81c5ae During setPlayerLocale store the LocaleString
Without this change, we have to manually put this value on each
call to setPlayerLocale.
2025-03-23 20:15:35 -05:00
Ben Woo 89575e67bd Use PlayerLocaleChangeEvent instead of repeating task when available (#423) 2025-03-23 20:11:27 -05:00
trynocs 2b6abf9e69 Update acf-core_de.properties (#425)
* Update acf-core_de.properties

Changed acf-core.please_specify_at_least from:
Error: Bitte gib eine Zahl größer oder gleich {min} ein.

To:
Fehler: Bitte gib eine Zahl größer oder gleich {min} ein.

* Update acf-core_de.properties

Changed acf-core.please_specify_at_least so it matches the other messages from:
Error: Bitte gib eine Zahl größer oder gleich {min} ein.

To:
Fehler: Bitte gib eine Zahl größer oder gleich {min} ein.
2025-03-23 19:27:33 -05:00
Intybyte d55253c669 Remove unused constructor + extra check 2025-03-04 18:27:24 +01:00
Intybyte eecbe69d96 Merge branch 'refs/heads/master' into update/sponge-8-fix
# Conflicts:
#	core/src/main/java/co/aikar/commands/CommandManager.java
2025-03-04 18:19:31 +01:00
Intybyte c057b14f6c Composition over inheritance for looser coupling 2025-03-04 18:15:11 +01:00
chickeneer 8631777bd1 Don't blindly return input argument as a completion value #417
This is attempting to prevent the input being fed back in
as a completion value when it shouldn't. An empty collection
should be equivalent to completing to the input.
2025-02-22 13:02:44 -06:00
chickeneer 229ca53d99 Fix an issue with CommandManager#usePerIssuerLocale(false)
It was not effectively disabled in the Bukkit module.
This should fix that issue
2025-02-22 11:28:28 -06:00
chickeneer 6629dc2f46 Add support for both AND and OR permission checking 2025-02-22 11:12:38 -06:00
Vaan1310 25e692eb50 Feature/pipe or permissions (#418)
* Add pipe OR handling for permissions
2025-02-22 10:28:34 -06:00
Intybyte 0e5e662c1a Unnecessary trim 2025-02-08 16:21:07 +01:00
Intybyte 5dad9e0c54 Add pipe OR handling for permissions 2025-02-08 16:19:47 +01:00
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