Punkty

Bloki nie wymienione na liście mają wartość 1 pkt [insert_php] include(‘./spyc.php’); $array = Spyc::YAMLLoad(‘/home/bloczek.net/server/plugins/IslandWorld/config.yml’); $itemlist = file(‘./spyc.tsv’); foreach($itemlist as $line) { list($raz, $dwa, $name) = explode(“\t”, $line); $ITEMS[$raz.”-“.$dwa] = $name; } echo “ “; foreach($array[“material-points”] as $ide=>$line) { if(strpos($ide, “:”)) $id = str_replace(“:”, “-“, $ide); else $id = $ide.”-0″; $url = “http://sky-block.pl/items/”.$id.”.png”; echo “ “.$ide.” Read more about Punkty[…]