Please update CMILib to the latest version as it will be needed for this new version. There is some semi-big change relating to item definitions. More info at the end of patch notes.
- Improvements for top and gtop by (MachiganMC)
- jobs.hidetop.[job] and jobs.hidegtop permission nodes to hide player from showing up in the top and gtop listings (MachiganMC)
- Fix for issue relating enchant type determination which caused issues, now in case it fails we will simply skip it without causing any issues for the plugins work
- Fix for fishing action not taking into consideration blacklisted world
- Fix for issue with passing over noneJob for JobsPrePaymentEvent event
- Fix for an issue where in some cases item in browse Gui would have inherited lore from sub menu
- Fix for issue with server account determination and usage causing payments to be stopped entirely
- Fix for payments stopping entirely in case of random failure, now we will try to skip that payment cycle while keeping timer running.
- Fix for data save for player who is offline
- Added double sided sign support. Now you can have different commands on both sign sides if you want it.
- Fix for issue where bonus permission are not being updated on /jobs bonus command which could have still shown old permission limits. Keep in mind that permission limits gets recalculated every 60 seconds in normal situations, you can now force that to be updated by performing /jobs bonus
- Fix for total point number being incorrectly calculated. This did not had effect on actual point calculation, just visual information on how many points player accumulated over time.
- Improved recognition of items when consuming them for Eat action. Now you can use any consumable for this action, including specific potions like potion-strength
- Fix for issue relating to potions, tipped arrows crafting when paying for each crafted item.
Reworked item recognition for jobs
GUI icons, limited, boosted and
shop items. All of those will use same exact format with same exact section name as "ItemStack", just to unify everything and make it consistent. While old format should remain working, you will get message inside console on server startup (not on plugin reload) that you should update your files with new format if old one gets detected. We will strongly push this conversion due to it being allot more flexible. You do have option to just ignore those messages and use old files, it's up to you.
New format is based on
https://www.zrips.net/cmi/commands/icwol/ which allows for wider range of freedom on what you can define to be used in those config sections. This will simplify setup and make it cleaner, while allowing cross usage not only inside Jobs plugin.
While it's strongly recommended to define items without adding empty spaces (use _ instead), you can still use those, just keep in mind that it might be harder to use same item definition for example inside CMI give command which will only accept it without empty spaces (atleast currently).
Change for
boosted items. From:
Code (Text):
exampleBoost:
id: Golden_shovel
name: '&2Custom item name'
lore:
- '&2Some random'
- '&5Lore with some'
- '&7Colors'
enchants:
- FIRE_ASPECT=1
- DAMAGE_ALL=1
leather-color: 82,34,125
to
Code (Text):
exampleBoost:
ItemStack: Golden_shovel;n{&2Custom_item_name};l{&2Some_random\n&5Lore_with_some\n{#pink}Colors};FIRE_ASPECT:1,DAMAGE_ALL:1
Change for
limited items. From
Code (Text):
firstOne:
id: 278
name: '&8Miner Pickaxe'
lore:
- '&eBobs pick'
- '&710% bonus XP'
enchants:
- DAMAGE_ALL=1
- FIRE_ASPECT=1
to
Code (Text):
firstOne:
ItemStack: DIAMOND_PICKAXE;n{&8Miner_Pickaxe};l{&eBobs_pick\n&710%_bonus_XP};DAMAGE_ALL:1,FIRE_ASPECT:1
Change for
shop item icon. From:
Code (Text):
Icon:
Id: diamond_pickaxe
Amount: 1
Name: "&eBest pick axe ever!"
Lore:
- "&6Efficiency V"
- "&6Unbreaking III"
- "&eAnd one tasty apple!"
to
Code (Text):
Icon:
ItemStack: diamond_pickaxe;&eBest_pick_axe_ever!;&6Efficiency_V\n&6Unbreaking_III\n&eAnd_one_tasty_apple!
Change for
shop item GiveItems section. From:
Code (Text):
GiveItems:
PickAxe:
Id: diamond_pickaxe
Amount: 1
Name: "&eSuper PickAxe"
Lore:
- "&eUber pickAxe"
Enchants:
- DIG_SPEED=5
- DURABILITY=3
Giving-Potion:
Id: potion
Amount: 1
Name: "&6Jump boost"
potion-type: jump
Apple:
Id: apple
to
Code (Text):
GiveItems:
- diamond_pickaxe;2;&eSuper_PickAxe;&eUber_pickAxe;DIG_SPEED:5,DURABILITY:3
- potion;n{&6Jump_boost};jump
- head:[player]
Change for
jobs icon. From:
Code (Text):
Gui:
Item: LOG:2
Enchantments:
- DURABILITY:1
to
Code (Text):
Gui:
ItemStack: oaklog;DURABILITY:1