Ich habe mir bei 'best-gameservers' einen CoD4 Server mit 16 Slots bestellt.
Alles läuft auch einigermasen. D.h. Promod 204 usw. läuft alles perfekt.
Aber auf den Servern von best-gameservers ist auch gleich der ManuAdminMod
drauf. Allerdings kann ich keine Befehle eingeben.Ich bin auch kein Admin.
Eigentlich geht der ganze Mod nicht.
Startscript
Code:
#!/bin/bash # STARTSCRIPT by Hool and manu # Much thanks to him :) # # If you have any problems, visit manuadminmod.de # or contact# #============================ # #========= # CONFIG #========= # # Name of process # Unique for each mod installation #================================= NAME=ManuAdminMod_1 #Default: NAME=ManuAdminMod_1 # # Basedir to adminmod installation: #================================== DIR=/home/sachiko2/service149/cod4/adminmod#Example: DIR=/home/sachiko2/service149/cod4/adminmod # # Path to config directory #========================= CFGDIR=config #Default: CFGDIR=config # # Path to log directory #====================== LOGDIR=log #Default: LOGDIR=log # # Additional parameters for the mod (e.g. -force) #================================================ PARAMS="" #Default: PARAMS="" # # Path to php-binary # Normally only 'php' #=================== PHP=php #Example: PHP=/usr/local/bin/php # # Parameters for PHP (only for versed user) #========================================== PHPPARAMS="-f" #Default: PARAMS="-f" # #================================== # DO NOT EDIT STH BELOW THIS LINE #================================== # ------------------------------------------------------------------- case "$1" in start) if [[ `screen -ls |grep $NAME` ]] then echo "Error: $NAME is already running, use '$0 stop' to stop it" else cd $DIR screen -dmS $NAME $PHP $PHPPARAMS daemon.php -- -configdir "$CFGDIR" -logdir "$LOGDIR" $PARAMS echo "$NAME was started. If you have problems try '$0 debug'" fi ;; stop) if [[ `screen -ls |grep $NAME` ]] then kill `screen -ls |grep $NAME |awk -F . '{print $1}'|awk '{print $1}'` echo "$NAME was stopped" else echo "Error: $NAME isn't currently running" fi ;; status) if [[ `screen -ls |grep $NAME` ]] then echo "$NAME is currently running" else echo "$NAME is NOT running" fi ;; debug) if [[ `screen -ls |grep $NAME` ]] then echo "Error: $NAME is running, use '$0 stop' to stop it" else cd $DIR $PHP $PHPPARAMS daemon.php -- -configdir "$CFGDIR" -logdir "$LOGDIR" $PARAMS fi ;; show) tail -f "$LOGDIR/mod.log" ;; *) echo "Usage: $0 {start|stop|status|debug|show}" exit 1 ;; esac exit 0
Admins.cfg
Code:
; This file will be overwritten by the mod automatically ; Do not make any comments inhere ; Use the generator to generate a valid file: http://manuadminmod.de/config/admin.php [4b0143245359c77577773bd04f82494] group = "master" protected = 0 names = "space qLimAxzU"
Config.cfg
Code:
[main] ip = "188.138.116.114" port = 28961 logfile = "../main/games_mp.log" rconpassword = "SAG ICH EUCH NICHT ! :AWESOME:" timezone = "Europe/Berlin" prefix = "!" language = "en" antispam = 2 logrcon = 0 antistartupbug = "restart" fixguidrelax = 1 pmprefix = "^1PM: ^2" responsefailcmds = 0 [kickban] defaultkickreason = "Kicked by Admin" defaultbanreason = "Banned by Admin" usepb = 1 pbtempbanduration = 5 announce = 1 maxtempbantime = 1440 [welcomemessages] enabled = 1 master = "^1ATTENTION: <GROUP_NAME> ^7<PLAYER_NAME>^1 has joined the game!" admin = "^1<GROUP_NAME> ^7<PLAYER_NAME>^1 has joined the game!" member = "^2Welcome <GROUP_NAME> ^7<PLAYER_NAME>^2" user = "^2Welcome <GROUP_NAME> ^7<PLAYER_NAME>^2" default = "^2Welcome <GROUP_NAME> ^7<PLAYER_NAME>" whisper = 0 [banner] enabled = 1 time = 120 [randommapcycle] enabled = 0 maps = "mp_backlot,mp_bloc,mp_bog,mp_cargoship,mp_citystreets,mp_convoy,mp_countdown,mp_crash,mp_crash_snow,mp_crossfire,mp_farm,mp_overgrown,mp_pipeline,mp_showdown,mp_strike,mp_vacant,mp_shipment,mp_broadcast,mp_carentan,mp_creek,mp_killhouse" gametypes = "war,dm,sab,koth,sd,dom" notlastmaps = 3 notlastgt = 1 [badwords] enabled = 1 warnstokick = 3 mode = "tempban" kickreason = "Use of bad words" [warns] enabled = 1 warnstokick = 2 mode = "kick" kickreason = "Too many warns by admin" [pingkicker] enabled = 0 maxping = 150 checkinterval = 30 warnstokick = 2 mode = "kick" kickreason = "Your ping is too high" [nameprotection] enabled = 1 badnamekick = 1 badnamekickmode = "kick" badnamekickreason = "Your name contains an illegal part: <PART>" adminnamekick = 1 adminnamekickmode = "kick" adminnamekickreason = "Your name is an admins name" maxnamechanges = 5 maxnamechangeskickmode = "tempban" maxnamechangeskickreason = "Max. namechanges reached" uppercasedisallow = 1 uppercasekickreason = "Please do not use only upper case letters in your nickname" uppercasekickmode = "kick" [modstuff] checkforupdates = 0 checkinterval = 6 announceinterval = 5 serverlist = 1 serverlistip = "" [customcommands] pbsay = "pb_sv_say -1 <ARG>" kickme = "pb_sv_kick <PLAYER:PBID> 0 <ARG:OPT:You kicked yourself>" payback = "pb_sv_kick <LAST_KILLER:PBID> 0 ^1NEVER KILL AN ADMIN!" [spreemessages_config] enabled = 0 firstblood = 1 killsprees = 1 deathsprees = 1 spreeendsfrom = 10 multikills = 1 spreeends = 1 [spreemessages_messages] firstblood = "^7<PLAYER_NAME> ^1drew first blood!" multikill = "^7!! ^1Multikill ^7> ^2<PLAYER_NAME>^7 < ^1Multikill^7 !!" monsterkill = "^7!!!! ^1MONSTERKILL ^7>>> ^2<PLAYER_NAME>^7 <<< ^1MONSTER KILL ^7!!!!" end_kill = "^2<PLAYER_NAME>^1's killing spree ended (^2<KILLS> ^1kills). He was killed by ^3<KILLER_NAME>^1!" end_teamkill = "^2<PLAYER_NAME>^1's killing spree ended (^2<KILLS> ^1kills). He was killed by TEAMMATE ^3<KILLER_NAME>^1!" end_selfkill = "^2<PLAYER_NAME>^1's killing spree ended (^2<KILLS> ^1kills). He killed ^3himself^1, what a pity!" 5 = "^7<PLAYER_NAME> ^1is on a ^3killing spree! ^1(^2<KILLS> ^1kills in a row)" 10 = "^7<PLAYER_NAME> ^1is on a ^3rampage! ^1(^2<KILLS> ^1kills in a row)" 15 = "^7<PLAYER_NAME> ^1is ^3dominating! ^1(^2<KILLS> ^1kills in a row)" 20 = "^7<PLAYER_NAME> ^1is ^3unstoppable! ^1(^2<KILLS> ^1kills in a row)" 25 = "^7<PLAYER_NAME> ^1is ^3godlike!! ^1(^2<KILLS> ^1kills in a row)" 30 = "^7<PLAYER_NAME> ^1is ^3wicked sick!!! ^1(^2<KILLS> ^1kills in a row)" 35 = "^7<PLAYER_NAME> ^1is ^3real Potter!!! ^1(Woohoo, ^2<KILLS> ^1kills in a row!)" -10 = "^7<PLAYER_NAME> ^1seems to have a bad day ... (^2<DEATHS>^1 deaths without a ^2kill^1)" -15 = "^7<PLAYER_NAME> ^1is on the best way to get ^3victim^1 of the day... (^2<DEATHS> ^1deaths w/o ^2kill^1)" -20 = "^7<PLAYER_NAME> ^1really gets his ^3ass kicked!^1 Oh well, ^2<DEATHS> ^1deaths without a ^2kill^1..." [mapvote] enabled = 0 type = 2 mapcount = 3 duration = 620 announce = 90 maps = "<maps.cfg>" gametypes = "war,dm,sab,koth,sd,dom" notlastmaps = 5 notlastgt = 1 votestoskip = "50%" [weaponrestrictions] enabled = 1 weapons = "gl,frag_grenade_short" warnstokick = 2 mode = "tempban" kickreason = "Used a restricted weapon: <WEAPON>" [statistics] statsstring = "^2Kills: <KILLS> ^1Deaths: <DEATHS> ^3K/D: <KPD> ^2time: <ONLINETIME> min ^3K/M: <KPM> ^2HS: <HEADSHOTS> ^7TKs: <TEAMKILLS>" whisperstats = 0 savestats = "sqlite" [antiteamkiller] enabled = 0 min = -3 start = 0 warn = 3 kick = 4 teamkill = 1 kill = 0.1 mode = "tempban" kickreason = "Made too many teamkills" forgive = 1 forgivetime = 30 forgivepoints = 0.5 [aliases] k = "kick" b = "ban" rm = "quitmod" mr = "quitmod" setlevel = "setgroup" admincheck = "checkadmin" owned = "fun owned" pwned = "fun owned" killed = "fun killed" bye = "fun bye" pizza = "fun pizza" beer = "fun beer" coke = "fun coke" whoiam = "fun whoiam" groups = "setgroup listgroups dummy" f = "forgive" y = "yes" n = "no" j = "yes" ja = "yes" nein = "no" votekick = "vote kick" votemap = "vote map" voteban = "vote ban" banlist = "pbbanlist" unban = "pbunban" godmode = "fun godmode" aimbot = "fun aimbot" sex = "fun sex" kamikaze = "fun kamikaze" death = "fun death" bigadmin = "fun bigadmin" off = "readconfig off" on = "readconfig" [funmessages] enabled = 0 killed = "^7<PLAYER_NAME> ^1was last killed by ^7<PLAYER_LASTKILLER> ^1with a ^7<PLAYER_LASTWEAPONDEATH>" owned = "^7<PLAYER_NAME> ^1killed ^7<PLAYER_LASTVICTIM> ^1with a ^7<PLAYER_LASTWEAPONKILL>" bye = "^7<PLAYER_NAME>^2 waves his hand to say ^1GOOD BYE^2. We surely meet later!" pizza = "^2Someone calls Mario and he brings ^7<PLAYER_NAME>^2 a hot pepperoni pizza!" beer = "^2Eine h?bsche Kellnerin bringt ^7<PLAYER_NAME>^2 ein sch?nes Bier!" coke = "^2Ah... A delicious glass of cold Coca Cola[tm] (*thinks ^7<PLAYER_NAME>^2 while he's drinking*)" whoiam = "^2My name is ^7<PLAYER_NAME>^2, I'm in the team ^7<PLAYER_TEAM>^2 with a ^7<PLAYER_LASTWEAPONKILL>^2 and have ^7<PLAYER_KILLS>^2 Kills" godmode = "^1GODMODE^2 is now enabled for player ^7<PLAYER_NAME>" aimbot = "^3<PLAYER_NAME> ^2turned on his ^1AIM-BOT!" sex = "^2SEX is not the answer. SEX is the question and ^7<PLAYER_NAME> ^2is the answer!!" kamikaze = "^7<PLAYER_NAME> ^2is desperately trying to figure out why kamikaze pilots wore helmets." death = "^2Hello ^7<PLAYER_NAME>^2, this is ^7Death. ^2Please answer when you're ready." bigadmin = "^1Ooooooh, ^3Big Admin is watching ^1YOU!" [voting] enabled = 0 duration = 45 interval = 120 annouce = 15 minplayers = 3 maxvotesperplayer = 2 timelimit = 0 ignoremapchange = 0 allowkick = 1 allowban = 1 allowmap = 1 allownextmap = 1 allowsetnextmap = 1 allowgametype = 1 allowhardcore = 1 allowrestart = 1 allowedmaps = "<maps.cfg>" allowedgametypes = "war,dom,koth,dm,sab,sd" banduration = 0 [ftp] enabled = 0 host = "" port = 21 user = "" password = "" passive = 1 [tcp_query] enabled = 0 ip = "0.0.0.0" port = 1337 logintimeout = 30 defaulaction = "say" sayprefix = "^3space qLimAxzU (<ADMIN>): ^7" admingroups = "master,admin" disallowedcommands = "vote,yes,no,stats,session" maxconnections = 5 [statistics_mysql] host = "localhost" user = "anonymous" password = "" database = "mamstats" prefix = "mam01_"
Ich brauche dringend Hilfe !
Es ist sehr wichtig.
Dankeschön schon mal im Vorrauß.
Mfg.





