Skip to content

feat: add /echest command + bump version to 2.0.18-SNAPSHOT#37

Merged
Keviro merged 2 commits intoversion/1.21.11from
copilot/add-echest-command
Apr 6, 2026
Merged

feat: add /echest command + bump version to 2.0.18-SNAPSHOT#37
Keviro merged 2 commits intoversion/1.21.11from
copilot/add-echest-command

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 6, 2026

Adds /echest command for opening ender chests, with separate permissions for self and others. Bumps plugin version to 2.0.18-SNAPSHOT.

Changes

  • EchestCommand.kt (new): CommandAPI Kotlin DSL implementation
    • /echest — opens executor's own ender chest (surf.essentials.echest.command)
    • /echest <player> — opens target's ender chest for the executor (surf.essentials.echest.command.others)
  • EssentialsPermissionRegistry: Adds ECHEST_COMMAND and ECHEST_COMMAND_OTHERS
  • PaperCommandManager: Registers echestCommand()
  • gradle.properties: 2.0.17-SNAPSHOT2.0.18-SNAPSHOT

Copilot AI and others added 2 commits April 6, 2026 19:29
Agent-Logs-Url: https://github.com/SLNE-Development/surf-essentials/sessions/ce8bf175-a96c-4494-9f4f-b40375cb07f5

Co-authored-by: twisti-dev <76837088+twisti-dev@users.noreply.github.com>
Agent-Logs-Url: https://github.com/SLNE-Development/surf-essentials/sessions/0e4ead32-0339-4506-a899-4dcb50214c83

Co-authored-by: twisti-dev <76837088+twisti-dev@users.noreply.github.com>
@twisti-dev twisti-dev marked this pull request as ready for review April 6, 2026 20:13
Copilot AI review requested due to automatic review settings April 6, 2026 20:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new /echest command to open Ender Chests (self and optionally another player’s), wires it into command registration + permission registry, and bumps the plugin snapshot version.

Changes:

  • Introduce EchestCommand.kt implementing /echest and /echest <player> via CommandAPI Kotlin DSL.
  • Add new permission entries for /echest (self) and /echest <player> (others), and register the command in PaperCommandManager.
  • Bump gradle.properties version to 2.0.18-SNAPSHOT.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/main/kotlin/dev/slne/surf/essentials/command/EchestCommand.kt Implements the new /echest command and “open others’ ender chest” sub-argument.
src/main/kotlin/dev/slne/surf/essentials/util/permission/EssentialsPermissionRegistry.kt Adds permission nodes for echest self/others.
src/main/kotlin/dev/slne/surf/essentials/PaperCommandManager.kt Registers echestCommand() in the global command registration.
gradle.properties Version bump to 1.21.11-2.0.18-SNAPSHOT.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

@Keviro Keviro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gute Arbeit!

@Keviro Keviro added this pull request to the merge queue Apr 6, 2026
Merged via the queue into version/1.21.11 with commit 49ab3ba Apr 6, 2026
4 checks passed
@Keviro Keviro deleted the copilot/add-echest-command branch April 6, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants