• Chào bạn, hãy đăng ký hoặc đăng nhập để tham gia cùng bọn mình và sử dụng được đầy đủ chức năng của diễn đàn :).
MrNo

Đã giải quyết cần giúp đỡ đang rất cần thiết

  • Thread starter Thread starter MrNo
  • Ngày gửi Ngày gửi
Trạng thái
Không mở trả lời sau này.

MrNo

THÀNH VIÊN
Tham gia
01/04/2017
Bài viết
168
plugin tokenenchant của mình bị sao ấy khi mình ghi /tokenenchant enchant MrNo Excavation 1 và mình đã ấy ấy tất cả enchant khác
Và nó ko được và nó nói ..... cannotenchantthis đã lên mạng và ko tìm thấy từ sáng tới giờ ai giúp mình với đây là config của mình xem có lỗi gì liên quan ko
Mã:
# This is a template config file
# define your parameter and its value like:
ErrorMessage: "&c [TE] : Some error occured."
HelpMessages:
  banner:
    msg: "=== &e[&aTokenEnchant Commands List (%version%)&e] &r==="
  help:
    msg: "/tokenenchant or /tokenenchant help : display this help menu."
  reload:
    msg: "/tokenenchant reload : reloads config file."
    permission: "tokenenchant.reload"
  set:
    msg: "/tokenenchant set <name> <amount> : sets <name> <amount> tokens."
    permission: "tokenenchant.add"
  add:
    msg: "/tokenenchant add <name> <amount> : adds <name> <amount> tokens."
    permission: "tokenenchant.add"
  remove:
    msg: "/tokenenchant remove <name> <amount> : removes <name> <amount> tokens from <name>."
    permission: "tokenenchant.add"
  balance:
    msg: "/tokenenchant balance [name] : displays the token balance of yourself or [name]."
    permission: "tokenenchant.balance"
  withdraw:
    msg: "/tokenenchant withdraw <amount> : withdraws the specified amount of tokens from your account."
    permission: "tokenenchant.withdraw"
  expexchange:
    msg: "/tokenenchant expexchange : exchanges the current EXP values to tokens."
    permission: "tokenenchant.expexchange"
  givetokens:
    msg: "/tokenenchant givetokens <name> <amount> : gives <name> <amount> tokens."
    permission: "tokenenchant.expexchange"
  enchant:
    msg: "/tokenenchant enchant <name> <enchant> [level] [cost:xxx] : enchants the item <name> is holding with <enchant>."
    permission: "tokenenchant.enchant"
  repair:
    msg: "/tokenenchant repair <name> : repairs all the enchantments of the item <name> is holding."
    permission: "tokenenchant.repair"
  refund:
    msg: "/tokenenchant refund <name> <enchant> : refund <name> for the enchantment <enchant>."
    permission: "tokenenchant.refund"
  givebp:
    msg: "/tokenenchant givebp <name> <row> [bpname] cost:xxx : gives <name> a backpacked named [bpname] of size <row> costing xxx."
    permission: "tokenenchant.givebp"
  baltop:
    msg: "/tokenenchant baltop : list top token balance."
    permission: "tokenenchant.baltop"

#
Messages:
  SelfBalance: "&a[TE] You currently have &b%token% &atokens."
  NoOthersBalance: "&c[TE] You are not allowed to check other's balance."
  NoTargetPlayer: "&a[TE] A player needs to be specified."
  PlayerOffline: "&a[TE] &e%player% &ais currently offline."
  PlayerNotFound: "&a[TE] &e%player% &awas not found."
  Balance: "&a[TE] &e%player% &acurrently has &b%token% &atokens."
  SetSuccess: "&a[TE] You have set &e%token% &atokens to &e%player%&a."
  AddSuccess: "&a[TE] You have added &e%token% &atokens to &e%player%&a."
  Received: "&a[TE] You have received &e%token% &atokens."
  Deducted: "&a[TE] &e%token% &atokens have been deducted."
  RemoveSuccess: "&a[TE] You have removed &e%token% &atokens from &e%player%&a."
  NotEnoughTokens: "&c[TE] You do not have enough tokens. You need at least %needed% tokens."
  NotEnoughTokenItems: "&c[TE] You do not have enough token items. You need at least %needed% token item(s)."
  NotEnoughExpLevels: "&c[TE] You do not have enough EXP levels. You need at least %exp_needed% EXP level(s)."
  WithdrawSuccess: "&a[TE] You have withdrawn &e%tokens% &atokens."
  InventoryFull: "&a[TE] Inventory is full! &e%tokens% &atokens could not be withdrawn!"
  ExchangeSuccess: "&a[TE] &e+ %token% &atoken(s) has been added to your account."
  NeedToHoldItem: "&c[TE] You need to hold an item to enchant."
  CannotEnchantThis: "&c[TE] You cannot enchant the item you're holding."
  CannotRepairThis: "&c[TE] You cannot repair the item you're holding."
  EnchantSuccess:
    msg: "&a[TE] &e+ %addedlevel% &d%enchant% &aenchantment level. %token% tokens have been deducted."
    sound: LEVEL_UP
  RepairSuccess: "&a[TE] &eThe item repaired. %token% tokens have been deducted."
  MaxedOut: "&c[TE] Your item has already maxed out on &e%enchant% &cenchantment."
  NoPermission: "&c[TE] You don't have a permission for this!"
  NoSuchEnchant: "&c[TE-Admin] That (&e%enchant%&c) is not a valid enchant. Please specify the enchant listed in the config file."
  TokenItemsGiven: "&a[TE] &e%tokenitems% &atoken items were given to &e%player%&a."
  NoPriceSet: "&a[TE] Price is not set for this."
  CommandSuccess: "&a[TE] &e%command%&a was executed, and it cost &e%token% tokens."
  NeedPermission: "&a[TE] You need a permission &etokenenchant.alias.command.%command% &ato use this command &e%command%&a."
  CannotRefundThis: "&c[TE] We cannot refund the item you're holding."
  RefundSuccess: "&a[TE] &e- 1 &d%enchant% &aenchantment level. %token% tokens have been refunded."
  BackPackGiven: "&a[TE] %player% has given a backpack and %token% toknes has been deducted."
  VKBackPackNotFound: "&a[TE] VKBackPack plugin was not found."
  TokenBalTopHeader: "&a[TE] Token Balance Top - page:%page%/%total%-"
  TokenBalTopList: "%rank%. %name%, %balance%"
  TokenBalTopTypeMore: "&a[TE] Type &c/te baltop %next% &ato read the next page."
  OnlyOneAtTheTime: "&c[TE] Only one item can be enchanted at the time."
  CannotAddMoreEnchant: "&c[TE] You cannot add anymore than &e%max%&c custom enchantments!"
  CannotUseMoreEnchant:
    msg: "&c[TE] You cannot use an item with enchants more than &e%max%&c."
    sound: ITEM_BREAK

