skript-reflect 2.1.0

Reflection utilities for Skript

  1. TPGamesNL
    Native Minecraft Version:
    1.15
    Tested Minecraft Versions:
    • 1.8
    • 1.12
    • 1.15
    • 1.16
    Source Code:
    https://github.com/TPGamesNL/skript-reflect
    Contributors:
    btk5h, TPGamesNL, Mackenzie
    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
    Full example script: PacketListenerNMSK

    Code (Text):
    #1 Basic Java call:
    import:
        java.lang.System

    set {_nl} to System.lineSeparator()

    #2 Event listening
    import:
        org.bukkit.event.block.CauldronLevelChangeEvent

    on CauldronLevelChangeEvent:
        broadcast "The cauldron at %event.getBlock().getLocation()% had its level changed from %event.getOldLevel()% to %event.getNewLevel()%"

    #3 Custom syntax
    effect send (experience|xp) change of %number% [with level %-number%] to %players%:
        trigger:
            set {_progress} to expr-1
            set {_level} to expr-2
            loop exprs-3:
                set {_p} to loop-value
                if {_level} is set:
                    {_p}.sendExperienceChange({_progress}, {_level})
                else:
                    {_p}.sendExperienceChange({_progress})

    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.



    [​IMG]
    Docs / Forums / Parser /Discord
    Do you speak Dutch, Spanish, French or German and need Skript help? We've got channels for that in the skUnity Discord!​

    Icon made by Freepik from www.flaticon.com.
    Govindas and rudde like this.

Recent Reviews

  1. Jaeger_Danger
    Jaeger_Danger
    5/5,
    Version: 2.1.0
    Epic addon. Thanks you very much, many new useful features on addition to mirrors.
    1. TPGamesNL
      Author's Response
      Thanks for the review :D
  2. Govindas
    Govindas
    5/5,
    Version: 2.1.0
    This is insanely epic skript-mirror fork that has added lots of useful features! Must have for every skript user
    1. TPGamesNL
      Author's Response
      Thanks for the review :D