Skip to content

feat: testing support, utility commands, and NMS improvements#1

Merged
wisdommen merged 2 commits intomasterfrom
feature/testing-and-nms-improvements
Feb 18, 2026
Merged

feat: testing support, utility commands, and NMS improvements#1
wisdommen merged 2 commits intomasterfrom
feature/testing-and-nms-improvements

Conversation

@wisdommen
Copy link
Copy Markdown
Contributor

Summary

  • Added 7 new BotPlayer API methods for testing support (message capture, OP toggle, GUI interaction)
  • Added bot management commands (list, spawn, remove, tp, follow, macros) and testing utility commands (messages, clearmsg, op/deop, click, inv, closeinv)
  • Implemented NMS v1_21_R1 message capture via Netty ChannelOutboundHandlerAdapter, inventory click simulation, and OP status toggle
  • Updated i18n with English translations and Chinese translation fixes
  • Added UtilityCommandsTest (326 lines) and updated BotManagerImplTest

Test plan

  • Run mvn test in ultibot-core — all tests should pass
  • Deploy to test server and verify bot spawn/remove/follow commands
  • Verify bot messages captures chat output from commands
  • Verify bot click <slot> triggers inventory GUI interactions
  • Verify bot op/deop toggles OP status correctly

🤖 Generated with Claude Code

wisdommen and others added 2 commits February 18, 2026 03:46
- BotPlayer API: add getReceivedMessages(), clearMessages(), setOp(),
  isOp(), clickSlot(), getOpenInventoryView(), closeInventory()
- BotCommands: add bot management commands (list, spawn, remove, tp,
  follow, action control, macro record/play/save/load)
- UtilityCommands: add testing utility commands (messages, clearmsg,
  op/deop, click, inv, closeinv) for GUI and message testing
- NMS v1_21_R1: implement message capture via Netty
  ChannelOutboundHandlerAdapter, inventory interaction support,
  OP status toggle, FakeConnection improvements
- BotManagerImpl: track bots in concurrent map, improve lifecycle
- i18n: add English translations, update Chinese translations
- Tests: add UtilityCommandsTest (326 lines), update BotManagerImplTest
- .gitignore: add IDE and build artifacts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@wisdommen wisdommen merged commit d4f961d into master Feb 18, 2026
@wisdommen wisdommen deleted the feature/testing-and-nms-improvements branch February 18, 2026 03:50
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.

1 participant