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

Conversation

@Goldmensch
Copy link
Member

@Goldmensch Goldmensch commented Jan 15, 2023

This pr disables the automatic detection of environments, this could cause unexpected behavior and is not really useful in a plugin, furthermore this pr adds the ability to generate a default configuration at compile time, setting it up at runtime and defining migrations.

depends on #13

@Goldmensch Goldmensch changed the title Environments Environments and Configuration Jan 15, 2023
@Taucher2003 Taucher2003 marked this pull request as draft January 21, 2023 18:19
@Goldmensch Goldmensch force-pushed the feat/environments branch 3 times, most recently from 65b0415 to c626e02 Compare January 21, 2023 23:02
This commit adds plugin configurations, that are specific by the @PluginConfig annotation, generated at compile-time and set up and migrated automatically at runtime.
Also, it adds a new preload event, that is fired before the load event (JavaPlugin#onLoad) is fired. After all preload listeners, the environment is refreshed.
@Goldmensch Goldmensch marked this pull request as ready for review February 8, 2023 14:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants