Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

JTS3ServerMod - pokebot


Rekomendowane odpowiedzi

Opublikowano
# Channel id that should be watched for new clients. You can only set one channel id here!
channelnotify_channel_id =      <=== ID jakiego kanału tutaj wpisać?
# A comma separated list (without spaces) of server group ids.
# Depends on the given mode, this server groups can be ignored or only this server groups will be watched!
# If no server groups should be ignored, set no server groups here and select the group list mode ignore!
channelnotify_group_list =      <=== co tu wpisać?
# Select one of the two modes for the server group list.
# ignore = The selected server groups will be ignored.
# only = Send a notify message only if the selected server groups join the channel.
channelnotify_group_list_mode = <=== co tu dać?
# A comma separated list (without spaces) of server group ids, which should be notified about new clients in the specified channel.
channelnotify_grouptargets =    <=== co tu dać?
# A comma separated list (without spaces) of channel ids.
# Depends on the given mode, target clients in this channels can be ignored or only clients in this channels receive the notify message!
# If no channels should be ignored, set no channels here and select the channel list mode ignore!
channelnotify_channel_list =    <=== co tu dać?
# Select one of the two modes for the channel list.
# ignore = Clients in the selected channels will be ignored.
# only = Only clients in the selected channels receive the notify message.
channelnotify_channel_list_mode = <=== co tu dać?
# Select the message mode, how the notified clients should get the message.
# poke or chat are valid values!
channelnotify_message_mode = poke
# Select the message mode, how the clients (who joined the channel) should get the message.
# poke, chat or none are valid values!
channelnotify_messagenotified_mode = poke
# Path to file which contains the channel notify message
channelnotify_file = config/channelnotifymessages.cfg

ID kanału który ma być sprawdzany: 180

ID grupy która ma być Poke'owana: 3

 

Bot ma poke'owac adminów kiedy wejdą wszyscy użytkownicy (oprócz ID 3) na kanał ID 180.

Opublikowano
# Channel id that should be watched for new clients. You can only set one channel id here!
channelnotify_channel_id = ID Kanału w twoim przypadku 180
# A comma separated list (without spaces) of server group ids.
# Depends on the given mode, this server groups can be ignored or only this server groups will be watched!
# If no server groups should be ignored, set no server groups here and select the group list mode ignore!
channelnotify_group_list = ID grup, o których po wejściu na kanał nie dostajemy informacji.
# Select one of the two modes for the server group list.
# ignore = The selected server groups will be ignored.
# only = Send a notify message only if the selected server groups join the channel.
channelnotify_group_list_mode = ignore
# A comma separated list (without spaces) of server group ids, which should be notified about new clients in the specified channel.
channelnotify_grouptargets = id grupy, admina
# A comma separated list (without spaces) of channel ids.
# Depends on the given mode, target clients in this channels can be ignored or only clients in this channels receive the notify message!
# If no channels should be ignored, set no channels here and select the channel list mode ignore!
channelnotify_channel_list =
# Select one of the two modes for the channel list.
# ignore = Clients in the selected channels will be ignored.
# only = Only clients in the selected channels receive the notify message.
channelnotify_channel_list_mode = ignore
# Select the message mode, how the notified clients should get the message.
# poke or chat are valid values!
channelnotify_message_mode = poke
# Select the message mode, how the clients (who joined the channel) should get the message.
# poke, chat or none are valid values!
channelnotify_messagenotified_mode = poke
# Path to file which contains the channel notify message
channelnotify_file = config/channelnotifymessages.cfg

Jeżeli dalej nie będziesz ogarniał to wyślij mi ID kanału, ID grup ignorowanych, ID grup adminów.

Opublikowano

Posiadam kolejny problem, bot w logach wywala takim errorem:

2015-01-19 13:50:42	JTS3ServerMod	EXCEPTION	Bot Version: 5.4.1 (01.01.2015)
de.stefan1200.jts3serverquery.TS3ServerQueryException: ServerQuery Error 2568: insufficient client permissions - Permission ID: 189
	at de.stefan1200.jts3serverquery.JTS3ServerQuery.getInfo(JTS3ServerQuery.java:1306)
	at de.stefan1200.jts3servermod.JTS3ServerMod.teamspeakActionPerformed(JTS3ServerMod.java:2550)
	at de.stefan1200.jts3serverquery.JTS3ServerQuery$2.run(JTS3ServerQuery.java:1890)
	at java.lang.Thread.run(Thread.java:701)
