Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # default config.yml for MysqlPlayerDataBridge
- # config version 3.21.0
- #MySQL Database details
- database:
- mysql:
- #MySQL server address
- host: 127.0.0.1
- #MySQL server port (default 3306)
- port: 3306
- #Database name (NOTE! You need to create the database, then the plugin will create the tables.)
- databaseName: ''
- #Tables names (the plugin will auto create them)
- TablesNames:
- #Inventory and Armor table name.
- inventoryTableName: 'mpdb_inventory'
- #Enderchest table name.
- enderchestTableName: 'mpdb_enderchest'
- #Experience table name.
- experienceTableName: 'mpdb_experience'
- #PotionEffects table name.
- potionEffectsTableName: 'mpdb_potionEffects'
- #Health, food and air table name.
- healthFoodAirTableName: 'mpdb_health_food_air'
- #Location table name.
- locationTableName: 'mpdb_location'
- #Economy table name.
- economyTableName: 'mpdb_economy'
- #User name
- user: ''
- #User password
- password: ''
- #SSL connection
- sslEnabled: false
- #This maintenance task runs async with a 2 min delay after the server starts.
- removeOldAccounts:
- #Enable or disable database clean up of old accounts. | (true or false)
- enabled: false
- #Inactivity in days. Default 60 days.
- inactivity: 60
- #Other configurable options
- General:
- #Enable or disable sharing of player data features
- enableModules:
- #Share players inventory | (true or false)
- shareInventory: true
- #Share players gamemode | (true or false)
- shareGamemode: false
- #Share players equipped armor | (true or false)
- shareArmor: false
- #Share players enderchest | (true or false)
- shareEnderchest: true
- #Share experience | (true or false)
- shareExperience: false
- #Share potion effects | (true or false)
- sharePotionEffects: false
- #Share players health level | (true or false)
- shareHealth: false
- #Share players food and saturation level | (true or false)
- shareFood: false
- #Share players air level | (true or false)
- shareAir: false
- #Share players location | (true or false)
- #NOTE! Sharing bed spawn location requires share location enabled!
- shareLocation: false
- shareBedSpawn: false
- #Share players economy accounts | (true or false)
- #!!! NOTE !!!! For economy sync you need to install Vault and an Economy system.
- shareEconomy: false
- #Extra economy sync options. Note that this requires the economy sync to be enabled.
- economyOptions:
- #Enable support for ChestShop offline money sync. | (true or false)
- #NOTE! A server restart is required if you change settings here.
- #Only available for UUID compatible servers. (1.7.10 and up)
- #------------------------------------------------------------------
- #Enable support for the popular ChestShop plugin: https://dev.bukkit.org/projects/chestshop
- ChestShop-Support: false
- #Enable support for QuickShop plugin: https://dev.bukkit.org/bukkit-plugins/quickshop-notlikeme/
- #Because the QuickShop API does not provide info about the tax I had to code it in this plugin too, this setting should be the same as in QuickShop config.
- #To disable the tax set it to: QuickShop-SalesTax: 0.00
- QuickShop-Support: false
- QuickShop-SalesTax: 0.05
- #Enable support for premium plugin Shop: https://www.spigotmc.org/resources/shop-a-simple-intuitive-shop-plugin.9628/
- #Important! Only works for virtual currency. The Shop plugin needs players data files to work do not remove the world/playerdata folder.
- Shop-Support: false
- #Enable support for plugin AuctionHouse: https://www.spigotmc.org/resources/auction-house-1-7-1-11.6050/
- AuctionHouse-Support: false
- #Enable support for plugin ShopChest: https://www.spigotmc.org/resources/shopchest.11431/
- ShopChest-Support: false
- #Enable support for plugin ShopChestPlayerShopGUI+: https://www.spigotmc.org/resources/playershopgui.37707/
- PlayerShopGUI-Support: false
- #Enable support for Essentials Economy commands for offline players.
- #Will handle eco commands: /eco take|give|set|reset for offline players that are in the database.
- EssentialsEconomyCommands-Support: false
- #Save online players data task. If you disable this task data will only be saved when the player disconnects.
- saveDataTask:
- #Enable or disable the data save task. | (true or false)
- enabled: true
- #Time between data saves in minutes. | Default 3 min.
- interval: 3
- #Hide the data save task log messages.
- hideLogMessages: false
- #Disable sounds generated by this plugin. The sync confirmation sound for example. | (true or false)
- disableSounds: true
- #This will disable inventory, armor and enderchest sync for players in creative mode. | (true or false)
- #Can be useful in certain cases where you have 2 survival servers and give cretive access to some in one survival server and don't want them to get the creative items on the other servers. Note that you will require another plugin to create a separate inventory for creative mode.
- disableCreativeItemShare: false
- #Kick players when sync fails.
- kickOnFailedSync: false
- #Extra options for location sync.
- locationSyncOptions:
- #Players need to be online some time in order to update their location.
- #In seconds. Set to 0 to disable. (Default 0 seconds)
- onlineTimeToSaveLocation: 0
- #This feature allows you to delete folders or files when the server shuts down or restarts.
- #For example: Players data and stats folder, or other plugins that store data as file based and are not needed.
- #As in time the server will store many players data there is a need to clean up unneeded files.
- DataCleanup:
- #Enable or disabled data clean up | true or false
- Enabled: false
- #This can include folders or files. The root directory is the server main folder. (Tested on Linux)
- #NOTE!!! Some plugins need the world/playerdata files for offline players else they will have problems.
- CleanUp-Paths:
- - 'world/playerdata'
- - 'world/stats'
- #Debug console messages.
- Debug:
- #Economy sync debug messages.
- EconomySync: false
- #Inventory sync debug messages.
- InventorySync: false
- #Chat messages, supports color and format codes. To disable a chat message set it to '' Example: loginSyncConfirmation: ''
- #Minecraft Color and Format Codes: http://minecraft.gamepedia.com/Formatting_codes
- ChatMessage:
- #This message will be sent to players after data sync is complete.
- loginSyncConfirmation: '&6[&bMarsland&6]&a Din spiller-data er loadet korrekt ind!'
- loginSyncStarted: '&6[&bMarsland&6]&a Loader din spiller-data...'
- loginSyncFailed: '&6[&4FEJL&6] &cVi kunne ikke loade din spiller-data! &eKontakt os på &bwww.freakyville.net/forum'
- noPermission: '&6[&bMarsland&6]&a &eYou do not have permission.'
- configReload: '&6[&bMarsland&6]&a &eConfig reload complete! Check the server log or console for details.'
- importingData: '&6[&bMarsland&6]&a &eImporting players data to the database... Check server console for details.'
- importingDataComplete: '&6[&bMarsland&6]&a &eData import complete!'
- inventorySyncError: '&6[&4FEJL&6] &cVi kunne ikke loade din spiller-data! &eKontakt os på &bwww.freakyville.net/forum'
- inventorySyncBackup: '&6[&c&lFEJL-INFO!&6] &aVi genskabte din inventory - Fjern ALT fra din inventory og relog venligst, for ikke at tabe items!'
- armorSyncError: '&6[&4FEJL&6]&c Vi kunne ikke loade din armor-data! &eKontakt os på &bwww.freakyville.net/forum'
- armorSyncBackup: '&6[&c&lFEJL-INFO!&6] &aVi genskabte din inventory - Fjern ALT fra din inventory og relog venligst, for ikke at tabe items!'
- #The place holder %money% will be replaced by the amount of money the player will receive.
- offlineMoneyReceived: '&6[&bMarsland&6]&a &eYou received&6 %money% &emoney from your shop sales.'
- syncInProgress: '&6[&bMarsland&6]&a Vi synkroniserer data... Vent venligst...'
- reloadCmdBlocked: '&6[&bMarsland&6]&a &cReload kommandoen er blokeret!'
- #Other messages
- Commands:
- inventoryUsage: '&cUsage: &6/mpdb inv <name>'
- inventoryInfo: '&cInfo: &7Open a player inventory. Replace <name> with the player name.'
- armorUsage: '&cUsage: &6/mpdb armor <name>'
- armorInfo: '&cInfo: &7Edit a player armor. Replace <name> with the player name.'
- enderchestUsage: '&cUsage: &6/mpdb end <name>'
- enderchestInfo: '&cInfo: &7Edit a player enderchest. Replace <name> with the player name.'
- ecoBalUsage: '&cUsage: &6/mpdb ecoBal <name>'
- ecoBalInfo: '&cInfo: &7Check a player balance. Replace <name> with the player name.'
- ecoSetUsage: '&cUsage: &6/mpdb ecoSet <name> <amount>'
- ecoSetInfo: '&cInfo: &7Change a player balance. Replace <name> with the player name and <amount> with new balance.'
- ecoSetTip: '&6[&bMarsland&6]&a &eReplace <amount> with a number!'
- deleteUsage: '&cUsage: &6/mpdb delete <name>'
- deleteInfo: '&cInfo: &7Delete a player from the database. Replace <name> with the player name.'
- cmdNotFound: '&cCommand not found! For help do: &6/mpdb help'
- playerNotFound: '&6[&bMarsland&6]&a &ePlayer not found!'
- #The place holder %playerName% will get replaced by the player name.
- inventoryOpen: '&6[&bMarsland&6]&a&c %playerName% &einventory.'
- armorOpen: '&6[&bMarsland&6]&a&c %playerName% &earmor.'
- enderchestOpen: '&6[&bMarsland&6]&a&c %playerName% &eenderchest.'
- deleteData: '&6[&bMarsland&6]&a&c %playerName% &edata deleted!'
- #The place holder %balance% will be replaced by the player balance.
- ecoSet: '&6[&bMarsland&6]&a&c %playerName% &ebalance set! New balance: %balance%'
- ecoBalance: '&6[&bMarsland&6]&a&c %playerName% &ebalance: %balance%'
- #Essentials eco commands messages.
- userNotInDB: '&6[&bMarsland&6]&a &cCould not find user in database!'
- userOnline: '&6[&bMarsland&6]&a &cPlayer is online on another server in sync!'
- essentialsEcoReset: '&6[&bMarsland&6]&a &aUser balance reset complete!'
- essentialsEcoGive: '&6[&bMarsland&6]&a &aAdded money successfully!'
- essentialsEcoTake: '&6[&bMarsland&6]&a &aRemoved money successfully!'
- essentialsEcoSet: '&6[&bMarsland&6]&a &aBalance set successfully!'
- essentialsEcoBal: '&6[&bMarsland&6]&a &aBalance for %name% is: %balance%'
- #Minecraft Color and Format Codes: http://minecraft.gamepedia.com/Formatting_codes
- KickMessages:
- saveAndKickCommand: '&cServeren genstarter - Rejoin om 2 minutter!'
- syncFailedKick: '&6[&4FEJL&6] &cVi kunne ikke loade din spiller-data! &eKontakt os på &bwww.freakyville.net/forum'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement