Ultra Ban List Prosím Kontrolu

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
EstaThe
Příspěvky: 40
Registrován: 23 dub 2012, 18:43
Reputation: 0

Ultra Ban List Prosím Kontrolu

#1 Příspěvekod EstaThe » 27 úno 2013, 22:01

Server: 93.91.250.119:27720 (pokud server ještě nemáte, vepište zde "nemám")

Dobrý den, ultra bans mám jistě dobře protože mi funguje. Na web bych rád dal banlist jenže to nezapisuje. Nápíšu sem do code jak jsem to napsal s cenzurou u hesla. Každej kdo mi pomůže to vyřešit odměňuju karmou....

http://estacraft.cz/banlist.php

Soubor banlist.php jsem dal na web s tímto obsahem
Spoiler: zobrazit

Kód: Vybrat vše

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Ultra Banlist</title>
</head>
<body>
<h1>Ultra Banlist</h1>
<?php

// change these things

   $server = "clark.fakaheda.eu";
   $dbuser = "10838_mysql_db";
   $dbpass = "cenzurka";
   $dbname = "10838_mysql_db";
   
mysql_connect($server, $dbuser, $dbpass);
mysql_select_db($dbname);

$result = mysql_query("SELECT * FROM banlist ORDER BY id DESC");
//This will display the most recent by id edit this query how you see fit. Limit, Order, ect.
echo "<table width=100% border=1 cellpadding=3 cellspacing=0>";

echo "<tr style=\"font-weight:bold\">
<td>Type</td>
<td>Name</td>
<td>Reason</td>
<td>Admin/Mod</td>
<td>Time</td>
<td>TimeTempBan</td>
<td>id</td>

</tr>";

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

if($col == "#eeeeee"){
$col = "#ffffff";
}else{
$col = "#eeeeee";
}
echo "<tr bgcolor=$col>";
if($row['type'] == "5"){
echo "<td>Unban</td>";
}else{
    if($row['type'] == "3"){
    echo "<td>Kick</td>";
    }else{
        if($row['type'] == "2"){
        echo "<td>Warn</td>";
        }else{
            if($row['type'] == "0"){
            echo "<td>Banned</td>";
            }else{
                if($row['type'] == "1"){
                echo "<td>IPBanned</td>";
                }else{
                    if($row['type'] == "4"){
                    echo "<td>Fine</td>";
                    }else{
                        if($row['type'] == "6"){
                        echo "<td>Jailed</td>";
                        }else{
                            if($row['type'] == "9"){
                            echo "<td>Perma</td>";
                            }else{
                            echo "<td>Unknown</td>";
//Holy Epic If Statement Batman!
                            }
                        }
                    }
                }
            }
        }
    }
}
echo "<td>".$row['name']."</td>";
echo "<td>".$row['reason']."</td>";
echo "<td>".$row['admin']."</td>";
//Convert Epoch Time to Standard format
$datetime = date("F j, Y, g:i a", $row['time']);
echo "<td>$datetime</td>";
$dateconvert = date("F j, Y, g:i a", $row['temptime']); 
if($row['temptime'] == "0"){
echo "<td>None</td>";
}else{
echo "<td>$dateconvert</td>";
}
echo "<td>".$row['id']."</td>";

echo "</tr>";
}

echo"</table>"

?>
</div>
Ban database provided by UltraBans.
</body></html>


Děkuju všem co mi pomůžou :) odměnuju karmou

vojtamaniak
Příspěvky: 3512
Věk: 26
Registrován: 18 úno 2012, 21:02
Reputation: 11

Re: Ultra Ban List Prosím Kontrolu

#2 Příspěvekod vojtamaniak » 27 úno 2013, 22:10

A udělil jsi už nějaký ban? :-)

Uživatelský avatar
LavorekCZ
Příspěvky: 1805
Registrován: 20 lis 2011, 13:58
Reputation: 0
Kontaktovat uživatele:

Re: Ultra Ban List Prosím Kontrolu

#3 Příspěvekod LavorekCZ » 27 úno 2013, 22:18

Spíš sem zkopíruj config Ultrabanu.
Pomohl ti někdo? Pak určitě bude rád, když mu zvedneš karmu!
not sure

EstaThe
Příspěvky: 40
Registrován: 23 dub 2012, 18:43
Reputation: 0

Re: Ultra Ban List Prosím Kontrolu

#4 Příspěvekod EstaThe » 27 úno 2013, 22:26

Bany dáváme
Config
Spoiler: zobrazit

Kód: Vybrat vše

Database: SQLite
MySQL:
  Database: jdbc:mysql://localhost:27720/minecraft
  User: 10838_mysql_db
  Password: cenzura
  Table: banlist
  IPTable: banlistip
SQLite:
  Filename: banlist
CleanOnBan: true
ClearWarnOnBan: false
Log:
  Enabled: true
MaxWarning:
  Enable: false
  Amt: 5
  Result: ban
  Silent: true
  Reason: Max Warnings
  Temp:
    Amt: 5
    Mode: day
