Update 1.2 - Das Multi-Storage & Performance Update
In diesem Update wurde das Banksystem technisch optimiert, um eine höhere Stabilität und Flexibilität zu gewährleisten. Durch die Implementierung eines hochperformanten Hikari-Connection-Pools und die Erweiterung der Multi-Storage-Optionen ist das Plugin nun sowohl für kleine Einzelserver als auch für große Netzwerke bestens gerüstet.
Update 1.2 - The Multi-Storage & Performance UpdateIn this update, the banking system was technically optimized to ensure greater stability and flexibility. By implementing a high-performance Hikari connection pool and expanding the multi-storage options, the plugin is now well equipped for both small single servers and large networks.
Deutsch / German
Das Banksystem hat ein wichtiges technisches Upgrade erhalten! Mit Version 1.2 führe Ich ein erweitertes Speichersystem ein, das für verschiedene Serverumgebungen optimiert wurde.
Highlights dieser Version:
- Erweiterter Multi-Storage Support: Wähle zwischen MySQL, SQLite oder YAML direkt in der Config.
- Integriertes Verbindungssystem: Das Plugin nutzt nun einen HikariCP-Pool, der die Datenbankverbindungen effizient verwaltet und Timeouts verhindert.
- Erhöhte Stabilität: Dank Keep-Alive-Mechanismen gehören Verbindungsabbrüche zur Datenbank der Vergangenheit an.
- Asynchrone Datenverarbeitung: Datenbank-Operationen laufen im Hintergrund, um die Server-Performance zu schonen.
Installation:
1. Ersetze die alte .jar Datei im Plugins-Ordner.
2. Ergänze den 'storage-method' Pfad in deiner config.yml oder lasse die Datei neu generieren.
Code (YAML):
# ============================================================================== # BANKSYSTEM - PROFESSIONAL CONFIGURATION # Developed by BlackCyper | Version 1.2 # ============================================================================== # [DE] Präfix für alle Nachrichten im Chat. # [EN] Prefix for all chat messages. prefix: "&8[&6Bank&8] &7" # [DE] Soll beim Start geprüft werden, ob eine neue Version verfügbar ist? # [EN] Should the plugin check for updates on startup? update-checker: true
# ============================================================================== # STORAGE SETTINGS / SPEICHER-EINSTELLUNGEN # ============================================================================== # [DE] Speichermethode für die Bankdaten. # [EN] Storage method for all bank data. # Options: SQLITE (local file), MYSQL (database), YAML (flat file) storage-method: "SQLITE" mysql:
host: "localhost" port: 3306
database: "minecraft" username: "root" password: "" # ============================================================================== # INTEREST SETTINGS / ZINS-EINSTELLUNGEN # ============================================================================== interest:
online: 1.0
offline: 0.5
interval_minutes: 60
deny_afk_interest: true
# ============================================================================== # LEVEL SYSTEM / STUFEN-EINSTELLUNGEN # ============================================================================== levels:
1:
limit: 10000
interest_multiplier: 1.0
2:
limit: 100000
interest_multiplier: 1.1
3:
limit: 500000
interest_multiplier: 1.2
4:
limit: 5000000
interest_multiplier: 1.3
5:
limit: 10000000
interest_multiplier: 1.5
# ============================================================================== # ️ VOUCHER SETTINGS / GUTSCHEIN-EINSTELLUNGEN # ============================================================================== voucher:
material: "PAPER" display_name: "&6&lBank-Upgrade &7(Level +1)" lore: -
"&8&m----------------------------" -
"&7Verwende diesen Gutschein, um dein" -
"&7Bank-Limit und deine Zinsen zu erhöhen." -
"" -
"&6Informationen:" - " &8» &7Ziel: &eNächsthöheres Level
" - " &8» &7Typ
: &fEinweg-Gutschein" -
"" -
"&eRechtsklick zum Einlösen!" -
"&8&m----------------------------"
English / Englisch
The Banksystem has received an important technical upgrade! With version 1.2, I am introducing an expanded storage system optimized for various server environments.
Version Highlights:
- Expanded Multi-Storage Support: Choose between MySQL, SQLite, or YAML directly in the config.
- Integrated Connection System: The plugin now features a HikariCP pool that efficiently manages database connections and prevents stale connection errors.
- Enhanced Stability: Thanks to keep-alive mechanisms, database connection drops are a thing of the past.
- Asynchronous Data Processing: Database operations run in the background to maintain server performance.
Installation:
1. Replace the old .jar file in your plugins folder.
2. Add the 'storage-method' path to your config.yml or let the file regenerate.
Code (YAML):
# ============================================================================== # BANKSYSTEM - PROFESSIONAL CONFIGURATION # Developed by BlackCyper | Version 1.2 # ============================================================================== # [DE] Präfix für alle Nachrichten im Chat. # [EN] Prefix for all chat messages. prefix: "&8[&6Bank&8] &7" # [DE] Soll beim Start geprüft werden, ob eine neue Version verfügbar ist? # [EN] Should the plugin check for updates on startup? update-checker: true
# ============================================================================== # STORAGE SETTINGS / SPEICHER-EINSTELLUNGEN # ============================================================================== # [DE] Speichermethode für die Bankdaten. # [EN] Storage method for all bank data. # Options: SQLITE (local file), MYSQL (database), YAML (flat file) storage-method: "SQLITE" mysql:
host: "localhost" port: 3306
database: "minecraft" username: "root" password: "" # ============================================================================== # INTEREST SETTINGS / ZINS-EINSTELLUNGEN # ============================================================================== interest:
online: 1.0
offline: 0.5
interval_minutes: 60
deny_afk_interest: true
# ============================================================================== # LEVEL SYSTEM / STUFEN-EINSTELLUNGEN # ============================================================================== levels:
1:
limit: 10000
interest_multiplier: 1.0
2:
limit: 100000
interest_multiplier: 1.1
3:
limit: 500000
interest_multiplier: 1.2
4:
limit: 5000000
interest_multiplier: 1.3
5:
limit: 10000000
interest_multiplier: 1.5
# ============================================================================== # ️ VOUCHER SETTINGS / GUTSCHEIN-EINSTELLUNGEN # ============================================================================== voucher:
material: "PAPER" display_name: "&6&lBank-Upgrade &7(Level +1)" lore: -
"&8&m----------------------------" -
"&7Verwende diesen Gutschein, um dein" -
"&7Bank-Limit und deine Zinsen zu erhöhen." -
"" -
"&6Informationen:" - " &8» &7Ziel: &eNächsthöheres Level
" - " &8» &7Typ
: &fEinweg-Gutschein" -
"" -
"&eRechtsklick zum Einlösen!" -
"&8&m----------------------------"
# UPDATE 1.1 - DATABASE SYNC & SMART NOTIFICATIONS
English Version This update focuses on stability and communication. I have improved data processing and fixed the update notification system so that you always stay informed without any connection issues.
What's new? *
HOTFIX: Resolved the Update-Checker connection issues (Fixed java.net.ConnectException).
*
Clickable Notifications: Admins with 'bank.admin' permission now get a clickable link in chat when an update is ready.
*
⚡ Asynchronous Loading: Further optimizations for SQLITE and MySQL data fetching to ensure zero lag.
*
️ Code Cleanup: Unified version comparison logic for more accurate update reports.
*
✨ Visuals: New polished console banner on startup.
Code (Text):
# ==============================================================================
# BANKSYSTEM - PROFESSIONAL CONFIGURATION
# Developed by BlackCyper | Version 1.1
# ==============================================================================
# [DE] Präfix für alle Nachrichten im Chat.
# [EN] Prefix for all chat messages.
prefix: "&8[&6Bank&8] &7"
# [DE] Soll beim Start geprüft werden, ob eine neue Version verfügbar ist?
# [EN] Should the plugin check for updates on startup?
update-checker: true
# ==============================================================================
# STORAGE SETTINGS / SPEICHER-EINSTELLUNGEN
# ==============================================================================
# [DE] Speichermethode für die Bankdaten.
# [EN] Storage method for all bank data.
# Options: SQLITE (local file), MYSQL (database), YAML (flat file)
storage-method: "SQLITE"
mysql:
host: "localhost"
port: 3306
database: "minecraft"
username: "root"
password: ""
# ==============================================================================
# INTEREST SETTINGS / ZINS-EINSTELLUNGEN
# ==============================================================================
interest:
# [DE] Basis-Zinssatz pro Intervall (in Prozent %).
# [EN] Base interest rate per interval (in percent %).
online: 1.0
offline: 0.5
# [DE] Intervall für die Zinsgutschrift in Minuten.
# [EN] Interval for interest credit in minutes.
# TIP: Set to 1 for testing, default is 60.
interval_minutes: 60
# [DE] Verhindert Zinsen, wenn der Spieler sich nicht bewegt (AFK-Schutz).
# [EN] Prevents interest if the player is not moving (AFK protection).
deny_afk_interest: true
# ==============================================================================
# LEVEL SYSTEM / STUFEN-EINSTELLUNGEN
# ==============================================================================
# [DE] Hier kannst du die Bank-Stufen (1-5) konfigurieren.
# [EN] Configure the bank levels (1-5) here.
#
# limit: [DE] Maximale Coins pro Level | [EN] Max coins per level
# interest_multiplier: [DE] Multiplikator für Zinsen | [EN] Multiplier for interest
levels:
1:
limit: 10000
interest_multiplier: 1.0
2:
limit: 100000
interest_multiplier: 1.1
3:
limit: 500000
interest_multiplier: 1.2
4:
limit: 5000000
interest_multiplier: 1.3
5:
limit: 10000000
interest_multiplier: 1.5
# ==============================================================================
# ️ VOUCHER SETTINGS / GUTSCHEIN-EINSTELLUNGEN
# ==============================================================================
# [DE] Konfiguration für den Bank upgrade Gutschein.
# [EN] Configuration for the bank upgrade voucher.
voucher:
material: "PAPER"
display_name: "&6&lBank-Upgrade &7(Level +1)"
lore:
- "&8&m----------------------------"
- "&7Verwende diesen Gutschein, um dein"
- "&7Bank-Limit und deine Zinsen zu erhöhen."
- ""
- "&6Informationen:"
- " &8» &7Ziel: &eNächsthöheres Level"
- " &8» &7Typ: &fEinweg-Gutschein"
- ""
- "&eRechtsklick zum Einlösen!"
- "&8&m----------------------------"
------------------------------------------------------
Deutsche Version Dieses Update konzentriert sich auf Stabilität und Kommunikation. Ich habe die Datenverarbeitung verbessert und das Update-Benachrichtigungssystem gefixt, damit du immer ohne Verbindungsprobleme informiert bleibst.
Was ist neu? *
HOTFIX: Verbindungsprobleme des Update-Checkers behoben (Fix für java.net.ConnectException).
*
Klickbare Nachrichten: Admins mit dem Recht 'bank.admin' erhalten nun einen klickbaren Link im Chat, wenn ein Update bereitsteht.
*
⚡ Asynchrones Laden: Weitere Optimierungen für das Abrufen von MySQL- und SQLite-Daten für maximale Performance.
*
️ Code Cleanup: Vereinheitlichte Logik für den Versionsvergleich für präzisere Update-Meldungen.
*
✨ Visuals: Neues, aufpoliertes Konsolen-Banner beim Start.