np98765 / BattleKits

dev.bukkit.org/server-mods/battlekits
3 stars 19 forks source link

Config keeps resetting to default #2

Closed rumbleiv closed 11 years ago

rumbleiv commented 11 years ago

CraftBukkit version: Bukkit 1.4.2 R0.2 Plugin list: World portal, XpStrength, nodrop, battlekits, worldedit, nocheatplus, pail, fastsoup, buycraft, vault, autotimeday, permissionex, modifyworld, worldguard, treeassist, piratestick, Pailplus, essentials, chatmanager, esseentialsspawn, essentials chat, autorank BattleKits version: BattleKits 1.3 for CB 1.4.2-R0.2 19 hours ago Config file link (pastebin.com): It keeps resetting to the default.. When does the error occur? Everytime I restart server for a reload. Steps to reproduce error: Restart server.

lol768 commented 11 years ago

Every time the server reloads/restarts, the config is saved. This overwrites any changes you have made and is intentional to ensure that kit tracking/lives are not lost on restart. It's very easy to fix, so next time you want to modify the config follow these steps:

If you ever make changes, simply remember to use /pvp reload to tell BattleKits to take your changes into account. It also has the advantage of not requiring any other plugins to restart.