Add a command to reload locale

This commit is contained in:
Mark Vainomaa
2019-04-30 21:19:55 +03:00
parent 0c8b001d05
commit 40ea101bf6
6 changed files with 63 additions and 1 deletions

View File

@ -1076,4 +1076,6 @@ Profile.Loading.FailureNotice=[[DARK_RED]][A][[RED]] mcMMO was unable to load th
Holiday.AprilFools.Levelup=[[GOLD]]{0} is now level [[GREEN]]{1}[[GOLD]]!
Holiday.Anniversary=[[BLUE]]Happy {0} Year Anniversary!\n[[BLUE]]In honor of all of nossr50's work and all the devs, here's a firework show!
#Reminder Messages
Reminder.Squelched=[[GRAY]]Reminder: You are currently not receiving notifications from mcMMO, to enable notifications please run the /mcnotify command again. This is an automated hourly reminder.
Reminder.Squelched=[[GRAY]]Reminder: You are currently not receiving notifications from mcMMO, to enable notifications please run the /mcnotify command again. This is an automated hourly reminder.
#Locale
Locale.Reloaded=[[GREEN]]Locale reloaded!

View File

@ -168,6 +168,10 @@ commands:
aliases: [macho, jumping, throwing, wrecking, crafting, walking, swimming, falling, climbing, flying, diving, piggy]
description: Deploy jokes
permission: mcmmo.commands.mcfools
mcmmoreloadlocale:
aliases: [mcreloadlocale]
description: Reloads locale
permission: mcmmo.commands.reloadlocale
permissions:
mcmmo.*:
default: false
@ -807,6 +811,7 @@ permissions:
mcmmo.commands.mmoedit.others: true
mcmmo.commands.mmoshowdb: true
mcmmo.commands.ptp.world.all: true
mcmmo.commands.reloadlocale: true
mcmmo.commands.skillreset.all: true
mcmmo.commands.vampirism.all: true
mcmmo.commands.xprate.all: true