franga2000 / BungeeStatus

A PHP powered website to show players the status of your BungeeCord network
GNU General Public License v2.0
9 stars 7 forks source link

It show only 4 servers instead of 6 #3

Closed gidonyou closed 10 years ago

gidonyou commented 10 years ago

Hello, I'm looking forward to use this server status, However, when I config, I get only 4 instead of 6.. here is the website (http://www.acworlds.net/status/) Thanks for the support!

franga2000 commented 10 years ago

Could you post your server.json file? You can change the ports and IPs if you don't want them seen or just send it to my email: lolf2000@gmail.com

Also: Did you edit the file manually or did you use the admin panel?

gidonyou commented 10 years ago

Json File: http://www.acworlds.net/status/servers.json I have used admin panel to config/add the servers...

PS: If I don't want them to see my file, then I didn't post the server domain.. PSS: Can you add feature that we can change order of the server?

franga2000 commented 10 years ago

I'll test it as soon as my servers get back up.

PS: I mixed up the versions. In my dev build you can't access the file externally PPS: I'm planning on adding groups in the next update and since I'm rewriting the loading system, I suppose I could add that in too.

gidonyou commented 10 years ago

Any Updates?

franga2000 commented 10 years ago

You json config seems strange. For some reason, your config had IDs for each server.

Here's the fixed config:

{
  "servers": [
    {
      "Name":"AC WORLD (BUNGEE)",
      "Adress":"localhost",
      "Port":"25565",
      "Description":"The server basically hold you!",
      "Offline_reason":""
    },
    {
      "Name":"Lobby (HUB)",
      "Adress":"localhost",
      "Port":"25566",
      "Description":"Lobby.. What do you think?",
      "Offline_reason":""
    },
    {
      "Name":"Factions (Beta 2)",
      "Adress":"localhost",
      "Port":"25568",
      "Description":"Faction World!",
      "Offline_reason":""
    },
    {
      "Name":"Build",
      "Adress":"localhost",
      "Port":"25569",
      "Description":"Where you build your houses.. (STAFF ONLY)",
      "Offline_reason":""
    },
    {
      "Name":"Mini-game 1 (MG1)",
      "Adress":"localhost",
      "Port":"25570",
      "Description":"Where we test LAW",
      "Offline_reason":""
    },
    {
      "Name":"PVP1",
      "Adress":"localhost",
      "Port":"25580",
      "Description":"PVP1 Server",
      "Offline_reason":""
    }
  ]
}