Ir para conteúdo

XPTax - É fácil encantar, não é? Isso muda agora!


GhostTheWolf

Posts Recomendados

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)

Editado por RoinujNosde
Link para o comentário
Compartilhar em outros sites

Não funfa no spigot..

 

Vou tentar arrumar um tempo pra fazer :)

 

 

Nem te conheço e já te odeio, dificultando a vida dos minecraftianos '-'

 

zoeira

 

Tem que acabar com a moleza desses preguiçosos! xD

 

 

parabens nunca critiquei

 

Obrigado, eu acho.

Link para o comentário
Compartilhar em outros sites

 

gostei da ideia,

mas poderia ser por % pois é muito desiquilibrado,

ex um cara que encanta nivel 1 e um cara que encanta nivel 30 serão cobrados a mesma quantidade

 

Boa ideia, vou implementar isso.

 

 

 

Não entendi como funciona. Ele deixa o gasto de XP da 1.8 igual da 1.7,1.5? Tipo, pra encantar nível 30 precisa de 30 níveis?

 

Desculpe a demora para responder, não recebi notificação. Ele cobra a taxa definida na configuração sempre que alguém encantar.

Link para o comentário
Compartilhar em outros sites

uma ideia que achei legal de implementar é,
ter uma opção de cobrar taxa pra juntar livros na  bigorna ou juntar livro há um item,
e mensagens após retirar a taxa configuravel foi cobrado uma taxa de 5 XP pela ação.

tambem seria legal adcionar uma opção ão invez de cobrar taxa de XP cobraria dinheiro ( usando vault )
com permissões para dar bypass nas taxas ( talvez pra um previlegio vip ? )

e não cheguei a testar o plugin porque ainda não tem funções que eu goste,
pórem queria saber o que aconteçe se o usuario encantar e não tem o xp pra retirar na taxa?
ou já testou isso e vocé bloqueia o evento de encantar caso ele não tenha a taxa?

Link para o comentário
Compartilhar em outros sites

 

uma ideia que achei legal de implementar é,

ter uma opção de cobrar taxa pra juntar livros na bigorna ou juntar livro há um item,

e mensagens após retirar a taxa configuravel foi cobrado uma taxa de 5 XP pela ação.

 

tambem seria legal adcionar uma opção ão invez de cobrar taxa de XP cobraria dinheiro ( usando vault )

com permissões para dar bypass nas taxas ( talvez pra um previlegio vip ? )

 

e não cheguei a testar o plugin porque ainda não tem funções que eu goste,

pórem queria saber o que aconteçe se o usuario encantar e não tem o xp pra retirar na taxa?

ou já testou isso e vocé bloqueia o evento de encantar caso ele não tenha a taxa?

 

Gostei das sugestões :p

Se não tiver o suficiente para encantar+pagar taxa, não encanta.

 

 

 

 

Muito Bom

:D

 

Valeu

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...