AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Server Hop [v0.8.1, updated 2010-03-21] (https://forums.alliedmods.net/showthread.php?t=113807)

rig0r 12-30-2009 10:25

Server Hop [v0.8.1, updated 2010-03-21]
 
1 Attachment(s)
http://www.gravedigger-company.nl/kb...ger-notext.jpg

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 :wink: 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 :up:


Antithasys 12-30-2009 14:41

Re: Server Hop [v0.5, released 2009-12-30]
 
Good job. :mrgreen:

I have been waiting for someone to use AS2 queries to make this happen. Messed around with it some myself, but never had the time to finish it.

Will be testing this soon.

Maind 12-30-2009 14:56

Re: Server Hop [v0.5, released 2009-12-30]
 
Can u add translate option :P and i better like to open that by say: /servers than !servers.

edit:
and 1 more thing :P can u delete confirm by click f3?

shustas 12-30-2009 15:24

Re: Server Hop [v0.5, released 2009-12-30]
 
wow, something new and handy at last. There is 1 plugin like yours, but that one requires mysqls websites and just whole bunch of other factors to make it happen.
Just 1 question. Socket extension I read somewhere is not very stable and tends to crash server. Is it some new version now or something?

rig0r 12-30-2009 16:39

Re: Server Hop [v0.5, released 2009-12-30]
 
Quote:

Originally Posted by Antithasys (Post 1036768)
Good job. :mrgreen:

I have been waiting for someone to use ASL queries to make this happen. Messed around with it some myself, but never had the time to finish it.

Will be testing this soon.

Thanks, let me know how it works for you :)

Quote:

Originally Posted by Maind (Post 1036786)
Can u add translate option :P and i better like to open that by say: /servers than !servers.

edit:
and 1 more thing :P can u delete confirm by click f3?

I'll look into translation. I cannot delete the confirmation thingy as it is builtin at a lower level.

Quote:

Originally Posted by shustas (Post 1036816)
wow, something new and handy at last. There is 1 plugin like yours, but that one requires mysqls websites and just whole bunch of other factors to make it happen.
Just 1 question. Socket extension I read somewhere is not very stable and tends to crash server. Is it some new version now or something?

Thanks. I know of that plugin, but I didn't like the MySQL requirement. The socket extension is in alpha state, but the author says it should be stable. I haven't had any crashes on the servers we run it on so I think it's all good.

noodleboy347 12-30-2009 18:14

Re: Server Hop [v0.5, released 2009-12-30]
 
This works great! Thanks!

Keksmampfer 12-31-2009 10:54

Re: Server Hop [v0.5, released 2009-12-30]
 
works with css, nice work !!!!!!!!!!

Can you add an autoconfig?

shustas 12-31-2009 14:53

Re: Server Hop [v0.5, released 2009-12-30]
 
I love this, works like a charm

DontWannaName 12-31-2009 16:15

Re: Server Hop [v0.5, released 2009-12-30]
 
Is there any other way to get live stats without using Socket extension? The more extensions I run the more I have to worry about after an update or for crashes. :/

rig0r 01-02-2010 07:19

Re: Server Hop [v0.5, released 2009-12-30]
 
Quote:

Originally Posted by noodleboy347 (Post 1037009)
This works great! Thanks!

Thank you :)

Quote:

Originally Posted by Keksmampfer (Post 1037770)
works with css, nice work !!!!!!!!!!

Can you add an autoconfig?

Cool ! Not sure what you mean by autoconfig ?

Quote:

Originally Posted by shustas (Post 1038108)
I love this, works like a charm

Thank you :)

Quote:

Originally Posted by DontWannaName (Post 1038240)
Is there any other way to get live stats without using Socket extension? The more extensions I run the more I have to worry about after an update or for crashes. :/

There is a similar plugin that uses a MySQL database but that requires a MySQL database (duh :P) I feel your pain but I have had no issues with the Socket extension sofar.


All times are GMT -4. The time now is 17:03.

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