Label:
  Console: Server
  Reason: Unsure
Lockdown: false
Login:
  DupeCheck:
    Enable: true
  ProxyPingBack:
    Enable: false
    Timeout: 10000
Sync:
  Enabled: false
  Timing: 72000L
AutoUpdater:
  Enabled: true
Chat:
  IPCheck:
    Enable: true
    Blocking: '{Block}'
    Result: warn
    Silent: false
    Reason: Advertising
  SwearCensor:
    Enable: true
    Words: test testing tests
    Blocking: '{Block}'
    Result: warn
    Silent: false
    Reason: Language
  SpamCheck:
    Enable: true
    Counter: 10
    Result: kick
    Silent: false
    Reason: Spam
Muted:
  Vannila: true
  AllowedCommands:
  - /login
  - /register
Jail:
  Mute: true
  Vanilla: true
  AllowedCommands:
  - /login
  - /register
Messages:
  Ban:
    MsgToVictim: '&6Byl jsi zabanovan od &7%admin%&6. Za: &7%reason%&6! WEB www.EstaCraft.cz'
    MsgToBroadcast: '&7%victim%&6 byl zabanovan od &7%admin%&6. Za: &7%reason%&6!'
    Failed: '&4%victim%&c uz ma ban.'
    Denied: '&cYour ban attempt has been denied!'
    Emo: '&cco to zkousis!'
    Login: '&7%admin%&6 te zabanoval! za: &7%reason%&6! Unban davej na www.EstaCraft.cz'
  CheckBan:
    Header: '&6Found &7%amt%&6 records for &7%victim%&6.'
    None: '&cNo records found for &4%victim%&c.'
  Clean:
    Complete: '&6Deleted &7%amt%&6 player.dat files.'
  DupeIP:
    Failed: '&cUnable to view ip for &4%victim% &c!'
    Header: '&6Scanning Current IP of &7%victim%&6: &7%ip% !'
    Completed: '&aScanning Complete!'
  Empty:
    MsgToVictim: '&7%admin%&6 has cleared your inventory!'
    MsgToSender: '&7%admin%&6 has cleared the inventory of &7%victim%&6!'
    Online: '&4%victim%&c must be online.'
  Export:
    Failed: '&cCould not export ban lists.'
    Completed: '&aExported banlists.'
  History:
    Header: '&6Ultrabans Listing &7%amt%&6 Records.'
    Failed: '&cUnable to find any bans.'
  Import:
    Loading: '&cBe patient. Loading...'
    Failed: '&cCould not import ban list.'
    Completed: '&aSystem imported the banlist to the database.'
  InvOf:
    Failed: '&cUnable to find player.'
    Console: '&cThis command must be executed by a &4player&c.'
  IPBan:
    MsgToVictim: '&6Dostal jsi ip ban od &7%admin%&6. Za: &7%reason%&6! WEB www.EstaCraft.cz'
    MsgToBroadcast: '&7%victim%&6 dostal ipban od &7%admin%&6. Za: &7%reason%&6!'
    IPNotFound: '&cIP address not found. &6Processed as a normal ban for &7%victim%&6!'
    Failed: '&4%victim%&c is already in banned.'
    Denied: '&cYour ipban attempt has been denied!'
    Emo: '&cYou cannot ipban yourself!'
    Login: '&7Your IP is banned Unban zadej na www.EstaCraft.cz!'
  Jail:
    MsgToVictim: '&6Byl jsi pridan do vezeni od &7%admin%&6. Za: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 sel do vezeni od &7%admin%&6. Za: &7%reason%&6!'
    SetJail: '&a Je tu vezeni!'
    SetRelease: '&aRelease has been set!'
    Failed: '&4%victim%&c is already in jail.'
    Online: '&4%victim%&c must be online to be jailed.'
    Denied: '&cYour jail attempt has been denied!'
    Emo: '&cYou cannot jail yourself!'
    PlaceMsg: '&cSes ve vezeni!'
    BreakMsg: '&cSes ve vezeni!'
  Kick:
    MsgToAll: '&6Everyone has been kicked by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToVictim: '&6Byl jsi kicknut od &7%admin%&6. Za: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 byl kicknut od &7%admin%&6. Za: &7%reason%&6!'
    Online: '&4%victim%&c must be online.'
    Denied: '&cYour kick has been denied!'
    Emo: '&cSam sobe nemuzes emousi!'
  Lockdown:
    Start: '&cLockdown initiated. &4Player Login&c disabled.'
    End: '&aLockdown ended. &2Player Login&a reenabled.'
    Status: '&cLockdown is disabled.'
    LoginMsg: '&4Server is under a lockdown, Try again later!&c Sorry.'
  Mute:
    MuteMsgToSender: '&6Mutnul jsi &7%victim%&6.'
    MuteMsgToVictim: '&4Mas mute!'
    UnmuteMsgToSender: '&6Unmutnul jsi &7%victim%&6.'
    UnmuteMsgToVictim: '&aKonecne nemas mute.'
    Denied: '&cYour mute has been denied!'
    Emo: '&cYou cannot mute yourself!'
    Chat: '&cYour cry falls on deaf ears.'
  Pardon:
    Msg: '&7%victim%&6 zachranil z vezeni tento admin &7%admin%&6!'
  PermaBan:
    MsgToVictim: '&6Dostal jsi perma ban &7%admin%&6. Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 dostal ban na vzdy &7%admin%&6. Reason: &7%reason%&6!'
    Failed: '&4%victim%&c is already banned.'
    Online: '&4%victim%&c must be online.'
    Denied: '&cYour permaban has been denied!'
    Emo: '&cYou cannot permaban yourself!'
  Spawn:
    MsgToVictim: '&cYou have been sent to spawn!'
    MsgToSender: '&7%victim%&6 is now at spawn!'
    Failed: '&4%victim%&c is not online.'
  Starve:
    MsgToVictim: '&cYou are now starving!'
    MsgToSender: '&6%victim%&7 is now starving!'
    Failed: '&4%victim%&c is not online.'
    Denied: '&cYour starve attempt has been denied!'
    Emo: '&cYou cannot starve yourself!'
  TempBan:
    MsgToVictim: '&6Dostal jsi ban od &7%admin%&6 pro &7%amt% %mode%s.&6 Za: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 dostal ban od &7%admin%&6 pro &7%amt% %mode%s.&6
      Za: &7%reason%&6!'
    Failed: '&4%victim%&c is already tempbanned!'
    Denied: '&cYour tempban has been denied!'
    Emo: '&cYou cannot tempban yourself!'
    Login: '&6bas ban od &7%admin%&6 na &7%time%&6. Za: &7%reason%&6!'
  TempIpBan:
    MsgToVictim: '&6Dostal jsi ban od &7%admin%&6 pro &7%amt% %mode%s.&6 Za: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 dostal ban od &7%admin%&6 pro &7%amt% %mode%s.&6
      Za: &7%reason%&6!'
    Failed: '&4%victim%&c is already tempipbanned!'
    Denied: '&cYour tempipban has been denied!'
    Emo: '&cYou cannot tempipban yourself!'
    IPNotFound: '&cIP address not found.&6 Processed as a normal tempban for &7%victim%&6!'
  TempJail:
    MsgToVictim: '&6You have been tempjailed by &7%admin%&6 for &7%amt% %mode%s.&6
      Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was tempjailed by &7%admin%&6 for &7%amt% %mode%s.&6
      Reason: &7%reason%&6!'
    Failed: '&4%victim%&c is already jailed!'
    Denied: '&cYour tempjail has been denied!'
    Emo: '&cYou cannot tempjail yourself!'
  Unban:
    MsgToBroadcast: '&7%victim%&6 dostal unban od &7%admin%&6!'
    PermaBanned: '&cunban dostal, &7%victim%&c was Permabanned.'
    Failed: '&4%victim%&c is already unbanned!'
  Warn:
    MsgToVictim: '&6You have been warned by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was warned by &7%admin%&6. Reason: &7%reason%&6!'
    Denied: '&cYour warning has been denied!'
    Emo: '&cYou cannot warn yourself!'
  MaxWarn:
    MsgToBroadcast: '&7%cmd%&6 performed by Ultrabans on &7%victim%&6. Reason: &7Reached
      Max Warnings&6!'
  Permission: You do not have the required permissions.
