Releases: newk5/vcmp-nodejs-plugin
Releases · newk5/vcmp-nodejs-plugin
v1.1.0
- Implemented player update events
- Fixed race condition causing server thread deadlock, which caused the main thread to freeze, making it impossible for players to join the server
- Better memory usage, forced GC in high frequency events
- Added server.gc() which forces Node.js GC
v1.0.4
- Fixed wrong path detection linux
v1.0.3
- Fixed players not being to join the server when client side scripts were edited
v1.0.2
- Fixed Player and Vehicle functions that return VCMP entities causing an exception
- Added warning on server start to notify of outdated version
v1.0.1
- Fixed .data property not being attached to VCMP entities returned by server functions
v1.0.0
- Fixed same directory relative require() not working
This is a breaking change, if you have any require's working like:
require("./src/pathToFolderOrJSFile")
You need to change it to:
require("./pathToFolderOrJSFile")
v0.1.2
- Fixed player.setColour(integerHexValue)
- Made sure the event loop thread has started before the server boots
v0.1.1
- Fixed checkpoint/player.getColour("RGB")
v.0.1.0
- Added support for attaching custom data to VCMP entities through the .data object
- Added getColour('RGB') and made .setColour() accept both hexdecimal color integers and RGB objects
v0.0.11
- Fixed server.setOption, player.setOption and vehicle.setOption