Jump to content

Displaying player ranks

Pending 1.4.14

Rusty Hook
Rusty Hook

Posted

My server has a whole ranking system based on time spent on the server using the Loyalty Rewards mod, and I'd really like it to display on my server panel next to the player's name, like it does in the chat with the chat prefix mod. Is there a way to do this?

  • Curator
Mevent

Posted

Thanks for confirming! Unfortunately, Loyalty Rewards doesn't have a public API that UltimateLeaderboard can hook into to display loyalty time on the server panel.

 

You could ask the Loyalty Rewards author to add support using these UltimateLeaderboard APIs:

bool API_OnServerPanelAddHeaderUpdateField(Plugin targetPlugin, string updateKey, Func<BasePlayer, string> updateFunction)
bool API_OnServerPanelRemoveHeaderUpdateField(Plugin targetPlugin, string updateKey = null)

 

This would let them display loyalty time next to player names just like chat prefixes!

  • Curator
Mevent

Posted

Just now, Mevent said:

Thanks for confirming! Unfortunately, Loyalty Rewards doesn't have a public API that UltimateLeaderboard can hook into to display loyalty time on the server panel.

 

You could ask the Loyalty Rewards author to add support using these UltimateLeaderboard APIs:

bool API_OnServerPanelAddHeaderUpdateField(Plugin targetPlugin, string updateKey, Func<BasePlayer, string> updateFunction)
bool API_OnServerPanelRemoveHeaderUpdateField(Plugin targetPlugin, string updateKey = null)

 

This would let them display loyalty time next to player names just like chat prefixes!

@Corpster

2.1m

Downloads

Total number of downloads.

9.8k

Customers

Total customers served.

142.5k

Files Sold

Total number of files sold.

3m

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.