thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: servers monitor plugin - advertise your game servers  (Read 8341 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
servers monitor plugin - advertise your game servers
« on: December 30, 2012, 02:08:53 AM »
Description :

With this plugin you will be able to display in-game the current status (ip:port, map, players/max, name) of the different game servers of your community.

Documentation
Download
« Last Edit: December 30, 2012, 02:14:05 AM by Courgette »

Offline tanka

  • Jr. Member
  • **
  • Posts: 46
Re: servers monitor plugin - advertise your game servers
« Reply #1 on: December 30, 2012, 05:36:02 PM »
I love the idea. Only issue I have is we currently advertise 10 servers. Is there no way to do a @server 1 command that can be used in the advertising plugin? Also it would be great if you could modify the output.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: servers monitor plugin - advertise your game servers
« Reply #2 on: December 30, 2012, 08:31:40 PM »
Thank you for the feed back. You ideas are available in v1.2 of this plugin.

Let us know how it goes

Offline Dragster

  • Newbie
  • *
  • Posts: 4
Re: servers monitor plugin - advertise your game servers
« Reply #3 on: December 31, 2012, 08:32:24 PM »
Courgette thanks for this nice plugin
Have it installed and allready loving it.
thanks and a happy new year :D

Offline tanka

  • Jr. Member
  • **
  • Posts: 46
Re: servers monitor plugin - advertise your game servers
« Reply #4 on: January 06, 2013, 04:16:08 PM »
Managed to get it working and it works great. Only issue I have is that I can't use it in the Adv plugin. When I add @servers 1 or @servers 2 it simply repeats that instead of echoing the server data.

Quote
130106 17:14:00   VERBOSE   "RCON sending (41.185.60.18:28961) 'say @servers 1'"
130106 17:14:01   VERBOS2   "RCON: Received ''"

Quote
<configuration plugin="adv">
   <settings name="settings">
      <set name="rate">1</set>
   </settings>
   <ads>
      <ad>@servers 1</ad>
      <ad>@servers 2</ad>
   </ads>
</configuration>

Am I doing something in correct or does the Adv plugin not support the server plugin?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: servers monitor plugin - advertise your game servers
« Reply #5 on: January 06, 2013, 07:07:07 PM »
The adv plugin does not have any link with this plugin.

Offline Xyn

  • Jr. Member
  • **
  • Posts: 27
    • Team #Lf Multigaming
Re: servers monitor plugin - advertise your game servers
« Reply #6 on: December 10, 2013, 05:21:44 AM »
Hi Courgette,

I have installed this plugin and set it up with all my servers address.

It starts normally, when you type !servers all infos are shown but the online players number is not retrieved, then replace with a ? for all servers but the one i'm connecting to is OK.

Example :

I'm connected to server 1 :

server 1: number of players is OK
server 2: ?
server 3: ?
...

I'm connected to server 2 :

server 1: ?
server 2: number of players is OK
server 3: ?
...

Is something misconfigured ?

Thanks !

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re:
« Reply #7 on: December 10, 2013, 08:07:51 AM »

Offline Xyn

  • Jr. Member
  • **
  • Posts: 27
    • Team #Lf Multigaming
Re: servers monitor plugin - advertise your game servers
« Reply #8 on: December 10, 2013, 02:49:51 PM »
I tried again and I understand now.

I did the test at night when servers were empty.

Then when there is no player on server, it displays a ? instead of 0

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: servers monitor plugin - advertise your game servers
« Reply #9 on: December 10, 2013, 11:14:07 PM »
would you mind posting your b3.log showing you typing the !server command and the reply showing '?' so I can fix that isse

Offline Kellithe

  • Jr. Member
  • **
  • Posts: 34
    • RoC
Re: servers monitor plugin - advertise your game servers
« Reply #10 on: December 11, 2013, 04:10:37 AM »
Hey Courgette,

GREAT idea for a plugin. I'd like to throw in a feature request:

I'd like for the status.xml files to be an option fo pulling player count and map name if possible. Game-monitor doesn't support BF3 or BF4 (or even CoD:BOps, but I think the quake3 option will work for that)

Cheers!

Offline Xyn

  • Jr. Member
  • **
  • Posts: 27
    • Team #Lf Multigaming
Re: servers monitor plugin - advertise your game servers
« Reply #11 on: December 11, 2013, 04:29:35 AM »
would you mind posting your b3.log showing you typing the !server command and the reply showing '?' so I can fix that isse

here it is

Code: [Select]
131211 04:22:16	CONSOLE	'0:48 say;***;0;#Lf.Xyn;\x15!servers'
131211 04:22:16 VERBOSE u'Queueing event Say !servers'
131211 04:22:16 VERBOSE 'Parsing Event: Say: AdminPlugin'
131211 04:22:16 DEBUG u'AdminPlugin: OnSay handle 5:"!servers"'
131211 04:22:16 DEBUG u'AdminPlugin: Handle command !servers'
131211 04:22:16 INFO "Updating info for Quake3ServerInfo('88.190.44.197:1024')"
131211 04:22:16 VERBOSE "'\\xff\\xff\\xff\\xffinfoResponse\\n\\\\protocol\\\\6\\\\hostname\\\\^4#^7Lf^1. ^1TDM Crk ^4F^7R^1A ^2ALL PERKS/WEAPONS\\\\mapname\\\\mp_showdown\\\\sv_maxclients\\\\40\\\\gametype\\\\war\\\\pure\\\\1\\\\kc\\\\1\\\\hw\\\\1\\\\mod\\\\0\\\\voice\\\\0\\\\pb\\\\0'"
131211 04:22:16 DEBUG "data: {'kc': '1', 'pb': '0', 'protocol': '6', 'hostname': '^4#^7Lf^1. ^1TDM Crk ^4F^7R^1A ^2ALL PERKS/WEAPONS', 'hw': '1', 'gametype': 'war', 'mapname': 'mp_showdown', 'pure': '1', 'sv_maxclients': '40', 'voice': '0', 'mod': '0'}"
131211 04:22:16 INFO "Updating info for Quake3ServerInfo('88.190.44.197:1026')"
131211 04:22:16 VERBOSE "RCON sending (127.0.0.1:1027) 'tell 0 ^4#^7Lf^1.Bot^7: ^3[pm]^7 ^4^4#^7Lf^1. ^1TDM Crk ^4F^7R^1A ^2ALL PERKS/WEAPONS ^0: ^388.190.44.197:1024 ^2mp_showdown ^5?^7/^540'"
131211 04:22:16 VERBOSE "'\\xff\\xff\\xff\\xffinfoResponse\\n\\\\protocol\\\\6\\\\hostname\\\\^4#^7Lf^1. TDM ^2HC ^4F^7R^1A\\\\mapname\\\\mp_crossfire\\\\sv_maxclients\\\\22\\\\gametype\\\\war\\\\pure\\\\1\\\\kc\\\\1\\\\hc\\\\1\\\\hw\\\\1\\\\mod\\\\0\\\\voice\\\\0\\\\pb\\\\0'"
131211 04:22:16 DEBUG "data: {'kc': '1', 'pb': '0', 'protocol': '6', 'hostname': '^4#^7Lf^1. TDM ^2HC ^4F^7R^1A', 'hw': '1', 'gametype': 'war', 'mapname': 'mp_crossfire', 'pure': '1', 'hc': '1', 'sv_maxclients': '22', 'voice': '0', 'mod': '0'}"
131211 04:22:16 INFO "Updating info for Quake3ServerInfo('88.190.44.197:1027')"
131211 04:22:16 VERBOSE "'\\xff\\xff\\xff\\xffinfoResponse\\n\\\\protocol\\\\6\\\\hostname\\\\^4#^7Lf^1. ^1DOM Crk ^4F^7R^1A\\\\mapname\\\\mp_bog\\\\clients\\\\1\\\\sv_maxclients\\\\23\\\\gametype\\\\dom\\\\pure\\\\1\\\\hw\\\\1\\\\mod\\\\0\\\\voice\\\\0\\\\pb\\\\0'"
131211 04:22:16 DEBUG "data: {'pb': '0', 'clients': '1', 'protocol': '6', 'hostname': '^4#^7Lf^1. ^1DOM Crk ^4F^7R^1A', 'hw': '1', 'gametype': 'dom', 'mapname': 'mp_bog', 'pure': '1', 'sv_maxclients': '23', 'voice': '0', 'mod': '0'}"
131211 04:22:16 INFO "Updating info for Quake3ServerInfo('88.190.44.197:1028')"
131211 04:22:16 VERBOSE '"\\xff\\xff\\xff\\xffinfoResponse\\n\\\\protocol\\\\6\\\\hostname\\\\^4#^7Lf^1. ^2Hide^1\'n\'^2Seek^7\\\\mapname\\\\mp_cargoship\\\\sv_maxclients\\\\22\\\\gametype\\\\hns\\\\pure\\\\1\\\\maxPing\\\\350\\\\game\\\\mods/hns\\\\kc\\\\1\\\\hw\\\\1\\\\mod\\\\1\\\\voice\\\\0\\\\pb\\\\0"'
131211 04:22:16 DEBUG 'data: {\'kc\': \'1\', \'pb\': \'0\', \'protocol\': \'6\', \'hostname\': "^4#^7Lf^1. ^2Hide^1\'n\'^2Seek^7", \'hw\': \'1\', \'gametype\': \'hns\', \'mapname\': \'mp_cargoship\', \'game\': \'mods/hns\', \'maxPing\': \'350\', \'pure\': \'1\', \'sv_maxclients\': \'22\', \'voice\': \'0\', \'mod\': \'1\'}'
131211 04:22:16 INFO "Updating info for Quake3ServerInfo('88.190.44.197:1029')"
131211 04:22:16 VERBOSE "'\\xff\\xff\\xff\\xffinfoResponse\\n\\\\protocol\\\\6\\\\hostname\\\\^4#^7Lf^1. ^2Promod SD\\\\mapname\\\\mp_citystreets\\\\sv_maxclients\\\\12\\\\gametype\\\\sd\\\\pure\\\\1\\\\game\\\\mods/promodlive217_lf_sd\\\\kc\\\\1\\\\hw\\\\1\\\\mod\\\\1\\\\voice\\\\0\\\\pb\\\\0'"
131211 04:22:16 DEBUG "data: {'kc': '1', 'pb': '0', 'protocol': '6', 'hostname': '^4#^7Lf^1. ^2Promod SD', 'hw': '1', 'gametype': 'sd', 'mapname': 'mp_citystreets', 'game': 'mods/promodlive217_lf_sd', 'pure': '1', 'sv_maxclients': '12', 'voice': '0', 'mod': '1'}"
131211 04:22:16 INFO "Updating info for Quake3ServerInfo('88.190.44.197:1030')"
131211 04:22:16 VERBOSE "'\\xff\\xff\\xff\\xffinfoResponse\\n\\\\protocol\\\\6\\\\hostname\\\\^4#^7Lf^1. ^1FFA Crk ^4F^7R^1A\\\\mapname\\\\mp_strike\\\\sv_maxclients\\\\18\\\\gametype\\\\dm\\\\pure\\\\1\\\\kc\\\\1\\\\hw\\\\1\\\\mod\\\\0\\\\voice\\\\0\\\\pb\\\\0'"
131211 04:22:16 DEBUG "data: {'kc': '1', 'pb': '0', 'protocol': '6', 'hostname': '^4#^7Lf^1. ^1FFA Crk ^4F^7R^1A', 'hw': '1', 'gametype': 'dm', 'mapname': 'mp_strike', 'pure': '1', 'sv_maxclients': '18', 'voice': '0', 'mod': '0'}"
131211 04:22:16 VERBOSE "Queueing event Admin Command (Command<servers>, '', None)"
131211 04:22:16 VERBOSE 'Parsing Event: Say: SpamcontrolPlugin'
131211 04:22:16 VERBOSE 'Parsing Event: Say: ChatloggerPlugin'
131211 04:22:16 DEBUG u'ChatloggerPlugin: ALL, 2, #Lf.Xyn, !servers'
131211 04:22:16 DEBUG 'ChatloggerPlugin: rowcount: 1, id:56207'
131211 04:22:16 VERBOSE 'Parsing Event: Say: CensorPlugin'
131211 04:22:16 VERBOSE 'Parsing Event: Say: IpfilterPlugin'
131211 04:22:16 VERBOSE 'Parsing Event: Say: MutePlugin'
131211 04:22:16 VERBOSE 'Parsing Event: Admin Command: ChatloggerPlugin'
131211 04:22:16 DEBUG 'ChatloggerPlugin: 2, #Lf.Xyn, Command<servers>, , None'
131211 04:22:16 DEBUG 'ChatloggerPlugin: rowcount: 1, id:2823'
131211 04:22:17 VERBOSE "RCON sending (127.0.0.1:1027) 'tell 0 ^4#^7Lf^1.Bot^7: ^3[pm]^7 ^4^4#^7Lf^1. TDM ^2HC ^4F^7R^1A ^0: ^388.190.44.197:1026 ^2mp_crossfire ^5?^7/^522'"
131211 04:22:18 VERBOSE "RCON sending (127.0.0.1:1027) 'tell 0 ^4#^7Lf^1.Bot^7: ^3[pm]^7 ^4^4#^7Lf^1. ^1DOM Crk ^4F^7R^1A ^0: ^388.190.44.197:1027 ^2mp_bog ^51^7/^523'"
131211 04:22:18 VERBOSE 'RCON sending (127.0.0.1:1027) "tell 0 ^4#^7Lf^1.Bot^7: ^3[pm]^7 ^4^4#^7Lf^1. ^2Hide^1\'n\'^2Seek^7 ^0: ^388.190.44.197:1028 ^2mp_cargoship ^5?^7/^522"'
131211 04:22:19 VERBOSE "RCON sending (127.0.0.1:1027) 'tell 0 ^4#^7Lf^1.Bot^7: ^3[pm]^7 ^4^4#^7Lf^1. ^2Promod SD ^0: ^388.190.44.197:1029 ^2mp_citystreets ^5?^7/^512'"
131211 04:22:20 VERBOSE "RCON sending (127.0.0.1:1027) 'tell 0 ^4#^7Lf^1.Bot^7: ^3[pm]^7 ^4^4#^7Lf^1. ^1FFA Crk ^4F^7R^1A ^0: ^388.190.44.197:1030 ^2mp_strike ^5?^7/^518'"

*Guid removed
I was connected on server #2 (DOM) all other servers were empty.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: servers monitor plugin - advertise your game servers
« Reply #12 on: December 12, 2013, 11:08:32 PM »
@Xyn: I'm sorry, but your game server does not provide the number of player in case it is empty. As the code is the same for all Quake3 based games, I can't change it just for Cod4.

@Kellithe: v1.3 adds support for BF3 server. Could you give this a try ?

 I would need a BF4 server ip:port to work on the BF4 support (I don't need the password). If you are willing to, you can send me that info by email : courgette (at) bigbrotherbot.net

Offline Xyn

  • Jr. Member
  • **
  • Posts: 27
    • Team #Lf Multigaming
Re: servers monitor plugin - advertise your game servers
« Reply #13 on: December 14, 2013, 04:05:40 PM »
@Xyn: I'm sorry, but your game server does not provide the number of player in case it is empty. As the code is the same for all Quake3 based games, I can't change it just for Cod4.


Can't you add a default value when there is no value provided by gameserver ?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: servers monitor plugin - advertise your game servers
« Reply #14 on: December 14, 2013, 04:28:32 PM »
I won't do that. But you can easily hack this in the plugin code.

Edit servermonitor.py, search the class Q3serverInfo, and in there you can replace the default value '?' with '0' at https://github.com/thomasleveil/b3-plugin-servermonitor/blob/master/extplugins/servermonitor.py#L208

 


Rate this page +1 at Google Search

anything