...
no need for mam
only rename the file to localized_english_iw08 or localized_<YOUR_LANGUAGE>_iw08
note : if u are using it with default server or internet and server is empty and u are killing ur self to see its not working
u need some one to kill you not to kill your self
Beiträge von GumGes1
-
-
rename the final kill cam to localized_english_iw08
-
ohh :O
wasn't know that sorry -
i never used more then 0.12
but i think !!
make new JSON file rename to adminsreport.JSON
and add thisSpoiler anzeigen
{
"reortForAdmins": {
"success": "the report has been sent to logfiles",
"alreadyreported": "this player already reported",
"clearreports": "this player has been cleard from reports",
"alreadycleard":"player already safe"
}
} -
here is the plugin
config.cfgSpoiler anzeigen
[tagprotection]
tag = (YOUR TAG HERE)
reasontokick = (REASON) -
put the plugin at adminmod/plugins
to use
!rp <name> <reason> -
hey , man
did u see how did i get answer by u in the GO GO GO MirKo ?
cause i dislike and start talking
so finally i have my answer -
good morning
-
as up the thread up if u can see
that mean here GO GO GO MirKo :)
so ...
no help
if i add the same as here wait let me think no help ?
yes no help -
this plugin add players in admins.cfg that mean when i type !online if some one registered in my server online he will be appear in admins list
-
the ipv4 i can set one with 1 sec ..
-
Really !!!!! :wacko: :unsure: :tired: :scared: :sad: :pinch: :mellow: :crying: :confused: :blink: :angry: :attention:
1 question
maybe a lot of players have same ip as players when banned -
that mean when $players[$guid]->getIP(); its = to the banip player when he banned ?
-
guys the !ipbanlist works
but how to get for some one ip but not the iPv4
when some one banned he banned from his wireless Network Connection
how to add this ip :confused: -
guys please help
i need to make a special plugin the !register
Command : !register , !registeronline
Now How To Give Powers ?
i don't need to add all who !register in admins.cfg
i know how to do it but idk how to give them the power so how to give powers ? !!!
where i can find ? -
replace
copy and paste at adminsreport.phpSpoiler anzeigen
PHP
Alles anzeigen<?php //--------------------------------------------------------- // Name : Genius // SITE : http://www.manuadminmod.de/ // PLUG-IN LOCATION : //--------------------------------------------------------- //CONFIG.cfg : //--------------------------------------------------------- //[reortForAdmins] //success = "^2Thanks For Report" //alreadyreported = "^2This Player Already in Report list" ==> note : when admin try to report some one he is already in list it will say that //clearreports = "^2All Reports Cleard For This player" //--------------------------------------------------------- //FILES : //--------------------------------------------------------- $fp = fopen(LOGDIR . "/adminsreport.log", "a"); $fpsafe = fopen(LOGDIR . "/inSAFE.log", "a"); //--------------------------------------------------------- // COMMANDS : //--------------------------------------------------------- $mod->registerCommand("rp",false,"adminsReport"); $mod->registerCommand("safe",false,"playerIsSafe"); //--------------------------------------------------------- //CHECK : //--------------------------------------------------------- $mod->registerEvent("playerJoined","checks"); //--------------------------------------------------------- // MESSAGES : //--------------------------------------------------------- $mod->SetDefaultCV("reortForAdmins","success","^2Your Report Saved"); $mod->SetDefaultCV("reortForAdmins","alreadyreported","^2This player Already in Report list"); $mod->SetDefaultCV("reortForAdmins","clearreports","^2This player now have 0 reports"); $mod->SetDefaultCV("reortForAdmins","alreadycleard","^2This player Alread Cleard"); //--------------------------------------------------------- function adminsReport($guid,$parameters){ global $mod; global $players; $search = array_shift($parameters); $reason = implode(" ",$parameters); $found = $mod->findPlayerGuid($search); if($found){ if(!empty($reason)){ $open = fopen(LOGDIR . "/adminsreport.log", "r"); $read = fread($open,5000); $exs = explode("\n",$read); $searching = array_search($found,$exs); if($searching !== false){ $players[$guid]->say($mod->getCV("reortForAdmins","alreadyreported")); }else{ $players[$guid]->say($mod->getCV("reortForAdmins","success")); $adminname = $players[$guid]->getName(); $thetarget = $players[$found]->getName(); $open = fopen(LOGDIR . "/adminsreport.log", "a"); $post = "$found\n$adminname\n$thetarget\n$reason\n"; fwrite($open,$post); fclose($open); return true; } } }else{ $players[$guid]->say($mod->getLngString("playerNotFound", array("<SEARCH>"), array($search))); } } function playerIsSafe($guid,$parameters){ global $mod; global $players; $name = implode(" ",$parameters); $found = $mod->findPlayerGuid($name); if($found){ $thefile = fopen(LOGDIR . "/adminsreport.log", "r"); $gg = fread($thefile,5000); $inarr = explode("\n",$gg); $should = array_search($found,$inarr); if($should !== false){ $fpsafes = fopen(LOGDIR . "/inSAFE.log", "r"); $fl = fread($fpsafes,5000); $safearr = explode("\n",$fl); $se = array_search($found,$safearr); if($se !== false){ $players[$guid]->say($mod->getCV("reortForAdmins","alreadycleard")); }else{ $players[$guid]->say($mod->getCV("reortForAdmins","clearreports")); $posting = "$found\n"; $fpsafes = fopen(LOGDIR . "/inSAFE.log", "a"); fwrite($fpsafes,$posting); fclose($fpsafes); return true; } }else{ } }else{ $players[$guid]->say($mod->getLngString("playerNotFound", array("<SEARCH>"), array($name))); } } function checks($guid){ global $mod; global $players; $fastfp = fopen(LOGDIR . "/adminsreport.log", "r"); $getthis = fread($fastfp,5000); $arr2 = explode("\n",$getthis); $againstart = array_search($guid,$arr2); if($againstart !== false){ $fpsafe = fopen(LOGDIR . "/inSAFE.log", "r"); $gget = fread($fpsafe,5000); $arrsf = explode("\n",$gget); $safesearch = array_search($guid,$arrsf); if($safesearch !== true){ $admins = $mod->getAdmins(); $online = array(); foreach ($admins as $adminguid => $admin){ if (array_key_exists($adminguid, $players)) { //here i make new fastfp i know i have up i can use it but make new one with new line better $fastfps = fopen(LOGDIR . "/adminsreport.log", "r"); $reading = fread($fastfps,5000); $array = explode("\n",$reading); $key = array_keys($array,$guid); foreach($key as $keys => $value){ //mykey = reason and name and adminname reporter $adminreporter = $value + 1; $theplayername = $value + 2; $reas = $value + 3; $safes = fopen(LOGDIR . "/inSAFE.log", "r"); $readin = fread($safes,5000); $arrays = explode("\n",$readin); $geting = array_search($guid,$arrays); } if($geting === false){ $players[$adminguid]->say("^2 ".$array[$theplayername]." ^3Reported by ^1 ".$array[$adminreporter]." ^2Reason : ".$array[$reas]); } } } } } } ?>
-
plugin name : admins report
its report for admins when they reporting name when this player quit and joined anytime its will send msg for admins
commands : !safe <name> clear reports for players
: !rp <name> <reason>
config :[reortForAdmins]
success = "^2Thanks For Report"
alreadyreported = "^2This Player Already in Report list"
clearreports = "^2All Reports Cleard For This player"i can't upload the php idk why so here is the plugin
Spoiler anzeigen
PHP
Alles anzeigen<?php //--------------------------------------------------------- // Name : GumGes // SITE : http://www.manuadminmod.de/ // PLUG-IN LOCATION : //--------------------------------------------------------- //CONFIG.cfg : //--------------------------------------------------------- //[reortForAdmins] //success = "^2Thanks For Report" //alreadyreported = "^2This Player Already in Report list" ==> note : when admin try to report some one he is already in list it will say that //clearreports = "^2All Reports Cleard For This player" //--------------------------------------------------------- //FILES : //--------------------------------------------------------- $fp = fopen(LOGDIR . "/adminsreport.log", "a"); $fpsafe = fopen(LOGDIR . "/inSAFE.log", "a"); //--------------------------------------------------------- // COMMANDS : //--------------------------------------------------------- $mod->registerCommand("rp",false,"adminsReport"); $mod->registerCommand("safe",false,"playerIsSafe"); //--------------------------------------------------------- //CHECK : //--------------------------------------------------------- $mod->registerEvent("playerJoined","checks"); //--------------------------------------------------------- // MESSAGES : //--------------------------------------------------------- $mod->SetDefaultCV("reortForAdmins","success","^2Your Report Saved"); $mod->SetDefaultCV("reortForAdmins","alreadyreported","^2This player Already in Report list"); $mod->SetDefaultCV("reortForAdmins","clearreports","^2This player now have 0 reports"); $mod->SetDefaultCV("reortForAdmins","alreadycleard","^2This player Alread Cleard"); //--------------------------------------------------------- function adminsReport($guid,$parameters){ global $mod; global $players; $search = array_shift($parameters); $reason = implode(" ",$parameters); $found = $mod->findPlayerGuid($search); if($found){ if(!empty($reason)){ $open = fopen(LOGDIR . "/adminsreport.log", "r"); $read = fread($open,5000); $exs = explode("\n",$read); $searching = array_search($found,$exs); if($searching !== false){ $players[$guid]->say($mod->getCV("reortForAdmins","alreadyreported")); }else{ $players[$guid]->say($mod->getCV("reortForAdmins","success")); $adminname = $players[$guid]->getName(); $thetarget = $players[$found]->getName(); $open = fopen(LOGDIR . "/adminsreport.log", "a"); $post = "$found\n$adminname\n$thetarget\n$reason"; fwrite($open,$post); fclose($open); return true; } } }else{ $players[$guid]->say($mod->getLngString("playerNotFound", array("<SEARCH>"), array($search))); } } function playerIsSafe($guid,$parameters){ global $mod; global $players; $name = implode(" ",$parameters); $found = $mod->findPlayerGuid($name); if($found){ $thefile = fopen(LOGDIR . "/adminsreport.log", "r"); $gg = fread($thefile,5000); $inarr = explode("\n",$gg); $should = array_search($found,$inarr); if($should !== false){ $fpsafes = fopen(LOGDIR . "/inSAFE.log", "r"); $fl = fread($fpsafes,5000); $safearr = explode("\n",$fl); $se = array_search($found,$safearr); if($se !== false){ $players[$guid]->say($mod->getCV("reortForAdmins","alreadycleard")); }else{ $players[$guid]->say($mod->getCV("reortForAdmins","clearreports")); $posting = "$found\n"; $fpsafes = fopen(LOGDIR . "/inSAFE.log", "a"); fwrite($fpsafes,$posting); fclose($fpsafes); return true; } }else{ } }else{ $players[$guid]->say($mod->getLngString("playerNotFound", array("<SEARCH>"), array($name))); } } function checks($guid){ global $mod; global $players; $fastfp = fopen(LOGDIR . "/adminsreport.log", "r"); $getthis = fread($fastfp,5000); $arr2 = explode("\n",$getthis); $againstart = array_search($guid,$arr2); if($againstart !== false){ $fpsafe = fopen(LOGDIR . "/inSAFE.log", "r"); $gget = fread($fpsafe,5000); $arrsf = explode("\n",$gget); $safesearch = array_search($guid,$arrsf); if($safesearch !== true){ $admins = $mod->getAdmins(); $online = array(); foreach ($admins as $adminguid => $admin){ if (array_key_exists($adminguid, $players)) { //here i make new fastfp i know i have up i can use it but make new one with new line better $fastfps = fopen(LOGDIR . "/adminsreport.log", "r"); $reading = fread($fastfps,5000); $array = explode("\n",$reading); $key = array_keys($array,$guid); foreach($key as $keys => $value){ //mykey = reason and name and adminname reporter $adminreporter = $value + 1; $theplayername = $value + 2; $reas = $value + 3; $safes = fopen(LOGDIR . "/inSAFE.log", "r"); $readin = fread($safes,5000); $arrays = explode("\n",$readin); $geting = array_search($guid,$arrays); } if($geting === false){ $players[$adminguid]->say("^2 ".$array[$theplayername]." ^3Reported by ^1 ".$array[$adminreporter]." ^2Reason : ".$array[$reas]); } } } } } } ?>
-
if u joined the server go to mod.log search at ur name u will find u guid there copy guid and paste at admins.cfg
-
no i mean
when i set my ip and port in config.cfgin manuadminmod
how manuadminmod know its wrong or not ? the fsockopen ? its not working
cause i need to make manurcontool from wampserver its working but i need to know how to check the query
i saw in manuadminmod q3query.class but still little hard to understand -
redirect mod .
i have one