Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

LifeSkript V13b (Preview)

Pre-release
Pre-release
Compare
Choose a tag to compare
@TheDGOfficial TheDGOfficial released this 10 May 12:00

Warning: This version contains some strange bugs due to changes in command system, commands may not work, variables can cause strange issues!

Please update to 2.2.15 or use/downgrade to something like V13 or V12.

Note: Also, don't use optimized version as it has some issues with add-ons, if you really want it, use the optimized version in the 2.2.15, it has fixed this problem, but it's still experimental.

The V13b version is mainly targeted at:

  • Optimizing the parser and over-all performance
  • Adding more customization and debugging options

Change list:

  • Finished:
    • Implemented the ProGuard optimization and shrinking algorithm
    • Changed the number parsing algorithm: checks validity instead of relying on catching exceptions
    • Changed the way that events handled, it no longer uses reflection, so it's faster now
    • Added config options for disabling the new updater and enabling the new none tracker
    • Added some system properties for controlling some experimental & testing features
    • Fixed aliases and language bugs, added missed enchantment in 1.8
    • Changed the version format: 2.2-V13b instead of 2.2-Fixes-V13b
    • Fixed functions on on load: event not gives the right error and causes silent errors
    • Added config option for enabling on command for skript commands
    • Added condition to check if a command is a script or a plugin command
    • Allowed arg-1, arg-2 etc. in on command events. Uses String#split internally
  • Work in progress:
    • Debugger agents are included with this release, but not finished yet. (#28)
    • There is also maybe some debugging / testing and unfinished code, because this is a pre-release.
  • Experimental:
    • Experimental features are not supported (in production) until officially added in a later release. However, you can still use it (for testing) and report bugs, errors, etc.
    • Added system property for disabling the byte, short and float types. These types are not generally used in scripts and it generates unrequired parser overhead when parsing scripts. You can disable byte, short and float types via adding this argument to your startup script, before -jar and after java: -Dskript.disableByteShortFloat=true

We recommend all users using V13 to updating this release, though it is currently preview, not the full V13b release.

  • Future plans:

    • We are planning to change versioning again to something like 2.2.14 in V14 release. We do not planning to release something like 2.3 or 3.0 though. We are planning to continue like 2.2.13b, 2.2.14, 2.2.15 etc.
  • Other recommendations:

    • Eclipse OpenJ9 JVM: The OpenJ9 is the same as java runtime, but it's more optimized and performance friendly. It also eats less RAM and speeds up application execution. You can download OpenJ9 from here
  • Softwares used:

    • Eclipse Java Compiler 4.12M1
    • ProGuard 6.1.0 beta2
    • Apache Maven 3.6.1
    • Java Development Kit 8_212
  • What to download:

    • Skript.jar: The supported normal plugin without ProGuard applied to
    • Skript-optimized (EXPERIMENTAL).jar: The experimental optimized plugin with ProGuard applied to

Please keep in mind that optimized version may not work correctly or stop working at any time, we recommend using it only if you have performance problems.

The optimized version can be the main stable version after it's tested and maked non-experimental in a later release, such as 2.2.16 (2.2.15 should be a stable release, so 2.2.16 is the target).

Thanks for reading through here! :)