A "sticky message" command for BAE 2.0

How could I make a command something like this: This command will create a message (in the form of a ‘hint’ message) at the top of your screen, but instead of it disappearing after a while, it will ‘stick’ there, with the use of the clear command being the only way to remove it. Unlike normal hint messages, clicking on it will not make it disappear. Furthermore, this message will also automatically be given to new players when they join the server, meaning you won’t have to send the sticky message over and over again.

If someone has created a sticky message, but then a new, regular hint message is created, the new hint message will replace the sticky message for as long as it is supposed to appear for, and then the sticky message will reappear. If someone has created a sticky message, but then a new sticky message is created after that, the new sticky message will basically just replace the old one. This is what the sticky message looks like:

unknown

4 Likes

This has been solved on a different forum. Full credits to Hyra and Samuel. You can check it out here:

https://community.hyra.io/t/help-with-bae-plugin/427/15

I’m not a huge fan of that method to make it. I’d rather directly edit the MainModule’s Essentials Code but this method works well as it can keep up with the latest module and is easy to work with.

4 Likes

Don’t bump old topics, it’s frowned upon. Also you need to edit it (by clicking the three dots > Edit)