Ir para conteúdo

Trow_Games

Membros
  • Total de itens

    1.209
  • Registro em

  • Última visita

Tudo que Trow_Games postou

  1. Aquela jar que eu falei que é 1.5 e 1.7 sim, esta traduzida a 1.5 separada não.
  2. Não, não é assim... Fazendo assim, o bloco é gerado distante do player (distancia=tamanho definido). E é gerado apenas 1 bloco.
  3. Olá a todos; minha dúvida é a seguinte: Quero saber como posso criar uma gaiola em certo local, tipo; eu tenho um código aqui, e ele cria um cubo só que eu quero que crie um cubo ocô sabe? Código: public void generateCube(Location loc, int length) { // Set one corner of the cube to the given location. // Uses getBlockN() instead of getN() to avoid casting to an int later. int x1 = loc.getBlockX(); int y1 = loc.getBlockY(); int z1 = loc.getBlockZ(); // Figure out the opposite corner of the cube by taking the corner and adding length to all coordinates. int x2 = x1 + length; int y2 = y1 + length; int z2 = z1 + length; World world = loc.getWorld(); // Loop over the cube in the x dimension. for (int xPoint = x1; xPoint <= x2; xPoint++) { // Loop over the cube in the y dimension. for (int yPoint = y1; yPoint <= y2; yPoint++) { // Loop over the cube in the z dimension. for (int zPoint = z1; zPoint <= z2; zPoint++) { // Get the block that we are currently looping over. Block currentBlock = world.getBlockAt(xPoint, yPoint, zPoint); // Set the block to type 57 (Diamond block!) currentBlock.setType(Material.DIAMOND_BLOCK); } } } } Vlw a quem souber ajudar ai!
  4. Nd '-' Não foi exatamente graças a você mais a outro cliente meu, q me chingo pakas por eu ter postado free kkk
  5. Hm, mais postei essa ai por que funfa na 1.5 e na 1.7 e já tava toda traduzida
  6. u.u De boa Plugin Traduzido e para as versões: 1.5 e 1.7 (funciona na 1.7 só que não tem cavalos etc...) Download: Clique Aqui.
  7. Eae galera, blz? Bom tenho visto que muitos estão pedindo o mcMMO com o sistema de Herblismo | Escavação funcionando então resolvi o problema Download Versão 1.5: Clique Aqui. Download Versão 1.7 cima: Clique Aqui. Download Versões 1.5 e 1.7 TRADUZIDO: Clique Aqui. Só isso, vlw flw! Quem quiser dar uma $$ pelo meu trabalho add Skype: trow-games
  8. Qual versão?????????? @Edit: Problema Resolvido: http://gamersboard.com.br/topic/17154-mcmmo-herbalismo-escava%C3%A7%C3%A3o-funcionando-d/
  9. Serve: package me.trow.DBClass; import java.io.File; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; public class DB { private Connection conn; private File file; private Statement stmt; private DB(File f) { file = f; try { Class.forName("org.sqlite.JDBC"); conn = DriverManager.getConnection("jdbc:sqlite:" + file); stmt = conn.createStatement(); } catch (Exception e) { e.printStackTrace(); } } private DB(String urlconn) { try { conn = DriverManager.getConnection(urlconn); stmt = conn.createStatement(); } catch (Exception e) { e.printStackTrace(); } } public static DB load(File f) { return new DB(f); } public static DB load(String f) { return new DB(new File(f)); } public static DB load(String host, String database, String user, String pass) { return new DB("jdbc:mysql://" + host + "/" + database + "?" + "user=" + user + "&password=" + pass); } public void update(String q) { try { stmt.executeUpdate(q); } catch (Exception e) {e.printStackTrace();} } public ResultSet query(String q) { try { return stmt.executeQuery(q); } catch (Exception e) { } return null; } public void close() { try { stmt.close(); conn.close(); } catch (Exception e) {} } public boolean isConnected() { try { return stmt!=null && conn!=null && !stmt.isClosed() && !conn.isClosed(); } catch (Exception e) {} return false; } public Connection getConnection() { return conn; } } @Edit: Classe criada por:
  10. Você coloca a schematic dentro da pasta do World Edit '-' > /plugins/WorldEdit/schamatics/<schamticName>.schamtic
  11. Plugin Atualizado!! Versão: 1.3 Novidades: ° Adicionado sistema de TOP ganhadores in-game. (Por placa e por comando!) Exemplos: Placa > Imagem. Comando > Imagem. Comprar > TrowDev.
×
×
  • Criar Novo...