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

Upon server start, we need to manually reload the scripts that contain the placeholder information to get them to appear. #54

Open
Asleeepp opened this issue Mar 7, 2024 · 8 comments
Labels
bug Something isn't working investigating An issue currently under investigation. waiting for response An issue that needs a response from the author.

Comments

@Asleeepp
Copy link

Asleeepp commented Mar 7, 2024

Description

Upon server start, we need to manually reload the scripts that contain the placeholders to get them to appear. We use actionbars/bossbars that depend on placeholders, This did not happen in previous versions, kinda annoying.

Steps to Reproduce

Restart server, look at action/bossbars and it will just say %[placeholder]%

Expected Behavior

To preload the placeholders, like previous versions

Errors / Screenshots

Untitled.video.-.Made.with.Clipchamp.99.mp4

No console logs.

Server Information

  • Server version/platform: Current: git-Purpur-2134 (MC: 1.20.4)*
  • skript-placeholders version: 1.6
  • Skript version: 2.8.3
  • PlaceholderAPI version (if applicable): 2.11.5
  • MVdWPlaceholderAPI version (if applicable):

Additional Context

@Asleeepp Asleeepp added the bug Something isn't working label Mar 7, 2024
@APickledWalrus
Copy link
Owner

Sorry for not getting back to you sooner. Are you still experiencing this issue? Are you able to see in PAPI whether the Skript-created expansions are registered?

@Asleeepp
Copy link
Author

Asleeepp commented May 1, 2024

Sorry for not getting back to you sooner. Are you still experiencing this issue? Are you able to see in PAPI whether the Skript-created expansions are registered?

Oh sorry, I completely forgot about this thread, since I went back to using 1.5.2 as this issue isn't present on that version. I'll test a little bit later.

Edit: It SEEMS to have fixed itself somehow? I'll do some more digging.

Edit 2: I think the newer versions of PAPI fixed the issue.

@Asleeepp Asleeepp closed this as completed May 1, 2024
@Asleeepp Asleeepp closed this as not planned Won't fix, can't repro, duplicate, stale May 1, 2024
@Asleeepp Asleeepp reopened this May 2, 2024
@Asleeepp
Copy link
Author

Asleeepp commented May 2, 2024

Actually, a variation of this popped up it seems like. I don't know if this is actually a papi issue or a skript-placeholders issue but switching worlds doesnt seem to load the placeholders now, and then returns with a reload of the skript that contains the event, like what i had to do in the video in the original issue

@APickledWalrus
Copy link
Owner

And is that on the latest version of this addon? Are you able to tell if this issue occurs with other placeholders? When the placeholders aren't working, does the skript-placeholders registered expansion appear in the placeholder api expansions list?

@Asleeepp
Copy link
Author

Asleeepp commented May 2, 2024

Ive rejoined the server a couple hours later, and the issue that originally started this issue occured again

And is that on the latest version of this addon?

Yes, it is.

When the placeholders aren't working, does the skript-placeholders registered expansion appear in the placeholder api expansions list?

Yes.

@APickledWalrus
Copy link
Owner

Sorry I never got back to you. Do any other placeholders give you this issue? It seems odd that they are not updating but the expansion is still registered. I'll try and do some testing to see if I can replicate this issue.

@APickledWalrus APickledWalrus added the investigating An issue currently under investigation. label May 23, 2024
@m-surowiec
Copy link

@APickledWalrus
I'm also running into the same problem. After restarting the server, the on papi request event just doesn't trigger at all. I've got a simple script that's supposed to broadcast some values, but it doesn't do anything until I manually reload the script.

Here's the code snippet I'm using for testing:

on papi request with prefix "skript":
    broadcast "s2"
    the identifier is "event-odliczanie"
    broadcast "s1"

my /skinfo
image

@APickledWalrus APickledWalrus added the waiting for response An issue that needs a response from the author. label Aug 20, 2024
@APickledWalrus
Copy link
Owner

Are you able to test whether this occurs on 1.7.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working investigating An issue currently under investigation. waiting for response An issue that needs a response from the author.
Projects
None yet
Development

No branches or pull requests

3 participants