Jump to content

Recommended Posts

Posted

(aXen) Advanced Server List

Zobacz plik

Server table showing server information about the status, name, number of players, current map and their owners as applications on IPS Community Suite.

 

 ? ? === Demo === ? ?

 

Other features:

  • Set your own fields for the server: Name, Own name, IP, Own IP, Statistics URL, TV URL, Vote URL, Forum URL,
  • Highlight for the server,
  • Special badge for the new server,
  • Hiding server owners in button,
  • The scroll that the user can control,
  • Color filling of players,
  • RWD,
  • Lazy loading in img icons,
  • Table in 2 columns that the user can control,
  • Debug mode for server (A reason can be enter),

  • Separate page for server list,

  • Refresh data servers button in AdminCP,

  • Custom connect URL to the server

 

?️ Requirements

  • PHP 7.4+ - For IPS 4.6

  • PHP 8.0+ - For IPS 4.7

  • Bzip2 - Used for A2S Compressed responses
  •  Unlocked external ports on the website server (UDP)

 

? Compatible servers

  • America's Army 3
  • America's Army: Proving Grounds
  • ARK: Survival Evolved
  • Arma3
  • Battlefield 2
  • Battlefield 3
  • Battlefield 4
  • Battlefield 1942
  • Battlefield Bad Company 2
  • Battlefield Hardline
  • Call of Duty
  • Call of Duty 2
  • Call of Duty 4
  • Call of Duty: United Offensive
  • Call of Duty: World at War
  • Conan Exiles
  • Contagion
  • Counter-Strike 1.6
  • Counter-Strike: Condition Zero
  • Counter-Strike: Global Offensive
  • Counter-Strike: Source
  • DayZ Standalone
  • DayZ Mod
  • Discord
  • Garry's Mod
  • GRAV Online
  • GTA: Five M
  • GTA: San Andreas Multiplayer
  • Grand Theft Auto Network
  • Half Life 2: Deathmatch
  • Hurtworld
  • Insurgency
  • Star Wars Jedi Knight: Jedi Academy
  • Star Wars Jedi Knight II: Jedi Outcast
  • Just Cause 2 Multiplayer
  • Just Cause 3
  • Killing Floor
  • Killing Floor 2
  • Left 4 Dead
  • Left 4 Dead 2
  • Minecraft
  • Medal of honor: Allied Assault
  • Multi Theft Auto
  • Mumble Server
  • Natural Selection 2
  • Quake 2 Server
  • Quake 3 Server
  • Quake Live
  • Red Orchestra 2
  • Rust
  • 7 Days to Die
  • The Ship
  • Squad
  • StarMade
  • Teamspeak 3
  • Teeworlds Server
  • Terraria
  • Team Fortress Classic
  • Team Fortress 2
  • Team Fortress 2 Classic
  • Tibia
  • Tshock
  • Unreal 2
  • Unturned
  • Unreal Tournament 3
  • Unreal Tournament 2004
  • Ventrilo
  • Warsow
  • World Opponent Network

In future versions, new servers will be added to the list.

 

? Configuration

Mods:

  1. Go to: AdminCP -> Community -> Advanced Server List -> Mods -> Create new,
  2. Provide a name mod in Name,
  3. Choose a protocol mod in Protocol,
  4. Click save.

Servers:

  1. Go to: AdminCP -> Community -> Advanced Server List -> Servers -> Create new,
  2. First you have to choice mod in Mod,
  3. Provide a custom name in Custom name for example: JailBreak,
  4. Provide a address IP in IP for example: 145.239.16.78:27015.
     Some servers like TeamSpeak 3 require a Query port!
  5. Click save.

 

Discord configuration

You have to configurate Discord Widget which will return a value:

  • name,
  • instant_invite,
  • presence_count

To add a discord server you have to enter the widget ID in the IP field.

 

If you want check return values from your server discord check from json file:

https://discordapp.com/api/guilds/{your ID widget form discord}/widget.json

for example: https://discordapp.com/api/guilds/720054040116854835/widget.json

 

TeamSpeak 3 Permissions

If after adding TeamSpeak 3 server but it's still offline then check permissions for guest group:

b_virtualserver_info_view
b_virtualserver_channelgroup_list
b_virtualserver_client_list
b_virtualserver_channel_list

 

? Custom API

From version 2.0.0, the table supports your own custom API. To activate your custom API follow the instructions:

  1. Go to: AdminCP -> Community -> Advanced Server List -> Mods -> Create new,
  2. Provide a name mod in Name,
  3. Choose a Custom API,
  4. Provide address URL in Address URL for example: https://query.li/api/csgo/{ip}/{port},
  5. Provide a fields form your Custom API.
  6. If your API return JSON for example:
    {
       data: {
          "status": 1
       }
    }
    then your field equal status,
  7. Click save.

 

