Stránka 1 z 3

KiwiAdmin = pomoc

Napsal: 01 říj 2011, 18:52
od BlackLight
Server: zulu.fakaheda.eu:27681

Zdravím, pomohl by mi někdo nainstalovat plugin kiwiadmin na server ? Nějak se s tím nemůžu vypořádat ...

Re: KiwiAdmin = pomoc

Napsal: 01 říj 2011, 21:13
od Sejsel
Dej nám sem svůj config (bez hesla, samozřejmě)

Re: KiwiAdmin = pomoc

Napsal: 01 říj 2011, 21:23
od BlackLight
Edit: http://www.mc4you.mzf.cz/banlist.php takhle to vypadá .. Co s tím ? :/

Re: KiwiAdmin = pomoc

Napsal: 01 říj 2011, 22:25
od BlackLight
A ani mi ve hře nefungujou příkazy /ban /tempban apod. ... ani se nic nestane, ani to nic nenapíše a jako jediný plugin v /plugins je napsaný červeně ....

Re: KiwiAdmin = pomoc

Napsal: 01 říj 2011, 22:27
od bagr
jak máš nastavenou cestu k databázi?

Re: KiwiAdmin = pomoc

Napsal: 01 říj 2011, 22:32
od BlackLight
V pluginu nebo v tom.php ?

Re: KiwiAdmin = pomoc

Napsal: 01 říj 2011, 22:35
od Leeking
Dej sem do code oba configy, jak na serveru tak na webu.

Re: KiwiAdmin = pomoc

Napsal: 01 říj 2011, 22:39
od BlackLight
Plugin :

Kód: Vybrat vše

mysql: true
mysql-database: 'jdbc:sql.endora.cz:3310/kiwiadmin'
mysql-user: 'mc4you'
mysql-password: '<edited>'
mysql-table: banlist
mysql-table-ip: banlistip
auto-complete: true

messages:
    banMsgFailed: "&cPlayer &e%victim% &cis already banned!"
    unbanMsg: "&aSuccessfully unbanned player &e%victim%&a!"
    unbanMsgGlobal: "&e%victim% &6was unbanned by &e%player%&6!"
    unbanMsgFailed: "&cFailed to unban &e%victim%&c!"
    kickAllMsg: "%player% kicked everyone. Reason: %reason%"
    kickMsgVictim: "You have been kicked by %player%. Reason: %reason%"
    kickMsgBroadcast: "&e%victim% &6was kicked by &e%player%&6. Reason: &e%reason%"
    kickMsgFailed: "&cKick failed: &6%victim% &cisn't online."
    banMsgVictim: "You have been banned by %player%. Reason: %reason%"
    banMsgBroadcast: "&e%victim% &6was banned by &e%player%&6. Reason: &e%reason%"
    tempbanMsgVictim: "You have been temp. banned by %player%. Reason: %reason%"
    tempbanMsgBroadcast: "&e%victim% &6was temp. banned by &e%player%&6. Reason: &e%reason%"
    LoginTempban: "&cYou are banned until &e%time%&c! Reason: &e%reason%"
    LoginBan: "&cYou are banned from this server! Reason: &e%reason%"
    LoginIPBan: "&cThis IP is banned!"

Web :

Kód: Vybrat vše

<html><body>
<?php

// change these things

   $server = "sql.endora.cz:3310";
   $dbuser = "mc4you";
   $dbpass = "<edited>";
   $dbname = "kiwiadmin";
   
mysql_connect($server, $dbuser, $dbpass);
mysql_select_db($dbname);

$result = mysql_query("SELECT * FROM banlist ORDER BY time DESC");

echo "<table width=70% border=1 cellpadding=5 cellspacing=0>";

echo "<tr style=\"font-weight:bold\">
<td>Name</td>
<td>Reason</td>
<td>Admin/Mod</td>
<td>Time of ban</td>
<td>Time of unban</td>
</tr>";

while($row = mysql_fetch_assoc($result)){

if($col == "#eeeeee"){
$col = "#ffffff";
}else{
$col = "#eeeeee";
}
echo "<tr bgcolor=$col>";

echo "<td>".$row['name']."</td>";
echo "<td>".$row['reason']."</td>";
echo "<td>".$row['admin']."</td>";
echo "<td>".$row['time']."</td>";
if($row['temptime'] == "0000-00-00 00:00:00"){
echo "<td>Permanent</td>";
}else{
echo "<td>".$row['temptime']."</td>";
}

echo "</tr>";
}

echo"</table>"

?>
Ban database provided by <a href="http://forums.bukkit.org/threads/admn-kiwiadmin-v2-0-kick-temp-ban-unban-mysql-and-flatfile-670.1681/">KiwiAdmin</a>.
</body></html>

Re: KiwiAdmin = pomoc

Napsal: 01 říj 2011, 23:18
od Mysteria
Víš co to znamená dát to sem bez hesla? Pokud si to heslo stihl někdo opsat dřív, než jsem ti ho upravil, tak si s tvojí databází budou moci dělat co chtějí! Doporučuju si okamžitě změnit heslo k databázi!

Re: KiwiAdmin = pomoc

Napsal: 01 říj 2011, 23:41
od BlackLight
Díky už sem si ho změnil, a jen dotaz tak mimo tuhle tému =) když sem zažádal o TS server k hernímu serveru, kdy jej obdržím ?