1. Welcome to skUnity!

    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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon skript-reflect 2.3

Reflection utilities for Skript

  1. TPGamesNL
    Contributors:
    btk5h, TPGamesNL, Mackenzie
    Supported Minecraft Versions:
    • 1.8, 1.9, 1.10, 1.11, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19
    This addon is a fork of skript-mirror, and comes with a bunch of bug fixes and new features.
    Some of the important bug fixes and features:
    • Fixed async event listening
    • Fixed local variables issues being deleted after async java calls and after parse sections from custom syntax
    • Added support for newer Java versions and Java vendors
    • Added custom events
    • Added sections, with support for running code blocks async
    • Fixed class proxies and made them easier to use
    • Added preloading
    Code (Text):
    1. #1 Basic Java call:
    2. import:
    3.     java.lang.System
    4.  
    5. set {_nl} to System.lineSeparator()
    6.  
    7. #2 Event listening
    8. import:
    9.     org.bukkit.event.block.CauldronLevelChangeEvent
    10.  
    11. on CauldronLevelChangeEvent:
    12.     broadcast "The cauldron at %event.getBlock().getLocation()% had its level changed from %event.getOldLevel()% to %event.getNewLevel()%"
    13.  
    14. #3 Custom syntax
    15. effect send (experience|xp) change of %number% [with level %-number%] to %players%:
    16.     trigger:
    17.         set {_progress} to expr-1
    18.         set {_level} to expr-2
    19.         loop exprs-3:
    20.             set {_p} to loop-value
    21.             if {_level} is set:
    22.                 {_p}.sendExperienceChange({_progress}, {_level})
    23.             else:
    24.                 {_p}.sendExperienceChange({_progress})
    25.  
    26. send xp change of 0.75 with level 9 to player
    Full example scripts:
    The documentation and a guide to get started is available on GitBook: tpgamesnl.gitbook.io.
    Issues and suggestions should be reported on GitHub.
    You can get help in the skript-mirror channel of the skUnity Discord, or you can ask questions in the skript-reflect discord.

    Icon made by Freepik from www.flaticon.com. Use of skUnity logo approved by BaeFell.
    Tom, FusionCore and Ayham Alali like this.

Recent Reviews

  1. gundam89412
    gundam89412
    5/5,
    Version: 2.3
    ----------------------------
    very nice plugin !
    ----------------------------
  2. Kapten
    Kapten
    5/5,
    Version: 2.1.0
    Thank you for updating the old but so useful skript-mirror !
    Hope this project will live long ! :)
    1. TPGamesNL
      Author's Response
      Thanks for the review :D
  3. Romitou
    Romitou
    5/5,
    Version: 2.1.0
    Everything works perfectly, thank you very much for your work and the update of the old skript-mirror!
    1. TPGamesNL
      Author's Response
      Thanks for the review!
  4. FusionCore
    FusionCore
    5/5,
    Version: 2.1.0
    Works amazing! The old Skript-Mirror broke and had a lot of bugs, and this fixes that! Extremely happy :D
    1. TPGamesNL
      Author's Response
      Thanks for the review :D