Closed rocktrns closed 8 years ago
You need to pass the port. In your case 158.69.155.148:25565 works for me. See https://github.com/Austinb/GameQ/wiki/Examples%20v3 for examples. Server port is required for every server being used.
Array
(
[158.69.155.148:25565] => Array
(
[dedicated] => 1
[game_id] => MINECRAFT
[gametype] => SMP
[gq_address] => 158.69.155.148
[gq_dedicated] => 1
[gq_gametype] => MINECRAFT
[gq_hostname] => Welcome to PC Gaming Forum!
[gq_joinlink] => minecraft://158.69.155.148:25565/
[gq_mapname] => world
[gq_maxplayers] => 200
[gq_name] => Minecraft
[gq_numplayers] => 6
[gq_online] => 1
[gq_password] => 0
[gq_port_client] => 25565
[gq_port_query] => 25565
[gq_protocol] => gamespy3
[gq_transport] => udp
[gq_type] => minecraft
[hostip] => 158.69.155.148
[hostname] => Welcome to PC Gaming Forum!
[hostport] => 25565
[map] => world
[maxplayers] => 200
[numplayers] => 6
[password] => 0
[players] => Array
(
)
[plugins] => CraftBukkit on Bukkit 1.8.8-R0.1-SNAPSHOT: TuxTwoLib 1.8.4-b6; WorldBorder 1.8.3; BossBarReloaded 1.0.1; PlugMan 2.0.8; AnimatedNames 3.9.0; MCStatTrak 1.0; BukkitCompat R22A; Buycraft 6.8.2; MassiveCore 2.8.6; Vault 1.5.6-b49; Tablist 1.2.3.7; Chairs 4.6; ChestRegen 2.5.1; EnderPearlCoolDown 1.5.0; WhatIsIt 1.3.9; BanManager 5.8.0; SimpleDynamicMotd 1.0; ProtocolLib 3.6.4; Votifier 1.9; SuperTrails 9.3; afkTerminator 3.0.2; TimTheEnchanter 3.0; Citizens 2.0.16-SNAPSHOT (build 1247); MultiInv 3.3.5; WorldEdit 6.0,3342-78f975b9; ChatControl 5.2.7; SignEditor 1.07; Skript 2.1.2; PermissionsEx 1.23.4; HealthBar 1.8.2; PluginManagerReloaded 1.0.0; Bounty 4.1.2; WorldGuard 6.1; VoteRoulette 3.2.1; CoreProtect 2.12.0; ClearLag 2.9.0; PVPMoney 0.7.4; Essentials TeamCity; floAuction 3.1.0; Trading 3.2; SignURLs 1.0.5; RestrictCreative 1.6; PlotMe 0.17.4; Denizen 0.9.7-SNAPSHOT (build 1605); CompatNoCheatPlus 6.6.2-RC-sMD5NET-b83; Admin-Chat-Channel 1.3.0; ChestShop 3.8.12; EssentialsChat TeamCity; EssentialsKitManager 1.0.4; PlotMe-DefaultGenerator 0.17.1; NoCheatPlus 3.13.7-RC-sMD5NET-b925; EssentialsSpawn TeamCity; EssentialsGeoIP TeamCity; Factions 2.8.6; ServerSigns 4.4; Multiverse-Core 2.5-b713; ObsidianDestroyer 4.3.0; SurvivalGames Beta dev1.9.4b; Sentry 1.8.5; CombatLog 1.8.11-hack; MythicMobs 2.1.9; HolographicDisplays 2.1.10; CasinoSlots 2.6.0-SNAPSHOT-b50; Autorank 3.7.2; AreaShop 2.2.1; Multiverse-Portals 2.5-b735; HeavySpleef 2.2; ColorShuffle 1.5; Multiverse-NetherPortals 2.5-b704
[teams] => Array
(
)
[version] => 1.8.8
)
)
We had a coded a gameserver viewer for our forum and for some reason our Minecraft server keeps reporting as offline when it is not.
Our IP is mc.pcgamingforum.org or http://158.69.155.148/