• Hello, Guest! This is a public service announcement;

    GameServersHub is excited to announce we are now officially partnered with Discord itself. We invite everyone to join the new discord server; the link is below!

    We will shut down the old legacy API discord when Ark 2 is released. Make sure you join the new discord using the link below!

    Join now: discord.gg/gsh

DB MERGER
This is a small neat tool to merge multiple databases into one.​

How to purchase:
To purchase this bot go to the following webstore HERE. After purchase, the delivery will be automatically processed.


Features:
  • Merge multiple db tables into one table.
  • Support for multi-server databases.

Information:
This tool is not a DiscordBot, instead, it's just a small app. This tool allows you to get data from multiple tables and merge the data into one big table, from here your other apps/bots/plugins can utilize the merged table and have access to as much data as you can imagine.

Example:
image.png


Configuration:
JavaScript:
module.exports = {
    dbdAccountId: '', // DBD Account ID
    updateIntervalSec: 60, // Update interval in seconds
    databases: [
        {
            enabled: true, // Whether the database merging is enabled
            sources: [
                // Here you can add multiple databases where the data will be taken from
                {
                    host: 'localhost', // The host of the database
                    user: 'root', // The user of the database
                    password: '', // The password of the database
                    database: 'arkshop', // The database name
                    tables: [
                        {
                            table: 'arkshopplayers', // The table name to take the data from
                            searchByColumn: 'SteamId', // The column name to search by
                            mergeColumns: ['Kits', 'Points'], // The columns to read the data from
                        },
                    ],
                },
                {
                    host: 'localhost',
                    user: 'root',
                    password: '',
                    database: 'lethalquests',
                    tables: [
                        {
                            table: 'lethalquests_stats',
                            searchByColumn: 'SteamId',
                            mergeColumns: ['Name', 'PlayerKills', 'PlayerDeaths'],
                        },
                    ],
                },
                {
                    host: 'localhost',
                    user: 'root',
                    password: '',
                    database: 'kalscrosschat',
                    tables: [
                        {
                            table: 'currentplayers',
                            searchByColumn: 'SteamId',
                            mergeColumns: ['ServerKey', 'Permissions'],
                        },
                    ],
                },
            ],
            // The destination database where the data will be merged
            destination: {
                host: 'localhost', // The host of the database
                user: 'root', // The user of the database
                password: '', // The password of the database
                database: 'dbmerger', // The database name
                table: 'players', // The table name
            },
        },
    ],
};

Get Support:
Join my Discord server to get the latest updates and info!
Nitrado Console Servers Partner
Ark: Survival Evolved Gaming Servers SaltyZombies.com
Tempest Dedicated Gaming Servers
Author
Default01
Downloads
0
Type
Digital product
License duration
Unlimited
Price
30.00 EUR
Views
105
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Default01

Latest updates

  1. MINOR UPDATE (V1.0.4)

    + Fixed connection limiting, app now properly closes connections. + Fixed some errors
Tempest Dedicated Servers
Top