ChestShop Notifier: Track Shop Sales in Minecraft

Mastering Your Server Economy: A Deep Dive into the ChestShop Notifier Plugin Minecraft servers thrive on player interaction, and nothing fuels that more than a bustling in-game economy. With the popular ChestShop plugin, players can set up physical shops using chests and signs, buying and sellin...

Download ChestShopNotifier

Original name: ChestShopNotifier

FileVersionLoaderSize
ChestShopNotifier.jar——25 КБDownload

Mastering Your Server Economy: A Deep Dive into the ChestShop Notifier Plugin

Minecraft servers thrive on player interaction, and nothing fuels that more than a bustling in-game economy. With the popular ChestShop plugin, players can set up physical shops using chests and signs, buying and selling items effortlessly. However, one common frustration for shop owners is missing sales while they’re offline. That’s where ChestShop Notifier steps in — a lightweight, powerful companion that records every transaction and alerts players the moment they log back in.

What Is ChestShop Notifier?

ChestShop Notifier (CSN) is a plugin designed to work seamlessly alongside the original ChestShop. It captures every sale or purchase made through chest shops and stores the data in a SQLite or MySQL database. When a shop owner joins the server, they receive a friendly notification summarizing their offline sales, along with a command to review the full history. The plugin supports all UUID-compatible CraftBukkit and Spigot versions, ensuring broad compatibility across modern server setups.

Gone are the days of guessing whether your diamond shop made any profit overnight. CSN brings transparency and convenience, making it an essential tool for economy-focused servers. Whether you run a small survival world or a massive network, keeping your merchants informed encourages more active trading and player retention.

Key Features and Benefits

CSN packs a surprising amount of functionality into a simple package. Here’s what makes it stand out:

  • Offline Sale Notifications — Players are greeted with a custom message upon login, detailing how many sales occurred since their last visit.
  • Comprehensive History — Use /csn history to browse paginated records, complete with buyer names, item counts, and timestamps.
  • Admin Shop Filtering — Transactions from ChestShop’s admin shops can be excluded, keeping personal logs clean.
  • UUID Compatibility — Fully supports UUID-based player identification, with a built-in converter for older databases.
  • Dual Database Support — Choose between SQLite for simplicity or MySQL for sharing data across multiple servers.
  • Advanced Cleanup Tools — Remove old entries with flexible parameters like --older-than or target specific users.
  • Customizable Messages — Every chat output can be tweaked in the config, including colors and placeholders.

Installation and Setup

Getting ChestShop Notifier running is straightforward. First, ensure you have ChestShop installed and working — CSN depends on it to capture events. Drop the CSN jar file into your server’s plugins folder and restart. By default, the plugin will create a local SQLite database. If you prefer MySQL, edit the config to specify host, port, and credentials. For server administrators who want a hassle-free way to manage plugins and mods, the foxygame.net launcher provides a modern, flexible platform where you can download and install plugins directly from its menu, saving time and avoiding manual file juggling.

After the initial setup, grant the necessary permissions. The csn.user node lets players receive notifications and view their own history, while csn.admin unlocks all administrative commands like reloading the config or cleaning the database. A quick /csn reload applies any config changes without a full server reboot.

Commands and Permissions at a Glance

CSN’s command structure is intuitive. Here are the core commands every shop owner should know:

  • /csn help — Displays all available commands and their usage.
  • /csn history [page] — Shows your unread sales, with optional page navigation.
  • /csn history [page] — View another player’s sale history (admin only).
  • /csn clear [username] — Marks all sale history as read for yourself or another player.
  • /csn cleandatabase --older-than 30 --all — Removes entries older than 30 days; multiple flags available.
  • /csn reload — Reloads configuration and reconnects to the database.
  • /csn convert — Converts an old username-based database to UUIDs.

Permissions follow a simple hierarchy. Assign csn.user to regular players and csn.admin to staff. The plugin.yml file lists all granular nodes, allowing fine-tuned control if needed.

Configuration Deep Dive

The configuration file is well-commented and easy to adjust. You can toggle admin shop logging, set the delay before notifications appear on join, and define how many history rows to display per page. The messages section is particularly powerful — every chat line, from the “You made X sales” alert to the history footer, can be customized with color codes and placeholders like {sales}, {player}, and {money}. This makes it simple to match your server’s branding or language preferences.

Database settings let you switch between SQLite and MySQL. For MySQL, you’ll provide the host, port, username, password, and optionally enable SSL. The clean-on-startup option can automatically purge old records using parameters you define, keeping your database lean without manual intervention.

Database Management and Cleanup

Over time, transaction logs can grow large. CSN’s cleandatabase command is a robust solution. You can target entries older than a certain number of days, restrict removal to a single user, delete only read entries, or wipe everything with the --all flag. The plugin also includes an upload command to force data synchronization if a database connection was interrupted, ensuring no sales are lost.

For servers migrating from older versions, the convert command safely transforms the old csn table to UUID format, preserving all data while renaming the original table for backup. This attention to detail makes CSN a reliable choice even for long-running worlds.

Conclusion

ChestShop Notifier fills a crucial gap in the Minecraft server economy ecosystem. By giving shop owners instant insight into their offline transactions, it encourages more active participation and reduces the frustration of missed sales. Its lightweight design, dual database support, and extensive customization options make it suitable for servers of any size. Whether you’re running a cozy community market or a competitive trading hub, CSN ensures your players stay informed and engaged. Pair it with a reliable plugin management approach — such as using a modern launcher that simplifies installation — and you’ll have a seamless, professional setup that keeps your economy thriving.