Skip to content

feat: let the console run /cooking builditem for a named player - #96

Merged
JustinasLa merged 1 commit into
mainfrom
feat/builditem-from-console
Oct 29, 2026
Merged

JustinasLa merged 1 commit into
mainfrom
feat/builditem-from-console

Conversation

@JustinasLa

Copy link
Copy Markdown
Contributor

/cooking builditem was player-only, so items couldn't be given from the console or by scripts.

Usage

  • From the console: cooking builditem <player> <itemString>. The player must be online.
  • As a player: /cooking builditem [player] <itemString>. Without a player name you get the item yourself, as before.

The first word counts as a player only when it is an online player's name and an item string follows it, so existing item strings work unchanged. Item strings with spaces (origin=Melon Slice) still work.

Tests

mvn -o -B clean verify: 1270 tests pass and line coverage is still 100%. New test: theConsoleBuildsItemsForANamedOnlinePlayer.

🤖 Generated with Claude Code

/cooking builditem [player] <itemString>. The console must name an online
player; a player gets the item themselves unless the first word is an
online player's name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b4c2fee4-ca18-461a-ae86-536667d8d8a1
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the size:M 30-99 effective changed lines (tests excluded in mixed PRs). label Oct 29, 2026
@JustinasLa
JustinasLa merged commit cad5f21 into main Oct 29, 2026
3 checks passed
@JustinasLa
JustinasLa deleted the feat/builditem-from-console branch October 29, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 effective changed lines (tests excluded in mixed PRs).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant