Stránka 1 z 2

Hlasovanie

Napsal: 08 pro 2016, 20:02
od SeBoO
Server: 82.208.17.11:27071

Zdravím, chcem sa opýtať že ako by som mohol nastaviť plugin NuVotifier aby hráč keď bude hlasovať cez Czech-craft, tak žeby dostal na servery odmenu za hlas?

Re: Hlasovanie

Napsal: 08 pro 2016, 22:02
od NEZNAMY

Re: Hlasovanie

Napsal: 08 pro 2016, 22:18
od SeBoO
No to už takto Czech-craft nemá... už majú to inak spravené, tak preto neviem ako teraz to spraviť. Po starom som to vedel no teraz už neviem.

Re: Hlasovanie

Napsal: 09 pro 2016, 11:54
od Arcas
Systém je skoro stejný, jen s pár změnami - místo Votifieru instaluješ NuVotifier. Pak nastavíš v configu port, na zbytek nastavení nehrabeš. A zároveň z toho configu nakopíruješ tokens -> default do systému Czech-Craftu - spolu s IP a portem. A pak už vše funguje ;)

Re: Hlasovanie

Napsal: 09 pro 2016, 15:41
od SeBoO
A keď chcem nastaviť aby za hlas dostavali odmeny, tak cez plugin GAListener ?

Re: Hlasovanie

Napsal: 09 pro 2016, 16:18
od Arcas
Ano. NuVotifier je v podstatě klasický Votifier, jen na Czech-Craftu nastavuješ Tokeny z config.yml a ne klíče.

Re: Hlasovanie

Napsal: 09 pro 2016, 16:21
od SeBoO
Aha no dobré .. ale keď som všetko nastavil a som hlasoval na czechCraft, tak mi napisalo že Hlas bol započitany ale nastala chyba čiže odmenu som nedostal žiadnu.

Config NuVotifier:

Kód: Vybrat vše

# The IP to listen to. Use 0.0.0.0 if you wish to listen to all interfaces on your server. (All IP addresses)
# This defaults to the IP you have configured your server to listen on, or 0.0.0.0 if you have not configured this.
host: 82.208.17.11

# Port to listen for new votes on
port: 8192

# Whether or not to print debug messages. In a production system, this should be set to false.
# This is useful when initially setting up NuVotifier to ensure votes are being delivered.
debug: false

# Setting this value to false will turn off the votifier port listening for external votes. This is beneficial if the server
# is only listening for votes coming from NuVotifier running on your BungeeCord.
enableExternal: true

# Setting this option to true will disable handling of Protocol v1 packets. While the old protocol is not secure, this
# option is currently not recommended as most voting sites only support the old protocol at present. However, if you are
# using NuVotifier's proxy forwarding mechanism, enabling this option will increase your server's security.
disable-v1-protocol: false

# All tokens, labeled by the serviceName of each server list.
tokens:
  # Default token for all server lists, if another isn't supplied.
  default: fvg390hde4u4roopltcgreq8qr

# Configuration section for all vote forwarding to NuVotifier
forwarding:
  # Sets whether to set up a remote method for fowarding. Supported methods:
  # - none - Does not set up a forwarding method.
  # - pluginMessaging - Sets up plugin messaging
  method: none
  pluginMessaging:
    channel: NuVotifier


Tak to mám nastavene a nefunguje to :/

Re: Hlasovanie

Napsal: 09 pro 2016, 17:10
od ZiDyPL
Nepoužívej port 8192, ale nějaký přidělený od fakahedy.

Re: Hlasovanie

Napsal: 09 pro 2016, 17:20
od Arcas
1) Nastav si správný port.
2) Změň token - je to v podstatě tvé heslo. Pokud ho dáš veřejně, kdokoliv, kdo má trochu znalostí si může na tvém serveru „zahlasovat" kolikrát chce - tobě to na CC hlas nepřičte, ale odměnu mu tvůj server vydá...

Re: Hlasovanie

Napsal: 09 pro 2016, 17:36
od SeBoO
čiže Token si možem v configu zmeniť na jaky chcem? a potom na czechCraft to zadať? A port? aký ma byť správny?