View Single Post
Author Message
rig0r
Member
Join Date: Dec 2009
Old 12-30-2009 , 10:25   Server Hop [v0.8.1, updated 2010-03-21]
Reply With Quote #1



Server Hop
by [GRAVE] rig0r (http://www.gravedigger-company.nl)

About

Server Hop allows players to easily hop between servers you specify. There are other plugins that do this, but this one provides live server info and does not require anything other than the Socket extension (see below). The plugin refreshes server info every minute. Servers that are unreachable will be omitted from the menu until they are reachable again. By default, servers will be advertised to the players every minute.

For who

If you are a server admin with multiple servers under your wing and want your players to be aware of all of them and able to easily hop between them then this is the plugin for you This plugin was developed for usage on TF2 servers but is known to work on CSS and L4D servers as well.


Usage

The plugin is activated by typing "!hop" or "!servers". The player will get a menu with the servers you configured, and for each displays the servername, mapname and number of active players and number of maximum players. By pressing the number of the desired server and then confirming by pressing F3 (default) the player will automatically join the server in question. If the default F3 key doesn't work for you or you want to bind another key, type this in console:

Code:
bind "F3" "askconnect_accept"

Installation

  1. Install the Socket extension on your server. Get it here: http://forums.alliedmods.net/showthread.php?t=67640
  2. Unzip serverhop-0.x.zip in your sourcemod directory
  3. Stick your servers into sourcemod/config/serverhop.cfg
  4. Activate the plugin by refreshing (sm plugins refresh) or restarting your server
  5. Optionally configure the plugin in cfg/sourcemod/plugin.serverhop.cfg
Configuration (cfg/sourcemod/plugin.serverhop.cfg)
  • sm_hop_advertise
    • set to 1 to enable server advertisements
    • default: 1
  • sm_hop_advertisement_interval
    • advertise a server every x minute(s)
    • default: 1
  • sm_hop_trigger
    • specifies what players have to type to activate the plugin (besides !hop)
    • default: "!servers"
  • sm_hop_serverformat
    • specifies how server information is presented in the menu
    • default: "%name - %map (%numplayers/%maxplayers)"
  • sm_hop_broadcasthops
    • set to 1 to have the plugin display a message to all when a player hops to another server
    • default: 1
Changelog

2010-03-21, v0.8.1
  • bugfix: plugin broken after steam/server update (no server response received)
2010-01-10, v0.8
  • added server advertisements
  • added autoconfig (cfg/sourcemod/plugin.serverhop.cfg)
  • stability improvements on server-down situations where a server does listen on the port specified but does not reply within x seconds
2010-01-05, v0.61
  • bugfix: servers that went down would still show up in the menu
2010-01-03, v0.6
  • bugfix: long servernames are now displayed properly
  • added translation option (only english is included for now)
  • added sm_hop_trigger to configure text that activates plugin (!hop always works)
2009-12-30, v0.5
  • initial release
Thanks

I would like to thank sfPlayer for his Socket extension

Attached Files
File Type: zip serverhop-0.8.1.zip (11.6 KB, 19094 views)
__________________

Last edited by rig0r; 03-21-2010 at 16:04.
rig0r is offline