#
# if UseToken is true, the plugin use its own tokens, if it's false
# it uses economy thorugh Vault
UseToken: true

# if this option is true, the cost of enchant is dynamically calculated
# and displayed at where {ench_cost} is specified on the sign.
UseDynamicSignUpdate: true

Currency: token # token, money, or (exp...not supported atm)


# formating of number
BeautifyNumber: false
MaxCharLength: 4;
# the folloiwngs are units of order.
OrderChars:
  - k
  - M
  - B
  - T
  - Q
  - P
  - E
  - Z


EnchantSign: "[&9Enchant&8]"
CostPlaceHolder: "{ench_cost}"
#
ExchangeSign: "[&9Exchange&8]"
ExchangeRate: 1
RatePlaceHolder: "{ex_rate}"
#
ExpExchangeSign: "[&9EXP Exch&8]"
ExpExchangeRate: 20
ExpRatePlaceHolder: "{exp_rate}"
#
WithdrawSign: "[&9Withdraw&8]"
#
RepairSign: "[&9Repair&8]"
RepairBase: 1
RepairDiscount: 0.05
RepairRatePlaceHolder: "{rep_rate}"
#
#
TokenItem: MAGMA_CREAM
TokenItemName: "&aTokenItem"
TokenItemLore: "&bHold it in your hand and\n&bRight-Click to redeem &eTokens"

#
# Enchantment lore prefix
EnchantmentLorePrefix: "&r&7"

#
#
# option to force remove potion effects at the login
ForceRemovePotionAtJoin : true
#

# option to use WorldGuard region
# Use WorldGuard's new block-break flag, otherwise, use canBuild check instead
UseWorldGuardNewFlag: true


# If UseRomanNumeral is true, arabic number will be converted into roman numeral.
UseRomanNumeral: true
# if PureRomanNumeral is true, 1 - 3998 will be converted to RomanNumeral
PureRomanNumeral: false

# if CustomEnchantDisplay is true, TE will use HideFlag option to hide the native enchantment name
# and use custom enchantment name using the lore.
# also it will convert enchantment.level.xxx into xxxx
# default : true
CustomEnchantDisplay: true

#
UseEnchantGlowForPotion: true
#
MaxEnchantLevel: 100

#
UseEnchantmentTable: false
DefaultEnchantChance: 0.7
UseTokenEnchantSettingForVanillaEnchant: false


# if this option is true, TEBlockExplodeEvent will be handled by TokenEnchant
# if you want other plugin to handle TEBlockExplodeEvent, set it to false;
PickupTEExplodedBlocks: true

# fly permission node
# if a player has the following permission node, his fly own't be turned off
FlyPermissionNode: "essentials.fly"

#
TokenFormula:
    # Valid values are: LINEAR and EXPONENTIAL
    # If an invalid value is entered, this will reset to the default setting, which is LINEAR
    # CONSTANT:      price
    # LINEAR:      price + (level * price)
    # EXPONENTIAL: price + price * level ^ exponent
    # EXPONENTIAL2: price * 2 ^ (level - 1)
    Curve: Linear

    Constant:
    Linear:
    Exponential:
        exponent: 1.80


# if this option is true, when you tried to enchant an item, which already has enchantment
# level, the excess enchantment level will be removed and set to the max level.
CapOverEnchant: false


# Refund related
AllowRefund: false
RefundRate: 0.8