#
#============================
#
#=========
# CONFIG
#=========
#
# Name of process
# Unique for each mod installation
#=================================
NAME=ManuAdminMod_1
#Default: NAME=ManuAdminMod_1
#
# Basedir to adminmod installation:
#==================================
DIR=/home/sachiko2/service149/cod4/adminmod#Example: DIR=/home/sachiko2/service149/cod4/adminmod
#
# Path to config directory
#=========================
CFGDIR=config
#Default: CFGDIR=config
#
# Path to log directory
#======================
LOGDIR=log
#Default: LOGDIR=log
#
# Additional parameters for the mod (e.g. -force)
#================================================
PARAMS=""
#Default: PARAMS=""
#
# Path to php-binary
# Normally only 'php'
#===================
PHP=php
#Example: PHP=/usr/local/bin/php
#
# Parameters for PHP (only for versed user)
#==========================================
PHPPARAMS="-f"
#Default: PARAMS="-f"
#
#==================================
# DO NOT EDIT STH BELOW THIS LINE
#==================================
# -------------------------------------------------------------------
case "$1" in
start)
if [[ `screen -ls |grep $NAME` ]]
then
echo "Error: $NAME is already running, use '$0 stop' to stop it"
else
cd $DIR
screen -dmS $NAME $PHP $PHPPARAMS daemon.php -- -configdir "$CFGDIR" -logdir "$LOGDIR" $PARAMS
echo "$NAME was started. If you have problems try '$0 debug'"
fi
;;
stop)
if [[ `screen -ls |grep $NAME` ]]
then
kill `screen -ls |grep $NAME |awk -F . '{print $1}'|awk '{print $1}'`
echo "$NAME was stopped"
else
echo "Error: $NAME isn't currently running"
fi
;;
status)
if [[ `screen -ls |grep $NAME` ]]
then
echo "$NAME is currently running"
else
echo "$NAME is NOT running"
fi
;;
debug)
if [[ `screen -ls |grep $NAME` ]]
then
echo "Error: $NAME is running, use '$0 stop' to stop it"
else
cd $DIR
$PHP $PHPPARAMS daemon.php -- -configdir "$CFGDIR" -logdir "$LOGDIR" $PARAMS
fi
;;
show)
tail -f "$LOGDIR/mod.log"
;;
*)
echo "Usage: $0 {start|stop|status|debug|show}"
exit 1
;;
esac
exit 0

