Skip to content

Instantly share code, notes, and snippets.

@malte-laukoetter
Created April 15, 2017 08:41
Show Gist options
  • Save malte-laukoetter/a2ab18e8ea314cddd2258119d0adf432 to your computer and use it in GitHub Desktop.
Save malte-laukoetter/a2ab18e8ea314cddd2258119d0adf432 to your computer and use it in GitHub Desktop.
bonus {
ep=[
{
# actions that can award this bonus (BREAK, ENTITY_DAMAGE, ENTITY_KILL, ENTITY_TAME, ITEM_USE, PLACE)
actions=[
BREAK, ENTITY_KILL
]
# maximal amount of minecraft ep
maxEp=10
# maximum level the bonus is awarded at
maxLevel=-1
# message send when the bonus is awarded
message {
text="You have gained some ep"
}
# minimal amount of minecraft ep
minEp=1
# the minimum level a player need to get the bonus
minLevel=10
# if true it will only be awarded if the job is selected
onlySelected=true
# the probability that the bonus is awarded (between 0.0 and 1.0)
probability=0.1
# the message will only be send if this is true
sendMessage=false
}
]
economy=[
{
# actions that can award this bonus (BREAK, ENTITY_DAMAGE, ENTITY_KILL, ENTITY_TAME, ITEM_USE, PLACE)
actions=[
BREAK, ENTITY_KILL
]
# maximal amount of money
amountMax=40.0
# minimal amount of money
amountMin=20.0
# the id of the currency to use, defaults to the default currency
currency=null
# maximum level the bonus is awarded at
maxLevel=-1
# message send when the bonus is awarded
message {
text="Your tool has gifted you by repairing itself"
}
# the minimum level a player need to get the bonus
minLevel=0
# if true it will only be awarded if the job is selected
onlySelected=false
# the probability that the bonus is awarded (between 0.0 and 1.0)
probability=1.0
# the message will only be send if this is true
sendMessage=true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment