[RDR] | PlayerVaults | Town Balance Sync | Cross Server | MySQL | PostGres | H2 icon

[RDR] | PlayerVaults | Town Balance Sync | Cross Server | MySQL | PostGres | H2 -----

Cross server player, town, and party vaults. Town bank security logic!




Hotfix for the new command permission
New command: /rr admin unlock vaults - force unlock all vaults when server fails to shutdown properly
----------, Jan 21, 2024

Further improvements to shared vaults to improve checks when vault is open by another player
Removed duplicate command code in favor of optimized confirmation setting check
----------, Jan 21, 2024

Added save logic to Party and Town vaults using custom entity manager for locked access while open
----------, Jan 21, 2024

Shade InvUI so there are no conflict with RDQ - RCore in progress
----------, Jan 20, 2024

- Support for 1.18 dropped due to PaperMC requirements
- Fix to API version mismatch error
----------, Jan 14, 2024

Added Spigot 1.18.2 support
Added better spigot handling
Added custom library loader to reduce jar size
----------, Jan 6, 2024

Updated API used to implement GUI - Thanks to @EspRene

Updated Soft Depends:
mcMMO from 2.1.222 to 2.1.226
PAPI from 2.11.3 to 2.11.5
Towny from 0.99.5.0 to 0.100.0.0
----------, Dec 20, 2023


Fix pom.yml dependency.
----------, Nov 24, 2022

Fixed permissions and updated dependencies.
----------, Nov 21, 2022

Companion addon BungeeBankSync has been released! This companion addon will work for Bungeecord and Waterfall proxy servers.

Further testing successfully using CMI and EssentialsX as economy plugins.

EssentialsX added as a SoftDepend. Note: CONFIG FILE CHANGED.

Code (Text):
# Requires plugin addon VelocityBankSync | BungeeBankSync to enable. If disabled, plugin will use Legacy Mode.
# You do not have to specify the proxy type. Set the proxy settings and download the correct proxy jar file.
Proxy:
  enabled: false
  host: 0.0.0.0
  port: 12345
  # Minimum time (seconds) before sending new command across network.
  safeSyncInterval: 1
  # CHANGES BELOW CAN BE RELOADED
Debug:
  # Essential logs to setup
  enabled: true
  # Extended logs for debugging
  extended: true
  # Enable log file
  log: true
  # Set to -1 to keep all log files.
  logFiles: 3
Storage:
  # Support only available for MySQL. For other DBs please request support for consideration.
  method: MySQL
  # Set this to true to enable sync. Will only work after data imported. Depreciated - Only works in legacy mode.
  sync: false
  # Interval in minutes to sync servers from mysql. Note: A low number can cause lag if you have a large number of towns.
  # This interval is unaffected when a large number of players is present on your server. Only number of towns/nations.
  interval: 5
MySQL:
  hostname: 127.0.0.1
  port: 3306
  database: db
  table: table
  username: user
  password: pass
  useSSL: false
  allowPublicKeyRetrieval: false
  # Remove deleted towns/nations from the mysql database. Note: Does not affect towny database.
  remove_old_towns: false
  remove_old_nations: false
Discord:
  # Enable discord notifications. Toggle the different notifications below.
  # Setting all to false effectively disables notifications.
  enabled: false
  webhookURL: URL_HERE
  webhookImage: https://amzfiles.antimatterzone.net/api/public/dl/YG8o6te6
  webhookUser: NetworkBankSync
  # Creates all discord notifications embedded.
  webhookEmbedded: true
  # Turns on discord notifications when plugin loads/unloads.
  pluginNotify: true
  # Turns on discord notifications for sync and load commands.
  notifySync: true
  notifyLoad: true
  # Turns on discord notifications for transaction.
  transactions: true
----------, Aug 2, 2022

2.0 brings many features, bug fixes, and a companion proxy addon!


Code (Text):
# Requires plugin addon VelocityBankSync
velocity:
  enabled: false
  host: 0.0.0.0
  port: 12345
  # Minimum time (seconds) before sending new command across network.
  safeSyncInterval: 1
  # CHANGES BELOW CAN BE RELOADED
debug:
  # Essential logs to setup
  enabled: true
  # Extended logs for debugging
  extended: true
  # Enable log file
  log: true
  # Set to -1 to keep all log files.
  logFiles: 3
storage:
  # Support only available for MySQL. For other DBs please request support for consideration.
  method: MySQL
  # Set this to true to enable sync. Will only work after data imported. Depreciated - Only works in legacy mode.
  sync: false
  # Interval in minutes to sync servers from mysql. Note: A low number can cause lag if you have a large number of towns.
  # This interval is unaffected when a large number of players is present on your server. Only number of towns/nations.
  interval: 5
mysql:
  hostname: 127.0.0.1
  port: 3306
  database: db
  table: table
  username: user
  password: pass
  useSSL: false
  allowPublicKeyRetrieval: false
  # Remove deleted towns/nations from the mysql database. Note: Does not affect towny database.
  remove_old_towns: false
  remove_old_nations: false
