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] Giveaways [Aug 2022]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
This plugin is aimed at server admins that want to make giveaways.
When a giveaway is created, the countdown time and the prize (if specified) will be detailed.
When a giveaway ends, the winner will be displayed.
Both announcements will be made in a center text and in chat to all players.

Cvars

sm_giveaways_version - Plugin version
sm_giveaways_sounds - Whether the plugin should play sounds upon starting, entering, leaving, canceling and ending a giveaway (Default: 1)
sm_giveaways_time - Countdown in seconds before plugin stops the giveaway and announces the winner (Default: 60)
sm_giveaways_winner_cooldown - Amount of giveaways that must pass before the winner of a giveaway has the chance to win again (Default: 1 giveaways)

Commands

Admin Commands

sm_gstart [item] - Start a giveaway, first argument is optional (to specify the prize)
sm_gstop - To manually stop the giveaway to announce the winner
sm_gcancel - To cancel the giveaway and announce no winners whatsoever
sm_gparticipants - To see the participants of the current giveaway

User commands

sm_enter - Enter the giveaway
sm_leave - Leave the giveaway

Plugin and source code here

Notes
  • Messages, colors and plugin tag can be customized via the translations file.
  • The repo comes with predetermined sounds for every ceremony of the giveaway, you can use your own, just make sure to respect the naming and encoding, and make them downloadable to your users properly.
  • To compile you will need AutoExecConfig by Impact and MoreColors by Bara.

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