Added an Update Checker, closes #559

This commit is contained in:
TfT_02
2013-02-18 22:54:47 +01:00
parent d9aad67ca5
commit cf0f075acb
8 changed files with 96 additions and 0 deletions

View File

@ -14,6 +14,9 @@ General:
Save_Interval: 10
#Allow mcMMO to report on basic anonymous usage
Stats_Tracking: true
#Allow mcMMO to check if a new version is available
Update_Check: true
Prefer_Beta: false
#Allow mcMMO to inform other plugins of damage being dealt
Event_Callback: true
#Allow mcMMO to create zip backups for flatfile data on shutdown.

View File

@ -725,3 +725,7 @@ Commands.Description.skillreset=Reset mcMMO levels for a user
Commands.Description.vampirism=Modify the mcMMO vampirism percentage or toggle vampirism mode on/off
Commands.Description.xplock=Lock your mcMMO XP bar to a specific mcMMO skill
Commands.Description.xprate=Modify the mcMMO XP rate or start an mcMMO XP event
#UPDATE CHECKER
UpdateChecker.outdated=You are using an outdated version of mcMMO!
UpdateChecker.newavailable=There is a new version available on BukkitDev.

View File

@ -1369,6 +1369,7 @@ permissions:
mcmmo.tools.mcrefresh: true
mcmmo.tools.mcremove: true
mcmmo.tools.mmoedit: true
mcmmo.tools.updatecheck: true
mcmmo.tools.mcgod:
default: false
description: Allows access to mcgod command
@ -1396,3 +1397,6 @@ permissions:
mcmmo.commands.mcpurge: true
mcmmo.commands.mmoedit: true
mcmmo.commands.mmoedit.others: true
mcmmo.tools.updatecheck:
default: false
description: Notifies admins if there is a new version of mcMMO available