Open source application! Anyone can take part in the development of the application!


  • Dodający
  • Dodano
    05.03.2021
  • Kategoria
  • Wspierana wersja IP.Board
    4.6, 4.7

 

See me on GitHub or aXenDev.net!

  • 3 weeks later...
Posted (edited)

Witam, przy dodawaniu serwera Discord do tabelki występuję błąd.

Dodaje link serwera discord, bądź ID serwera oraz wchodzę na link podany wyżej pisze 

{"message": "Widget Disabled", "code": 50004} 

 

Proszę o pomoc @aXen

 

 

 

 

//Edit Poradziłem sobie już, dzięki

Edited by Skolim
Posted
13 minutes ago, MichaelKosa said:

Witam serdecznie, @aXen po aktualizacji wtyczki liczba ludzi obecnych wskazuje 1/1

 

discord.png.fc1c4f28cc2f909a485ab65ee7745b50.png

Błąd zostanie naprawiony w następnej aktualizacji. Dzięki!

 

Jako tymczasowe rozwiązanie proponuje nadpisać ten plik z repozytorium:
https://github.com/aXenDeveloper/ips-app-advanced-serverlist/blob/master/tasks/aXenServersQueryServers.php

  • Thanks 1

See me on GitHub or aXenDev.net!

Posted

@aXen
Cześć zaktualizowałem sobie tabelką do najnowszej wersji i z automatu mi się wyłączyła, a przy próbie włączenia jej pokazuje mi się błąd Klucz ochrony CSRF się nie zgadza:
 

Cytat

image.thumb.png.98d47a54a11c7bb5b9088a7e0ccc923f.png

Wersję IPS też mam najnowszą

Posted (edited)

Jak dodać poprawnie dc do tabelki? Dodaje ID widgetu, ale nie działa dobrze pokazuje 1/1 oraz nie ma przycisku połącz.

Edited by Damiann.
Posted
8 minutes ago, Damiann. said:

Jak dodać poprawnie dc do tabelki? Dodaje ID widgetu, ale nie działa dobrze pokazuje 1/1 oraz nie ma przycisku połącz.

Zapewne widget taką liczbę zwraca. Sprawdź ustawienia widgetu.

Co do linku połączenia to widget też powinien go zwracać.

 

Więcej tutaj: https://github.com/aXenDeveloper/ips-app-advanced-serverlist#discord-configuration

See me on GitHub or aXenDev.net!

Posted
2 minuty temu, aXen napisał:

Zapewne widget taką liczbę zwraca. Sprawdź ustawienia widgetu.

A mam coś tam zmienić w tych ustawieniach?

Posted
6 minut temu, aXen napisał:

Widget musi zwracać wartości:

  • name,

  • instant_invite,

  • presence_count

Ok pozmieniane, ale przycisku połącz nie mam

Posted

Tam gdzie masz IP tam musisz podać ID serwera, nie podajesz go w nazwie Custom name, z tego co widzę trochę chyba pousuwałeś z kodu pewne kody i brakuje plików pewnie, stąd takie działanie pluginu

Posted (edited)
6 minut temu, MichaelKosa napisał:

Tam gdzie masz IP tam musisz podać ID serwera, nie podajesz go w nazwie Custom name, z tego co widzę trochę chyba pousuwałeś z kodu pewne kody i brakuje plików pewnie, stąd takie działanie pluginu

Nie, nie usuwałem żadnych kodów, ale dobra pojawił się po podmianie tego pliku o którym pisałeś chociaż nie od razu.

Cytat

image.thumb.png.1f94a8d01f439ea0ba2aa25c41d7408f.png

Dodane mam tak jak powinno być

Edited by Damiann.
Posted
3 minuty temu, Damiann. napisał:

Nie, nie usuwałem żadnych kodów, ale dobra pojawił się po podmianie tego pliku o którym pisałeś chociaż nie od razu.

Dodane mam tak jak powinno być

Czasami trzeba od czekać chwilę aby się tak "zakisiło" i po jakimś czasie zaczyna pracować, wystarczy też wyczyścić pamięć podręczną IPB i działa pięknie jak widać ?

  • Like 1
  • Thanks 1
Posted

Problem z tabelką. Dodaje serwer Ts3 i pokazuję go jako offline. Grupa Guest ma nadane uprawnienia. Na GT działa, ale na tabeli serwerów nie.

Posted
7 hours ago, BartQ97 said:

Problem z tabelką. Dodaje serwer Ts3 i pokazuję go jako offline. Grupa Guest ma nadane uprawnienia. Na GT działa, ale na tabeli serwerów nie.

Podaj IP serwera oraz query port.

See me on GitHub or aXenDev.net!

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.