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

Releases: malte-laukoetter/Laborus

1.6.2

08 Mar 08:48
9131990
Compare
Choose a tag to compare
  • fixed a startup crash

1.6.1

28 Feb 12:09
ff84a84
Compare
Choose a tag to compare
  • replaced deprecated Api methods

1.6.0

28 Feb 11:50
7e6e2af
Compare
Choose a tag to compare
  • Fixed compiler errors for Sponge Api 7 / Plugin is working but has some deprecated api warnings

1.5.0

05 Aug 20:57
033cea4
Compare
Choose a tag to compare
  • updated to Api 6 (also supports current Api 7 version) (#41)
  • added command JobBonus (#35)
  • JobBoni can be awarded only for certain items
  • added fishing JobActions (#34)
  • fixed negative xp amounts change level to -1 (#21)
  • fixed error if no item is in the hand (#40)

1.4.2

15 Apr 09:21
fa369a8
Compare
Choose a tag to compare
  • kill JobActions now also block the damaging of entities if the killing isn't allowed
  • send the blockmessage always if it is blocked
  • fixed the Blockstate Comparator and therefore the break JobActions

1.4.1

13 Apr 11:17
fcbf08d
Compare
Choose a tag to compare
  • save a backup of the configuration file on startup (fixed #31)
  • some small changes to simplify and enhance the api

1.4.0

25 Mar 17:25
b2177d6
Compare
Choose a tag to compare

This Version has introduced a Change in the configuration format: all abilities now require a type field that is set to the type of the ability (currently always effect). Also the actions (break, kill etc.) now have the items no longer directly under them but instead have these wrapped into the items setting which allows for more settings for actions in the future:

Before:

ability {
    cooldown=600
    name="Fast Destroy"
    potionEffect {
        ambiance=false
        amplifier=2
        duration=1200
        particles=true
        potionType="minecraft:haste"
    }
}

After:

ability {
    type=effect
    cooldown=600
    name="Fast Destroy"
    potionEffect {
        ambiance=false
        amplifier=2
        duration=1200
        particles=true
        potionType="minecraft:haste"
    }
}

Before:

actions {
    break=[
        {
            item = "minecraft:stone[variant=stone]"
            needLevel = 0
            xp = 1
        },
        {
            item = "minecraft:stone[variant=diorite]"
            needLevel = 5
            xp = 1.1
        }
    ]
}

After:

actions {
    break= {
        items = [
            {
                item = "minecraft:stone[variant=stone]"
                needLevel = 0
                xp = 1
            },
            {
                item = "minecraft:stone[variant=diorite]"
                needLevel = 5
                xp = 1.1
            }
        ]
    }
}

Changelog:

  • added a setxp command to set the xp of a player (/jobs setxp [job] [xp] [player])
  • added some additional logging messages that can be activated via the logging setting (see #26)
  • added an api to allow other plugins to add there own JobActions, JobBoni and JobAbilities (see the JavaDocs)
  • reworked a lot of internal structures to add the api
  • added a setting to activate a test if a jobitem is used in another job with the same action to allow the blocking if it is used in multiple jobs (alsoInOtherJob) (see #28)
  • fixed the removing of old Listeners on a reload (see #27)

1.3.2

18 Mar 00:28
cebce3e
Compare
Choose a tag to compare
  • fixed some typos
  • fixed error messages if a config file can't be loaded
  • fixed wrong message on toggle of the active state of the jobsystem
  • fixed saving of job data bevor gaining ep (#23)
  • fixed blocking of interact actions if the hand with the blocked item is not used (#24)

1.3.1

13 Mar 16:22
97c8d6f
Compare
Choose a tag to compare
  • fixed multiple bugs with the economy reward
  • fixed a bug with the selection if a bonus can be awarded
  • added a setting to select on which actions a bonus will be applied
  • added some more comments for configuration nodes

1.3.0

11 Mar 14:58
e15a6b6
Compare
Choose a tag to compare
  • multi currency support
  • specific job messages for each job (through _jobid suffix)
  • reload command to reload the configuration while the server is running
  • fallbackLanguage setting