Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # #!============[ DComprarSkills ]============!# #
- # #! | Skript Feito Por: Delavor | !# #
- # #!============[ DComprarSkills ]============!# #
- options:
- # Configurações de Skills
- DComprarSkills.Mining: true # True para habilitar a compra e false para não habilitar
- Mining: minerador # Nome da sua skill, dependendo do servidor o nome pode ser diferente.
- Miningnome: &1Minerador # Titulo da skill no menu gui do /comprarskills
- Miningtitulo: &b » &fComprar skill Minerador|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps # Informações da skill, valor e xp.
- Miningvalor: 10000 # Valor da compra da skill. NÃO ESQUEÇA DE MODIFICAR EM CIMA.
- Miningxp: 50000 # XP que serão dados quando o player comprar a skill. NÃO ESQUEÇA DE MODIFICAR EM CIMA.
- DComprarSkills.Woodcutting: true
- Woodcutting: lenhador
- Woodcuttingnome: &1Lenhador
- Woodcuttingtitulo: &b » &fComprar skill Lenhador|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
- Woodcuttingvalor: 10000
- Woodcuttingxp: 50000
- DComprarSkills.Herbalism: true
- Herbalism: herbalista
- Herbalismnome: &1Herbalista
- Herbalismtitulo: &b » &fComprar skill Herbalista|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
- Herbalismvalor: 10000
- Herbalismxp: 50000
- DComprarSkills.Excavation: true
- Excavation: escavador
- Excavationnome: &1Escavador
- Excavationtitulo: &b » &fComprar skill Escavador|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
- Excavationvalor: 10000
- Excavationxp: 50000
- DComprarSkills.Fishing: true
- Fishing: pescador
- Fishingnome: &1Pescador
- Fishingtitulo: &b » &fComprar skill Pescador|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
- Fishingvalor: 10000
- Fishingxp: 50000
- DComprarSkills.Unarmed: true
- Unarmed: desarmado
- Unarmednome: &1Desarmado
- Unarmedtitulo: &b » &fComprar skill Desarmado|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
- Unarmedvalor: 10000
- Unarmedxp: 50000
- DComprarSkills.Archery: true
- Archery: arqueiro
- Archerynome: &1Arqueiro
- Archerytitulo: &b » &fComprar skill Arqueiro|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
- Archeryvalor: 10000
- Archeryxp: 50000
- DComprarSkills.Swords: true
- Swords: espada
- Swordsnome: &1Espada
- Swordstitulo: &b » &fComprar skill Espada|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
- Swordsvalor: 10000
- Swordsxp: 50000
- DComprarSkills.Axes: true
- Axes: machado
- Axesnome: &1Machado
- Axestitulo: &b » &fComprar skill Machado|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
- Axesvalor: 10000
- Axesxp: 50000
- DComprarSkills.Taming: true
- Taming: domesticador
- Tamingnome: &1Domesticador
- Tamingtitulo: &b » &fComprar skill Domesticador|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
- Tamingvalor: 10000
- Tamingxp: 50000
- DComprarSkills.Repair: true
- Repair: reparador
- Repairnome: &1Reparador
- Repairtitulo: &b » &fComprar skill Reparador|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
- Repairvalor: 10000
- Repairxp: 50000
- DComprarSkills.Acrobatics: true
- Acrobatics: acrobata
- Acrobaticsnome: &1Acrobata
- Acrobaticstitulo: &b » &fComprar skill Acrobata|| &b» &fValor: 10.000 coins|| &b» &fQuantidade de XP: 50.000 xps
- Acrobaticsvalor: 10000
- Acrobaticsxp: 50000
- # Tag do Servidor.
- servidor: &3[DComprarSkills]
- # Função de permissão.
- DComprarSkills.permissao: false # True para precisar de permissão para compra ou false para não precisar
- permissao: DComprarSkills.use # Caso deixe true, de essa permissão para o grupo que consegira comprar a skill.
- sempermissao: &cVocê não é um player VIP.
- #Mensagem de comprou a skill.
- comprouskill: &aVocê comprou skills de&f
- # Mensagem de tag não existe.
- naoexiste: &cEssa skill não existe, utilize /comprarskills.
- # Mensagem Skills não abilitada
- naohabilitada: &cEssa skill não esta habilitada
- # Mensagem de comando incorreto.
- comandocorreto: &aUtilize /comprarskill <skill> ou digite /comprarskills.
- # Mensagem de não tem dinheiro suficiente
- naotemdinheiro: &cVocê não tem dinheiro suficiente para comprar essa skill.
- # Titulo do Menu Gui do /comprarskills
- titulogui: &5&lCompre suas Skills
- command /comprarskill [<text>]:
- trigger:
- if {@DComprarSkills.permissao} is true:
- if player has permission "{@permissao}":
- if arg 1 is set:
- if arg 1 is "{@Mining}":
- if {@DComprarSkills.Mining} is true:
- if player's account is more than or equal to {@Miningvalor}:
- subtract {@Miningvalor} from player's account
- make console execute command "/addxp %player% {@Mining} {@Miningxp}"
- message "{@servidor} {@comprouskill} {@Mining}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Woodcutting}":
- if {@DComprarSkills.Woodcutting} is true:
- if player's account is more than or equal to {@Woodcuttingvalor}:
- subtract {@Woodcuttingvalor} from player's account
- make console execute command "/addxp %player% {@Woodcutting} {@Woodcuttingxp}"
- message "{@servidor} {@comprouskill} {@Woodcutting}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Herbalism}":
- if {@DComprarSkills.Herbalism} is true:
- if player's account is more than or equal to {@Herbalismvalor}:
- subtract {@Herbalismvalor} from player's account
- make console execute command "/addxp %player% {@Herbalism} {@Herbalismxp}"
- message "{@servidor} {@comprouskill} {@Herbalism}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Excavation}":
- if {@DComprarSkills.Excavation} is true:
- if player's account is more than or equal to {@Excavationvalor}:
- subtract {@Excavationvalor} from player's account
- make console execute command "/addxp %player% {@Excavation} {@Excavationxp}"
- message "{@servidor} {@comprouskill} {@Excavation}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Fishing}":
- if {@DComprarSkills.Fishing} is true:
- if player's account is more than or equal to {@Fishingvalor}:
- subtract {@Fishingvalor} from player's account
- make console execute command "/addxp %player% {@Fishing} {@Fishingxp}"
- message "{@servidor} {@comprouskill} {@Fishing}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Unarmed}":
- if {@DComprarSkills.Unarmed} is true:
- if player's account is more than or equal to {@Unarmedvalor}:
- subtract {@Unarmedvalor} from player's account
- make console execute command "/addxp %player% {@Unarmed} {@Unarmedxp}"
- message "{@servidor} {@comprouskill} {@Unarmed}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Archery}":
- if {@DComprarSkills.Archery} is true:
- if player's account is more than or equal to {@Archeryvalor}:
- subtract {@Archeryvalor} from player's account
- make console execute command "/addxp %player% {@Archery} {@Archeryxp}"
- message "{@servidor} {@comprouskill} {@Archery}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Swords}":
- if {@DComprarSkills.Swords} is true:
- if player's account is more than or equal to {@Swordsvalor}:
- subtract {@Swordsvalor} from player's account
- make console execute command "/addxp %player% {@Swords} {@Swordsxp}"
- message "{@servidor} {@comprouskill} {@Swords}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Axes}":
- if {@DComprarSkills.Axes} is true:
- if player's account is more than or equal to {@Axesvalor}:
- subtract {@Axesvalor} from player's account
- make console execute command "/addxp %player% {@Axes} {@Axesxp}"
- message "{@servidor} {@comprouskill} {@Axes}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Taming}":
- if {@DComprarSkills.Taming} is true:
- if player's account is more than or equal to {@Tamingvalor}:
- subtract {@Tamingvalor} from player's account
- make console execute command "/addxp %player% {@Taming} {@Tamingxp}"
- message "{@servidor} {@comprouskill} {@Taming}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Repair}":
- if {@DComprarSkills.Repair} is true:
- if player's account is more than or equal to {@Repairvalor}:
- subtract {@Repairvalor} from player's account
- make console execute command "/addxp %player% {@Repair} {@Repairxp}"
- message "{@servidor} {@comprouskill} {@Repair}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Acrobatics}":
- if {@DComprarSkills.Acrobatics} is true:
- if player's account is more than or equal to {@Acrobaticsvalor}:
- subtract {@Acrobaticsvalor} from player's account
- make console execute command "/addxp %player% {@Acrobatics} {@Acrobaticsxp}"
- message "{@servidor} {@comprouskill} {@Acrobatics}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- else:
- message "{@servidor} {@naoexiste}" to player
- else:
- message "{@servidor} {@comandocorreto}"
- else:
- message "{@servidor} {@sempermissao}" to player
- else if {@DComprarSkills.permissao} is false:
- if arg 1 is set:
- if arg 1 is "{@Mining}":
- if {@DComprarSkills.Mining} is true:
- if player's account is more than or equal to {@Miningvalor}:
- subtract {@Miningvalor} from player's account
- make console execute command "/addxp %player% {@Mining} {@Miningxp}"
- message "{@servidor} {@comprouskill} {@Mining}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Woodcutting}":
- if {@DComprarSkills.Woodcutting} is true:
- if player's account is more than or equal to {@Woodcuttingvalor}:
- subtract {@Woodcuttingvalor} from player's account
- make console execute command "/addxp %player% {@Woodcutting} {@Woodcuttingxp}"
- message "{@servidor} {@comprouskill} {@Woodcutting}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Herbalism}":
- if {@DComprarSkills.Herbalism} is true:
- if player's account is more than or equal to {@Herbalismvalor}:
- subtract {@Herbalismvalor} from player's account
- make console execute command "/addxp %player% {@Herbalism} {@Herbalismxp}"
- message "{@servidor} {@comprouskill} {@Herbalism}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Excavation}":
- if {@DComprarSkills.Excavation} is true:
- if player's account is more than or equal to {@Excavationvalor}:
- subtract {@Excavationvalor} from player's account
- make console execute command "/addxp %player% {@Excavation} {@Excavationxp}"
- message "{@servidor} {@comprouskill} {@Excavation}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Fishing}":
- if {@DComprarSkills.Fishing} is true:
- if player's account is more than or equal to {@Fishingvalor}:
- subtract {@Fishingvalor} from player's account
- make console execute command "/addxp %player% {@Fishing} {@Fishingxp}"
- message "{@servidor} {@comprouskill} {@Fishing}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Unarmed}":
- if {@DComprarSkills.Unarmed} is true:
- if player's account is more than or equal to {@Unarmedvalor}:
- subtract {@Unarmedvalor} from player's account
- make console execute command "/addxp %player% {@Unarmed} {@Unarmedxp}"
- message "{@servidor} {@comprouskill} {@Unarmed}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Archery}":
- if {@DComprarSkills.Archery} is true:
- if player's account is more than or equal to {@Archeryvalor}:
- subtract {@Archeryvalor} from player's account
- make console execute command "/addxp %player% {@Archery} {@Archeryxp}"
- message "{@servidor} {@comprouskill} {@Archery}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Swords}":
- if {@DComprarSkills.Swords} is true:
- if player's account is more than or equal to {@Swordsvalor}:
- subtract {@Swordsvalor} from player's account
- make console execute command "/addxp %player% {@Swords} {@Swordsxp}"
- message "{@servidor} {@comprouskill} {@Swords}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Axes}":
- if {@DComprarSkills.Axes} is true:
- if player's account is more than or equal to {@Axesvalor}:
- subtract {@Axesvalor} from player's account
- make console execute command "/addxp %player% {@Axes} {@Axesxp}"
- message "{@servidor} {@comprouskill} {@Axes}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Taming}":
- if {@DComprarSkills.Taming} is true:
- if player's account is more than or equal to {@Tamingvalor}:
- subtract {@Tamingvalor} from player's account
- make console execute command "/addxp %player% {@Taming} {@Tamingxp}"
- message "{@servidor} {@comprouskill} {@Taming}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Repair}":
- if {@DComprarSkills.Repair} is true:
- if player's account is more than or equal to {@Repairvalor}:
- subtract {@Repairvalor} from player's account
- make console execute command "/addxp %player% {@Repair} {@Repairxp}"
- message "{@servidor} {@comprouskill} {@Repair}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- if arg 1 is "{@Acrobatics}":
- if {@DComprarSkills.Acrobatics} is true:
- if player's account is more than or equal to {@Acrobaticsvalor}:
- subtract {@Acrobaticsvalor} from player's account
- make console execute command "/addxp %player% {@Acrobatics} {@Acrobaticsxp}"
- message "{@servidor} {@comprouskill} {@Acrobatics}"
- stop
- else:
- message "{@servidor} {@naotemdinheiro}"
- stop
- else:
- message "{@servidor} {@naohabilitada}"
- stop
- else:
- message "{@servidor} {@naoexiste}" to player
- else:
- message "{@servidor} {@comandocorreto}"
- command /comprarskills:
- trigger:
- open chest with 4 row named "{@titulogui}" to player
- if {@DComprarSkills.Mining} is true:
- format slot 11 of player with iron pickaxe named "{@Miningnome}" with lore "{@Miningtitulo}" to close then run [make player execute command "/comprarskill {@Mining}"]
- else:
- format slot 11 of player with iron pickaxe named "{@Miningnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Mining}"]
- if {@DComprarSkills.Woodcutting} is true:
- format slot 12 of player with iron axe named "{@Woodcuttingnome}" with lore "{@Woodcuttingtitulo}" to close then run [make player execute command "/comprarskill {@Woodcutting}"]
- else:
- format slot 12 of player with iron axe named "{@Woodcuttingnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Woodcutting}"]
- if {@DComprarSkills.Herbalism} is true:
- format slot 13 of player with iron hoe named "{@Herbalismnome}" with lore "{@Herbalismtitulo}" to close then run [make player execute command "/comprarskill {@Herbalism}"]
- else:
- format slot 13 of player with iron hoe named "{@Herbalismnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Herbalism}"]
- if {@DComprarSkills.Excavation} is true:
- format slot 14 of player with iron spade named "{@Excavationnome}" with lore "{@Excavationtitulo}" to close then run [make player execute command "/comprarskill {@Excavation}"]
- else:
- format slot 14 of player with iron spade named "{@Excavationnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Excavation}"]
- if {@DComprarSkills.Fishing} is true:
- format slot 15 of player with fishing rod named "{@Fishingnome}" with lore "{@Fishingtitulo}" to close then run [make player execute command "/comprarskill {@Fishing}"]
- else:
- format slot 15 of player with fishing rod named "{@Fishingnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Fishing}"]
- if {@DComprarSkills.Unarmed} is true:
- format slot 19 of player with bucket named "{@Unarmednome}" with lore "{@Unarmedtitulo}" to close then run [make player execute command "/comprarskill {@Unarmed}"]
- else:
- format slot 19 of player with bucket named "{@Unarmednome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Unarmed}"]
- if {@DComprarSkills.Archery} is true:
- format slot 20 of player with bow named "{@Archerynome}" with lore "{@Archerytitulo}" to close then run [make player execute command "/comprarskill {@Archery}"]
- else:
- format slot 20 of player with bow named "{@Archerynome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Archery}"]
- if {@DComprarSkills.Swords} is true:
- format slot 21 of player with iron sword named "{@Swordsnome}" with lore "{@Swordstitulo}" to close then run [make player execute command "/comprarskill {@Swords}"]
- else:
- format slot 21 of player with iron sword named "{@Swordsnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Swords}"]
- if {@DComprarSkills.Axes} is true:
- format slot 22 of player with iron axe named "{@Axesnome}" with lore "{@Axestitulo}" to close then run [make player execute command "/comprarskill {@Axes}"]
- else:
- format slot 22 of player with iron axe named "{@Axesnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Axes}"]
- if {@DComprarSkills.Taming} is true:
- format slot 23 of player with bone named "{@Tamingnome}" with lore "{@Tamingtitulo}" to close then run [make player execute command "/comprarskill {@Taming}"]
- else:
- format slot 23 of player with bone named "{@Tamingnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Taming}"]
- if {@DComprarSkills.Repair} is true:
- format slot 24 of player with anvil named "{@Repairnome}" with lore "{@Repairtitulo}" to close then run [make player execute command "/comprarskill {@Repair}"]
- else:
- format slot 24 of player with anvil named "{@Repairnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Repair}"]
- if {@DComprarSkills.Acrobatics} is true:
- format slot 25 of player with iron boots named "{@Acrobaticsnome}" with lore "{@Acrobaticstitulo}" to close then run [make player execute command "/comprarskill {@Acrobatics}"]
- else:
- format slot 25 of player with iron boots named "{@Acrobaticsnome}" with lore "{@naohabilitada}" to close then run [make player execute command "/comprarskill {@Acrobatics}"]
- format slot 0 of player with glass pane named "&eComprar Skill" to close
- format slot 1 of player with glass pane named "&eComprar Skill" to close
- format slot 2 of player with glass pane named "&eComprar Skill" to close
- format slot 3 of player with glass pane named "&eComprar Skill" to close
- format slot 4 of player with glass pane named "&eComprar Skill" to close
- format slot 5 of player with glass pane named "&eComprar Skill" to close
- format slot 6 of player with glass pane named "&eComprar Skill" to close
- format slot 7 of player with glass pane named "&eComprar Skill" to close
- format slot 8 of player with glass pane named "&eComprar Skill" to close
- format slot 9 of player with glass pane named "&eComprar Skill" to close
- format slot 17 of player with glass pane named "&eComprar Skill" to close
- format slot 18 of player with glass pane named "&eComprar Skill" to close
- format slot 26 of player with glass pane named "&eComprar Skill" to close
- format slot 27 of player with glass pane named "&eComprar Skill" to close
- format slot 28 of player with glass pane named "&eComprar Skill" to close
- format slot 29 of player with glass pane named "&eComprar Skill" to close
- format slot 30 of player with glass pane named "&eComprar Skill" to close
- format slot 31 of player with glass pane named "&eComprar Skill" to close
- format slot 32 of player with glass pane named "&eComprar Skill" to close
- format slot 33 of player with glass pane named "&eComprar Skill" to close
- format slot 34 of player with glass pane named "&eComprar Skill" to close
- format slot 35 of player with glass pane named "&eComprar Skill" to close
- on script load:
- message "&3+--------------------------+" to console
- message " &aLigando Skript" to console
- message " &bSkript: &fDComprarSkills" to console
- message " &bVersão: &f1.0" to console
- message " &bAutor: &fDelavor" to console
- message "&3+--------------------------+" to console
- on script unload:
- message "&3+--------------------------+" to console
- message " &cDesligando Skript" to console
- message " &bSkript: &fDComprarSkills" to console
- message " &bVersão: &f1.0" to console
- message " &bAutor: &fDelavor" to console
- message "&3+--------------------------+" to console
Advertisement
Add Comment
Please, Sign In to add comment