Alttaki linkteki pluginin cvar ayarlarının açıklamasını yapabilir misiniz, tam olarak ayarlar ne işe yarıyor. Pluginin ayarını servera giren ilk kişiden itibaren yapmak istersek nasıl yapabiliriz
https://forums.alliedmods.net/showthread.php?p=236543
Konu
PHP Kod:
-- Copy & Paste settings below to amxx.cfg and fill them out!
// 0 = disabled
// 1 = no booting but fill rslots (Recommended 2-6 slots)
// 2 = kick/redirect when full or to free slot (Recommended 1 slot)
rslot_on <0|1|2>
//number of slots to reserve
rslot_slots <# of slots>
//if enabled will hide reserved slots
//(ex. 21 maxplayers will show 20/20 if rslot_slots = 1 )
rslot_hideslots <0|1>
//enable server redirection
rslot_redirect <0|1>
//ip and port of the server players will be redirected to
rslot_ip "ip:port"
//(optional) password of the server players will be redirected to
rslot_pw "none"
//--- below used for amx_reservation 2---//
//kills for rslot kicking protection (comment out #define KILLS to disable)
rslot_kills "kills"
//played time for rslot kicking protection (comment out #define PLAYEDTIME to disable)
rslot_playedtime "minutes"
(29-01-2020, 15:39)MawiLarq Adlı Kullanıcıdan Alıntı:Kodları biliyorum da ne işe yaradıklarını çözemedim, yani slot ayarı yaptırıyor son 1 slota mı yoksa server dolduktan sonra girene mi, amx_reservation koduyla bi ilişkisi varmı sma içerisinde biyerde geçiyordu. Benim pluginle yapmak istediğim 1. Userda direk yonlendırme yapması bunu nasıl ayarlarızPHP Kod:-- Copy & Paste settings below to amxx.cfg and fill them out!
// 0 = disabled
// 1 = no booting but fill rslots (Recommended 2-6 slots)
// 2 = kick/redirect when full or to free slot (Recommended 1 slot)
rslot_on <0|1|2>
//number of slots to reserve
rslot_slots <# of slots>
//if enabled will hide reserved slots
//(ex. 21 maxplayers will show 20/20 if rslot_slots = 1 )
rslot_hideslots <0|1>
//enable server redirection
rslot_redirect <0|1>
//ip and port of the server players will be redirected to
rslot_ip "ip:port"
//(optional) password of the server players will be redirected to
rslot_pw "none"
//--- below used for amx_reservation 2---//
//kills for rslot kicking protection (comment out #define KILLS to disable)
rslot_kills "kills"
//played time for rslot kicking protection (comment out #define PLAYEDTIME to disable)
rslot_playedtime "minutes"
bu şey yer ayırıyor galiba cvar isimlerinden anladığın amx_reservation ile alakalı bir şey
rslot_slots bu ayrılacak slot sayısı
rslot_hideslots 1 yaparsanızmesela siz 3 kişilik yer ayırdınız server listte 29/32 gözükeceğine 29/29 gözükür
rslot_slots bu ayrılacak slot sayısı
rslot_hideslots 1 yaparsanızmesela siz 3 kişilik yer ayırdınız server listte 29/32 gözükeceğine 29/29 gözükür
(30-01-2020, 08:22)ITenGriTR Adlı Kullanıcıdan Alıntı: bu şey yer ayırıyor galiba cvar isimlerinden anladığın amx_reservation ile alakalı bir şeyHideslotla işimiz yok ozaman peki rslot_rslots u 29 yapsak 29 tane slot ayırdık peki sonrası servera giren 4. Kişiyi mi yönlendirmiş olacak. Kısaca bana işin yönlendirme kısmı lazım
rslot_slots bu ayrılacak slot sayısı
rslot_hideslots 1 yaparsanızmesela siz 3 kişilik yer ayırdınız server listte 29/32 gözükeceğine 29/29 gözükür
eklentinin çalışması için rslot_on cvarı 1 olacak sonra diyelim rslot_slots u 29 yaptın mesela server 32 kişilik 3. kişiden sonra girenler yönlendirmeye girer
Benzer Konular
Yorum
447
Okunma
24-06-2025, 17:39
Yorum
736
Okunma
12-06-2025, 13:48