1.0.3.alpha
Compatibility
Required content
Changes
Version 1.0.3
This update focuses on improving the sales consolidation functionality, system stability, and user experience.
🚀 New Features
Improved Transaction Summary on Action Bar A new logic has been implemented to group and summarize identical sales transactions that occur consecutively.
Total Accumulation: When multiple sales of the same item are detected, the system now accumulates the total quantity of items sold and the total price.
Consolidated Display: The action bar will show a real-time updated summary, reflecting the total quantity and the price formatted with commas and a currency symbol (e.g., "$1,234.56").
Transaction Count: A counter (x2,x3,x4) is maintained to indicate how many individual transactions have been consolidated.
Dynamic Timers for Massive Sales To better handle large volumes of sales, an adaptive timer system has been introduced.
Massive Sale Threshold: A threshold (MASSIVE_SALE_THRESHOLD) has been established to differentiate between normal and massive sales.
Adjustable Wait Times:
Normal sales use a short wait time (CHAT_DEBOUNCE_TICKS of 5 seconds).
Massive sales activate an extended timer (MASSIVE_SALE_DEBOUNCE_TICKS of 25 seconds) to consolidate a larger number of transactions before sending the summary to the chat.
🛠️ Improvements & Optimizations
World Change Detection To prevent transactions from being published prematurely when changing worlds, dimensions, or servers, the system now detects these changes.
Timer Reset: Upon detecting a world change, the timers for all pending transactions are reset to the moment of the change. This ensures that consolidation is not interrupted by teleports.
User Interface (UI) Enhancements Version on Config Screen: The title of the configuration screen now dynamically displays the current version of the mod, making it easier to identify the installed build.
Compatibility and Encoding Standard UTF-8 Encoding: All file reading and writing processes for configuration and data files (.json) have been standardized to UTF-8 to prevent compatibility issues and character corruption across different operating systems.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:lwTxlzds:BOXjcER0"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:lwTxlzds:BOXjcER0"
}

