ScoreBoardStats

notaldo

If you want this, dream it!
En iyi cevaplar
1
Scoreboardstats daki top10 u sitemde nasıl gösterebilirim ???
 

FurkanYLMZ

Demir Madencisi
En iyi cevaplar
0
Config.yml de şu kodlar bulunması gerek ;
# Main configuration
# Compatible mode with other plugins like HealthBar, ColoredTags, GhostPlayer or McCombatLevel
compatibilityMode: false
# Should be the node disabled-worlds handled as whitelist or blacklist
disabled-worlds-whitelist: false
disabled-worlds:
- city
# This will not count vanished players in the online value
hide-vanished: false
Scoreboard:
Title: '&a&lStats'
# seconds
# For instant updates you can or 1 and it will update every second
Update-delay: 2
Items:
# The Title must have under 48 characters
# Title: Type
'&9Online': '%online%'
'&9Money': '%money%'
# Let ScoreboardStats track stats (kills, deaths, mobkills, killstreak) You need no plugin for this
enable-pvpstats: false
Temp-Scoreboard-enabled: false
Temp-Scoreboard:
Title: '&a&lTop Kills'
# %mob% | %kills% | %killstreak%
Type: '%kills%'
Color: '&9'
# How many Players would be displayed
Items: 5
Intervall-show: 300
Intervall-disappear: 300
pluginUpdate: true

Buradan Temp-Scoreboard-enabled: false yi true yapmanız gerek.
Ve son olarak enable-pvpstats: false yi de true yapmanız gerekecek.
Ozaman aktif olacaktır.
 

Krumb069

Nether Yerlisi
En iyi cevaplar
1
Config.yml de şu kodlar bulunması gerek ;
# Main configuration
# Compatible mode with other plugins like HealthBar, ColoredTags, GhostPlayer or McCombatLevel
compatibilityMode: false
# Should be the node disabled-worlds handled as whitelist or blacklist
disabled-worlds-whitelist: false
disabled-worlds:
- city
# This will not count vanished players in the online value
hide-vanished: false
Scoreboard:
Title: '&a&lStats'
# seconds
# For instant updates you can or 1 and it will update every second
Update-delay: 2
Items:
# The Title must have under 48 characters
# Title: Type
'&9Online': '%online%'
'&9Money': '%money%'
# Let ScoreboardStats track stats (kills, deaths, mobkills, killstreak) You need no plugin for this
enable-pvpstats: false
Temp-Scoreboard-enabled: false
Temp-Scoreboard:
Title: '&a&lTop Kills'
# %mob% | %kills% | %killstreak%
Type: '%kills%'
Color: '&9'
# How many Players would be displayed
Items: 5
Intervall-show: 300
Intervall-disappear: 300
pluginUpdate: true

Buradan Temp-Scoreboard-enabled: false yi true yapmanız gerek.
Ve son olarak enable-pvpstats: false yi de true yapmanız gerekecek.
Ozaman aktif olacaktır.
alakası yok adam sitede nasıl gösterebilirim demiş
 

notaldo

If you want this, dream it!
En iyi cevaplar
1
bir yardımcı olun lutfen bi tan script buldum ama

Bu Top100.html
HTML:
<body>
<table id="toplist_100">
    
    
   </table>
  
   <script  type="text/javascript">
   $(document).ready(function(){
     $.ajax({
         type:"POST",
         url:"islem.php",
         data:{islem:"score_100"},
         success:function(data){
          $("#toplist_100").html(data);
         
          }
         });        
  
   });
   </script>
</body>

bu Baglanti.php (ben bu yerleri doldurdum.)
PHP:
<?php
//Veritabanı Bağlantı Dosyası
//www.m3t3-han.net.tc
//declared("encoding=UTF-8");
$host = "";
$kadi = "";
$sifre = "";
$veritabani = "";

$mysql = @mysql_connect($host,$kadi,$sifre);
@mysql_select_db($veritabani,$mysql);

//mysql_query("SET NAMES 'latin5'");
//mysql_query("SET CHARACTER SET latin5");
//mysql_query("SET COLLACTION_CONNECTION = 'latin5_turkish_ci'");
?>

bu da islem.php
PHP:
<?php

