Title message
#1
I need to display a title message like /title.
I found this https://github.com/cuberite/cuberite/pull/1848
Then tried this:
Code:
Player:GetClientHandle():SendSetTitle('test')
But it is nil.
scottwillmoore said he tested.

please help Huh  Huh Huh
Reply
Thanks given by:
#2
I believe you need cPlayer:SendAboveActionBarMessage(). You might need the cCompositeChat class, but you can try a string first.
Reply
Thanks given by:
#3
I do believe title and above action bar message are two different things.
While i did implement the above action bar message api, i'm not sure if the title api was actually exported to lua.
Reply
Thanks given by: NiLSPACE
#4
Right, I forgot about that.
Reply
Thanks given by:
#5
Which Minecraft version would this be? If it's 1.9, then the protocol support is rather unfinished at the moment.
Reply
Thanks given by:
#6
That PR is only for the underlying implementation, it doesn't define any Lua API. And indeed, even in the current sources the functions are not exported to Lua API.
Reply
Thanks given by:




Users browsing this thread: 5 Guest(s)