mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 05:55:27 +01:00
Force to reset limit locale lines, just because...
This commit is contained in:
parent
c90df76f3c
commit
15305f18b8
@ -48,14 +48,14 @@ public class limit implements Cmd {
|
||||
if (limit == null) {
|
||||
int lefttime1 = Jobs.getGCManager().currencyLimitUse.get(type).getTimeLimit() * 1000;
|
||||
player.sendMessage(Jobs.getLanguage().getMessage("command.limit.output." + type.getName().toLowerCase() + "time", "%time%", TimeManage.to24hourShort((long) lefttime1)));
|
||||
player.sendMessage(Jobs.getLanguage().getMessage("command.limit.output." + type.getName().toLowerCase() + "limit",
|
||||
player.sendMessage(Jobs.getLanguage().getMessage("command.limit.output." + type.getName().toLowerCase() + "Limit",
|
||||
"%current%", "0.0",
|
||||
"%total%", JPlayer.getLimit(type)));
|
||||
continue;
|
||||
}
|
||||
if (limit.GetLeftTime(type) > 0) {
|
||||
player.sendMessage(Jobs.getLanguage().getMessage("command.limit.output." + type.getName().toLowerCase() + "time", "%time%", TimeManage.to24hourShort(limit.GetLeftTime(type))));
|
||||
player.sendMessage(Jobs.getLanguage().getMessage("command.limit.output." + type.getName().toLowerCase() + "limit",
|
||||
player.sendMessage(Jobs.getLanguage().getMessage("command.limit.output." + type.getName().toLowerCase() + "Limit",
|
||||
"%current%", (int) (limit.GetAmount(type) * 100) / 100D,
|
||||
"%total%", JPlayer.getLimit(type)));
|
||||
}
|
||||
|
@ -129,11 +129,11 @@ public class LanguageManager {
|
||||
c.get("command.limit.help.info", "Shows payment limits for jobs");
|
||||
c.get("command.limit.help.args", "");
|
||||
c.get("command.limit.output.moneytime", "&eTime left until money limit resets: &2%time%");
|
||||
c.get("command.limit.output.moneylimit", "&eMoney limit: &2%current%&e/&2%total%");
|
||||
c.get("command.limit.output.moneyLimit", "&eMoney limit: &2%current%&e/&2%total%");
|
||||
c.get("command.limit.output.exptime", "&eTime left until Exp limit resets: &2%time%");
|
||||
c.get("command.limit.output.explimit", "&eExp limit: &2%current%&e/&2%total%");
|
||||
c.get("command.limit.output.expLimit", "&eExp limit: &2%current%&e/&2%total%");
|
||||
c.get("command.limit.output.pointstime", "&eTime left until Point limit resets: &2%time%");
|
||||
c.get("command.limit.output.pointslimit", "&ePoint limit: &2%current%&e/&2%total%");
|
||||
c.get("command.limit.output.pointsLimit", "&ePoint limit: &2%current%&e/&2%total%");
|
||||
c.get("command.limit.output.reachedmoneylimit", "&4You have reached money limit in given time!");
|
||||
c.get("command.limit.output.reachedmoneylimit2", "&eYou can check your limit with &2/jobs limit &ecommand");
|
||||
c.get("command.limit.output.reachedexplimit", "&4You have reached exp limit in given time!");
|
||||
|
10
plugin.yml
10
plugin.yml
@ -1,7 +1,7 @@
|
||||
name: Jobs
|
||||
description: Jobs Plugin for the BukkitAPI
|
||||
main: com.gamingmesh.jobs.Jobs
|
||||
version: 3.8.1
|
||||
version: 3.8.2
|
||||
author: phrstbrn
|
||||
softdepend: [Vault, iConomy, MythicMobs, McMMO]
|
||||
commands:
|
||||
@ -58,6 +58,8 @@ permissions:
|
||||
jobs.command.signupdate: true
|
||||
jobs.command.moneyboost: true
|
||||
jobs.command.expboost: true
|
||||
jobs.command.iteminfo: true
|
||||
jobs.command.blockinfo: true
|
||||
jobs.command.browse:
|
||||
description: Grants access to the browse command
|
||||
default: true
|
||||
@ -165,4 +167,10 @@ permissions:
|
||||
default: true
|
||||
jobs.command.points:
|
||||
description: Grants access to the points command
|
||||
default: true
|
||||
jobs.command.blockinfo:
|
||||
description: Grants access to the blockinfo command
|
||||
default: true
|
||||
jobs.command.iteminfo:
|
||||
description: Grants access to the iteminfo command
|
||||
default: true
|
Loading…
Reference in New Issue
Block a user