2.0
Compatibility
Required content
Changes
CSN Export
A lightweight client-side Fabric mod that turns your ChestShop sales into clean data. It scrapes ChestShop Notifier's /csn history, exports your transactions to CSV, scans your shops' live stock, and posts everything to Discord — so a bot can turn it into reports, prices, and dashboards.
What it does
- One-key sales export. Press the export key and the mod walks your entire
/csn history, page by page, and writes a full transaction log plus a monthly summary to.minecraft/sales/. Completion is deterministic (not a guessy timeout), and it's paced to stay under server anti-spam limits. - Exact, de-duplicated totals. Every transaction is counted once via a SHA-256 seen-set, so re-reading history never inflates your numbers. After exporting it runs
/csn clear, verifies the history actually emptied, and retries if not — then resets the tracker so repeated identical sales still count correctly. - Live shop-stock scanning. Toggle the stock key, click each of your barrel shops to capture the Shop Information block (owner, stock, buy/sell prices, and enchant lore), toggle off to save a stock snapshot. Feeds live barrel-fullness and low-stock tracking.
- Smart item naming. A price-anchored profile database keeps readable names even when item hashes change — and enchanted tools are auto-named by their enchants (e.g. Diamond Pickaxe — Efficiency V, Fortune III, Unbreaking III) so variants stay distinct instead of collapsing into one.
- Discord auto-post. Set a webhook and your exports + stock snapshots post themselves after each run.
- Market tagging. Set a Market ID and Market Code in settings and they're written into every CSV, so the bot can attribute and verify which market the data belongs to.
- In-game UI. Mod Menu integration, a settings screen (webhook, market ID/code, brew/tool aliases) and a built-in Help screen. All keybinds are unbound by default — set them how you like.
Requirements
- Minecraft 1.21.11, Fabric Loader 0.18.1+, Fabric API
- A server running ChestShop Notifier (
/csncommands) - Optional: a Discord webhook for auto-posting
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:zM53CVdR:5ahIjqRH"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:zM53CVdR:5ahIjqRH"
}
