Minecraft Forum Portal

For the denizens of the Minecraft servers
Post Reply
belak
Villun
Villun
Posts: 330
Joined: Sun Apr 01, 2012 12:51 am
Location: Bellevue, WA

Games Played

Ville Awards

belak51’s avatar
Loading…

Minecraft Forum Portal

Post by belak » Wed Aug 27, 2014 10:02 pm

Hi again everyone! This is based on quite a few different things, most notably the current portal pages and a few Minecraft protocol references. It's actually a few months old, but this is the first public posting.

This uses the Minecraft query protocol (the same one they use in the official Minecraft client) to get the usernames from the server and display them similar to how we show who's currently on the TF2 servers.

http://quigley.coded.io/ville/

I don't have a way of including it on the front page, but maybe some day. :)

And, as before, here's the code: https://gist.github.com/belak/94821f129b077a755686
serverlist.css and serverlist.js are both copied from the Ville and included there for completeness.

Also as before, please let me know if you have any comments or questions. Enjoy!

Flash
Site Admin
Site Admin
User avatar
Posts: 6390
Joined: Sun Apr 18, 2010 12:01 pm
Location: Houston, TX
Minecraft name: FlashTVR
Contact:

Games Played

Ville Awards

Flash.TVR’s avatar
Snooze

Re: Minecraft Forum Portal

Post by Flash » Wed Aug 27, 2014 10:28 pm

It's already on the to-do list for when Dog gets back from vacation! :wink:

belak
Villun
Villun
Posts: 330
Joined: Sun Apr 01, 2012 12:51 am
Location: Bellevue, WA

Games Played

Ville Awards

belak51’s avatar
Loading…

Re: Minecraft Forum Portal

Post by belak » Thu Aug 28, 2014 12:24 am

:D

John Doe
Site Admin
Site Admin
Posts: 8035
Joined: Sun Oct 22, 2006 10:55 pm
Contact:

Games Played

Ville Awards

Re: Minecraft Forum Portal

Post by John Doe » Thu Aug 28, 2014 9:30 pm

Yep, Dog got off his leash and now were having a hard time getting him to come back to the yard :)

belak
Villun
Villun
Posts: 330
Joined: Sun Apr 01, 2012 12:51 am
Location: Bellevue, WA

Games Played

Ville Awards

belak51’s avatar
Loading…

Re: Minecraft Forum Portal

Post by belak » Mon Sep 08, 2014 3:23 pm

I updated the code on my site, so it now grabs the data in the same way the minecraft client does. As such, it should have the correct user count and the correct users.

Edit: Just changed the code to use the library I was basing it off of... no point in copying half the library when I don't need to.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests