csgo-skin-tester-sm
csgo-skin-tester-sm copied to clipboard
This is the SourceMod plugin for the CS:GO Skin Tester, a tool that allows you to test CS:GO skins in-game on a community server.
CS:GO Skin Tester SourceMod Plugin
This is the official CS:GO Skin Tester plugin which allows you to inspect the skins of other players in-game.
Installation
1. Get yourself some Steam Game Server Login Tokens
You need a Game Server Login Token (GSLT) in order to run a CS:GO server. In the past, Steam banned the GSLT of servers that used plugins that give players skins that they don't actually own. This is currently not the case anymore, but you might still not want to use your own GSLT. There is an easy solution for this: csgotokens.com provides an awesome service. You can buy tokens for your CS:GO server there.
2. Download the plugin
You bought some game server tokens? Okay, nice! The next step is to download this repository and extract the .zip file.
3. Configure the plugin
Now you need to configure the plugin. Navigate to cfg/sourcemod and open the file csgo_skin_tester.cfg with a text editor. Fill out the socket IP and socket port where your CS:GO Skin Tester Backend is running.
4. Upload files to your CS:GO server
After providing the config file with the socket connection settings, you can now upload the files to your game server. You only need to upload the addons and the cfg folder, they go into the game root folder (usually called csgo) of your server.
5. Change the SourceMod config
On your game server, navigate to addons/sourcemod/configs and open the file core.cfg. Search for FollowCSGOServerGuidelines
and set it to no
. Save and close the file.
6. Restart your server and test the plugin
The plugin will require a server restart in order to work. After your server has been restarted, you're ready to go.
Requirements
All requirements are already included in the repository, you don't need to download and install them yourself.
- SteamWorks - Used for communication with the HTTP API
- Socket - Used for communication through sockets
- SMJansson - Used for JSON encoding and decoding
- PTaH - Used for weapon event hooks
Debugging
You can set the console variable debug_csgo_skin_tester
to 32
and the plugin will log detailed messages to addons/sourcemod/logs/debug_csgo_skin_tester.log. The plugin uses Dr. McKay's logdebug implementation, more information can be found at the AlliedMods thread.
ConVars
- sm_st_socket_ip - IP address of the socket server (DEFAULT: "")
- sm_st_socket_port - Port of the socket server (DEFAULT: "")
- sm_st_chat_prefix - The prefix that is used when printing chat messages (DEFAULT: "CS:GO Skin Tester")
Recommended Server Settings
mp_ignore_round_win_conditions 1
mp_force_pick_time 0
mp_respawn_on_death_ct 1
mp_respawn_on_death_t 1
mp_respawnwavetime_ct 1.0
mp_respawnwavetime_t 1.0
mp_use_respawn_waves 1
mp_do_warmup_period 0
mp_roundtime 60
sv_hibernate_when_empty 0
mp_solid_teammates 0
Software Suite
The CS:GO Skin Tester SourceMod Plugin works in conjunction with a set of related tools. At least the NodeJS Backend is required to make it work.
- NodeJS Backend
- SourceMod Plugin (this repository)
- Frontend
- Chrome Extension