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

[FOF] Ranking and Statistics (Version 0.9.0, 2017-06-18)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
[FOF] Ranking and Statistics (Version 0.9.0, 2017-06-18 )

A Plugin that implements ranking points, a ranking list, and some statistics for Fistful of Frags. Easy to install and pretty lightweight. Inspired by DarthNinja's Ranking and Item Logger for TF2, but completely rewritten.

Features
  • Configurable ranking point system -> earn points for each kill, loose points for being killed. Use the config file to adjust points for each weapon.
  • Ingame ranking list -> say !top10 to view the ranking list ingame. Access the data sheet for each player.
  • Ingame statistics -> say !rank to view your own rank and statistics. (Or say !rank [name] to view the data of someone else.)
  • Adjustable messages and panels -> use the convars described below to adjust how "chatty" this plugin works.
  • Translatable -> this plugin uses sourcemod's translation system. Current languages: English and German.

Player Commands

A player can issue these two:
  • sm_rank [<name|#userid>] -> display the current players rank and data sheet. If [name] (or target, to be precise) is given, this player's data will be displayed. Works only for connected players.
  • sm_top10 [<starting_position>] -> show the ranking list. By default, max. 500 entries are loaded and displayed. If you want the list to start at a certain position, provide it as a parameter to this command.

Admin Commands

As an admin, you can do this:
  • sm_rank_reload -> reload the config file fof_rank.cfg. (See below: Configuration)
  • sm_giverankpoints <name|#userid> <points>] -> Silently give points to one ore more players. Usually points are added to or substracted from the points a player already has. But if you provide the points parameter with a preceding '=' the points of a player will be set to this exact amount. For example: sm_giverankpoints @all 50 adds 50 points to every connected player. Whereas sm_giverankpoints @all =50 sets the points of all connected players to 50. PLEASE HANDLE WITH GREAT CARE AND RESPONSIBILITY!

CVars
  • sm_rank_version -> the plugin's version, obviously...
  • sm_rank_enabled -> 1/0 for enabling or disabling the plugin. (Default 1)
  • sm_rank_announceplayers -> 0/1 for announcing every connecting player including his rank and country in the chat. (Default 1)
  • sm_rank_showpanels -> 1/0 for showing each connecting player either a welcome panel with the top 3 and a short explanation or with his own ranking data. (Default 1)
  • sm_rank_informpoints -> 0/1 for getting an information each time a player earns or looses points in the chat. (Default 1)

Installation

Download the ZIP file and extract it info the sourcemod base folder. Usually here: .../fof/fof/addons/sourcemod
After that, restart your server or (re)load the plugin: sm plugins load fof_rank

Configuration

Take a look inside the fof_rank.cfg and modify it to your needs! It's pretty straightforward, really!

Spoiler


Download

Use the attached files. There is also a repository on GitHub! https://github.com/TheOnePerson/fof_stats. Use the functionality there to contribute to the sources!

Attached Files
File Type: zip fof_rank.zip (40.8 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

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

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