notifications:
  discord:
    # Enable discord notifications. Toggle the different notifications below.
    # Setting all to false effectively disables notifications.
    enabled: false
    webhookURL: URL_HERE
    webhookImage: https://amzfiles.antimatterzone.net/api/public/dl/YG8o6te6
    webhookUser: NetworkBankSync
    # Creates all discord notifications embedded.
    webhookEmbedded: true
    # Turns on discord notifications when plugin loads/unloads.
    pluginNotify: true
    # Turns on discord notifications for sync and load commands.
    notifySync: true
    notifyLoad: true
    # Turns on discord notifications for transaction.
    transactions: true
----------, Aug 1, 2022

Added discord notifications and toggle settings in Config.

Code (Text):
debug:
  enabled: false
storage:
  # Support only available for MySQL. For other DBs please request support for consideration.
  method: MySQL
  # Set this to true to enable sync. Will only work after data imported.
  sync: false
  # Interval in minutes to sync servers from mysql. Note: A low number can cause lag if you have a large number of towns.
  # This interval is unaffected when a large number of players is present on your server. Only number of towns/nations.
  interval: 5
mysql:
  hostname: 127.0.0.1
  port: 3306
  database: db
  table: table
  username: user
  password: pass
  useSSL: false
  allowPublicKeyRetrieval: false
  # Remove deleted towns/nations from the mysql database. Note: Does not affect towny database.
  remove_old_towns: false
  remove_old_nations: false
notifications:
  discord:
    # Enable discord notifications. Toggle the different notifications below.
    # Setting all to false effectively disables notifications.
    enabled: false
    webhookURL: URL_HERE
    webhookImage: https://amzfiles.antimatterzone.net/api/public/dl/YG8o6te6
    webhookUser: NetworkBankSync
    # Creates all discord notifications embedded.
    webhookEmbedded: true
    # Turns on discord notifications when plugin loads/unloads.
    pluginNotify: true
    # Turns on discord notifications for sync and load commands.
    notifySync: true
    notifyLoad: true
    # Turns on discord notifications for transaction.
    transactions: true
----------, Jul 26, 2022

1. New reload command and permission.
2. Tab complete implemented for all commands.
3. Version check implemented
4. API-Dependency added.
5. Safely install plugin and load Towny data without corruption, wipes, or resets. Previously, if a player connects before running /nbs load then a sync was triggered causing Towny banks to set to 0.
6. Sync trigger added when Towns and Nations are created.
7. Fixed config.yml which had extra ";" in 1.0.4.


----------, Jul 26, 2022

Commands and permissions update.

Code (Text):
/nbs      - base command
/nbs help - help info
/nbs sync - manually trigger sync
/nbs load - manually load data from Towny (do not run as player)

Code (Text):
NetworkBankSync.commands
NetworkBankSync.commands.sync
NetworkBankSync.commands.load
NetworkBankSync.commands.help
----------, Jul 24, 2022

1. Added bstats metrics
2. new command /nbsload
3. Added dependencies for proper shutdown.
4. Added option to disable sync.
5. Sync trigger added when Towns and Nations are deleted.

Note: Config has changed.

Code (Text):
debug:
  enabled: false
storage:
  # Support only available for MySQL. For other DBs please request support for consideration.
  method: MySQL
  # set this to true to enable sync. Import your town data with /nbsload before setting to true.
  sync: false
  # interval in minutes to sync servers from mysql. Note: A low number can cause lag.
  interval: 5
mysql:
  hostname: 127.0.0.1
  port: 3306
  database: db
  table: table
  username: user
  password: pass
  useSSL: false
  allowPublicKeyRetrieval: false
  # remove deleted towns/nations from the mysql database. Note: Does not affect towny database.
  remove_old_towns: true;
  remove_old_nations: true;
----------, Jul 24, 2022

1. Added Nation Support
2. Added automatically removing towns/nation tables from MySQL when deleted from game. Ability to disable feature in the config.
3. Added /nbs command to sync stats from MySQL.

Code (Text):
debug:
  enabled: false
storage:
  # Support only available for MySQL. For other DBs please request support for consideration.
  method: MySQL
mysql:
  hostname: 127.0.0.1
  port: 3306
  database: db
  table: table
  username: user
  password: pass
  useSSL: false
  allowPublicKeyRetrieval: false
  #interval in minutes to sync servers from mysql. Note: A low number can cause lag.
  interval: 5
  #remove deleted towns/nations from the mysql database. Note: Does not affect towny database.
  remove_old_towns: true;
  remove_old_nations: true;
----------, Jul 24, 2022

Added table variable to config. Set by the user.

If migrating from 1.0.0 you must add the table variable as such to the config:

Code (Text):
debug:
enabled: false
storage:
  # Support only available for MySQL. For other DBs please request support for consideration.
  method: MySQL
mysql:
  hostname: 127.0.0.1
  port: 3306
  database: db
  table: table
  username: user
  password: pass
  useSSL: false
  allowPublicKeyRetrieval: false
  #interval in minutes to sync servers from mysql. Note: A low number can cause lag.
  interval: 5

Note: Do not forget to rename the table in MySQL if you are migrating from 1.0.0
----------, Jul 24, 2022

Resource Information
Author:
----------
Total Downloads: 1,337
First Release: Jul 24, 2022
Last Update: Jan 21, 2024
Category: ---------------
All-Time Rating:
6 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings