Trailborn RPG Patch 8

Trailborn RPG Patch 8

A large backend and functionality update covering permissions, the save system, background tasks, code quality, and a range of fixes and improvements.

Permissions

The bot no longer requires Administrator permissions and now only requests the specific permissions it needs.

Save System Overhaul

The save system has been fully reworked. The bot now only saves data when a change occurs and only affects the player who triggered the action. Previously, any save would write all players' data at once, causing potential conflicts during simultaneous play.

Background Task Optimization

All periodic background functions such as HP, MP, and energy regeneration now only trigger when necessary. Players already at full stats are skipped, reducing unnecessary processing.

Code Optimization

Thousands of lines of code have been cleaned up and optimized for performance, reliability, and scalability.

Username Sync

The bot now checks for username changes every time a player uses a command and updates their saved name accordingly.

Bug Fixes

  • Class changes now correctly reset all relevant stats including hit and crit rate
  • Inventory and crafting pagination no longer allows navigation to invalid pages when filters return no results
  • A crafting bug that allowed infinite crafting when a player had exactly enough materials has been fixed
  • Players with insufficient energy now receive proper feedback when attempting to explore instead of buttons silently disappearing
  • Players can no longer use profession actions while in an exploration session

Button Cooldowns

Cooldowns have been added to the explore, craft, mine, hunt, gather, and cut buttons to prevent action glitches from button spamming.

Voting

Voting is now handled through Top.gg. The issue preventing players at maximum voting streak (10) from claiming rewards has been fixed.

Developer Tools

New developer-only commands have been added covering data adjustments, player profile viewing, banning, event control, command disabling, and live troubleshooting tools. Players will see a clear message when a command has been temporarily disabled.

Events System

A new global event system has been added. Events can be started to affect all players simultaneously. A new "Event Items" inventory category has been added for rewards and special items collected during events.

Text and UI

Button labels now clearly specify which item ID formats are accepted. Quantity input fields now explicitly indicate they are optional. Various other text improvements have been made throughout for clarity.