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

[Feature Request] Synchronous Script loading #410

Open
OfficialLambdax opened this issue Jan 13, 2025 · 1 comment
Open

[Feature Request] Synchronous Script loading #410

OfficialLambdax opened this issue Jan 13, 2025 · 1 comment
Labels
feature New feature or request

Comments

@OfficialLambdax
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
If a server is containing multiple plugins that are printing information to the console during onInit(), for for example logging settings, loading errors or behaviours, then the server console will be clustered with information where it is hard to tell what log is for what script.

Example
grafik

from multiple outputs
grafik
grafik

Describe the solution you'd like

for script in all scripts do
  1. run onInit of that script
  2. wait for return
load next

Describe alternatives you've considered
A script can simply always say that its info is for its script

[13/01/25 15:39:09] [LUA] [ENV SCRIPT] Some information

I personally just dont like the looks of it during init only for logging after init

@OfficialLambdax OfficialLambdax added the feature New feature or request label Jan 13, 2025
@WiserTixx
Copy link
Collaborator

For the alternative Util.Log* exists, which adds the plugin name.

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

No branches or pull requests

2 participants