► Configuration (config.yml) The default configuration file is well-commented to guide you. The most critical section is the database setup.
Code (YAML):
[SIZE=6
]
[B
]MC-Data-Bridge Configuration File
[/B
]
[/SIZE
]
[SIZE=6
]
[B
]
--- Database Settings
---
[/B
]
[/SIZE
]
[SIZE=6
]
[B
]This plugin requires a MySQL or MariaDB database to store player data.
[/B
]
[/SIZE
]
[SIZE=6
]
[B
]Ensure these details are correct and the same across
all servers.
[/B
]
[/SIZE
]
database
: host
: '127.0.0.1' port
: 3306 username
: 'minecraft' password
: 'YourSecurePassword' database_name
: 'mc_data_bridge'
[SIZE=6
]
[B
]
--- Sync Settings
---
[/B
]
[/SIZE
]
[SIZE=6
]
[B
]Choose which parts of the player data you want to synchronize.
[/B
]
[/SIZE
]
sync
: inventory
: true health
: true hunger
: true experience
: true effects
: true gamemode
: true
► Commands & Permissions
Command |
Permission |
Description |
/mdb reload |
mcbridge.admin.reload |
Reloads the configuration file from disk. |
/mdb sync <player> |
mcbridge.admin.sync |
Forces a manual data save for a specific online player. |