Opublikowano

 

Posiadam kolejny problem, bot w logach wywala takim errorem:

2015-01-19 13:50:42	JTS3ServerMod	EXCEPTION	Bot Version: 5.4.1 (01.01.2015)
de.stefan1200.jts3serverquery.TS3ServerQueryException: ServerQuery Error 2568: insufficient client permissions - Permission ID: 189
	at de.stefan1200.jts3serverquery.JTS3ServerQuery.getInfo(JTS3ServerQuery.java:1306)
	at de.stefan1200.jts3servermod.JTS3ServerMod.teamspeakActionPerformed(JTS3ServerMod.java:2550)
	at de.stefan1200.jts3serverquery.JTS3ServerQuery$2.run(JTS3ServerQuery.java:1890)
	at java.lang.Thread.run(Thread.java:701)

Randze ServerQuery nadaj uprawnienie b_client_info_view.

­

Opublikowano

Randze ServerQuery nadaj uprawnienie b_client_info_view.

­

Okej, done - nie wywala tego błędu... Tylko posiadam kolejny problem z Poke Botem, najlepiej abyś Ty mi "wykonał" cały config bo ja tego troche nie ogarniam :s

 

ID kanału który bot MA obserwować wejść nowych użytkowników: 30896

ID Grupy Serverowej która MA dostawać poke o tym że nowy użytkownik wszedł na kanał: 938

ID Grup Serverowych których NIE MA poke'ować: 942, 949, 948, 947, 946... itp. (reszte ID ma poke'ować).

 

Jeżeli potrzebujesz jeszcze jakieś info to daj znać - masz u mnie piwo :D

Opublikowano

# Channel id that should be watched for new clients. You can only set one channel id here!
channelnotify_channel_id = 30896
# A comma separated list (without spaces) of server group ids.
# Depends on the given mode, this server groups can be ignored or only this server groups will be watched!
# If no server groups should be ignored, set no server groups here and select the group list mode ignore!
channelnotify_group_list = 942, 949, 948, 947, 946
# Select one of the two modes for the server group list.
# ignore = The selected server groups will be ignored.
# only = Send a notify message only if the selected server groups join the channel.
channelnotify_group_list_mode = ignore
# A comma separated list (without spaces) of server group ids, which should be notified about new clients in the specified channel.
channelnotify_grouptargets = 938
# A comma separated list (without spaces) of channel ids.
# Depends on the given mode, target clients in this channels can be ignored or only clients in this channels receive the notify message!
# If no channels should be ignored, set no channels here and select the channel list mode ignore!
channelnotify_channel_list =
# Select one of the two modes for the channel list.
# ignore = Clients in the selected channels will be ignored.
# only = Only clients in the selected channels receive the notify message.
channelnotify_channel_list_mode = ignore
# Select the message mode, how the notified clients should get the message.
# poke or chat are valid values!
channelnotify_message_mode = poke
# Select the message mode, how the clients (who joined the channel) should get the message.
# poke, chat or none are valid values!
channelnotify_messagenotified_mode = poke
# Path to file which contains the channel notify message
channelnotify_file = config/channelnotifymessages.cfg

1. Kanał ID: 30896

2. ID Grupy która jest pokowana (938), o tym że ktoś wszedł na kanał ID: 30896

3. Grupa o ID: 938 nie jest informowana o tym, że grupy o ID: 942, 949, 948, 947, 946 weszły na kanał o ID: 30896

Dobrze to zrozumiałem? Jeżeli tak to cfg jest wyżej :)

 

Ps. Nie piję alkoholu (zabija) :P. Wystarczy, że wynagrodzisz lajkiem oraz podziękujesz za pomoc :p.

Aaaa i wiadomość, która wyświetla się userowi/adminowi edytujesz w tym pliku:

channelnotifymessages.cfg

znajduje się on w folderze config ;p.

(To tak dla przypomnienia) ;p.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...