1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-29 05:55:27 +01:00

Missing example job condition section

This commit is contained in:
Zrips 2024-09-28 11:57:50 +03:00
parent fed6ef1355
commit 7a03682b65
2 changed files with 5 additions and 8 deletions

View File

@ -104,7 +104,7 @@ public class ConfigManager {
cfg.header(Arrays.asList("Jobs configuration.", "", "Edited by roracle to include 1.13 items and item names, prepping for 1.14 as well.",
"",
"Stores information about each job.",
"Stores information about each job",
"",
"NOTE: When having multiple jobs, both jobs will give the income payout to the player",
"even if they give the pay for one action (make the configurations with this in mind)",
@ -440,13 +440,10 @@ public class ConfigManager {
cfg.addComment(pt + ".conditions", "Permissions granted when particular conditions are met");
cfg.addComment(pt + ".conditions.first", "Condition name, irrelevant, you can write anything in here");
cfg.addComment(pt + ".conditions.first.requires", "j marks that player should have particular jobs level and higher", "p marks permission requirement");
cfg.get(pt + ".permissions.first.requires", Arrays.asList("j:Miner-50", "j:Digger-50"));
cfg.addComment(pt + ".conditions.first.requires", "j marks that player should have particular jobs level and higher");
cfg.get(pt + ".permissions.first.requires", Arrays.asList("j:Miner-50", "j:Digger-50", "p:essentials.notnoob"));
cfg.get(pt + ".conditions.first.requires", Arrays.asList("j:Miner-50", "j:Digger-50", "p:essentials.notnoob"));
cfg.addComment(pt + ".conditions.first.perform", "p marks permission, player will get if given true value, if used false, permission will be taken");
cfg.get(pt + ".permissions.first.perform", Arrays.asList("p:essentials.fly-true"));
cfg.get(pt + ".conditions.first.perform", Arrays.asList("p:essentials.fly-true"));
cfg.addComment(pt + ".commands", "Commands executed when player reached level");
cfg.addComment(pt + ".commands.fly", "command name, just to have better idea what this do");

View File

@ -128,8 +128,8 @@ exampleJob:
# - This is defined in same way as any generic payable job action.
# - You can use multiple names separated by commas "," to avoid creating many rows.
# [amount] is how many times player should perform this action to complete quest
- Break;oak_log;300
- Place;stone,cobblestone;5
- "Break;oak_log;300"
- "Place;stone,cobblestone;5"
# Command list to be performed after quest is finished.
# Use [playerName] to insert players name who finished that quest