# default values
DefaultPotionDuration: 200
DefaultPotionAmplifier: 2

# option to limit the number of custom enchants on an item.
# The number of max enchants can be specified with permission nodes.
# tokenenchant.multiple_enchants.x
# if the permission node does not exist, the default number will be applied
# tokenenchant.multiple_enchants.x : x should not exceed MaximumMaxNumberOfEnchants
# if AllowOverMaxEnchantUse is true, you can use the item which exceeds custom enchants
# but you will not be able to add more custom enchants.
ApplyMaxNumberOfEnchants: false
MaximumMaxNumberOfEnchants: 10
DefaultMaxNumberOfEnchants: 3
ExcludeVanilla: true
AllowOverMaxEnchantUse: true


# Friendly fire option
# it currently supports Factions plugin and mcMMO's party
# if FriendlyFire is set to "true", you cannot harm your faction members or mcMMO party member.
FriendlyFire_Faction: true
FriendlyFire_McMMO: true

# Prevents self damaging initiating custom effect (default : true)
# if this option is set to true, when you damage yourself effects on your armors/toos won't be activated
# (cases like ender pearling, shooting yourself.... all damages are given but and effects won't be activated)
IgnoreSelfDamage: true

#
# Command execution with token
# This format is from a plugin called Aliazes.
# default permission for each command te.command.<cmd>
# If you crate an alias "cmd:" as shown beloe, you need to give a permission
# node "tokenenchant.alias.command.cmd" to a player
#
#cmd:                 <-- The command.
#  price: 20          <-- The amount of toke a player needs to execute this command.
#  permission: <-- Permissions section, if this section is not defined, individual permission system will be used, e.g. "te.command.cmd"
#  - te.command.user    <-- For users, this permission should be added as default.
#  - te.command.mod     <-- For mods, this permission should be added as default.
#  - te.command.admin   <-- For admins, this permission should be added as default.    
#  alias:               <-- Additional aliases section.
#  - cmd2              <-- Additional aliases 1, can be as many as you want.
#  default:                   <-- Default meaning anything below will be ran for the player in all worlds.  
#  - "!te_rawmessage %p &aHello" <-- To Print this message.                                                    
#  - "@who"                   <-- Will run /who command as player.                                          
#  - "!give %p 1 32"          <-- Will run command as console to give player 32 stone.                      
#  - ">give %p 1 32"          <-- Will run command as op to give player 32 stone.
#  - if %# = 0 !te_rawmessage %p &aUse '&e/g <name&a' to check user's group.
#  - if %# = 1 >pex user %1 group list
#  world_nether:              <-- The world you wish commands below to be shown in.                        
#  - "!te_rawmessage %p &aHello, you are in the nether." <-- This message will only be seen if player is in the nether.
Commands:
    # example of giving slot 9 chestbackpack to a user (ChestBackpack plugin)
    # backpack9:
    #   permission:
    #    - my.permission.for.backpack9
    #   price: 30
    #   default:
    #     - "!pex user %p add chestbackpack.slots.9"
    # # example of giving slot 18 chestbackpack to a user (ChestBackpack plugin)
    # backpack18:
    #   permission:
    #     - my.permission.for.backpack18
    #   price: 60
    #   default:
    #     - "!pex user %p add chestbackpack.slots.18"
    # # example of allowing a player to set his prefix using PermissionsEx command.
    # setprefix:
    #   permission:
    #     - my.permission.for.setprefix
    #   price: 160
    #   default:
    #     - "!pex user %p prefix %1"
    # letmefly:
    #   permission:
    #     - my.permission.for.letmefly
    #   price: 160
    #   default:
    #     - ">fly"
