Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: .mcman.dl - Some file for Downloadable #13

Open
Tracked by #31
TheAlan404 opened this issue Jul 29, 2023 · 1 comment
Open
Tracked by #31

RFC: .mcman.dl - Some file for Downloadable #13

TheAlan404 opened this issue Jul 29, 2023 · 1 comment

Comments

@TheAlan404
Copy link
Contributor

Lets say theres a plugin named Banana

And lets also say Banana has a directory in */plugins/banana/assets which contain some "assets"

A special file of some sorts could be used in config/plugins/banana/assets/a.mcman.dl which would contain a Downloadable:

type = "url"
url = "..."

This would basically allow using downloadables in every directory and not only plugins/mods/datapacks

Maybe the file extension could be changed:

  • .dl
  • .dl.toml
  • .mcman
  • .mcman.toml

These are the few i got on my mind, idk

@TheAlan404 TheAlan404 mentioned this issue Oct 22, 2023
42 tasks
@TheAlan404
Copy link
Contributor Author

Maybe an mcman.index.toml/mcman.folder.toml is better?

[[files]]
type = "url"
url = "..."

[[files]]
type = "..."

This can also be expanded to include more features later on, maybe:

# dont want to nest like hell in config/?
destination = "plugins/Banana/addons/translations/data/lang"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant