Releases: APickledWalrus/skript-placeholders
1.7.0
skript-placeholders 1.7.0
Important
This version of skript-placeholders requires Skript 2.7.3 or newer. It also contains several breaking syntax changes that make it not compatible with 1.6.0. You will need to make some minor changes to your scripts for them to parse.
This update includes numerous internal improvements, bug fixes, and some new features. It is not compatible by default with 1.6.0 as there have been some breaking changes to syntax. It is strongly recommended to review the rewritten wiki which covers all of these changes: https://github.com/APickledWalrus/skript-placeholders/wiki
For any issues or suggestions, please report them under the issues tab: https://github.com/APickledWalrus/skript-placeholders/issues
For any questions, please ask them under the discussions tab: https://github.com/APickledWalrus/skript-placeholders/discussions
Changelog
For further information on additions and changes, please review the wiki: https://github.com/APickledWalrus/skript-placeholders/wiki
Additions
- Added support for obtaining and creating relational placeholders with PlaceholderAPI.
Changes
- The syntax for creating placeholders has been simplified.
- It is no longer possible to register multiple PlaceholderAPI prefixes in the same structure. The same applies for MVdWPlaceholderAPI placeholders.
(placeholder[ ]api|papi) placeholder (with|for) [the] prefix %*string%
(placeholder[ ]api|papi) relational placeholder (with|for) [the] prefix %*string%
(mvdw[ ]placeholder[ ]api|mvdw) placeholder [with [the] name|named] %*string%
- The syntax for evaluating placeholders has been simplified.
[the] [value of [the]] [relational] placeholder[s] [in] %strings% [(for|from|of) %-players/offlineplayers%]
[relational] placeholder[s] %strings%'[s] value [(for|from|of) %-players/offlineplayers%]
Fixes
- Fixed an issue where registering a PlaceholderAPI placeholder across multiple structures no longer worked.
1.6.0
skript-placeholder 1.6.0
After long delays, I am excited to finally be releasing skript-placeholders 1.6.0.
This release contains significant internal improvements that bring some minor new features and fixes to enjoy.
As always, if you encounter any errors or unexpected behavior, please report them through the issues page.
NOTICE: This version of skript-placeholders requires Skript 2.7.3 and newer to function.
Additions
- #52 Added support for setting the result to any type (it will internally be converted into text) (thanks @DelayedGaming)
Fixes
- Fixed an issue that caused synchronization errors with configurations of Skript using asynchronous or parallel loading (closes #40)
- Fixed an issue that caused an increase in resource consumption when using the addon with newer versions of Skript (closes #50)
- Fixed an issue where the plugin.yml did not specify an API version (it now uses 1.13) (closes #51)
1.5.2 - Another bug fix update
Fixes #27
This release also updates the addon's dependencies. It should be compatible with Skript 2.5 / 2.6.
As always, if you encounter any issues or have any ideas for updates, please feel free to open an issue at https://github.com/APickledWalrus/skript-placeholders/issues
Nightly builds are now available too. You may access them via commits or through the actions tab.
Enjoy!
1.5.1 - Minor Bug Fix
This release fixes a small issue with using MVdWPlaceholderAPI. Fixes #18.
1.5 - Cleanup and new features
- A lot of syntax has been merged together. Scripts should still work, but some may require minor changes. The documentation has been updated to reflect this update, so I advise users to check that out.
- Overall plugin size has been reduced due to internal cleanup and refactoring.
- The
colorize
option now works on any placeholder being parsed. - OfflinePlayer support has been improved for PlaceholderAPI.
- #9 has been fixed.
- You can now listen to multiple prefixes or placeholders in one event (this registers a placeholder for each prefix)
- PlaceholderAPI placeholders now persist on /papi reload.
- GitHub Actions now creates an artifact for each build.
EDIT: ninja fix to patch a small issue
If you are having any issues, please let me know here or on discord. Check the README for the relevant links.
PlaceholderAPI Updates
- Updated PlaceholderAPI to 2.10.6 Please make sure you are running the latest version!
- Added a new option (
without color
) to the parse placeholder expression. This only applies to PlaceholderAPI placeholders. It affects whether the returned placeholder value is colorized. - Fixed a few NPEs that could occur
If you encounter any issues, please let me know!
A Small Update
This version was mainly a code-cleanup on my end. If you encounter any issues, please be sure to let me know!
Notable Changes:
- A few documentation/wiki changes
- Minor pattern changes (should not affect the user)
Bug Fixes
Register Placeholders with MVdWPlaceholderAPI
EDIT: There may have been issues with the previous jar. I have updated the jar file for this release.
IMPORTANT: There were minor syntax changes in this update, so your code may have to be updated. Due to the new syntax, the documentation and examples have been moved over to wiki pages (https://github.com/APickledWalrus/skript-placeholders/wiki). The latest syntax is available there.
This update allows you to register placeholders using MVdWPlaceholderAPI.
For this to work, you must have an MVdW plugin installed. This also goes for parsing placeholders from MVdWPlaceholderAPI.
The addon also no longer requires PlaceholderAPI and will function if you only have MVdWPlaceholderAPI installed.
MVdW Placeholders
This release adds support for MVdW Placeholders and also fixes potential bugs.