{"action":"published","release":{"url":"https://api.github.com/repos/Tuke-Nuke/TuSKe/releases/6887870","assets_url":"https://api.github.com/repos/Tuke-Nuke/TuSKe/releases/6887870/assets","upload_url":"https://uploads.github.com/repos/Tuke-Nuke/TuSKe/releases/6887870/assets{?name,label}","html_url":"https://github.com/Tuke-Nuke/TuSKe/releases/tag/v1.8","id":6887870,"tag_name":"v1.8","target_commitish":"master","name":"1.12 Recipes support, fixes and small additions.","draft":false,"author":{"login":"Tuke-Nuke","id":20450062,"avatar_url":"https://avatars0.githubusercontent.com/u/20450062?v=3","gravatar_id":"","url":"https://api.github.com/users/Tuke-Nuke","html_url":"https://github.com/Tuke-Nuke","followers_url":"https://api.github.com/users/Tuke-Nuke/followers","following_url":"https://api.github.com/users/Tuke-Nuke/following{/other_user}","gists_url":"https://api.github.com/users/Tuke-Nuke/gists{/gist_id}","starred_url":"https://api.github.com/users/Tuke-Nuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tuke-Nuke/subscriptions","organizations_url":"https://api.github.com/users/Tuke-Nuke/orgs","repos_url":"https://api.github.com/users/Tuke-Nuke/repos","events_url":"https://api.github.com/users/Tuke-Nuke/events{/privacy}","received_events_url":"https://api.github.com/users/Tuke-Nuke/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2017-07-01T05:48:56Z","published_at":"2017-07-01T06:31:36Z","assets":[],"tarball_url":"https://api.github.com/repos/Tuke-Nuke/TuSKe/tarball/v1.8","zipball_url":"https://api.github.com/repos/Tuke-Nuke/TuSKe/zipball/v1.8","body":"**[+]** Added:\r\n\r\n  * Expressions to create knowledge books containing recipes:\r\n\r\n    ```yml\r\n    #A list of recipes of a knowledge book. Can be edited.\r\n    knowledge(s| recipes) of %itemstack%\r\n    %itemstack%'[s] knowledge(s| recipes)\r\n\r\n    #Returns a knowledge book with given recipes\r\n    %itemstack% with [recipes] %recipes%\r\n    ```\r\n\r\n  * Added a syntax filter for `evaluate effect`. Read more about it at [documentation](https://github.com/Tuke-Nuke/TuSKe/wiki/Documentation) or in TuSKe's config file.\r\n  * Added support for version dependent stuffs (`player data` expression...).\r\n  * Added **support for 1.12 recipes**:\r\n    * It keeps the same if you are in **1.11.2** or lower, but now the recipes has ids and the recipes **must be registered at server startup** (in `script/skript load event`). Why? Because if a player joins a server and he has a recipe knowledge that was registered by TuSKe and it wasn't registered yet, it will spam your console saying that the recipe with id X couldn't be found. So to avoid it, you will need to register all your recipes at server startup.\r\n    * Custom recipes doesn't show up in recipe book. Why? I don't know, maybe Bukkit forgot about it?\r\n    * Since the recipes had some changes in 1.12 and they are supported now in TuSKe, if you used previous version in 1.12 server you might see some console spam saying that couldn't find a recipe X. This is because every TuSKe recipe will be registered with id `tuske:%last recipe id + 1%`, while previously bukkit registered them as `bukkit:%random uuid%`.\r\n    * Added a simple expression to get the id and plugin owner of a recipe:\r\n\r\n      ```yaml\r\n      recipe id of %recipe% #For TuSKe it will return as 'tuske:%number%' while for vanilla as 'minecraft:%result item name%'\r\n      recipe owner of %recipe% #It returns the plugin that registered this (old plugins will return as 'Bukkit') or vanilla recipe\r\n      ```\r\n\r\n**[=]** Changed:\r\n  * The **slot parameter** in effects from **simple gui** (`format a gui slot ...`) now is optional, which means it will format the next avaliable slot (not formatted yet).\r\n\r\n    ```yml\r\n    format gui slot of player with stone #It will set the slot 0\r\n    format gui slot of player with stone #It will set the slot 1\r\n    #And so on...\r\n    ```\r\n\r\n  * Also, just another option, if you use value **-1** it will format **last slot id + 1**.\r\n    * Why `-1`? Because this is the only avaliable id (since slot goes from 0 to ...), and to not gets more confusing adding more syntaxes and stuffs.\r\n\r\n    ```yml\r\n    format gui slot 10 of player with stone #Normal, slot 10\r\n    format gui slot -1 of player with stone #It will get the last slot + 1, in this case, slot 11.\r\n    ```\r\n\r\n**[#]** Fixed:\r\n  * Fixed issues for the effects with section, if the code inside of a section contains a delay effect (`wait effect` for example), it will wait the whole trigger instead of jumping to outside of section.\r\n    * Currently only the `create gui` and `evaluate` effect was affected by this.\r\n  * Fixed the expression `rarity of %custom enchantment%` not being registered.\r\n  * Fixed some conflicts between types values.\r\n  * Fixed `ingredients of %recipe%` not working for 1.12 due to API changes.\r\n  * Fixed custom shapeless recipes not working properly in some cases.\r\n  * Simple GUIs and Advanced GUIs shares the same new click listener: it disables itself and doesn't conflict with Skript when cancelling it.\r\n  * Fixed local variables not working in `run when close` gui effect.\r\n  * Fixed a long load time due to a issue while saving the config.\r\n\r\nWow, that's the hugest fixes list I've released. Just download it below or uses `/tuske` to update.\r\n  \r\n  "}}
{"actor":{"display_login":"Tuke-Nuke"}}