Translations

An example Translation for german can be found in the Configuration Cookbook.

Messages

Messagesupports special Message per Jobsupports Job parameterssupports Player parameterssupports Ability parametersother parametersnotice
COMMAND_ADDXP_RECEIVE_OTHERnoyesyesnoxp, source
COMMAND_ADDXP_SELFnoyesyesnoxp, sourcesource and player.name are the same
COMMAND_ADDXP_SEND_OTHERnoyesyesnoxp, sourceplayer refers to the receiving player
COMMAND_CHANGE_ALREADY_JOINEDnoyesnono
COMMAND_CHANGE_JOINEDnoyesnono
COMMAND_CHANGE_LEAVEDnoyesnono
COMMAND_CHANGE_MISSING_JOB_PERMISSIONnoyesnono
COMMAND_CHANGE_NOT_SELECTEDnoyesnono
COMMAND_CHANGE_TOO_MANY_SELECTEDnoyesnonomaxjobs
COMMAND_INFO_FOOTERnononono
COMMAND_INFO_HEADERnononono
COMMAND_INFO_LINEnoyesnono
COMMAND_INFO_SINGLEnoyesnono
COMMAND_RELOAD_ERRORnononono
COMMAND_RELOAD_STARTnononono
COMMAND_RELOAD_SUCCESSnononono
COMMAND_TOGGLE_ACTIVATEDnononono
COMMAND_TOGGLE_DEACTIVATEDnononono
JOB_ABILITY_CANNOT_START_COOLDOWNyesyesnoyes
JOB_ABILITY_STARTyesyesnoyes
JOB_LEVEL_NOT_HIGH_ENOUGHyesyesnonoitem
JOB_LEVEL_UPyesyesnono
JOB_XP_ACTION_BARyesyesnono

Special Message per job

To set a special message per job you can just add an extra message with the same key but _jobid at the end of it eg. instead of JOB_XP_ACTION_BAR JOB_XP_ACTION_BAR_miner if it is for a job with the id miner. If no such message exists for a job the default version without the additional jobid is used (in this case JOB_XP_ACTION_BAR)

Multiple Languages

If there is more than one language available the plugin will send each message to the player in the language they have chosen in the minecraft client, if this (or a similar eg. en instead of en-us) language isn’t there it will use the language set in the fallbackLanguage setting and if also this language isn’t available it will use the language of the minecraft server or in the worst case (eg. the language is also not available) the first language it can find.

Parameters

Job Parameters

parameterdescription
job.xpcurrent amount of xp the player has
job.levelcurrent level the player has in the job
job.namename of the job
job.selectedtrue / false (if the job is selected)
job.descriptiondescription of the job
job.xp_till_next_levelxp the player is missing to reach the next level
job.xp_for_next_levelxp the player needs to get to the next level

Ability Parameters

parameterdescription
ability.namename of the ability
ability.remaining_cooldowntime remaining till the ability can be used again

Player Parameters

parameterdescription
player.namename of the player
player.display_namename of the player in the right formating

Other Parameters

parameterdescription
xpamount of xp added
sourcename of the source of the command
maxjobsmaximum amount of jobs a player can have
itemthe name of the item used in the blocked action

Category: Role Playing

Published on Dec 31, 2016

views

stars

watchers

total downloads

Licensed under MIT

Promoted Versions

Members