- En iyi cevaplar
- 0
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:
mesela orada [3131]'i görüyorsunuz, oraya documentation'da dediğine göre port gelecek.
hatayı söyleyebilir misiniz?
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().
( 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().