Websend bağlantı sorunu

Waffleinstein

şüşko insan
Emektar Üye
Mesajlar
458
En iyi cevaplar
0
Beğeniler
434
Puanları
1,130
Ruh hali
Merhaba arkadaşlar,
Sunucumuzun marketi için, websend eklentisini kullanıyoruz ancak yazdığımız kod ile websend iletişim kuramıyor. Basit bir örnek ile kodu yazayım:
PHP:
$sifre= "*******";
$host= "*******";
    if($urun = "premium"){
      constructor($host[3131]);
      connect($sifre);
      doCommandAsConsole("say deneme");
      echo "1";
    }

mesela orada [3131]'i görüyorsunuz, oraya documentation'da dediğine göre port gelecek.
constructor
( string host [,integer port] )

Constructs a Websend object. Pass a string with the bukkit server address.
The port defaults to 4445. If you specified a different port in your websend config, then you also need to pass that as an integer.
Note that the constructor does not actually connect to the server. To do that use connect().
hatayı söyleyebilir misiniz?
 



Üst