Ir para conteúdo

GhostTheWolf

Membros
  • Total de itens

    372
  • Registro em

  • Última visita

Tudo que GhostTheWolf postou

  1. PÁGINA OFICIAL, SUPORTE E DOWNLOAD: https://www.spigotmc.org/resources/xptax.45138 Deixem sua avaliação no Spigot e um Curtir aqui caso tenham gostado, obrigado. What does this plugin do? It removes a defined quantity of XP level (or money) every time a player uses an enchantment table or an anvil. Why? If you are like me and think that Minecraft doesn't "charge" enough for enchanting, this plugin is for you. It's a very simple plugin. If you have suggestions to improve it, let me know. Config #Message sent when player does not have the permission permission_message: "§c[XPTax] You do not have permission to do this!" #Configuration relative to using an enchantment table enchantment_table: #Is this kind of tax enabled? enabled: true #Should the tax be charged using Vault? money: false #Should the tax be based (%) on the enchantment cost? percentage: false #If percentage is true, 100.0 = 100%. So if player is enchanting an item that costs 5 levels and this is set as 50.0, the removed amount would be 2.5 #If false, the amount defined here would be taken no matter the enchanting cost #P.S.: This only accepts decimal values when "money" is true tax: 7.0 #Mark as true to send the messages below to the player notify_player: true messages: xp_removed: "§c[XPTax] %tax% XP levels have been taken from you... Sorry." money_removed: "§c[XPTax] %tax% coins have been taken from you... Sorry." not_enough_xp: "§c[XPTax] You do not have enough XP levels to pay the tax (%tax%) and for the item (%price%). :(" not_enough_money: "§c[XPTax] You do not have enough money to pay the tax (%tax%). :(" #Configuration relative to using an anvil (ProtocolLib is necessary) anvil: #Is this kind of tax enabled? enabled: true #Should the tax be charged using Vault? money: false #Should the tax be based (%) on the anvil action cost? percentage: false #If percentage is true, 100.0 = 100%. So if player is repairing an item that costs 5 levels and this is set as 50.0, the removed amount would be 2.5 #If false, the amount defined here would be taken no matter the repair/action cost #P.S.: This only accepts decimal values when "money" is true tax: 7.0 #Mark as true to send the messages below to the player notify_player: true messages: xp_removed: "§c[XPTax] %tax% XP levels have been taken from you... Sorry." money_removed: "§c[XPTax] %tax% coins have been taken from you... Sorry." not_enough_xp: "§c[XPTax] You do not have enough XP levels to pay the tax (%tax%) and for the item (%cost%). :(" not_enough_money: "§c[XPTax] You do not have enough money to pay the tax (%tax%). :(" Permissions - xptax.bypass - bypass all taxes - xptax.bypass.anvil - bypass anvil tax - xptax.bypass.enchantmenttable - bypass enchantment table tax - xptax.admin - allow the use of all commands - xptax.<commandname>- allow the use of /xptax <commandname> Commands - /xptax reload - reloads the plugin configuration Dependencies - Vault and Economy plugin (optional) - ProtocolLib (optional) To-do - Commands to change the configuration from the game - Stats (times and total amount charged)
  2. Descobri o erro: Meu plugin tem o LegendChat como uma dependência e, não sei porque, ele não tava na pasta de plugins. Não entendo porque a falta dessa dependência influenciou o evento...
  3. Não deu certo. Encanto o item e nada no console.
  4. Eu sei que é pra mandar a mensagem para o console...
  5. Ao encantar algo, não recebo a mensagem "Evento EnchantItemEvent chamado." Evento registrado no onEnable; classe implementa Listener; pacotes importados. @EventHandler public void OnEnchant(EnchantItemEvent event) { getLogger().info("Evento EnchantItemEvent chamado."); }
  6. Isso "prova" que anjos existem. Mas o velho de barba branca, não.
  7. Sua sugestão: Um modelo de tópico deveria ser mostrado aos usuários ao redigir um tópico para a área Minecraft/Plugins/Dúvidas; dentro desse modelo teria um informativo: "Esta não é a área de programação" (algo assim). Porque nós devíamos adicionar ela: Para deixar o fórum mais organizado e facilitar a vida de quem contribui nessa área.
  8. Na config: PROTECTION_ENVIRONMENTAL_Chance: 100 "100" é uma porcentagem.
  9. GhostTheWolf

    Dúvida #AJUDA AQUI ====

    Craftlandia não é 1.5.2? Que script de inicialização você usa?
  10. Não entendi muito bem o que voce quer, veja se esse serve: https://www.spigotmc.org/resources/enchantlimiter.3021/
  11. http://dev.bukkit.org/bukkit-plugins/money-kill/
  12. Uma pequena correção, então: O Buycraft não suporta o pagseguro DIRETAMENTE.
  13. O problema é que Buycraft não suporta pagseguro...<br /><br />Sobre o Paymentwall, é confiável, mas tem que dar uma olhada nas taxas.
  14. Saudações, Não consigo entender o que estou fazendo de errado. Sempre que executo /nome (textocommaisde16caracteres), o plugin ignora o "16 < args.length"... Meu código: if (cmd.getName().equalsIgnoreCase("nome")) { if (args.length == 0) { return false; } else if (16 < args.length) { jogador.sendMessage(ChatColor.translateAlternateColorCodes('&', "&cNome muito longo! (16 é o máximo)")); return true; } else { jogador.setPlayerListName(args[0]); jogador.sendMessage(ChatColor.translateAlternateColorCodes('&', "&aSeu nome agora é: &c" + args[0])); return true; } }
  15. E se o player digitar /regras 3 (ou outro número que não seja 1 e 2)?
×
×
  • Criar Novo...