C3 SharedDB v1.0

SharedDB is a shared connection pool library for Minecraft plugins.
SharedDB.png

The Ultimate Unified Database & Redis Connection Pool for PaperMC

Stop wasting server resources with redundant connections! SharedDB is a high-performance, developer-centric library designed to consolidate your MariaDB and Redis connection pools into a single, efficient source.

If you run a network with multiple custom plugins, each one usually opens its own Hikari or Lettuce pool—clogging your database threads and eating RAM. SharedDB fixes this by providing a shared, static API that any plugin can hook into.

⚡ Performance Features

  • Intelligent Read/Write Splitting: Built-in support for MariaDB and Redis read replicas. Direct your SELECT queries to a local replica and your UPDATES to the primary—perfect for multi-region or high-traffic networks.
  • HikariCP & Lettuce Integration: Uses industry-standard pooling for maximum stability and speed.
  • Resource Efficiency: Drastically reduces the overhead on your SQL and Redis instances by sharing a single set of pools across all compatible plugins.
  • Zero Dependency Conflicts: All libraries are fully shaded and relocated. It won't break your other plugins.
  • Developer Friendly: Features a simple static API. Just add SharedDB to your plugin.yml and start querying.

🔍 Diagnostic & Admin Tools

Stay in control with a robust suite of management commands to monitor your database health in real-time:

  • Detailed Usage Stats: See exactly which plugins are making calls and how often.
  • Live Connection Testing: Verify your SQL and Redis status instantly from the console or in-game.
  • Real-time Debugging: Toggle debug mode to track every query and pub/sub message as it happens.

⌨️ Commands & Permissions

  • /shareddb statusOverall pool health and connection states.
  • /shareddb statsPer-plugin usage breakdown.
  • /shareddb test <db|redis|all>Run a live connection benchmark.
  • /shareddb debug <on|off>Monitor live calls for troubleshooting.
  • Permission: shareddb.admin (Default: OP)

    1771491010447.png

🛠 For Developers

Integrating with SharedDB is as simple as: SharedDB.getReadConnection() or SharedDB.redisGet(key). Documentation and examples are available on GitHub.
EULA: Free EULA
124 Views
3 Downloads
Feb 20, 2026 Published
N/A Updated
Not yet rated
7.2 MB File size
Open source
  1. Yes
DRM-free
  1. Yes
Unobfuscated
  1. Yes
Type
  1. Core
Game mode
  1. Survival
  1. Hub & lobby
  1. Donut-like
Supported software
  1. Paper
Supported versions
  1. 1.21
Supported languages
  1. This product doesn't contain text
Creator
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Lag-free, customizable servers ready in minutes.
Host your adventure today!
Recommended for you
Cross-Server Teleport plugin for RTP, TPA, Zones, Teams, Homes, and more!!!
5.00 star(s) 2 ratings
4 purchases
The description is in the name. Give your players a pearl to instantly teleport them to the surface
Not yet rated
0 purchases
CrossServer Billford system for Premium Trades
Not yet rated
0 purchases
CrossServer Order System for your Economy
Not yet rated
0 purchases
CrossServer Sell system for Premium Economy
Not yet rated
0 purchases
124 Views
3 Downloads
Feb 20, 2026 Published
N/A Updated
Not yet rated
7.2 MB File size
Open source
  1. Yes
DRM-free
  1. Yes
Unobfuscated
  1. Yes
Type
  1. Core
Game mode
  1. Survival
  1. Hub & lobby
  1. Donut-like
Supported software
  1. Paper
Supported versions
  1. 1.21
Supported languages
  1. This product doesn't contain text
Creator
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Lag-free, customizable servers ready in minutes.
Host your adventure today!
Recommended for you
Cross-Server Teleport plugin for RTP, TPA, Zones, Teams, Homes, and more!!!
5.00 star(s) 2 ratings
4 purchases
The description is in the name. Give your players a pearl to instantly teleport them to the surface
Not yet rated
0 purchases
CrossServer Billford system for Premium Trades
Not yet rated
0 purchases
CrossServer Order System for your Economy
Not yet rated
0 purchases
CrossServer Sell system for Premium Economy
Not yet rated
0 purchases
Top