Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

HLDS XMPP Client beta v2


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 476
  • Lokalizacja:AMXX.PL
Offline

Napisano 23.08.2013 08:41

HLDS XMPP Client
Version: beta v2

Description:
With this plugin you can connect Jabber account to your server and get control on your server via sending simply commands to that account. You can chat with players on servers, send RCON commands, check cvars values, and read xstatuses with server info.

Features:
- Using AMXX Sockets modules.
- Supports PLAIN auth method.
- Management only from allowed contacts.
- Auto authorization of unknown contacts.
- Server chat subscription.
- Messages and XStatus templates.

Commands:
All commands are sending via IM client as just messages.
For example, if you want to know what value of "mp_timelimit" cvar then just send to server account following text:


Code: cvar mp_timelimitAnd you get it:


Code: 'mp_timelimit' = '1337'Server chat subscription:
  • chat on - subscript to server chat, in this mode all server say messages are got sending to your jabber id. For reply on those messages just send your message and players see it in theirs chat.
  • chat off - unsubscript from server chat messages.
  • chat status - check server chat subscription status.
RCON commands:
  • rcon <command> - send rcon command to server. Server sends you reply if command accepted.
Cvar values:
  • cvar <cvar name> - get cvar value. Server sends you cvar value.
Get players list:
  • status - get players list. Unstable. Work in progress.
Configuration:
Configuration file: addons/amxmodx/configs/xmpp.ini

[xmpp] section:
You must set login data in this section.

  • host - host for connection
  • port - port
  • domain - domain
  • user - login
  • password - password
  • res - resource name
  • priority - resource priority
  • os - OS information for client version request
Example, [email protected] account on Yandex.Online:


Code: [xmpp]
host = xmpp.yandex.ru
port = 5222
domain = ya.ru
user = test
password = 12345sasai
res = 1337Server
priority = 10
os = L337 Server OS[xmpp_refresh] section:
Here you can set time delays in plugin. If anythings works fine dont touch that.
  • recheck - how often plugin checks for new data. If your messages wasted try to lower this value.
  • fetch - timer for auth sequence time.
  • parser - how fast plugin gets new data.
  • xstatus - sets xstatus refresh time.
  • maxfail - sets maximum nums of fail of auth operations.
  • timeout - time for wait response from jabber server. If time run out plugin retry connection again.
[xmpp_allow] section:
Write here jabber ids, which you want to get control from.

Example, give me full access:


Code: [xmpp_allow]
[email protected][xmpp_template] section:
Message and XStatus templates.
  • xstatus - xstatus template.
  • say - say message template.

Plugin tested on following JabberIM services:But should work on any services which supports PLAIN auth method. Its means you cant connect it with GTalk account.

Attached Thumbnails
https://forums.allie...38;d=1377243761 https://forums.allie...38;d=1377243782 Attached Files Dołączona grafikaGet Plugin or Get Source (xmpp.sma - 22.2 KB) Dołączona grafikaxmpp.zip (1.9 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych