Skip to content

Releases: Trollhunters501/JSEngineNK

Fix error

20 Aug 15:00
a1ce653
Compare
Choose a tag to compare

Fix JSEngineNK Java11-22 error

Fix error in Windows

24 Jun 01:00
a1ce653
Compare
Choose a tag to compare

Fixed Windows error not loading any script

Update 1.13.0

15 Jun 01:46
a1ce653
Compare
Choose a tag to compare

Added the possibility of sending arguments to tasks
Added async tasks
For Java programmers:
Added the possibility to get the engine with the function in the main with getEngine() and call() To call functions from java

Update 1.12.0&1.12.5

20 Apr 03:43
a1ce653
Compare
Choose a tag to compare

Now the versions for Java8-11 and Java11-20 were updated (in java11 I recommend using the Java11-20 version)
Added readfully() function to read text files example usage:

var test = readFully("absolutePath/archive.txt"); //use the absolute Path of the file!

New Polyfills added!
Fixed permission bug for the /scripts command where the command would be seen in players' command list even if they did not have the permission
Arrangement of the last parameter of the given command function (the Command.this class)
Bug fixes and optimization improvements

New Java Versión! And More!

16 Dec 06:27
12ae0b3
Compare
Choose a tag to compare

Fixed the error that code errors did not appear in the Enable event
Fixed bug in Navigator API
Fetch API updated!
Info: https://github.com/Trollhunters501/Fetch-API-Nashorn/releases/tag/1.2
The interface was improved a little when starting the plugin
Added an argument to commands after Label that returns the command class of the command
Added a jar for Java15 version and higher!
(Use the corresponding jar with your version of java!)

Fix error

26 Nov 18:50
a209ce2
Compare
Choose a tag to compare

Fixed bug for some entity events

Total Event Update

26 Nov 06:16
a209ce2
Compare
Choose a tag to compare

All Nukkit events added
The interface was minimally improved
Fixed an optimization bug
Many thanks to wode490390 for his EventsController plugin
Enjoy!
https://cloudburstmc.org/resources/jsenginenk.939/

Add Event

22 Nov 02:13
3d70be2
Compare
Choose a tag to compare

Added PlayerDropItemEvent event

Command Update AND 1.9 update (1.10.0)

20 Nov 03:36
3d70be2
Compare
Choose a tag to compare

manager.createCommand function updated
What was added?
Permission, Usage and alias arguments were added to the function
More information in the plugin description

Update on the execution of the command function:
Now the Label is passed to the function that executes the command
More information in the plugin information

And it can also continue to be used even if no alias or permission is defined.
Like if Label in function to avoid incompatibility
Polyfills were added:

String:
includes
padStart
padEnd

Array:
flatMap

Object:
is
values
getOwnPropertyDescriptors

Update 1.8!

25 Oct 22:39
4430fe1
Compare
Choose a tag to compare

Added event PlayerFormRespondedEvent
Many Polyfills, Libraries, etc. are added.
Example:
.replaceAll();
Promises, etc. You can see most of them in the implemented libraries in the description
In addition, the loading of Libraries by URL to another function was eliminated so that it works through Maven
More information in the plugin description!