Announcement - JavaScript/TypeScript Release - v1.5.0
Hello everyone!
We're happy to announce that Swiftly has implemented JavaScript/TypeScript support for plugins!
What did we add?
We've added JavaScript support for plugins, allowing you to also make the plugins in TypeScript using our TypeScript Plugin Guide. We've also added the following:
OnPluginStart Error: Now if OnPluginStart throws an error, the plugin will not start and the reason will be shown in sw plugins list.
Configuration Example: Now you can't mistakenly overwrite your own configuration files when you're updating Swiflty.
Embedding Library: We've created an embedding library which allows extension developers to easily integrate their code with plugins. You write code once, and it integrates your code in all the embedder supported languages (currently JavaScript/Lua).
What's different from v1.4.0?
Since we've launched v1.4.0, we've developed a ton of very cool stuff, such as:
Virtual GUI: Create custom texts and panels on player screens with powerful VGUI tools.
Screen Menus: We've created screen menus which allows users have a more friendly interaction with the server.
Menu KInds: Now you can choose the flavor of menus your server should use, screen or center, and also choose how you want to interact with the menus, via buttons or chat.
OnUserMessageReceive: Now you can filter out player user messages to the server.
Map Chooser: A basic map chooser system which is shipped automatically with Swiftly.
Do we have examples?
Yes, we've created a GitHub repository for JavaScript & Lua Examples, check it out: Examples Repository.
What files we need to update?
You need to update the following files:
addons/swiftly/bin
addons/swiftly/extensions
We also want to announce that we're thankful for achieving over 300 members on our Discord Server and we hope to grow even more!
Thanks to everyone's support and contribution to Swiftly Community and we 're grateful to have you as our community.
Useful Links
Discord:
https://swiftlycs2.net/discord
Website:
https://swiftlycs2.net/