skRayFall

skRayFall

297k Downloads

Titles And Subtitles not working in 1.15+

HevelMc opened this issue · 6 comments

commented

Describe the bug

set a title (and a subtitle) are not working in 1.15+

Steps to Reproduce

send player title "title" with subtitle "subtitle" for 5 seconds will give a can't understand this condition/effect error

Expected Behavior

A title should appear with "Title" in the middle of the screen and "subtitle" below.

Your Script

command /titletest:
    trigger:
        send player title "title" with subtitle "subtitle" for 5 seconds

Screenshots / Errors

[Skript] Reloading title.sk...
>.... [20:04:48 ERROR]: Can't understand this condition/effect: send player title "title" with subtitle "subtitle" for 5 seconds (title.sk, line 3: send player title "title" with subtitle "subtitle" for 5 seconds')
>.... [20:04:48 INFO]: [Skript] Encountered 1 error while reloading title.sk!

Server Information

  • Server Version and Type: Paper 1.15.1
  • Skript Version: 2.4.1
  • skRayFall Version: 1.9.18
  • Additional Plugins: None
commented

Hello, here's an alternative that allows you to make titles while waiting for it to be fixed. Personally I used that and it does the job.

This effect is added by skript and can be used from version 2.3.
send title "TITLE" with subtitle "SUBTITLE" to player for 5 seconds

I hope it'll be useful.

commented

Thanks this worked, though how would I add fadein and fadeout?

commented

I guess that's it :

send title "TITLE" with subtitle "SUBTITLE" to player for 5 seconds with fadein 1 second and fade out 1 second

Here's the pattern I found on the script documentation.

send title %string% [with subtitle %string%] [to %players%] [for %timespan%] [with fade[(-| )]in %timespan%] [(and|with) fade[(-| )]out %timespan%] 
send subtitle %string% [to %players%] [for %timespan%] [with fade[(-| )]in %timespan%] [(and|with) fade[(-| )]out %timespan%]
commented

when will this be fixed, I would love to use this feature

commented
commented

Sorry for the very late response everyone, skRayFall 1.9.20 has been released here with support for 1.15 - 1.15.2 which should fix these issues.

Thanks for the report!