Skip to content

Conversation

@Sammster10
Copy link
Member

@Sammster10 Sammster10 commented Nov 14, 2024

This PR adds the ability to read static menus from config files. static refers to the definition, not the static in static studios
This PR also adds runServer and a test plugin for testing

The format of the config files matches the legacy format used internally. Note that this version does not have support for placeholders as it doesn't really make sense. This is strictly for simple menus. Most menus in static-skyblock will have to be migrated to be defined in java. The main menu however, can stay defined as a file.

There is also no support for code actions or open-menu actions as using a command action is cleaner and encourages more flexibility

@Sammster10 Sammster10 requested a review from Leguan16 November 14, 2024 03:36
This was linked to issues Nov 14, 2024
Copy link
Member

@Leguan16 Leguan16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically load all files within the resources/menus/ directory.

Copy link
Member

@Leguan16 Leguan16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically load all files within the resources/menus/ directory.

@Sammster10 Sammster10 requested a review from Leguan16 November 15, 2024 19:15
@Sammster10 Sammster10 merged commit 0235dda into master Nov 15, 2024
1 check passed
@Sammster10 Sammster10 deleted the read-from-files branch November 15, 2024 19:21
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

Successfully merging this pull request may close these issues.

Integrate run server for development Load menus from files

3 participants