Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
- Fix issues with object wrappers
- Remove the stack trace expression
- Restrict import aliases to valid Java identifiers
- Remove multiple as a synonym for plural/non-single
- Fix try expressions not being converted correctly
- Fix parse sections being parsed multiple times
- Fix an NPE with nullable expressions in parse sections
- Start localization
- Allow the spread expression to spread streams
- Register custom syntax earlier so that they can be used recursively
- Wrap...
- Fix issue with spreading Java objects
effect testing %player%:
trigger:
open virtual chest inventory with size 5 named "&8&l» &3ARENA SETTINGS" to expression-1
wait 2 ticks
make a gui slot 0 of expression-1 with black glass named "&7" to run:
send "..." to expression-1
close expression-1's inventory
[02:11:32 ERROR]: The expression 'expression' may only be used in a custom syntax. (test.sk, line 19: send "..." to expression-1')
[02:11:32 ERROR]: The expression 'expression' may only be used in a custom syntax. (test.sk, line 20: close expression-1's inventory')
I'm not sure if this is skript-mirror's fault. It seems to be an issue with whatever gui addon you are using.code_language.skript:effect testing %player%: trigger: open virtual chest inventory with size 5 named "&8&l» &3ARENA SETTINGS" to expression-1 wait 2 ticks make a gui slot 0 of expression-1 with black glass named "&7" to run: send "..." to expression-1 close expression-1's inventory
code_language.skript:[02:11:32 ERROR]: The expression 'expression' may only be used in a custom syntax. (test.sk, line 19: send "..." to expression-1') [02:11:32 ERROR]: The expression 'expression' may only be used in a custom syntax. (test.sk, line 20: close expression-1's inventory')
you cannot use expresssion-x after to run: - from tuske
This is why I not open a issue for it, its tuske anywayI'm not sure if this is skript-mirror's fault. It seems to be an issue with whatever gui addon you are using.
Within the make gui tuske scope, the code is parsed as if it was an inventory click event. You have to set a local variable to the expression's value and use that.This is why I not open a issue for it, its tuske anyway
Breaking Changes
Hey there! This should be the last massive breaking update until full release! (Unless we can remove the ! from field accessors)
- Java calls no longer use ; as a line terminator
- Fix custom expression return types
- Allow the loop-* of a plural expression to specified
- Add plural form to the java class of property
- Store expression values when custom syntax is executed...
The import effect was changed into the import block.a little help please
code_language.skript:on script load: import "com.nametagedit.plugin.api.NametagAPI" command /test: trigger: NametagEdit.getApi().setPrefix(player, "&c")
import:
com.nametagedit.plugin.api.NametagAPI
do you have any idea why this do not work?The import effect was changed into the import block.
code_language.skript:import: com.nametagedit.plugin.api.NametagAPI
import:
com.nametagedit.plugin.api.NametagAPI
command /test:
trigger:
NametagEdit.getApi().setPrefix(player, "&c")
Can't understand this condition/effect: NametagEdit.getApi().setPrefix(player, "&c")
You imported NametagAPI, not NametagEdit.do you have any idea why this do not work?
code_language.skript:import: com.nametagedit.plugin.api.NametagAPI command /test: trigger: NametagEdit.getApi().setPrefix(player, "&c")
code_language.skript:Can't understand this condition/effect: NametagEdit.getApi().setPrefix(player, "&c")
Do you have more context?This code in java should I write in SK?Code:List<String> record = new ArrayList(); vg.addComponent(new VexText(10, 20, "test"));
To be honest, the primary purpose of this release is to publish skript-mirror's new GitBook-based documentation. At this time, the documentation is still a work-in-progress and lacks documentation on some core features, but it's still better to have incomplete documentation than none at all!
- Fix the matched pattern expression
Check out the documentation here.
https://www.spigotmc.org/resources/party-and-friends-for-bungeecord.9531/
http://simonsator.de/JavaDoc/Party-and-Friends-MySQL-API/overview-summary.html