1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add-on [XF]Video Game Top-Site: Development Tracker

Discussion in 'Resource and Add-on Discussions' started by Andrew, Oct 10, 2013.

  1. Andrew

    Andrew Well-Known Member

    Hi everyone,

    I am creating this thread to track the progression of a Top-Site add-on that I am developing. This add-on was originally requested here. I will update this thread often with planned features and development progress. Don't know what a top-site is? Here is an example.

    Current Goals and Objectives (in no particular order):
    Below are some of the planned features for server listings/display.

    Server Entries will include:
    List of Supported Games:
    Current Development Notes:
    MCS = Minecraft Server (but can be any type of supported game server)
    GQ-Ping = GameQ Library & my pingServer.php file
    Cron = Automatic calling of pingServer.php file
    DB = Database
    Server List = top site version of the list (what the user see's)

    To try and save server resources this is what I have come up with. Every X amount of time, we will run a cronjob that will trigger our "pingServer.php" file. This file will communicate with the database and figure out which server needs to be pinged (next). Once the ping is done and the results are back, we update the database with the new server stats (players online etc). Then when a user wants to see those stats, they will invoke a different file (serverList.php) and it will return to them a list of game servers. This seems to be more efficient than letting the user ping game servers directly. If you have a popular website and you have 200 users trying to ping a list of 1,000 servers, that is 200,000 pings. Not cool. If anyone has any additional infomation they would like to add to this, please don't hesitate. But remember to play nice :D

    If you have any questions or feature requests, please post them below. Thanks for viewing.
    Last edited: Oct 11, 2013
    chikarkas36, intradox and silence like this.
  2. Matthew Hawley

    Matthew Hawley Well-Known Member

    Will this be paid?
  3. Andrew

    Andrew Well-Known Member

    I haven't decided yet if this will be free or paid. I may do a lite and a full featured version. Let me see how much work actually is going to go into it and I will figure that out later. Thank you for your interest.
  4. intradox

    intradox Well-Known Member

    If it comes with enough features I'll be happy to pay as it looks promising! :)

    - I would recommend a way to have customfields per game category.

    If you run into trouble for querying servers let me know.


    Also, I would recommend a tab interface like in resource manager.
    Overview Tab for server description, etc.
    Thread/Comments/Reviews Tab
    Embed Tab:
    contains bbcode, script tag, image banner, etc. for suers to embed the server across the web.
    Stats Tab: show ping, uptime, players online, etc over the past day, week, month, etc.
    Gallery Tab?: allows users and server owner to upload images from server. Could allow the server community to share their in-game experiences.
    Last edited: Oct 10, 2013
  5. Matthew Hawley

    Matthew Hawley Well-Known Member

    *cough* free *cough* ;) :p
  6. Andrew

    Andrew Well-Known Member

    I'll see what I can do :D

    Today I was able to get the results of a ping, and add them to a database. Then display the results on another file. Next thing to do, is have the script loop through the database and update all servers, instead of just one, like I have working right now. I'll save this for tomorrow.

    Going to update original post with this new info.

  7. chikarkas36

    chikarkas36 Active Member

    Sweet When this its released !
  8. Drum1

    Drum1 New Member

    I would pay like $25 in a heartbeat for a plugin that works like this.
  9. Matthew Hawley

    Matthew Hawley Well-Known Member

    I think a complex addon like this would cost more than $25 dollars.
  10. Drum1

    Drum1 New Member

    I'll pay it. This would be amazing.
  11. Andrew

    Andrew Well-Known Member

    I would love to finish this project, but there doesn't seem to be really that much interest in this. If people want this I would be happy to finish it for a fee. :D
  12. GAP

    GAP Member

    This is my second day with Xenforo. I have no idea how to put together a plugin for Xenforo. However, I do know PHP and I have good idea how to make the server page. I'm working on such a page right now:


    I've got the rough page up and running. Mine only supports querying Source Engine servers (CSS, CSGO, NMRiH, etc). I did not know about the GameQ lib. I will switch now.

    One feature I implemented for my page is automatic linking for HTML MOTDs (with the option for manual override). That is, based on the IP and Port of the server, I check for a corresponding HTML page containing the MOTDs (E.g. http://site.com/motd/ If the MOTD page exists, it is linked to the server's MOTD.

    Another feature is automatic grouping of servers of the same type with the option of manual override. The page checks the mod each servers is running and groups together servers running the same mod. The mod can be manually specified/overwritten. This is useful for me because I only want to specify the server's IP and port, and nothing more. (This works because I query Source servers only... one protocol)

    I'm working on implementing cache for the page so that the servers (or database for that matter) need not be queried every time someone visits the server page.

    I'm also working on displaying full servers first (that is servers that have the most players in them).

    If/when I learn to make Xenforo plugins, I might make this into a plugin. For right now, I will keep it as a standalone PHP script and run it in Xenforo using something like Kotomi (a generic script bridge).
    Chillers, Tommo and Drum1 like this.
  13. CoZmicShReddeR

    CoZmicShReddeR Active Member

    Hey Andrew I would have shown a lot of interest in this if I knew about it! Funny thing is I bet there are 100 and possibly 1000 of people wanting this but for whatever reason nobody seen this? I just found it today searching outside of Xenforo! :eek:
  14. vanucci

    vanucci Active Member

    just found this... I'd be interested in this
  15. Tyler James Ronek

    Tyler James Ronek New Member

    Will this project ever be complete? I would really like this for my xenforo site

Share This Page