#
# potion effects included in the default TE:
# Haste (Bukkit name: FAST_DIGGING)
# Speed (Bukkit name: SPEED)
# Nightvision (Bukkit name: NIGHT_VISION)
# Jump (Bukkit name: JUMP)
# Regeneration (Bukkit name: REGENERATION);
# FireResistance (Bukki name: FIRE_RESISTANCE)
# DamageResist (Bukkit name: DAMAGE_RESISTANCE
# Aqua (Bukkit name: WATER_BREATHING)
# Saturation (Bukkit name: SATURATION)
# HealthBoost (Bukkit name: HEALTH_BOOST)
# Strength (Bukkit name: INCREASE_DAMAGE)
# Blindness (Bukkit name: BLINDNESS)
# Confusion (Bukkit name: CONFUSION)
# Harm (aka Instant Damage, Bukkit name: HARM)
# Hunger (Bukkit name: HUNGER)
# Poison (Bukkit name: POISON)
# Slow (Bukkit name: SLOW)
# Weakness (Bukkit name: WEAKNESS)
# Wither (Bukkit name: WITHER)
# Molten (custom : attacker catches fire)
# Fly (custom effect : item holder can fly)
# Explosive : this is a custom effect, which will blow up surrounding blocks. It has an option of auto smelt. This Explosive effect works with MineResetLitePlus's mined block counting as well as Lucky Block feature!
# Excavation : this is a custom effect, It is just like Explosive but it will remove entire cuboid
# Sphered : this is a custom effect, It is just like Explosive but it will remove entire sphere
# BedrockBreaker (custom: allow you to break a bedrock block)
#
# You can set the duration to -1 to give infinite potion effects.
#
# You can set the occurrence
# random: randomly occur based on the level
# always: occur always.
# % : you can set the explicit % number as the maximum occurrence chance at the highest level of enchant.
#
Potions:
    TNT:
      price: 10
      max: 10
      use_for_mining: true
      cooldown: 10
      cooldown_message: "&a[TE] You have to wait for &b%remaining% &aseconds."
      occurrence: always
    LuckyMining:
      price: 10
      max: 20    #this number should be same as the highest level in levels: section
      occurrence: always
      effect: MOBSPAWNER_FLAMES
      sound: ENTITY_LIGHTNING_THUNDER  # for pre 1.9 ...AMBIENCE_THUNDER
      levels:
        1:
          chance: 0.10  # 10% chance!
          # '!' -> console, '>' -> op, '@' -> player
          commands:
            - "!tokenenchant add %player% 1;tm msg %player% &aLucky Block! <nl>&\
aYou received 1 token!"
        2:
          chance: 0.20  # 20% chance!
          commands:
            - "tokenenchant add %player% 2;tm msg %player% &aLucky Block! <nl>\
&aYou received 2 token!"
            - "tokenenchant add %player% 1;tm msg %player% &aLucky Block! <nl>\
&aYou received 1 token!"
        3:
          chance: 0.30  # 30% chance!
          commands:
            - "tokenenchant add %player% 3;tm msg %player% &aLucky Block! <nl>\
&aYou received 3 token!"
            - "tokenenchant add %player% 2;tm msg %player% &aLucky Block! <nl>\
&aYou received 2 token!"
            - "tokenenchant add %player% 1;tm msg %player% &aLucky Block! <nl>\
&aYou received 1 token!"
        4:
          chance: 0.40  # 40% chance!
          commands:
            - "tokenenchant add %player% 4;tm msg %player% &aLucky Block! <nl>\
&aYou received 4 token!"
            - "tokenenchant add %player% 3;tm msg %player% &aLucky Block! <nl>\
&aYou received 3 token!"
            - "tokenenchant add %player% 2;tm msg %player% &aLucky Block! <nl>\
&aYou received 2 token!"
            - "tokenenchant add %player% 1;tm msg %player% &aLucky Block! <nl>\
&aYou received 1 token!"
        5:
          chance: 0.50  # 50% chance!
          commands:
            - "tokenenchant add %player% 5;tm msg %player% &aLucky Block! <nl>\
&aYou received 5 token!"
            - "tokenenchant add %player% 4;tm msg %player% &aLucky Block! <nl>\
&aYou received 4 token!"
            - "tokenenchant add %player% 3;tm msg %player% &aLucky Block! <nl>\
&aYou received 3 token!"
            - "tokenenchant add %player% 2;tm msg %player% &aLucky Block! <nl>\
&aYou received 2 token!"
            - "tokenenchant add %player% 1;tm msg %player% &aLucky Block! <nl>\
&aYou received 1 token!"
        6:
          chance: 0.55  # 55% chance!
          commands:
            - "tokenenchant add %player% 6;tm msg %player% &aLucky Block! <nl>\
&aYou received 6 token!"
            - "tokenenchant add %player% 5;tm msg %player% &aLucky Block! <nl>\
&aYou received 5 token!"
            - "tokenenchant add %player% 4;tm msg %player% &aLucky Block! <nl>\
&aYou received 4 token!"
            - "tokenenchant add %player% 3;tm msg %player% &aLucky Block! <nl>\
&aYou received 3 token!"
            - "tokenenchant add %player% 2;tm msg %player% &aLucky Block! <nl>\
&aYou received 2 token!"
            - "tokenenchant add %player% 1;tm msg %player% &aLucky Block! <nl>\
&aYou received 1 token!"
        7:
          chance: 0.60  # 60% chance!
          commands:
            - "tokenenchant add %player% 7;tm msg %player% &aLucky Block! <nl>\
&aYou received 7 token!"
            - "tokenenchant add %player% 6;tm msg %player% &aLucky Block! <nl>\
&aYou received 6 token!"
            - "tokenenchant add %player% 5;tm msg %player% &aLucky Block! <nl>\
&aYou received 5 token!"
            - "tokenenchant add %player% 4;tm msg %player% &aLucky Block! <nl>\
&aYou received 4 token!"
            - "tokenenchant add %player% 3;tm msg %player% &aLucky Block! <nl>\
&aYou received 3 token!"
            - "tokenenchant add %player% 2;tm msg %player% &aLucky Block! <nl>\
&aYou received 2 token!"
        8:
          chance: 0.63  # 63% chance!
          commands:
            - "tokenenchant add %player% 8;tm msg %player% &aLucky Block! <nl>\
&aYou received 8 token!"
            - "tokenenchant add %player% 7;tm msg %player% &aLucky Block! <nl>\
&aYou received 7 token!"
            - "tokenenchant add %player% 6;tm msg %player% &aLucky Block! <nl>\
&aYou received 6 token!"
            - "tokenenchant add %player% 5;tm msg %player% &aLucky Block! <nl>\
&aYou received 5 token!"
            - "tokenenchant add %player% 4;tm msg %player% &aLucky Block! <nl>\
&aYou received 4 token!"
            - "tokenenchant add %player% 3;tm msg %player% &aLucky Block! <nl>\
&aYou received 3 token!"
            - "tokenenchant add %player% 2;tm msg %player% &aLucky Block! <nl>\
&aYou received 2 token!"
            - "tokenenchant add %player% 1;tm msg %player% &aLucky Block! <nl>\
&aYou received 1 token!"
        9:
          chance: 0.66  # 66% chance!
          commands:
            - "tokenenchant add %player% 9;tm msg %player% &aLucky Block! <nl>\
&aYou received 9 token!"
            - "tokenenchant add %player% 8;tm msg %player% &aLucky Block! <nl>\
&aYou received 8 token!"
            - "tokenenchant add %player% 7;tm msg %player% &aLucky Block! <nl>\
&aYou received 7 token!"
            - "tokenenchant add %player% 6;tm msg %player% &aLucky Block! <nl>\
&aYou received 6 token!"
            - "tokenenchant add %player% 5;tm msg %player% &aLucky Block! <nl>\
&aYou received 5 token!"
            - "tokenenchant add %player% 4;tm msg %player% &aLucky Block! <nl>\
&aYou received 4 token!"
            - "tokenenchant add %player% 3;tm msg %player% &aLucky Block! <nl>\
&aYou received 3 token!"
        10:
          chance: 0.69  # 69% chance!
          commands:
            - "tokenenchant add %player% 10;tm msg %player% &aLucky Block! <nl>\
&aYou received 10 token!"
            - "tokenenchant add %player% 9;tm msg %player% &aLucky Block! <nl>\
&aYou received 9 token!"
            - "tokenenchant add %player% 8;tm msg %player% &aLucky Block! <nl>\
&aYou received 8 token!"
            - "tokenenchant add %player% 7;tm msg %player% &aLucky Block! <nl>\
&aYou received 7 token!"
            - "tokenenchant add %player% 6;tm msg %player% &aLucky Block! <nl>\
&aYou received 6 token!"
            - "tokenenchant add %player% 5;tm msg %player% &aLucky Block! <nl>\
&aYou received 5 token!"

        11:
          chance: 0.71  # 71% chance!
          commands:
            - "tokenenchant add %player% 11;tm msg %player% &aLucky Block! <nl>\
&aYou received 11 token!"
            - "tokenenchant add %player% 10;tm msg %player% &aLucky Block! <nl>\
&aYou received 10 token!"
            - "tokenenchant add %player% 9;tm msg %player% &aLucky Block! <nl>\
&aYou received 9 token!"
            - "tokenenchant add %player% 8;tm msg %player% &aLucky Block! <nl>\
&aYou received 8 token!"
            - "tokenenchant add %player% 7;tm msg %player% &aLucky Block! <nl>\
&aYou received 7 token!"
        12:
          chance: 0.71  # 71% chance!
          commands:
            - "tokenenchant add %player% 12;tm msg %player% &aLucky Block! <nl>\
&aYou received 12 token!"
            - "tokenenchant add %player% 11;tm msg %player% &aLucky Block! <nl>\
&aYou received 11 token!"
            - "tokenenchant add %player% 10;tm msg %player% &aLucky Block! <nl>\
&aYou received 10 token!"
            - "tokenenchant add %player% 9;tm msg %player% &aLucky Block! <nl>\
&aYou received 9 token!"
            - "tokenenchant add %player% 8;tm msg %player% &aLucky Block! <nl>\
&aYou received 8 token!"
        13:
          chance: 0.73  # 73% chance!
          commands:
            - "tokenenchant add %player% 13;tm msg %player% &aLucky Block! <nl>\
&aYou received 13 token!"
            - "tokenenchant add %player% 12;tm msg %player% &aLucky Block! <nl>\
&aYou received 12 token!"
            - "tokenenchant add %player% 11;tm msg %player% &aLucky Block! <nl>\
&aYou received 11 token!"
            - "tokenenchant add %player% 10;tm msg %player% &aLucky Block! <nl>\
&aYou received 10 token!"
            - "tokenenchant add %player% 9;tm msg %player% &aLucky Block! <nl>\
&aYou received 9 token!"
            - "tokenenchant add %player% 8;tm msg %player% &aLucky Block! <nl>\
&aYou received 8 token!"
        14:
          chance: 0.76  # 76% chance!
          commands:
            - "tokenenchant add %player% 14;tm msg %player% &aLucky Block! <nl>\
&aYou received 14 token!"
            - "tokenenchant add %player% 13;tm msg %player% &aLucky Block! <nl>\
&aYou received 13 token!"
            - "tokenenchant add %player% 12;tm msg %player% &aLucky Block! <nl>\
&aYou received 12 token!"
            - "tokenenchant add %player% 11;tm msg %player% &aLucky Block! <nl>\
&aYou received 11 token!"
            - "tokenenchant add %player% 10;tm msg %player% &aLucky Block! <nl>\
&aYou received 10 token!"
            - "tokenenchant add %player% 9;tm msg %player% &aLucky Block! <nl>\
&aYou received 9 token!"
            - "tokenenchant add %player% 8;tm msg %player% &aLucky Block! <nl>\
&aYou received 8 token!"
        15:
          chance: 0.80  # 80% chance!
          commands:
            - "tokenenchant add %player% 15;tm msg %player% &aLucky Block! <nl>\
&aYou received 15 token!"
            - "tokenenchant add %player% 14;tm msg %player% &aLucky Block! <nl>\
&aYou received 14 token!"
            - "tokenenchant add %player% 13;tm msg %player% &aLucky Block! <nl>\
&aYou received 13 token!"
            - "tokenenchant add %player% 12;tm msg %player% &aLucky Block! <nl>\
&aYou received 12 token!"
            - "tokenenchant add %player% 11;tm msg %player% &aLucky Block! <nl>\
&aYou received 11 token!"
            - "tokenenchant add %player% 10;tm msg %player% &aLucky Block! <nl>\
&aYou received 10 token!"
            - "tokenenchant add %player% 9;tm msg %player% &aLucky Block! <nl>\
&aYou received 9 token!"
            - "tokenenchant add %player% 8;tm msg %player% &aLucky Block! <nl>\
&aYou received 8 token!"

        16:
          chance: 0.83  # 83% chance!
          commands:
            - "tokenenchant add %player% 16;tm msg %player% &aLucky Block! <nl>\
&aYou received 16 token!"
            - "tokenenchant add %player% 15;tm msg %player% &aLucky Block! <nl>\
&aYou received 15 token!"
            - "tokenenchant add %player% 14;tm msg %player% &aLucky Block! <nl>\
&aYou received 14 token!"
            - "tokenenchant add %player% 13;tm msg %player% &aLucky Block! <nl>\
&aYou received 13 token!"
            - "tokenenchant add %player% 12;tm msg %player% &aLucky Block! <nl>\
&aYou received 12 token!"
            - "tokenenchant add %player% 11;tm msg %player% &aLucky Block! <nl>\
&aYou received 11 token!"
            - "tokenenchant add %player% 10;tm msg %player% &aLucky Block! <nl>\
&aYou received 10 token!"
        17:
          chance: 0.88  # 88% chance!
          commands:
            - "tokenenchant add %player% 17;tm msg %player% &aLucky Block! <nl>\
&aYou received 17 token!"
            - "tokenenchant add %player% 16;tm msg %player% &aLucky Block! <nl>\
&aYou received 16 token!"
            - "tokenenchant add %player% 15;tm msg %player% &aLucky Block! <nl>\
&aYou received 15 token!"
            - "tokenenchant add %player% 14;tm msg %player% &aLucky Block! <nl>\
&aYou received 14 token!"
            - "tokenenchant add %player% 13;tm msg %player% &aLucky Block! <nl>\
&aYou received 13 token!"
            - "tokenenchant add %player% 12;tm msg %player% &aLucky Block! <nl>\
&aYou received 12 token!"
            - "tokenenchant add %player% 11;tm msg %player% &aLucky Block! <nl>\
&aYou received 11 token!"
            - "tokenenchant add %player% 10;tm msg %player% &aLucky Block! <nl>\
&aYou received 10 token!"
        18:
          chance: 0.90  # 90% chance!
          commands:
            - "tokenenchant add %player% 18;tm msg %player% &aLucky Block! <nl>\
&aYou received 18 token!"
            - "tokenenchant add %player% 17;tm msg %player% &aLucky Block! <nl>\
&aYou received 17 token!"
            - "tokenenchant add %player% 16;tm msg %player% &aLucky Block! <nl>\
&aYou received 16 token!"
            - "tokenenchant add %player% 15;tm msg %player% &aLucky Block! <nl>\
&aYou received 15 token!"
            - "tokenenchant add %player% 14;tm msg %player% &aLucky Block! <nl>\
&aYou received 14 token!"
            - "tokenenchant add %player% 13;tm msg %player% &aLucky Block! <nl>\
&aYou received 13 token!"
            - "tokenenchant add %player% 12;tm msg %player% &aLucky Block! <nl>\
&aYou received 12 token!"
            - "tokenenchant add %player% 11;tm msg %player% &aLucky Block! <nl>\
&aYou received 11 token!"
            - "tokenenchant add %player% 10;tm msg %player% &aLucky Block! <nl>\
&aYou received 10 token!"
        19:
          chance: 0.95  # 95% chance!
          commands:
            - "tokenenchant add %player% 19;tm msg %player% &aLucky Block! <nl>\
&aYou received 19 token!"
            - "tokenenchant add %player% 18;tm msg %player% &aLucky Block! <nl>\
&aYou received 18 token!"
            - "tokenenchant add %player% 17;tm msg %player% &aLucky Block! <nl>\
&aYou received 17 token!"
            - "tokenenchant add %player% 16;tm msg %player% &aLucky Block! <nl>\
&aYou received 16 token!"
            - "tokenenchant add %player% 15;tm msg %player% &aLucky Block! <nl>\
&aYou received 15 token!"
            - "tokenenchant add %player% 14;tm msg %player% &aLucky Block! <nl>\
&aYou received 14 token!"
            - "tokenenchant add %player% 13;tm msg %player% &aLucky Block! <nl>\
&aYou received 13 token!"
            - "tokenenchant add %player% 12;tm msg %player% &aLucky Block! <nl>\
&aYou received 12 token!"
            - "tokenenchant add %player% 11;tm msg %player% &aLucky Block! <nl>\
&aYou received 11 token!"
            - "tokenenchant add %player% 10;tm msg %player% &aLucky Block! <nl>\
&aYou received 10 token!"
        20:
          chance: 1.00  # 100% chance!
          commands:
            - "tokenenchant add %player% 1000;tm msg %player% &aLucky Block! <nl>\
&aYou received 1000 token!"
            - "tokenenchant add %player% 19;tm msg %player% &aLucky Block! <nl>\
&aYou received 19 token!"
            - "tokenenchant add %player% 18;tm msg %player% &aLucky Block! <nl>\
&aYou received 18 token!"
            - "tokenenchant add %player% 17;tm msg %player% &aLucky Block! <nl>\
&aYou received 17 token!"
            - "tokenenchant add %player% 16;tm msg %player% &aLucky Block! <nl>\
&aYou received 16 token!"
            - "tokenenchant add %player% 15;tm msg %player% &aLucky Block! <nl>\
&aYou received 15 token!"
            - "tokenenchant add %player% 14;tm msg %player% &aLucky Block! <nl>\
&aYou received 14 token!"
            - "tokenenchant add %player% 13;tm msg %player% &aLucky Block! <nl>\
&aYou received 13 token!"
            - "tokenenchant add %player% 12;tm msg %player% &aLucky Block! <nl>\
&aYou received 12 token!"
            - "tokenenchant add %player% 11;tm msg %player% &aLucky Block! <nl>\
&aYou received 11 token!"
            - "tokenenchant add %player% 10;tm msg %player% &aLucky Block! <nl>\
&aYou received 10 token!"
      exemptions:  # needs to be Bukkit's Material type in CAPs.
        - GRASS
        - SAND
    Haste:
      alias: "SpeedDigging"     #You can use your own name for enchant using alias.
      duration: 200
      amplifier: 2
      price: 10
      max: 10
      # You can set the occurrence
      # random: randomly occur based on the level
      # always: occur always.
      occurrence: random
      enchant_chance: 0.8
    Speed:
      price: 10
      max: 10
      # You can set the occurrence
      # random: randomly occur based on the level
      # always: occur always.
      occurrence: random
    Nightvision:
      price: 10
      max: 10
      # You can set the occurrence
      # random: randomly occur based on the level
      # always: occur always.
      occurrence: random
    Jump:
      price: 10
      max: 10
      # You can set the occurrence
      # random: randomly occur based on the level
      # always: occur always.
      occurrence: random
    Harm:
      price: 10
      max: 1
      #
      # level_multiplier * the level of potion will be used as
      # the level of Harm potion.
      level_multiplier: 1
      # You can set the occurrence
      # random: randomly occur based on the level
      # always: occur always.
      occurrence: always
    Regeneration:
      price: 10
      max: 2
      duration_multiplier: 1800
      #
      # You can set the occurrence
      # random: randomly occur based on the level
      # always: occur always.
      occurrence: always
    FireProtection:
      price: 10
      max: 1
      duration_multiplier: 1800
      occurrence: always
    Strength:
      price: 10
      max: 3
      duration_multiplier: -1
      occurrence: always
    Aqua:
      price: 10
      max: 1
      duration_multiplier: -1
      occurrence: always
    Saturation:
      price: 10
      max: 3
      duration_multiplier: -1
      occurrence: always
    HealthBoost:
      price: 10
      max: 3
      duration_multiplier: 1200
      occurrence: always
    Explosive:
      price: 10
      max: 10
      # you can nominate the world, which prevents explosive  
      invalid_in_world:
        - plotworld
      # you can turn on automatic pickup.
      pickup: true
      # you can turn on automatic smelting
      smelt: true
      # you can turn on/off explostion sound/visual effects
      effect: true
      # you can turn on/off explostion sound effects
      sound: true
      # you can increase the number of exploded blocs with in a radius
      multiplier: 2
      # you can specify the radius whithin which explosion will occur.
      # it is not recommended to have a large radius. it may cause lag.
      radius: 2
      # You can set the occurrence of explosion.
      # random: randomly occur based on the level
      # always: explosion occur always.
      occurrence: random
      # You can set the list of blocks exempt from explosiont.
      # use this list to avoid your crates being exploded.
      # AIR and BEDROCK are already exempted by defalt
      exemptions:
        - ENDER_CHEST
        - GLOWSTONE
        - LADDER
        - STONE_PLATE
    Excavation:
      price: 10
      max: 5
      # you can nominate the world, which prevents explosive  
      invalid_in_world:
        - plotworld
      # you can turn on automatic pickup.
      pickup: true
      # you can turn on automatic smelting
      smelt: true
      # you can turn on/off explostion sound/visual effects
      effect: true
      # you can turn on/off explostion sound effects
      sound: true
      # You can set the occurrence of explosion.
      # random: randomly occur based on the level
      # always: explosion occur always.
      occurrence: random
      # You can set the list of blocks exempt from explosiont.
      # use this list to avoid your crates being exploded.
      # AIR and BEDROCK are already exempted by defalt
      exemptions:
        - ENDER_CHEST
        - GLOWSTONE
        - LADDER
        - STONE_PLATE
    Fly:
      price: 10
      max: 1
