Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Releases: Rollczi/LiteCommands

LiteCommands v3.9.6

30 Dec 23:32
e4dbd4b
This commit was signed with the committer’sverified signature. The key has expired.
Rollczi Norbert Dejlich
GPG key ID:B8A68C41B7784F01
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

What's Changed

  • dependency: Update fabricmc by@renovate in#480
  • dependency: Update dependency net.dv8tion:JDA to v5.2.2 by@renovate in#505
  • GH-507 Support JDA fast guild commands registration and add example for the jda platform. by@Rollczi in#508

Now you can set a guild id to update commands instantly!

LiteCommands<User>liteCommands =LiteJDAFactory.builder(jda)    .settings(settings ->settings        .guilds("GUILD_ID")// <- If you want to update commands instantly, you can specify the id of your guild    )    .commands(newSomeCommand(),newLevelCommand()    )    .build();

Update dependencies

implementation("dev.rollczi:{artifact}:3.9.6")
<dependency>    <groupId>dev.rollczi</groupId>    <artifactId>{artifact}</artifactId>    <version>3.9.6</version></dependency>

⚠️ Replace{artifact} withplatform artifact

DiscordSponsor

Full Changelog:v3.9.5...v3.9.6

Contributors

  • @renovate
  • @Rollczi
renovate and Rollczi
Assets2
Loading

LiteCommands v3.9.5

22 Dec 15:42
61f34a3
This commit was signed with the committer’sverified signature. The key has expired.
Rollczi Norbert Dejlich
GPG key ID:B8A68C41B7784F01
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

What's Changed

  • GH-498 Fabric command supports alias. Add an option to change the brigadier input inspection display. by@huanmeng-qwq in#498

Thanks@huanmeng-qwq ❤️

How to change the brigadier input inspection display?

LiteFabricFactory.client()    .commands(newClientCommand())    .settings(settings ->settings.inputInspectionDisplay("[...]"))    .build();

Update dependencies

implementation("dev.rollczi:{artifact}:3.9.5")
<dependency>    <groupId>dev.rollczi</groupId>    <artifactId>{artifact}</artifactId>    <version>3.9.5</version></dependency>

⚠️ Replace{artifact} withplatform artifact

DiscordSponsor

Full Changelog:v3.9.4...v3.9.5

Contributors

  • @huanmeng-qwq
huanmeng-qwq
Loading
huanmeng-qwq reacted with rocket emoji
1 person reacted

v3.9.4

22 Dec 15:39
fd19489
This commit was signed with the committer’sverified signature. The key has expired.
Rollczi Norbert Dejlich
GPG key ID:B8A68C41B7784F01
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

What's Changed

Update dependencies

implementation("dev.rollczi:{artifact}:3.9.4")
<dependency>    <groupId>dev.rollczi</groupId>    <artifactId>{artifact}</artifactId>    <version>3.9.4</version></dependency>

⚠️ Replace{artifact} withplatform artifact

DiscordSponsor

Full Changelog:v3.9.3...v3.9.4

Contributors

  • @Rollczi
Rollczi
Loading

LiteCommands v3.9.3

22 Dec 15:38
Compare
Choose a tag to compare
Loading

What's Changed

⚠️DON'T USE THIS RELEASE ON BUKKIT PLATFORM

Full Changelog:v3.9.2...v3.9.3

Contributors

  • @renovate
  • @Rollczi
renovate and Rollczi
Loading

LiteCommands v3.9.2

22 Dec 15:36
Compare
Choose a tag to compare
Loading

What's Changed

Update dependencies

implementation("dev.rollczi:{artifact}:3.9.2")
<dependency>    <groupId>dev.rollczi</groupId>    <artifactId>{artifact}</artifactId>    <version>3.9.2</version></dependency>

⚠️ Replace{artifact} withplatform artifact

DiscordSponsor

Full Changelog:v3.9.1...v3.9.2

Contributors

  • @renovate
  • @Rollczi
  • @huanmeng-qwq
  • @BlackBaroness
renovate, Rollczi, and 2 other contributors
Loading

LiteCommands v3.9.1

11 Nov 12:56
d94823a
This commit was signed with the committer’sverified signature. The key has expired.
Rollczi Norbert Dejlich
GPG key ID:B8A68C41B7784F01
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

What's Changed

Update dependencies

implementation("dev.rollczi:{artifact}:3.9.1")
<dependency>    <groupId>dev.rollczi</groupId>    <artifactId>{artifact}</artifactId>    <version>3.9.1</version></dependency>

⚠️ Replace{artifact} withplatform artifact

DiscordSponsor

Full Changelog:v3.9.0...v3.9.1

Contributors

  • @renovate
  • @Rollczi
  • @huanmeng-qwq
renovate, Rollczi, and huanmeng-qwq
Loading

LiteCommands v3.9.0

02 Nov 23:35
6a0cd90
This commit was signed with the committer’sverified signature. The key has expired.
Rollczi Norbert Dejlich
GPG key ID:B8A68C41B7784F01
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

What's Changed

Thanks you@huanmeng-qwq for the tooltips feature. 😻
Also thanks to@Knerio for helping me find the bug on JDA platform. ❤️

Update dependencies

implementation("dev.rollczi:{artifact}:3.9.0")
<dependency>    <groupId>dev.rollczi</groupId>    <artifactId>{artifact}</artifactId>    <version>3.9.0</version></dependency>

⚠️ Replace{artifact} withplatform artifact

DiscordSponsor

Full Changelog:v3.8.0...v3.9.0

Contributors

  • @renovate
  • @Rollczi
  • @huanmeng-qwq
  • @Knerio
renovate, Rollczi, and 2 other contributors
Loading
huanmeng-qwq and zrdzn reacted with rocket emoji
2 people reacted

LiteCommands v3.8.0

23 Oct 18:29
Compare
Choose a tag to compare
Loading

What's Changed

Update dependencies

implementation("dev.rollczi:{artifact}:3.8.0")
<dependency>    <groupId>dev.rollczi</groupId>    <artifactId>{artifact}</artifactId>    <version>3.8.0</version></dependency>

⚠️ Replace{artifact} withplatform artifact

DiscordSponsor

Full Changelog:v3.7.1...v3.8.0

Contributors

  • @renovate
  • @Rollczi
  • @huanmeng-qwq
renovate, Rollczi, and huanmeng-qwq
Loading

LiteCommands v3.7.1

18 Oct 18:55
d1a7a4d
This commit was signed with the committer’sverified signature. The key has expired.
Rollczi Norbert Dejlich
GPG key ID:B8A68C41B7784F01
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

What's Changed

Thanks@TheDarkW3b ❤️ 📃

Update dependencies

implementation("dev.rollczi:{artifact}:3.7.1")
<dependency>    <groupId>dev.rollczi</groupId>    <artifactId>{artifact}</artifactId>    <version>3.7.1</version></dependency>

⚠️ Replace{artifact} withplatform artifact

DiscordSponsor

New Contributors

Full Changelog:v3.7.0...v3.7.1

Contributors

  • @Rollczi
  • @TheDarkW3b
Rollczi and TheDarkW3b
Loading

LiteCommands v3.7.0

13 Oct 12:12
98b803f
This commit was signed with the committer’sverified signature. The key has expired.
Rollczi Norbert Dejlich
GPG key ID:B8A68C41B7784F01
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

What's Changed

Thanks@OOP-778 for the important bug fix ❤️

🟢 Add alias for@Context annotation

@Command(name ="hello")publicclassHelloCommand {@Executevoidcommand(@SenderCommandSendersender,@ArgStringname) {// ...    }}

🟢 Add an option to create Annotation aliases like as@Sender

You can implement your annotation:

@Retention(RetentionPolicy.RUNTIME)@Target(ElementType.PARAMETER)@RequirementDefinition(type =RequirementDefinition.Type.CONTEXT)public @interfaceMySender {}

And use it in your commands:

@Executevoidcommand(@MySenderCommandSendersender,@ArgStringname) {// ...    }

🟢 Support completableFuture/async parse/context result:

publicclassUserArgumentResolverextendsArgumentResolver<CommandSender,User> {privatefinalPatternVALID_USER_PATTERN =Pattern.compile("^[a-zA-Z0-9_]{3,16}$");privatefinalUserServiceuserService;publicUserArgumentResolver(UserServiceuserService) {this.userService =userService;    }@OverrideprotectedParseResult<User>parse(Invocation<CommandSender>invocation,Argument<User>context,Stringargument) {CompletableFuture<ParseResult<User>>userNotFound =userService.getUser(argument)            .thenApply(user ->user !=null ?ParseResult.success(user) :ParseResult.failure("User not found"));returnParseResult.completableFuture(userNotFound);    }@Overridepublicbooleanmatch(Invocation<CommandSender>invocation,Argument<User>context,Stringargument) {returnVALID_USER_PATTERN.matcher(argument).matches();    }}

🟢 when you call blocking methods you can useParseResult.async()

@OverrideprotectedParseResult<User>parse(Invocation<CommandSender>invocation,Argument<User>context,Stringargument) {returnParseResult.async(() ->userDatabase.getUser(argument));    }

⚠️When you return async/completableFuture result then you must also implement match method for correct suggestion validation

🟢 See also same API for ContextResult

ContextResult.completableFuture()
ContextResult.async()

🔴 Removed wrapper API

🔴 Breaking changes (Internal API)

See more#435

Update dependencies

implementation("dev.rollczi:{artifact}:3.7.0")
<dependency>    <groupId>dev.rollczi</groupId>    <artifactId>{artifact}</artifactId>    <version>3.7.0</version></dependency>

⚠️ Replace{artifact} withplatform artifact

DiscordSponsor

New Contributors

Full Changelog:v3.6.1...v3.7.0

Contributors

  • @OOP-778
  • @SfenKer
  • @Rollczi
OOP-778, SfenKer, and Rollczi
Loading
Previous1345910
Previous

[8]ページ先頭

©2009-2025 Movatter.jp