mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
The Player Panel will now list out the player's Player Ranks (#23621)
* Displays the player ranks into the player panel * Player ranks can now be checked without considering the admin bypass
This commit is contained in:
@@ -32,6 +32,20 @@
|
||||
|
||||
if(M.client)
|
||||
body += "<br>\[<b>First Seen:</b> [M.client.player_join_date]\]\[<b>Byond account registered on:</b> [M.client.account_join_date]\]"
|
||||
// SKYRAT EDIT ADDITION START - Player Ranks
|
||||
var/list/player_ranks = list()
|
||||
|
||||
if(SSplayer_ranks.is_donator(M.client, admin_bypass = FALSE))
|
||||
player_ranks += "Donator"
|
||||
|
||||
if(SSplayer_ranks.is_mentor(M.client, admin_bypass = FALSE))
|
||||
player_ranks += "Mentor"
|
||||
|
||||
if(SSplayer_ranks.is_veteran(M.client, admin_bypass = FALSE))
|
||||
player_ranks += "Veteran"
|
||||
|
||||
body += "<br><br><b>Player Ranks: </b>[length(player_ranks) ? player_ranks.Join(", ") : "None"]"
|
||||
// SKYRAT EDIT END
|
||||
body += "<br><br><b>CentCom Galactic Ban DB: </b> "
|
||||
if(CONFIG_GET(string/centcom_ban_db))
|
||||
body += "<a href='?_src_=holder;[HrefToken()];centcomlookup=[M.client.ckey]'>Search</a>"
|
||||
|
||||
Reference in New Issue
Block a user