Garry's Mod
4,056 ψήφοι
Player Status Icons
4
2
   
Βραβείο
Αγαπημένο
Αγαπημένο
Μη αγαπημένο
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Build
Μέγεθος αρχείου
Αναρτήθηκε
Ενημερώθηκε
37.346 KB
19 Φεβ 2020, 13:17
16 Μαϊ 2022, 13:10
13 σημειώσεις αλλαγών ( προβολή )

Συνδρομή για λήψη
Player Status Icons

ΠΕΡΙΓΡΑΦΗ
What is this?
This addon will show what players are doing in the form of an icon above their heads.

Features
Only the server is required to have this addon, it will work properly for any player that joins - Contains no additional models or sounds, it's just a script.
(The icons (Silk icons[www.famfamfam.com]) are built into the game.)

A client settings menu can be found under Spawnmenu/Utilities/User/Player Status Icons where you can set which icons you want to see, and more.

Icons
In hierarchical order (increasing):
  • | Is AFK (A timestamp will also appear)
  • | Is using any kind of VGUI
  • | Is typing in chat (Might not work with custom chatboxes)
  • | Is in Spawnmenu
  • | Is in main menu
  • | Is Alt-tabbed (game window out of focus) (doesn't work on macOS clients)
  • | Is timing out (lost connection to the server)

Icons fade away when they are too small for recognition. (e.g. You're too far away.)

Convars
Server:
  • psi_sv_enabled 1/0 - Main power switch for the addon
  • psi_afk_timelimit 3 - [minutes] Sets the timelimit for the AFK flag to activate and the timestamp to appear
Client:
  • psi_cl_enabled 1/0 - Clientside power switch
  • psi_privacy_mode 1/0 - Only report AFK status to other players
  • psi_show_**** 1/0 - These convars will toggle specific icons
  • psi_height_offset 15 [source units] - Sets the overhead offset distance of the icons

Good to know
  • It logs nothing at all.
  • Supports cloaking for ULX and Maestro (might work with other admin mods too).
  • Works best with humanoid playermodels, though it will try to render icons somewhere over the player if it can't find a head attachment.
  • Currently there is no efficient way of detecting if a player is in Steam overlay, so that is not indicated.
  • For obvious reasons, this addon doesn't load in singleplayer.
  • There are no status messages - This addon doesn't spam your chatbox.
  • This addon was tested and made for Sandbox, I have no idea how / if it will work in other gamemodes.



Thanks to Phulax for assisting in the workshop icon design.
Thanks to Abuyin for helping me shoot some pictures for workshop.
Thanks to Pr0Face40 for helping me test the addon.

Report bugs, or request features on GitHub[github.com]
160 σχόλια
Juventud Cronica 15 Νοε, 9:28 
my favorite addon ever
Warrior201X 17 Σεπ, 7:35 
https://www.youtube.com/watch?v=nPo6jKg28RI

You dont really see it until a player has stopped, but it seems fine to me
Neyzox 11 Ιουλ, 21:43 
sadmin support ?
Joey Jeepy 5 Μαϊ, 17:25 
Can we get lambdaplayers support for this addon? This is awesome!!
🧉 raygun [r.c.i] 🧉 1 Μαρ, 14:15 
pito
NextKurome76TheSoldier 15 Ιαν, 17:23 
the existence of the PreDrawTranslucentRenderables hook prevents others from being loaded for some reason
MonieThu 17 Νοε 2024, 13:27 
Reminds me of Blockland :)
Don 20 Σεπ 2024, 17:21 
Now we need an npc status icon!
Haaax  [Δημιουργός] 10 Σεπ 2024, 11:52 
Orange Firefly That's odd, though I think it could happen if the system clock of the player who sent the status is ahead of yours. Does it happen with all players? Does it happen with other addons disabled?