Replies: 8 comments 1 reply
-
I plan on adding something like this where you can have a folder that contains a main file and you can load scripts inside one another (with Lua's require function) when I finish moving the Lua API to use LuaJava instead of LuaJ. Unfortunately, I am away from home for a few months and won't be able to work on that for a little while. However, I would happily accept a PR that implements a simpler version of it, which just loads scripts from the scripts folder recursively for the time being. |
Beta Was this translation helpful? Give feedback.
-
okey, thx |
Beta Was this translation helpful? Give feedback.
-
one doubt that came to my mind now, do you only plan to have support for lua scripts? or do you plan to add other languages like kotlin, java, javascript, ruby or rust or any other language? I say this because I am looking for a plugin of this style but for kotlin so I force myself to learn it since I make the scripts in kotlin and then I can make my own plugins or help plugins like this one. |
Beta Was this translation helpful? Give feedback.
-
For this project, I only plan on supporting Lua, but I was considering making another project that adds scripting with Kotlin in the past. |
Beta Was this translation helpful? Give feedback.
-
the kotlin one interests me a lot because one of the plugins I had in mind to do when I know kotlin was to make one with support for kotlin scripts in both .kts and .kt and gradually add other languages, but for now I don't know much about kotlin and as I'm more focused on configuring my server I leave aside kotlin and programming, so I was interested in one with support for kotlin. |
Beta Was this translation helpful? Give feedback.
-
Yeah, Kotlin scripting is still on my list of things to at least experiment with, so it may be something I do in the near future under a different project. |
Beta Was this translation helpful? Give feedback.
-
well I will be happy to try your plugin, in fact my idea to add support for different languages is that you need somehow like an addon to add support for that language. |
Beta Was this translation helpful? Give feedback.
-
Kotlin scripting plugin would be awesome. I've already attempted to do that in the past but lost interest due to other, more important things I had to focus on during this time. I'm fairly sure it's doable with their scripting engine library. https://kotlinlang.org/docs/custom-script-deps-tutorial.html |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
add support for subfolders and nested folders inside the scripts folder to organize scripts
Beta Was this translation helpful? Give feedback.
All reactions