mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-25 20:16:13 +01:00
update all locale files
This commit is contained in:
parent
3f4f113891
commit
2f8e12c829
@ -655,8 +655,8 @@ public class JobsConfiguration {
|
|||||||
writer.addComment("ExploitProtections.McMMO.superBreakerMultiplier", "Players will get part of money from braking blocks with super breaker ability enabled.",
|
writer.addComment("ExploitProtections.McMMO.superBreakerMultiplier", "Players will get part of money from braking blocks with super breaker ability enabled.",
|
||||||
"0.2 means 20% of original price");
|
"0.2 means 20% of original price");
|
||||||
superBreakerMultiplier = getDouble("ExploitProtections.McMMO.superBreakerMultiplier", 0.2, config, writer);
|
superBreakerMultiplier = getDouble("ExploitProtections.McMMO.superBreakerMultiplier", 0.2, config, writer);
|
||||||
|
|
||||||
writer.addComment("ExploitProtections.MythicMobs", "MythicMobs plugin support","Disable if you having issues with it or using old version");
|
writer.addComment("ExploitProtections.MythicMobs", "MythicMobs plugin support", "Disable if you having issues with it or using old version");
|
||||||
MythicMobsEnabled = getBoolean("ExploitProtections.MythicMobs.enabled", true, config, writer);
|
MythicMobsEnabled = getBoolean("ExploitProtections.MythicMobs.enabled", true, config, writer);
|
||||||
|
|
||||||
writer.addComment("ExploitProtections.Spawner.PreventSlimeSplit", "Prevent slime spliting when they are from spawner",
|
writer.addComment("ExploitProtections.Spawner.PreventSlimeSplit", "Prevent slime spliting when they are from spawner",
|
||||||
@ -1274,7 +1274,6 @@ public class JobsConfiguration {
|
|||||||
langFile.saveDefaultConfig();
|
langFile.saveDefaultConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
languages.clear();
|
|
||||||
languages.add("en");
|
languages.add("en");
|
||||||
|
|
||||||
File customLocaleFile = new File(plugin.getDataFolder(), "locale" + File.separator + "messages_" + localeString + ".yml");
|
File customLocaleFile = new File(plugin.getDataFolder(), "locale" + File.separator + "messages_" + localeString + ".yml");
|
||||||
@ -1363,7 +1362,7 @@ public class JobsConfiguration {
|
|||||||
GetConfigString("command.info.help.actions", "&eValid actions are: &f%actions%", writer, conf, true);
|
GetConfigString("command.info.help.actions", "&eValid actions are: &f%actions%", writer, conf, true);
|
||||||
GetConfigString("command.info.help.max", " - &emax level:&f ", writer, conf, true);
|
GetConfigString("command.info.help.max", " - &emax level:&f ", writer, conf, true);
|
||||||
GetConfigString("command.info.help.material", "&7%material%", writer, conf, true);
|
GetConfigString("command.info.help.material", "&7%material%", writer, conf, true);
|
||||||
|
|
||||||
GetConfigString("command.info.help.levelRange", " &a(&e%levelFrom% &a- &e%levelUntil% &alevels)", writer, conf, true);
|
GetConfigString("command.info.help.levelRange", " &a(&e%levelFrom% &a- &e%levelUntil% &alevels)", writer, conf, true);
|
||||||
GetConfigString("command.info.help.levelFrom", " &a(from &e%levelFrom% &alevel)", writer, conf, true);
|
GetConfigString("command.info.help.levelFrom", " &a(from &e%levelFrom% &alevel)", writer, conf, true);
|
||||||
GetConfigString("command.info.help.levelUntil", " &a(until &e%levelUntil% &alevel)", writer, conf, true);
|
GetConfigString("command.info.help.levelUntil", " &a(until &e%levelUntil% &alevel)", writer, conf, true);
|
||||||
@ -1397,7 +1396,7 @@ public class JobsConfiguration {
|
|||||||
GetConfigString("command.info.output.brew.info", "Brew", writer, conf, true);
|
GetConfigString("command.info.output.brew.info", "Brew", writer, conf, true);
|
||||||
GetConfigString("command.info.output.brew.none", "%jobname% does not get money from brewing.", writer, conf, true);
|
GetConfigString("command.info.output.brew.none", "%jobname% does not get money from brewing.", writer, conf, true);
|
||||||
GetConfigString("command.info.output.eat.info", "Eat", writer, conf, true);
|
GetConfigString("command.info.output.eat.info", "Eat", writer, conf, true);
|
||||||
GetConfigString("command.info.output.eat.none", "%jobname% does not get money from eating food.", writer, conf, true);
|
GetConfigString("command.info.output.eat.none", "%jobname% does not get money from eating food.", writer, conf, true);
|
||||||
GetConfigString("command.info.output.dye.info", "Dye", writer, conf, true);
|
GetConfigString("command.info.output.dye.info", "Dye", writer, conf, true);
|
||||||
GetConfigString("command.info.output.dye.none", "%jobname% does not get money from dyeing.", writer, conf, true);
|
GetConfigString("command.info.output.dye.none", "%jobname% does not get money from dyeing.", writer, conf, true);
|
||||||
GetConfigString("command.info.output.enchant.info", "Enchant", writer, conf, true);
|
GetConfigString("command.info.output.enchant.info", "Enchant", writer, conf, true);
|
||||||
|
1
com/gamingmesh/jobs/container/.gitignore
vendored
1
com/gamingmesh/jobs/container/.gitignore
vendored
@ -25,3 +25,4 @@
|
|||||||
/ExploreRegion.class
|
/ExploreRegion.class
|
||||||
/ExploreChunk.class
|
/ExploreChunk.class
|
||||||
/ExploreWorld.class
|
/ExploreWorld.class
|
||||||
|
/ExploreRespond.class
|
||||||
|
@ -408,7 +408,7 @@ public class JobsPlayer {
|
|||||||
reloadExpLimit();
|
reloadExpLimit();
|
||||||
reloadHonorific();
|
reloadHonorific();
|
||||||
Jobs.getPermissionHandler().recalculatePermissions(this);
|
Jobs.getPermissionHandler().recalculatePermissions(this);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -513,7 +513,8 @@ public class JobsPlayer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
honorific = builder.toString().trim();
|
honorific = builder.toString().trim();
|
||||||
honorific = ConfigManager.getJobsConfiguration().getModifyChatPrefix() + honorific + ConfigManager.getJobsConfiguration().getModifyChatSuffix();
|
if (honorific.length() > 0)
|
||||||
|
honorific = ConfigManager.getJobsConfiguration().getModifyChatPrefix() + honorific + ConfigManager.getJobsConfiguration().getModifyChatSuffix();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -445,6 +445,9 @@ public abstract class JobsDAO {
|
|||||||
|
|
||||||
while (res.next()) {
|
while (res.next()) {
|
||||||
|
|
||||||
|
if (res.getString("username") == null)
|
||||||
|
continue;
|
||||||
|
|
||||||
TopList top = new TopList(res.getString("username"), res.getInt("totallvl"), 0, UUID.fromString(res.getString("player_uuid")));
|
TopList top = new TopList(res.getString("username"), res.getInt("totallvl"), 0, UUID.fromString(res.getString("player_uuid")));
|
||||||
|
|
||||||
names.add(top);
|
names.add(top);
|
||||||
@ -840,8 +843,12 @@ public abstract class JobsDAO {
|
|||||||
+ "jobs` WHERE `job` LIKE ? ORDER BY `level` DESC, LOWER(username) ASC LIMIT " + limit + ", 15;");
|
+ "jobs` WHERE `job` LIKE ? ORDER BY `level` DESC, LOWER(username) ASC LIMIT " + limit + ", 15;");
|
||||||
prest.setString(1, jobsname);
|
prest.setString(1, jobsname);
|
||||||
ResultSet res = prest.executeQuery();
|
ResultSet res = prest.executeQuery();
|
||||||
|
Debug.D("her2e");
|
||||||
|
|
||||||
while (res.next()) {
|
while (res.next()) {
|
||||||
|
|
||||||
|
Debug.D("here");
|
||||||
|
|
||||||
String name = res.getString(1);
|
String name = res.getString(1);
|
||||||
|
|
||||||
if (name == null)
|
if (name == null)
|
||||||
|
1
com/gamingmesh/jobs/nmsUtil/.gitignore
vendored
1
com/gamingmesh/jobs/nmsUtil/.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/v1_8.class
|
/v1_8.class
|
||||||
/v1_7.class
|
/v1_7.class
|
||||||
|
/v1_9.class
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name: Jobs
|
name: Jobs
|
||||||
description: Jobs Plugin for the BukkitAPI
|
description: Jobs Plugin for the BukkitAPI
|
||||||
main: com.gamingmesh.jobs.JobsPlugin
|
main: com.gamingmesh.jobs.JobsPlugin
|
||||||
version: 2.63.1
|
version: 2.63.3
|
||||||
author: phrstbrn
|
author: phrstbrn
|
||||||
softdepend: [Vault, CoreProtect, MythicMobs, McMMO]
|
softdepend: [Vault, CoreProtect, MythicMobs, McMMO]
|
||||||
commands:
|
commands:
|
||||||
|
Loading…
Reference in New Issue
Block a user