Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

feature: Add support for subfolders #53

Description

@Zarkness2

add support for subfolders and nested folders inside the scripts folder to organize scripts

Activity

  1. Saturn745 commented on Jun 26, 2024

    @Saturn745
    Member

    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.

  2. Zarkness2 commented on Jun 26, 2024

    @Zarkness2
    Author

    okey, thx

  3. Zarkness2 commented on Jun 26, 2024

    @Zarkness2
    Author

    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.

  4. Saturn745 commented on Jun 26, 2024

    @Saturn745
    Member

    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.

    For this project, I only plan on supporting Lua, but I was considering making another project that adds scripting with Kotlin in the past.

  5. Zarkness2 commented on Jun 26, 2024

    @Zarkness2
    Author

    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.

  6. Saturn745 commented on Jun 26, 2024

    @Saturn745
    Member

    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.

    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.
    Adding multiple languages to the same plugin, I feel, would get messy and bloated very quickly.

  7. Zarkness2 commented on Jun 26, 2024

    @Zarkness2
    Author

    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.

  8. locked and limited conversation to collaborators on Jun 26, 2024
  9. converted this issue into a discussion #54 on Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions