Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

RSSTF2 Stats/TF2Stats Redux v1.0.0 (easy to setup multi-server stats)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
68747470733a2f2f6d656469612e737072696e67
TF2 Stats Simplified Redux

original plugin can be found here along with some still userful instructions in case my thread is not detailed enough :crab:: https://forums.alliedmods.net/showthread.php?p=987696


Description:
This is modified version of TF2 Stats plugin I have done for my community that shut down while back.


Changes:
- automatic setup for multiple servers (only one database per multiple servers, each server will automatically have ip:port based table entry).
- fixed nasty bug with newly added weapons not being registered in stats and not giving points to players.
- removed sqlite support for obvious reasons.



Chat commands:
- "rank" to display your rank to the server.
- "top10" to view the top 10 ranked players.
- "players" to view a list of ingame players.
- "webrank" to get your webrank
- "webtop" to get the webtop
- "session" to get information about your session
- "hidepoints" to hide the points you get
-"unhidepoints" to show the points you get



Admin commands:
- sm_rankadmin - opens the rank admin menu
- rank_givepoints <client> <value> - give points client(s)
- rank_removepoints <client> <value> - remove points from client(s)
- rank_setpoints <client> <value> - sets the client's points to <value>



CVars:
See tf/cfg/tf2-stats.cfg for complete list



Installation
1. Upload all files to their appropriate folders from zip file
2. create new entry in databases.cfg named tf2stats_redux (not tf2stats as old version)
example:
Code:

    "tf2stats_redux"
    {
        "driver"            "mysql"
        "host"                "6.6.6.6"
        "database"            "tf2stats_redux"
        "user"                "xiao"
        "pass"                "niaoniao"
        "timeout"            "4"
        "port"            "3306"
    }

3. optionally adjust settings to your liking before uploading to all servers in tf2-stats.cfg in tf/cfg folder
4. setup web interface (instructions can be found in original thread?)
5. enjoy



To-Do:
- custom chatcolors support with cvar for showing next to nick person's rank.
- finish my custom node.js web panel for TF2 Stats
- updated to new syntax maybe
- more in-game features?
- clean up a bit code
- discord support


Credits:
- I take no credit as I just fixed the plugin a bit up, original thread authors and respective people still rock :bacon!:
Please don't be harsh on my code or changes, I'm just edits of plugin I personally enjoyed. Report any issues you find!

Attached Files
File Type: zip tf2stats redux.zip (1.57 MB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...