Sueta

WorldsCounter - Count players per world

1.0

A plugin that allows you to count players from selected worlds.

·Plugin
PL

Czym jest WorldCounter?
WorldCounter to lekki i prosty plugin dla serwerów Minecraft, który umożliwia zwrócenie liczby graczy z wybranych przez Ciebie światów.
Dzięki WorldCounter możesz w czasie rzeczywistym sprawdzać, ile osób znajduje się w danym świecie i zwracać tą liczbę na przykładowo, do hologramu z wejściem do trybu.

Wymagane pluginy
PlaceholderAPI

Konfiguracja

groups:
  bedwars:
    worlds:
      - bw_arena1
      - nazwa_swiata_bedwars
  skywars:
    worlds:
      - sw_mapa1
      - sw_mapa2

Tak wygląda plik konfiguracyjny. Aby zliczyć z graczy z wybranych przez siebie światów należy go zmodyfikować pod własne preferencje.
Po dokonaniu zmianach w pliku konfiguracyjnym, potrzebny jest restart serwera.
Następnie, aby zwrócić liczbę graczy użyj placeholderu:

%worldscounter_playersNazwasekcji%

czyli - tak jak mamy w przykładowej konfiguracji sekcję "bedwars", placeholder będzie wyglądać następująco:

%worldscounter_playersbedwars%

GOTOWE! :)

What is WorldCounter?
WorldCounter is a lightweight and simple plugin for Minecraft servers that allows you to return the number of players from the worlds you select.
With WorldCounter, you can check in real-time how many people are in a given world and display that number, for example, in a hologram at the entrance to a server.

Required plugins
PlaceholderAPI

Configuration

groups:
  bedwars:
    worlds:
      - bw_arena1
      - nazwa_swiata_bedwars
  skywars:
    worlds:
      - sw_mapa1
      - sw_mapa2

This is what the configuration file looks like. To count players from the worlds you choose, you need to modify it according to your preferences.
After making changes to the configuration file, a server restart is required.
Then, to return the number of players, use the placeholder:

%worldscounter_playersNameofsection%

So, just like we have the "bedwars" section in the example configuration, the placeholder will look like this:

%worldscounter_playersbedwars%

READY! :)

Similar projects

Plugin →