AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Steam Profile + SteamID Viewer (https://forums.alliedmods.net/showthread.php?t=261483)

Chdata 04-13-2015 16:39

[ANY] Steam Profile + SteamID Viewer
 
[ANY] Steam Profile + SteamID Viewer
Before you give a suggestion, read the TODO list. It's probably already there.

Description:
  • This is a rewrite and release of the plugin provided in this old post and supposedly an improvement upon the old profile view plugin.

    Made this like a year ago and decided to release it now.

    I threw in /id because it's more convenient than opening console and typing status to me and was easy enough to remake without bothering to search for an existing one. I bet all the old ones still use GetClientAuthString anyway, which is deprecated and ?can fail?.

    Uses Advanced MOTD. You can enable BigMOTDs in TF2 by recompiling with that setting set to true.

    Funfact: If you use SMAC, /smac_status can display a list of steam2 IDs and userids.
Commands:
  • /id, /steamid <#userid|playername> - (Default: ADMFLAG_BAN) Prints out a user's steam2 ID, steam3 ID, and steam profile link.
  • /profile <steamid|#userid|playername> - (Default: Useable by anyone) Opens a MOTD to view the target's profile. Works for any steam2/steam3 id too. If you use the command as console, it'll just print out the url.
Installation:
  • Get Plugin & Drag n' Drop to addons/sourcemod/plugins/
Changelist:
Quote:

Version 0x01

* Initial release!
TODO:
Quote:

* Maybe make it work for players not fully in-game yet?
* Detect steam64 ids for direct profile opening.
* Print out the link if the user has html MOTDs disabled.
* Print #userid.
Want support?
  • Post questions and...
    Post a question on my steam profile if you have questions not related to this plugin.
Wanna support me?
  • Post suggestions (read the TODO list first) and...
    Join TF2Data and play on our servers! ;p
    (See siggy for links!)
Download profile.smx here!
D-don't stare at my source code so much...

Nanochip 04-13-2015 17:29

Re: [ANY] Steam Profile + SteamID Viewer
 
I highly doubt this, but I'm going to go out on a limb and ask anyways:
Is it possible to type !steamid Nanochip and the steamid automatically gets copied to your clipboard?
If so, mind implementing it into this?

I've seen this in Garry's Mod, so just curious if it was even remotely possible with Sourcepawn.

Chdata 04-13-2015 18:08

Re: [ANY] Steam Profile + SteamID Viewer
 
I doubt it.

I usually just use /profile and then rightclick->copy link address if I want to link it to someone else.

WildCard65 04-13-2015 18:15

Re: [ANY] Steam Profile + SteamID Viewer
 
Quote:

Originally Posted by Nanochip (Post 2285876)
I highly doubt this, but I'm going to go out on a limb and ask anyways:
Is it possible to type !steamid Nanochip and the steamid automatically gets copied to your clipboard?
If so, mind implementing it into this?

I've seen this in Garry's Mod, so just curious if it was even remotely possible with Sourcepawn.

The garry's mod addon/mod you speak of probably has a client side version which is told what to put in the clipboard.

Allower 04-28-2016 15:46

Re: [ANY] Steam Profile + SteamID Viewer
 
Does this support CS: GO?

DarkDeviL 05-01-2016 10:04

Re: [ANY] Steam Profile + SteamID Viewer
 
Quote:

Originally Posted by Allower (Post 2415001)
Does this support CS: GO?

Technically, this plugin supports all games that supports the MOTD features.

It is CS:GO that doesn't support ("behave properly") with things using MOTD's.

Unfortunately, it seems like on the code that this plugin sends the MOTD on the usual way, meaning that CS:GO may not support this plugin without modifications. But this modification, if necessary, will be very tiny.


All times are GMT -4. The time now is 06:07.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.