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

RSS[Any] Veterans Only (with Steam Group Exclusion, 2021-09-29)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Veterans Only

(with Steam Group Exclusion support)

v2.0

Brief:

This plugin is a fork of https://forums.alliedmods.net/showthread.php?t=255871, adding the function of excluding members in the specified steam group (i.e. if a player is the member of your steam group then they can join the game despite not having enough playtime.), also coming with other bug fixes.
  • Kick players based on their TF2 or CSGO prime status
  • Kick players based on their Playtime
  • Kick players based on their playtime minus their last 2 weeks activities: Useful when dealing with those players that leave their game open for some days to gain some playtime
  • Banning players: Instead of kicking players, you can ban them for a short time. Very useful to prevent an attack against your server
  • Check against another game: It is possible to let the players join to your CSGO server if they are already experienced in CSS (or any other Steam game)
  • Exclude all privileged users or only ones with reserved slot
  • Exclude CSGO and TF2 prime users
  • [New] Exclude steam group members: Players in your group can automatically pass the check, even if they don't have sufficient playtime.

CVars:
  • sm_veterans_version: Version of plugin
  • sm_veterans_enable: (0/1) Enabling and disabling of the plugin
  • sm_veterans_gameid: (0/99999999) Steam Store Id of the game you want to check against (default is CSGO, 730)
  • sm_veterans_kickfailure: (0/1) Kick the player if plugin failed to retrieve the information
  • sm_veterans_kickprivate: (0/1) Kick the player if his/her profile was private/friend only/not created
  • sm_veterans_timeout: (1/300) Maximum number of seconds that plugin should wait for a connection to respond
  • sm_veterans_bantime: (0/31536000) Duration of the ban (zero to disable - kick)
  • sm_veterans_mintotal: (0/600000) Minimum playtime of the user to accept (in minutes, zero to disable check)
  • sm_veterans_mintotalminuslastweek: (0/600000) Minimum playtime of the user minus his/her last 2 weeks activities to let him join the server (in minutes, zero to disable check)
  • sm_veterans_cachetime: (0/31536000) Number of seconds we should wait before requesting a duplicate query. Happens only when user's playtime is less than minimum required
  • sm_veterans_excludereservedslots: (0/1) Excludes players that have a reserved slot from punishment
  • sm_veterans_excludeprivileged: (0/1) Excludes privileged players from punishment
  • sm_veterans_excludeprimes: (0/1) Excludes prime players from punishment
  • sm_veterans_kickf2p: (0/1) Kicks non-prime (F2P) players
  • [New] sm_veterans_excludegroupmember: (0/1) Should we exclude players that are members of our Steam group? (default: 0)
  • [New] sm_veterans_groupid: Steam Group ID (same as your sv_steamgroup)

Commands:
  • sm_veterans_exclude: Adds one or more steam id to the exclusion list
  • sm_veterans_include: Removes one or more steam id from the exclusion list
  • sm_veterans_clear: Forcefully clears the player playtime cache mid-game

Changelog:
  • v2.0 - 2021-09-29: New feature added; Fixed issue that whitelist does not working; Adding support for the query result caching of multiple server instances

Dependencies:
How to install:
  • Download the latest version of the plugin below or from the following link: [Github - veterans' Releases]
  • Extract the contents to addons/sourcemod
  • Change "sm_veterans_gameid" and "sm_veterans_groupid" to your game's Steam Store ID and your Steam Group ID, respectively

Note:
  • If you want to ultilize the Steam Group functionality, you need to host the PHP query service on yourself, see Github - PHP Hosting. This is because the default query service provided by DarkSoroush uses an older version of the PHP code, which doesn't support group member querying. We are planning to rewrite the query entirely based on Steamworks to get rid of the PHP dependency.

Attached Files
File Type: xz veterans_v2.0.tar.xz (16.2 KB)

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ę...