#      invalid_in_region:
#        - nofly
      occurrence: always
    Disk:
      price: 10
      max: 10
      invalid_in_world:
        - plotworld
      pickup: true
      smelt: false
      effect: true
      sound: true
      multiplier: 0.5
      occurrence: always
      exemptions:
        - ENDER_CHEST
        - GLOWSTONE
        - DIAMOND_PICKAXE
    Tile:
      price: 10
      max: 10
      invalid_in_world:
        - plotworld
      pickup: true
      smelt: false
      effect: true
      sound: true
      multiplier: 0.5
      occurrence: always
      exemptions:
        - ENDER_CHEST
        - GLOWSTONE
        - LADDER
    Sphered:
      use_explode_event: true
      alias: Circle
      price: 10
      max: 3
      invalid_in_world:
    - plotworld
      pickup: false
      smelt: false
      effect: true
      sound: true
      occurrence: always
      exemptions:
        - ENDER_CHEST
        - GLOWSTONE
        - LADDER
#
# Supported Enchantment:
# Sharpness (Bukkit name: DAMAGE_ALL)
# Baneofarthropods (Bukkit name: DAMAGE_ARTHROPODS)
# Smite (Bukkit name: DAMAGE_UNDEAD)
# Efficiency (Bukkit name: DIG_SPEED)
# Unbreaking (Bukkit name: DURABILITY)
# Fireaspect (Bukkit name: FIRE_ASPECT)
# Knockback (Bukkit name: KNOCKBACK)
# Fortune (Bukkit name: LOOT_BONUS_BLOCKS)
# Looting (Bukkit name: LOOT_BONUS_MOBS)
# Respiration (Bukkit name: OXYGEN
# Protection (Bukkit name: PROTECTION_ENVIRONMENTAL)
# Blastprotection (Bukkit name: PROTECTION_EXPLOSIONS)
# Featherfall (Bukkit name: PROTECTION_FALL)
# Fireprotection (Bukkit name: PROTECTION_FIRE)
# Projectileprot (Bukkit name: PROTECTION_PROJECTILE)
# Silktouch (Bukkit name: SILK_TOUCH)
# Aquaaffinity (Bukkit name: WATER_WORKER)
# Flame (Bukkit name: ARROW_FIRE)
# Power (Bukkit name: ARROW_DAMAGE)
# Punch (Bukkit name: ARROW_KNOCKBACK)
# Infinity (Bukkit name: ARROW_INFINITE)
# Thorns (Bukkit name: THORNS)
#
Enchants:
    Power:
      price: 10
      max: 10
    Flame:
      price: 10
      max: 10
    Infinity:
      price: 10
      max: 10
    Punch:
      price: 10
      max: 10
    Sharpness:
      price: 10
      max: 10
    Baneofarthropods:
      price: 10
      max: 10
    Smite:
      price: 10
      max: 10
    Depth:
      price: 10
      max: 10
    Efficiency:
      price: 10
      max: 10
    Unbreaking:
      price: 10
      max: 10
    Fireaspect:
      price: 10
      max: 10
    Knockback:
      price: 10
      max: 10
    Fortune:
      price: 10
      max: 10
    Looting:
      price: 10
      max: 10
    Luck:
      price: 10
      max: 10
    Mending:
      price: 10
      max: 10
    Respiration:
      price: 10
      max: 10
    Protection:
      price: 10
      max: 10
    Blastprotection:
      price: 10
      max: 10
    Featherfall:
      price: 10
      max: 10
    Fireprotection:
      price: 10
      max: 10
    Projectileprot:
      price: 10
      max: 10
    Silktouch:
      price: 10
      max: 10
    Aquaaffinity:
      price: 10
      max: 10
    Thorns:
      price: 10
      max: 10
    Sweeping:
      price: 10
      max: 10
    Binding:
      price: 10
      max: 10
    Vanishing:
      price: 10
      max: 10

Conflicts:
    1:
      - Explosive
      - Excavation
      - Sphered
      - Disk
      - Tile
    2:
      - Silktouch
      - Fortune

# list of items players are allowed to enchant
Items:
    DIAMOND_PICKAXE:  
        - Unbreaking
        - Fortune
        - Efficiency
        - Tile
        - Disk
    GOLD_PICKAXE:
        - Unbreaking
        - Fortune
        - Efficiency
    IRON_PICKAXE:
        - Unbreaking
        - Fortune
        - Efficiency
    STONE_PICKAXE:
        - Unbreaking
        - Fortune
        - Efficiency
    WOOD_PICKAXE:
        - Unbreaking
        - Fortune
        - Efficiency
 
Premium Plugins  NeoSkywars
Premium Plugins  EpicSkyWars
Trạng thái
Không mở trả lời sau này.
Similar content Most view Xem thêm
Back
Top Bottom