DB MERGER
→ Purchase for €25 Here ←
→ Purchase for €25 Here ←
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:
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!