Mode:
  Second: Second
  Minute: Minute
  Hour: Hour
  Day: Day
  Week: Week
  Month: Month
  Year: Year
Config:
  Version: 3.0
release:
  x: 421
  y: 63
  z: 243
  world: world

Uživatelský avatar
LavorekCZ
Příspěvky: 1805
Registrován: 20 lis 2011, 13:58
Reputation: 0
Kontaktovat uživatele:

Re: Ultra Ban List Prosím Kontrolu

#5 Příspěvekod LavorekCZ » 27 úno 2013, 22:34

Přesně co jsem si myslel.

Kód: Vybrat vše

  Database: jdbc:mysql://localhost:27720/minecraft

místo minecraft má být 10838_mysql_db
Pomohl ti někdo? Pak určitě bude rád, když mu zvedneš karmu!
not sure

EstaThe
Příspěvky: 40
Registrován: 23 dub 2012, 18:43
Reputation: 0

Re: Ultra Ban List Prosím Kontrolu

#6 Příspěvekod EstaThe » 27 úno 2013, 22:58

pořád mi to nefunguje. Nemáte ještě nějaký nápad?

Uživatelský avatar
Sejsel
Příspěvky: 4131
Registrován: 19 čer 2011, 09:43
Reputation: 0
Bydliště: /home/sejsel/
Kontaktovat uživatele:

Re: Ultra Ban List Prosím Kontrolu

#7 Příspěvekod Sejsel » 27 úno 2013, 23:46

Má to být takto, všechny databáze zde běží na portu 3306, Lavorek si asi nevšiml :)

Kód: Vybrat vše

  Database: jdbc:mysql://localhost:3306/10838_mysql_db
01101110011101010110001001110111


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 39 hostů