Update 1.2 - Das Multi-Storage & Performance Update
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----------------------------"