-
Total de itens
372 -
Registro em
-
Última visita
Respostas na Comunidade
-
GhostTheWolf's postagem in Erro na Sintaxe do Java was marked as the answer
Na linha 104 tem um cast para HashMap. (HashMap)
Apague apenas o cast e veja se funciona.
-
GhostTheWolf's postagem in Pedido - PBRMITO was marked as the answer
http://gamersboard.com.br/topic/24605-pbrmito-um-plugin-simples-de-mito-v1/?fromsearch=1 -
GhostTheWolf's postagem in Como Fazer 2 If mesmo evento was marked as the answer
if (k.hasPermission("Smeltapi.berserker") && k.getHealth() == 2) {
//código
}
-
GhostTheWolf's postagem in Quando Player dar comando, acrescentar valores na config was marked as the answer
Faz assim:
cs.set("ranks."+args[1], args[0]);
A diferença é que tem um ponto após a palavra ranks.
-
GhostTheWolf's postagem in Plugin de Mito was marked as the answer
http://gamersboard.com.br/topic/4653-lsmito-mito-do-pvp-bem-feito/?view=getnewpost -
GhostTheWolf's postagem in [Duvida] MaxBans não utilizar comando quando estiver mutado! was marked as the answer
Registrou o evento?
-
GhostTheWolf's postagem in [Resolvido] [Dúvida] - Como pegar os chests de tal world? was marked as the answer
Se seu título dissesse tudo, haveria mais respostas aqui.
Em Chunk tem o método "getTileEntities()" que retorna uma matriz (lista) de BlockState (que é a superclasse de Chest).
Aí é só fazer um for na matriz para ver se BlockState é um Chest.
-
GhostTheWolf's postagem in [Entregue] [Pedido] Só entra no mundo quem pode was marked as the answer
Se usar multiverse, ele tem uma permissão para isso:
multiverse.access.nomedomundo (escrevi de cabeça, acho que é assim)
-
GhostTheWolf's postagem in [Resolvido] [Duvida] Cofre was marked as the answer
Tente assim:
cofre = (cofre / 100) * 10;
-
GhostTheWolf's postagem in [Resolvido] [Link + GUI] Dúvida was marked as the answer
Eu tava vendo a Bukkit API (jd.bukkit.org) e não achei nada sobre isso. (O mais perto que achei é "enviar" uma textura para o jogador com o setResourcePack(String url))
O que voce pode fazer é enviar uma mensagem com o link para o jogador.
-
GhostTheWolf's postagem in [Entregue] KILLMONEYPLAYER was marked as the answer
http://dev.bukkit.org/bukkit-plugins/money-kill/
-
GhostTheWolf's postagem in [Entregue] Ban item was marked as the answer
Plugin para banir itens: ItemRestrict.
Bem personalizavel, pode banir o craft, o uso, pegar o item do chão, etc.