Skip to content
This repository was archived by the owner on Jan 25, 2019. It is now read-only.

Configuration

Malte edited this page Mar 25, 2017 · 3 revisions

General

Name Description Default value
antiReplaceActive is the anti replace farming system active false
antiReplaceTime the time in hours after that a block will again be rewarded if the anti replace farming system is active 48
enabledGamemodes list of gamemodes the job system is activated in [adventure, survival]
maxSelectedJobs maximum amount of jobs that can be selected at the same time 1
xpWithoutJob the value the ep is multiplied by if the job is not selected 0.5
fallbackLanguage the language to use if the language of the player is not available "en"
level the default ep borders for the next level [0,50,100...]
jobs the list of the configuraitons for the jobs []
jobFiles a list of files that each have a job configuration []
commands the settings for the commands automatically generated, can be edited
translations the settings for the messages automatically generated, can be edited, if edited to [] it will stay empty
translationFiles a map of languages and files that each have a translation configuration for one language. The base path is this folder {}
logging some additional logging settings that enable more messages {}

Jobs

General settings

Name Description Default value
name the display name of the job ""
description a description of the job ""
permission a permission needed to join the job ""
level the levels of the job if it is empty the default jobs will be used []
bonus see JobBoni {multiDrop=[], ep=[], itemRepair=[], itemDrop=[], economy=[]}
ability the ability of this job {}
actions see JobActions {break=[], place=[], kill=[], damage=[], use=[], tame=[]}

JobActions

All JobActions need a items node with a list of JobItems with the informations

Name Description Supported JobItem items
break for the destruction of blocks blockstate
place placing of blocks blockstate
kill killing of entities, can't be canceled -> no needLevel entitytype
damage damaging of entities entitytype
use interaction with the item in the hand (right and left click) itemtype
tame when an entity is tamed entitytype

Settings for JobItems

Name Description Default value
xp the amount of xp the player gets if he does the action with this item 0.0
needLevel the level the player needs to have to do this action 0
item the item of the jobaction ""
alsoInOtherJob activates the check if the item can be used in all jobs false

The items are strings like "minecraft:stone" for stone blocks or "minecraft:wooden_pickaxe" for wooden pickaxes.

JobBoni

The available boni types are:

|Name|Works with Jobactions|Description| |----|------------|---|---| |multiDrop|destroyBlocks, placeBlocks|drops the item of the action another time |ep|all|drops some ep (not job xp) |itemRepair|all, needs an item in the hand slot with durability|repairs the item by a given percentage |itemDrop|all|drops an extra item |economy|all|awards economy money

Each of these Boni have a list of Boni Settings under them.

Boni Settings

Name Description Default value
probability the probability the boni will be used at an action 0.05
sendMessage should a message be send to the player if the boni is rewarded false
message the message that will be send if sendMessage is true ""
minLevel the min. level the player need to have to get this boni 0
maxLevel the max. level the player is allowed to have to get this boni -1
onlySelected only reward the boni if the job is selected true

Extra Settings for the different Boni Types:

multiDrop
Name Description Default value
extraDrops the amount of extra items 0
ep
Name Description Default value
minEp the minimum amount of Ep 0
maxEp the maximum amount of Ep 0
itemRepair
Name Description Default value
minPercent the minimum percent the item gets repaired 0
maxPercent the maximum percent the item gets repaired 0
itemDrop
Name Description Default value
item the itemstack that will be droped {type="dirt", amount=1}
economy
Name Description Default value
amountMin the minimum amount of money rewarded 0.0
amountMax the maximum amount of money rewarded 0.0
currency the id of the currency to use, defaults to the default currency

Ability

Name Description Default value
type the type of the ability (currently always effect) effect
name the name of the ability ""
cooldown amount of seconds between uses 0
potionEffect adds a potion effect to the player {amplifier=0, duration=1, potionType="minecraft:speed", particles=true, ambiance=false}

Translation

A Documentation of the Translation Settings and which variables are available can be found in the Github Wiki or on Sponge Ore

Clone this wiki locally