Open Asleeepp opened 5 months ago
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?
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.
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
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?
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.
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 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
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
https://github.com/APickledWalrus/skript-placeholders/assets/119438940/66d488f2-3ca7-4f45-ae9d-1d8de86d153c
No console logs.
Server Information
Additional Context