hi i need to know about FTP when i open the config.cfg i see this
[ftp]
enabled = 0
host = ""
port = 21
user = ""
password = ""
passive = 1
what that means ?
what the FTP doing ?
hi i need to know about FTP when i open the config.cfg i see this
[ftp]
enabled = 0
host = ""
port = 21
user = ""
password = ""
passive = 1
what that means ?
what the FTP doing ?
the scream for players it can be like that ?
the post was added by yenz this thing not finished yet its just notes
what about geoip ?
not finished
and thanks for this version
ohh yes lol thanks
<?php
$logkickbans_filehandle = fopen(LOGDIR . "/kickbans.log", "a");
$mod->registerEvent("playerKicked", "logkickbans_kick");
$mod->registerEvent("playerBanned", "logkickbans_ban");
$mod->registerEvent("playerTempBanned", "logkickbans_tempban");
function logkickbans_kick($args) {
global $logkickbans_filehandle;
list($player, $reason, $kicker) = $args;
$date = date("[d.m.y H:i:s]");
$nickname = $GLOBALS['players'][$player]->getName();
$playerip = $GLOBALS['players'][$player]->getip();
if (!$kicker) {
$str = "$date : ip $playerip : Player : \"$nickname\" ($player) got AUTO KICKED for reason: $reason\n";
}
else {
$kicker = $GLOBALS['players'][$kicker]->getName();
$ip = $GLOBALS['players'][$kicker]->getip();
$str = "$date : ip : $ip : Player : \"$nickname\" ($player) got KICKED by \"$kicker\" for reason: $reason\n";
}
fwrite($logkickbans_filehandle, $str);
}
function logkickbans_ban($args) {
global $logkickbans_filehandle;
list($player, $reason, $kicker) = $args;
$date = date("[d.m.y H:i:s]");
$nickname = $GLOBALS['players'][$player]->getName();
$playerip = $GLOBALS['players'][$player]->getip();
if (!$kicker) {
$str = "$date : ip : playerip : Player : \"$nickname\" ($player) got AUTO BANNED for reason: $reason\n";
}
else {
$kicker = $GLOBALS['players'][$kicker]->getName();
$ip = $GLOBALS['players'][$kicker]->getip();
$str = "$date : ip : $ip : Player : \"$nickname\" ($player) got BANNED by \"$kicker\" for reason: $reason\n";
}
fwrite($logkickbans_filehandle, $str);
}
function logkickbans_tempban($args) {
global $logkickbans_filehandle;
list($player, $reason, $time, $kicker) = $args;
$date = date("[d.m.y H:i:s]");
$nickname = $GLOBALS['players'][$player]->getName();
$playerip = $GLOBALS['players'][$player]->getip();
if (!$kicker) {
$str = "$date : ip : $playerip : Player : \"$nickname\" ($player) got AUTO TEMPBANNED ($time mins) for reason: $reason\n";
}
else {
$kicker = $GLOBALS['players'][$kicker]->getName();
$ip = $GLOBALS['players'][$kicker]->getip();
$str = "$date : ip : $ip : Player : \"$nickname\" ($player) got TEMPBANNED ($time mins) by \"$kicker\" for reason: $reason\n";
}
fwrite($logkickbans_filehandle, $str);
}
?>
Alles anzeigen
try this
but guys 1 question why i can't see playerTempBanned and banned and kicked in HookList !!
what i can replace with this sleep ?
i am learning php for mam too
lol
its can't be at php ?
how the banner time work ?
guys i am making alarm plugin that mean when some one used !alarmme 60
mam wait 60 sec and send message i finished it and works i used sleep but the problem all the mam its stop for seconds i set :crying:
i checked the banner.php to get infos but i can't understand what happening
ok,thanks for this infos
oh . that mean it need a lot of time to be good with programming that's no problem i can stay 1 year learn at php.net XD
and what about all developments ? did they learned at University ?
ohh noo
i should left learning php then
that mean at school ?
how did you learn all of this ?
every day i am at php.net learning new functions and at youtube but i can't make some thing good
yes do you want to try ?
check the ip and port
well,you should see banners
when i run in promod i see only banners
hey i will make server in GR i'll give you rconpassword and try to connect but they will say something wrong even if you connect from rcon tool or anything else its same you can't
yes but yenz
1)idk how to add helper.lst or .txt cause for each command it have own message
at 3) thanks a lot O_O