@require_once("baglanti.php");
header ("Content-Type: text/html; charset=utf-8");
    if (!empty($_POST)){
        if($_POST['islem']){
        switch($_POST['islem']){
            case 'score_100':
            $sayac = 0;
            $cek=mysql_query("SELECT * FROM `PlayerStats` ORDER BY  `PlayerStats`.`kills` DESC ");
            echo'
            <tr>
                    <td>Sıra:</td>
                    <td>Kullanıcı Adı:</td>
                    <td>Öldürme:</td>
                    <td>KillStreak:</td>
                    <td>Zombi Katliamı:</td>
                </tr>
            ';
                if(mysql_num_rows($cek)!= 0){
                    while($oku=mysql_fetch_object($cek)){
                        echo'<tr>
                                 <td>'.($sayac+1).'</td>
                                 <td>'.$oku->playername.'</td>
                                 <td>'.$oku->kills.'</td>
                                 <td>'.$oku->killstreak.'</td>
                                 <td>'.$oku->mobkills.'</td>
                                 </tr>';   
                                 $sayac++;
                                 if($sayac > 99){
                                     break;
                                 }
                    }
                }else{
                    echo 'liste yok!';
                }
            break;
            case 'score_10':
                $sayac = 0;
            $cek=mysql_query("SELECT * FROM  `PlayerStats` ORDER BY  `PlayerStats`.`kills` DESC ");
            echo'
            <tr>
            <td>Sıra</td>   
            <td>Kullanıcı Adı</td>
            <td>Öldürme</td>
            </tr>';
                if(mysql_num_rows($cek)!= 0){
                    while($oku=mysql_fetch_object($cek)){
                        echo'<tr>
                                 <td>'.($sayac+1).'</td>
                                 <td>'.$oku->playername.'</td>
                                 <td>'.$oku->kills.'</td>
                                 </tr>';   
                                 $sayac++;
                                 if($sayac > 9){
                                     break;
                                 }
                    }
                }else{
                    echo 'liste yok!';
                }
            break;
            case 'ban_sorgu':
           
            break;
            default:
            print("Nerdesin");
            break;
           
        }   
           
           
           
        }else{
           
            print_r("Üzgünüm Aradığınız Sayfa Buralarda Değil.");
        }
       
    }else{
        print_r("Üzgünüm Aradığınız Sayfa Buralarda Değil.");
    }

?>
 

Axel102

Hayalet Avcısı
En iyi cevaplar
6
bir yardımcı olun lutfen bi tan script buldum ama

Bu Top100.html
HTML:
<body>
<table id="toplist_100">
   
   
   </table>
 
   <script  type="text/javascript">
   $(document).ready(function(){
     $.ajax({
         type:"POST",
         url:"islem.php",
         data:{islem:"score_100"},
         success:function(data){
          $("#toplist_100").html(data);
        
          }
         });       
 
   });
   </script>
</body>

bu Baglanti.php (ben bu yerleri doldurdum.)
PHP:
<?php
//Veritabanı Bağlantı Dosyası
//www.m3t3-han.net.tc
//declared("encoding=UTF-8");
$host = "";
$kadi = "";
$sifre = "";
$veritabani = "";

$mysql = @mysql_connect($host,$kadi,$sifre);
@mysql_select_db($veritabani,$mysql);

//mysql_query("SET NAMES 'latin5'");
//mysql_query("SET CHARACTER SET latin5");
//mysql_query("SET COLLACTION_CONNECTION = 'latin5_turkish_ci'");
?>

bu da islem.php
PHP:
<?php

@require_once("baglanti.php");
header ("Content-Type: text/html; charset=utf-8");
    if (!empty($_POST)){
        if($_POST['islem']){
        switch($_POST['islem']){
            case 'score_100':
            $sayac = 0;
            $cek=mysql_query("SELECT * FROM `PlayerStats` ORDER BY  `PlayerStats`.`kills` DESC ");
            echo'
            <tr>
                    <td>Sıra:</td>
                    <td>Kullanıcı Adı:</td>
                    <td>Öldürme:</td>
                    <td>KillStreak:</td>
                    <td>Zombi Katliamı:</td>
                </tr>
            ';
                if(mysql_num_rows($cek)!= 0){
                    while($oku=mysql_fetch_object($cek)){
                        echo'<tr>
                                 <td>'.($sayac+1).'</td>
                                 <td>'.$oku->playername.'</td>
                                 <td>'.$oku->kills.'</td>
                                 <td>'.$oku->killstreak.'</td>
                                 <td>'.$oku->mobkills.'</td>
                                 </tr>';  
                                 $sayac++;
                                 if($sayac > 99){
                                     break;
                                 }
                    }
                }else{
                    echo 'liste yok!';
                }
            break;
            case 'score_10':
                $sayac = 0;
            $cek=mysql_query("SELECT * FROM  `PlayerStats` ORDER BY  `PlayerStats`.`kills` DESC ");
            echo'
            <tr>
            <td>Sıra</td>  
            <td>Kullanıcı Adı</td>
            <td>Öldürme</td>
            </tr>';
                if(mysql_num_rows($cek)!= 0){
                    while($oku=mysql_fetch_object($cek)){
                        echo'<tr>
                                 <td>'.($sayac+1).'</td>
                                 <td>'.$oku->playername.'</td>
                                 <td>'.$oku->kills.'</td>
                                 </tr>';  
                                 $sayac++;
                                 if($sayac > 9){
                                     break;
                                 }
                    }
                }else{
                    echo 'liste yok!';
                }
            break;
            case 'ban_sorgu':
          
            break;
            default:
            print("Nerdesin");
            break;
          
        }  
          
          
          
        }else{
          
            print_r("Üzgünüm Aradığınız Sayfa Buralarda Değil.");
        }
      
    }else{
        print_r("Üzgünüm Aradığınız Sayfa Buralarda Değil.");
    }

?>
Bu skript değil kardeşim Javascript
 

notaldo

If you want this, dream it!
En iyi cevaplar
1
tmm forumda bole bir yer olmadıgı için en yakın da script ve pluginle alakalı oldugu için buraya attım[DOUBLEPOST=1434022056,1434019269][/DOUBLEPOST]++ Güncel Help Me :D yardım edin[DOUBLEPOST=1434037789][/DOUBLEPOST]yardım eden yokmu ???[DOUBLEPOST=1434038443][/DOUBLEPOST]burda her şey tmm ama top100.html de bir sıkıntı var bir bulamadım yardım lutfen!
 
Üst