📅 DB MERGER

Verified ðŸ“… DB MERGER 1.0.7

No permission to download

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Website User Information:

On GameServersHub, developers can earn a "Verified" prefix tag for their resources. This tag indicates that the developer has been granted a website role to upload verified resources, which are generally of higher quality than unverified ones. By consistently providing dedicated and quality results for the gaming community, developers can earn this tag and showcase their commitment to providing top-notch content. So, if you're looking for the best gaming resources, be sure to keep an eye out for the "Verified" tag on GameServersHub.
📅 DB MERGER
DB MERGER
This is a small neat tool to merge multiple databases into one.​

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!

Latest updates

  1. AUTHENTICATION UPDATE (V1.0.7)

    + Updated authentication system, make sure to use @DBD Licenses Bot#1436 now!
  2. MINOR UPDATE (V1.0.4)

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