#
===========================================================
# HydroPremiumBackups v2.0
- Main Configuration
# Developed by TheMeanOneDevelopments
# → Discord Support
: https
:
//discord.gg/dZJH8BUbej
# Only Verified Buyers of the Plugin will be offered Support
/ be allowed Requests.
#
-----------------------------------------------------------
#
This plugin creates automatic, crash
-safe backups of your
# Minecraft server — uploading them to Dropbox and
/or Google
# Drive with detailed Discord notifications.
#
===========================================================
#
-------------------------------------------------------------------
# DISCORD WEBHOOK INTEGRATION
#
- To
do
this click on the discord channel gear
Icon, and then Integrations → Webhooks → Create
#
- Copy the Link it Provides into the webhook field below, between the parenthasis
!
#
-------------------------------------------------------------------
discord
:
webhook
:
"" # → Paste your Discord webhook
URL here.
#
(Example
: https
:
//discord.com/api/webhooks/xxxxxxxxx/xxxxxxxxx)
# Used
for sending embeds about backup creation, uploads, and errors.
notifications
:
enabled
:
true # → Show in
-game messages to players.
console
:
true # → Log to console
for transparency.
#
-------------------------------------------------------------------
# AUTO BACKUP SETTINGS
#
-
This is really important to add.
Not only gives you more peace of mind, but also really gives your players
this as well.
#
-------------------------------------------------------------------
autoBackup
:
enabled
:
true # → Enables automatic backups at the defined interval.
interval
-minutes
:
360 # → Every
6 hours
(
360 minutes
).
Set lower
for more frequent backups.
keep
-last
:
2 # → How many backup ZIPs to retain before older ones are auto
-deleted.
preRestartBackup
:
true # → Run a backup before any restart event.
crashBackup
:
true # → Run a backup automatically
if the server crashes or freezes.
#
-------------------------------------------------------------------
# CLOUD STORAGE DESTINATIONS
#
-------------------------------------------------------------------
storage
:
#
===========================================================
# LOCAL STORAGE
(always HIGHLY recommended
)
#
-
This is really needed.
It
's set to default to keep 2 backups.
# - Difficulty: 0/5 (Easiest and Automatic!)
# ===========================================================
local:
enabled: true
path: "backups/" # → Local folder to save backup ZIPs before upload. It will be in the main container file.
# ===========================================================
# DROPBOX STORAGE (Personal or App Folder Access)
# - Difficulty: 1/5
# ===========================================================
# HOW TO:
# 1. Visit https://www.dropbox.com/developers/apps
# 2. Click “Create app” → choose "Scoped access" and "App folder".
# 3. Under Permissions, enable:
# - files.content.write
# - files.content.read
# - files.metadata.read
# 4. Click "Generate access token" and paste below.
# 5. The plugin will upload ZIPs directly to your Dropbox app folder.
# - NEVER Share your Token ID.
# ===========================================================
dropbox:
enabled: false #Set to false by default
token: "sl.xxxxxYOUR_DROPBOX_ACCESS_TOKENxxxxx"
folder: "/MinecraftBackups" # → Folder path within Dropbox.
# Default is inside your App Folder; change if you granted Full Dropbox access.
# ===========================================================
# GOOGLE DRIVE STORAGE (OAuth 2.0 - Refresh Token)
# - NEVER Share any of your personal Tokens, Client ID, ClientSecret, RefreshTokens! These are direct access to your files.
# - Only share them with trusted people such as your friends. If you share these with me, I will help but immediately delete them after.
# - Difficulty: 4/5
# ===========================================================
# HOW TO:
# 1. Go to https://console.cloud.google.com/apis/credentials
# 2. Create OAuth client ID → type “Web application”. (This is SO Important!)
# 3. Add “https://developers.google.com/oauthplayground” as an Authorized redirect URI. REDIRECT URI!!!!
# 4. Open https://developers.google.com/oauthplayground
# a) On the right, click the gear ⚙ icon → check “Use your own OAuth credentials”. (It's at the Bottom of that box
)
# b
) Paste your Client ID and Secret from step
2.
# c
) On the left, select the scope
:
# https
:
//www.googleapis.com/auth/drive.file
# d
) Click “Authorize APIs”.
# e
) Click “Exchange authorization code
for tokens”.
# f
) Copy the “Refresh token” and paste it below.
#
5.
The plugin will automatically refresh the access token on every upload.
#
===========================================================
google
:
enabled
:
false #set to
false by
default
clientId
:
""
clientSecret
:
""
refreshToken
:
""
folderId
:
"" # → The Google Drive folder ID where backups should be stored.
# To get it
: open your Drive folder → copy the ID from its
URL.
# Example
: https
:
//drive.google.com/drive/folders/<folderId>
#
# ⚠️ Make sure the OAuth user account has WRITE access to that folder
!!!!
#
-------------------------------------------------------------------
# AUTO RESTART SCHEDULER
#
-
Default
this is set to every
3 hours the Server will Restart.
Remove them and have as few or many as you want.
#
-------------------------------------------------------------------
autoRestart
:
enabled
:
true # → Enables automatic restarts at scheduled times.
times
: # → Times
(
24
-hour format
) when server restarts occur.
-
"00:00"
-
"03:00"
-
"06:00"
-
"09:00"
-
"12:00"
-
"15:00"
-
"18:00"
-
"21:00"
notifyTimes
:
[
60,
30,
10,
5,
1
] # → Seconds before restart when countdowns are broadcast.
preRestartBackup
:
true # → Automatically backs up the server before restarting.
#
-------------------------------------------------------------------
# PLUGIN FILE WATCHER
(auto
-backup before updates
)
#
- I would leave
this alone,
do not touch.
This is EASY added protection.
#
-------------------------------------------------------------------
fileWatcher
:
enabled
:
true # → Detects when plugin .
jar files are replaced or modified.
# Creates a backup automatically before reload
/update.
#
-------------------------------------------------------------------
# ADVANCED SETTINGS
#
-
This really does not need touched.
When backups are done, the validation adds
2 files to the local
#
- These files are the backup and the .
sha256 which is a check to ensure you have a good file.
#
-------------------------------------------------------------------
advanced
:
checksumValidation
:
true # → Verifies backup integrity
(.
sha256
) before restoring.
compressionFormat
:
"zip" # → Currently supports
"zip".
#
-------------------------------------------------------------------
# TROUBLESHOOTING
& INFO
#
-------------------------------------------------------------------
#
- Dropbox
401 error → Token expired
; generate a
new one.
#
- Google
403 error → Folder not shared with your OAuth user.
#
- You can safely enable both Dropbox and Google at once.
Dropbox comes with 2GB Free and I believe 15GB
for Google.
#
- All uploads are async
; no TPS loss or lag.
#
- Discord embeds show start, success, and failure messages.
#
- The easiest route is the Local or Dropbox options.
Google is very good, BUT is a little harder to Setup.
Plenty of notes
#
- Are above
!
#
- Verified Buyers ONLY will receive Support.
Otherwise, requests will be ignored.
#
-------------------------------------------------------------------