ModsJava
Donation Goals (Sidebar)
Java mod listed for Minecraft 1.15. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotThis plugin uses a database to store donations from any purchasing platform (Buycraft/Tebex, Enjin, etc) and display progress toward a donation goal.
Make sure you read the ENTIRE page to ensure the plugin works.
This plugin depends on SidebarAPI .
Configuration:
This plugin REQUIRES an SQL database.
Setup:
In order to get your purchase platform to add purchases to the database, simply add a command on purchase to run the following:
/donationgoal adddonation {id} {amount}
ID is the purchaser's UUID, and amount is the size of the purchase.
You will also want to add refund/chargeback commands:
/donationgoal removedonation {id} {amount}
Here is an example for a $1.00 package on Tebex:
Make sure that these commands are set to run even if the player is offline.
Typically, you do not want to add an expiry command. The goal resets on the first of every month. If you have packages lasting less than a month, you may want to lengthen them or add an expiry command.
Commands/Permissions:
There are a few commands to help manage the plugin.
In order to use them, you must have donationgoal.manipulate .
/donationgoal reload - Reloads the configuration (restart may be required for some features)
/donationgoal adddonation (uuid) (amount) - Adds a donation to the database
/donationgoal removedonation (uuid) (amount) - Removes 1 donation matching both fields from the database
/donationgoal querydb [uuid] [amount] - Queries and prints any matching donations. UUID and amount optional.
/donationgoal cleardb - Clears all donations
/donationgoal checkreset - Manually triggers the nightly check to see if a database reset is required (if it's a new month)
/donationgoal updatesidebar - Manually updates the fields in the sidebar
In order for the sidebar to appear for people, they MUST have the permission donationgoal.display
You can use this permission node to hide the donation goal from donators or staff by revoking donationgoal.display .
Testing server: play.itsmeow.dev
For support, join my Discord
Make sure you read the ENTIRE page to ensure the plugin works.
This plugin depends on SidebarAPI .
Configuration:
This plugin REQUIRES an SQL database.
Code (Text):
# It is not recommended to use sizes larger than 12 as this may cause coloring artifacts due to Minecraft scoreboard limitations
progress_bar_width: 12
progress_bar_back_color: '&c'
progress_bar_fill_color: '&b'
donation_text: '&cDonate: &e/buy'
goal: 15.0
sql:
host:
port: 3306
database: donationgoal
username:
password:
prefix: dg_
use_ssl: true
progress_bar_width: 12
progress_bar_back_color: '&c'
progress_bar_fill_color: '&b'
donation_text: '&cDonate: &e/buy'
goal: 15.0
sql:
host:
port: 3306
database: donationgoal
username:
password:
prefix: dg_
use_ssl: true
Setup:
In order to get your purchase platform to add purchases to the database, simply add a command on purchase to run the following:
/donationgoal adddonation {id} {amount}
ID is the purchaser's UUID, and amount is the size of the purchase.
You will also want to add refund/chargeback commands:
/donationgoal removedonation {id} {amount}
Here is an example for a $1.00 package on Tebex:
Make sure that these commands are set to run even if the player is offline.
Typically, you do not want to add an expiry command. The goal resets on the first of every month. If you have packages lasting less than a month, you may want to lengthen them or add an expiry command.
Commands/Permissions:
There are a few commands to help manage the plugin.
In order to use them, you must have donationgoal.manipulate .
/donationgoal reload - Reloads the configuration (restart may be required for some features)
/donationgoal adddonation (uuid) (amount) - Adds a donation to the database
/donationgoal removedonation (uuid) (amount) - Removes 1 donation matching both fields from the database
/donationgoal querydb [uuid] [amount] - Queries and prints any matching donations. UUID and amount optional.
/donationgoal cleardb - Clears all donations
/donationgoal checkreset - Manually triggers the nightly check to see if a database reset is required (if it's a new month)
/donationgoal updatesidebar - Manually updates the fields in the sidebar
In order for the sidebar to appear for people, they MUST have the permission donationgoal.display
You can use this permission node to hide the donation goal from donators or staff by revoking donationgoal.display .
Testing server: play.itsmeow.dev
For support, join my Discord
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.15
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Donation Goals (Sidebar) is a free Minecraft Java mod. Compatible with Minecraft 1.15. Downloaded 237 times (via Spigot). Download it and open it directly in the game.