Jump to content

Status bar visibility

Work in Progress 0.1.2

Brostrodamus
Brostrodamus

Posted

How would I make this status bar more visible?

 

 

image.png

IIIaKa

Posted

Changed Status from Pending to Work in Progress

IIIaKa

Posted (edited)

4 hours ago, Brostrodamus said:

How would I make this status bar more visible?

image.png


Hello. You can change the colors and transparency of the status bar for the profile you need.
 

Quote

"List of status bar settings. The keys of these settings can be used for generated hooks. Leave empty or null to recreate the default list"


 

Edited by IIIaKa
Brostrodamus

Posted (edited)

I've played around with it but the only way I can test it is by using a teleport. I'm unable to see the changes given the short duration the status bar is displayed on the screen. I would like to know what section/category specifically I would need to change to edit the background color of that bar.

Edited by Brostrodamus
IIIaKa

Posted (edited)

58 minutes ago, Brostrodamus said:

I'm unable to see the changes given the short duration the status bar is displayed on the screen.

Make sure you reload the plugin after making changes to the config file, o.reload TeleportStatus or c.reload TeleportStatus

 

58 minutes ago, Brostrodamus said:

I would like to know what section/category specifically I would need to change to edit the background color of that bar.

"Main_Color(Hex or RGBA)" and "Main_Transparency" for each profile.

 

Note:
This plugin can generate hooks based on the settings in the config file:

  • "List of hooks for generation. Leave empty or null to recreate the default list"
  • "Is it worth generating teleport hooks? 0 - disabled, 1 - one-time activation, 2 - always enabled" - It is recommended to set it to 1 each time you make changes to the dynamic hooks, so they are regenerated once and the check is disabled for subsequent plugin initializations.

Also, each dynamic hook contains a field that defines which status bar profile will be used:

  • "Specify the status bar Id used for this hook"

The status bar setting profiles themselves are located in:

  • "List of status bar settings. The keys of these settings can be used for generated hooks. Leave empty or null to recreate the default list"

For example, when a player's teleport request is accepted, the "OnTeleportAccepted" hook is triggered, and by default, this hook uses the "ToPlayer" status bar profile.

Make sure you are modifying the status bar settings for the correct profile.

Edited by IIIaKa
IIIaKa

Posted (edited)

You can add your own profile, set its style, and assign a single profile to multiple or all hooks at once by specifying its ID in the corresponding property.

This approach may seem complex, but it offers flexibility.
You can add hooks for new plugins that aren't included by default, or remove hooks you don't need, without waiting plugin's update, and customize the status bar styles however you like for each teleport hook.

Edited by IIIaKa
2.2m

Downloads

Total number of downloads.

10.3k

Customers

Total customers served.

149.5k

Files Sold

Total number of files sold.

3.2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.