mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
Player Ticket History - A Synopsis At A Glance (#75830)
## About The Pull Request Adds a new front-end for viewing player ticket history stored in the connected database. Also adds a button to directly query for previous tickets from the ticket panel. ## Pictures     ## Why It's Good For The Game Gives admins the ability to look at a players behaviour in-game without the need for external tooling, (statbus) ## Changelog 🆑 admin: Player Ticket History - view a player's ticket history without the need to use external tooling. /🆑
This commit is contained in:
@@ -1122,6 +1122,15 @@
|
||||
return
|
||||
M.mind_initialize()
|
||||
|
||||
else if(href_list["player_ticket_history"])
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
var/target_ckey = href_list["player_ticket_history"]
|
||||
GLOB.player_ticket_history.cache_history_for_ckey(target_ckey)
|
||||
GLOB.player_ticket_history.user_selections[usr.ckey] = target_ckey
|
||||
GLOB.player_ticket_history.ui_interact(usr)
|
||||
return
|
||||
|
||||
else if(href_list["create_object"])
|
||||
if(!check_rights(R_SPAWN))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user