JSEngineNK

Experimental JSEngineNK 1.14.1

All Nukkit events added
The interface was minimally improved
Fixed an optimization bug
Many thanks to wode490390 for his EventsController plugin
Enjoy!
Added PlayerDropItemEvent event
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
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!
Performance Improvements!
17 New events were added! (see https://github.com/Trollhunters501/JSEngineNK/blob/master/Events Soported/Events.md)
In the /ver command for the scripts it was changed to now see the information of a script is /ver script <name> or /version script <name>
Added information about the Manager function! (see https://github.com/Trollhunters501/JSEngineNK/blob/master/Manager info/ManagerFunc.md)
And most of the plugin was rewritten for better performance!
New Plugin Logo!
Enjoy!
Performance improvements!
Event functions are now registered when the event is executed!
Now checking if there is any matching JavaScript registered event before executing the function
Fixed a critical bug
API improvements!
Added Navigator JavaScript API
Fetch improvements
This update has many improvements!
Bug fixes!
Fixed EntityRespawnEvent event bug
The required API.js file is no longer needed for the API to work!(I recommend deleting the file)
JavaScript improvements with polyfills!
Go to our WhatsApp channel so you don't miss any news!
Top