Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.13 KB | None | 0 0
  1. # This is a template config file
  2. # define your parameter and its value like:
  3. ErrorMessage: "&c Some error occured."
  4. HelpMessages:
  5. banner:
  6. msg: "=== &e[&aCustom Enchantments&e] &r==="
  7. help:
  8. msg: "/te or /te help : display this help menu."
  9. reload:
  10. msg: "/te reload : reloads config file."
  11. permission: "tokenenchant.reload"
  12. set:
  13. msg: "/te set <name> <amount> : sets <name> <amount> tokens."
  14. permission: "tokenenchant.add"
  15. add:
  16. msg: "/te add <name> <amount> : adds <name> <amount> tokens."
  17. permission: "tokenenchant.add"
  18. remove:
  19. msg: "/te remove <name> <amount> : removes <name> <amount> tokens from <name>."
  20. permission: "tokenenchant.add"
  21. balance:
  22. msg: "/te balance [name] : displays the token balance of yourself or [name]."
  23. permission: "tokenenchant.balance"
  24. withdraw:
  25. msg: "/te withdraw <amount> : withdraws the specified amount of tokens from your account."
  26. permission: "tokenenchant.withdraw"
  27. expexchange:
  28. msg: "/te expexchange : exchanges the current EXP values to tokens."
  29. permission: "tokenenchant.expexchange"
  30. givetokens:
  31. msg: "&l/te givetokens <name> <amount> : gives <name> <amount> tokens."
  32. permission: "tokenenchant.expexchange"
  33. enchant:
  34. msg: "&l/te enchant <name> <enchant> [level] [cost:xxx] : enchants the item <name> is holding with <enchant>."
  35. permission: "tokenenchant.enchant"
  36. refund:
  37. msg: "/te refund <name> <enchant> : refund <name> for the enchantment <enchant>."
  38. permission: "tokenenchant.refund"
  39. givebp:
  40. msg: ""
  41. permission: "tokenenchant.givebp"
  42. #
  43. # if UseToken is true, the plugin use its own tokens, if it's false
  44. # it uses economy thorugh Vault
  45. UseToken: false
  46. EnchantSign: "[&9Enchant&8]"
  47. CostPlaceHolder: "{ench_cost}"
  48. #
  49. ExchangeSign: "[&9Exchange&8]"
  50. ExchangeRate: 1
  51. RatePlaceHolder: "{ex_rate}"
  52. #
  53. ExpExchangeSign: "[&9EXP Exch&8]"
  54. ExpExchangeRate: 20
  55. ExpRatePlaceHolder: "{exp_rate}"
  56. #
  57. WithdrawSign: "[&9Withdraw&8]"
  58. #
  59. RepairSign: "[&9Repair&8]"
  60. RepairBase: 1
  61. RepairDiscount: 0.05
  62. RepairRatePlaceHolder: "{rep_rate}"
  63. #
  64. #
  65. TokenItem: MAGMA_CREAM
  66. TokenItemName: "&aTokenItem"
  67. TokenItemLore: "&bClick to redeem &eTokens"
  68.  
  69. #
  70. # Enchantment lore prefix
  71. EnchantmentLorePrefix: ""
  72.  
  73. #
  74. Messages:
  75. SelfBalance: "&a You currently have &b%token% &atokens."
  76. NoOthersBalance: "&c You are not allowed to check other's balance."
  77. NoTargetPlayer: "&a A palyer needs to be specified."
  78. PlayerOffline: "&a &e%player% &ais currently offline."
  79. PlayerNotFound: "&a &e%player% &awas not found."
  80. Balance: "&a &e%player% &acurrently has &b%token% &atokens."
  81. SetSuccess: "&a You have set &e%token% &atokens to &e%player%&a."
  82. AddSuccess: "&a You have added &e%token% &atokens to &e%player%&a."
  83. Received: "&a You have received &e%token% &atokens."
  84. Deducted: "&a &e%token% &atokens have been deducted."
  85. RemoveSuccess: "&a You have removed &e%token% &atokens from &e%player%&a."
  86. NotEnoughTokens: "&c You do not have enough tokens. You need at least %needed% tokens."
  87. NotEnoughTokenItems: "&c You do not have enough token items. You need at least %needed% token item(s)."
  88. NotEnoughExpLevels: "&c You do not have enough EXP levels. You need at least %exp_needed% EXP level(s)."
  89. WithdrawSuccess: "&a You have withdrawn &e%tokens% &atokens."
  90. InventoryFull: "&a Inventory is full! &e%tokens% &atokens could not be withdrawn!"
  91. ExchangeSuccess: "&a &e+ %token% &atoken(s) has been added to your account."
  92. NeedToHoldItem: "&c You need to hold an item to enchant."
  93. CannotEnchantThis: "&c You cannot enchant the item you're holding."
  94. CannotRepairThis: "&c You cannot repair the item you're holding."
  95. EnchantSuccess: "&a &e+ 1 &d%enchant% &aenchantment level. %token% tokens have been deducted."
  96. RepairSuccess: "&a &eThe item repaired. %token% tokens have been deducted."
  97. MaxedOut: "&c Your item has already maxed out on &e%enchant% &cenchantment."
  98. NoPermission: "&c You don't have a permission for this!"
  99. NoSuchEnchant: "&c[TE-Admin] That is not a valid enchant. Please specify the enchant listed in the config file."
  100. TokenItemsGiven: "&a &e%tokenitems% &atoken items were given to &e%player%&a."
  101. NoPriceSet: "&a Price is not set for this."
  102. CommandSuccess: "&a &e%command%&a was executed, and it cost &e%token% tokens."
  103. NeedPermission: "&a You need a permission &etokenenchant.alias.command.%command% &ato use this command &e%command%&a."
  104. CannotRefundThis: "&c We cannot refun the item you're holding."
  105. RefundSuccess: "&a &e- 1 &d%enchant% &aenchantment level. %token% tokens have been refunded."
  106. BackPackGiven: "&a %player% has given a backpack and %token% toknes has been deducted."
  107. VKBackPackNotFound: "&a VKBackPack plugin was not found."
  108. #
  109. #
  110. # option to force remove potion effects at the login
  111. ForceRemovePotionAtJoin : false
  112. #
  113. #
  114. UseRomanNumeral: true
  115.  
  116. # if PureRomanNumeral is true, 1 - 3998 will be converted to RomanNumeral
  117. PureRomanNumeral: false
  118. #
  119. # Use WorldGuard's new block-break flag, otherwise, use canBuild check instead
  120. UseWorldGuardNewFlag: true
  121.  
  122. #
  123. UseEnchantGlowForPotion: true
  124. #
  125. MaxEnchantLevel: 100
  126. #
  127.  
  128. # fly permission node
  129. # if a player has the following permission node, his fly own't be turned off
  130. FlyPermissionNode: "essentials.fly"
  131.  
  132. #
  133. TokenFormula:
  134. # Valid values are: LINEAR and EXPONENTIAL
  135. # If an invalid value is entered, this will reset to the default setting, which is LINEAR
  136. # CONSTANT: price
  137. # LINEAR: price + (level * price)
  138. # EXPONENTIAL: price + price * level ^ exponent
  139. # EXPONENTIAL2: price * 2 ^ (level - 1)
  140. Curve: Linear
  141.  
  142. Constant:
  143. Linear:
  144. Exponential:
  145. exponent: 1.80
  146.  
  147. # Refund related
  148. AllowRefund: false
  149. RefundRate: 0.8
  150.  
  151. # default values
  152. DefaultPotionDuration: 200
  153. DefaultPotionAmplifier: 2
  154.  
  155. #
  156. # Command execution with token
  157. # This format is from a plugin called Aliazes.
  158. # default permission for each command te.command.<cmd>
  159. # If you crate an alias "cmd:" as shown beloe, you need to give a permission
  160. # node "tokenenchant.alias.command.cmd" to a player
  161. #
  162. #cmd: <-- The command.
  163. # price: 20 <-- The amount of toke a player needs to execute this command.
  164. # permission: <-- Permissions section, if this section is not defined, individual permission system will be used, e.g. "te.command.cmd"
  165. # - te.command.user <-- For users, this permission should be added as default.
  166. # - te.command.mod <-- For mods, this permission should be added as default.
  167. # - te.command.admin <-- For admins, this permission should be added as default.
  168. # alias: <-- Additional aliases section.
  169. # - cmd2 <-- Additional aliases 1, can be as many as you want.
  170. # default: <-- Default meaning anything below will be ran for the player in all worlds.
  171. # - "!te_rawmessage %p &aHello" <-- To Print this message.
  172. # - "@who" <-- Will run /who command as player.
  173. # - "!give %p 1 32" <-- Will run command as console to give player 32 stone.
  174. # - ">give %p 1 32" <-- Will run command as op to give player 32 stone.
  175. # - if %# = 0 !te_rawmessage %p &aUse '&e/g <name&a' to check user's group.
  176. # - if %# = 1 >pex user %1 group list
  177. # world_nether: <-- The world you wish commands below to be shown in.
  178. # - "!te_rawmessage %p &aHello, you are in the nether." <-- This message will only be seen if player is in the nether.
  179. Commands:
  180. # supported potion effects:
  181. # Haste (Bukkit name: FAST_DIGGING)
  182. # Speed (Bukkit name: SPEED)
  183. # Nightvision (Bukkit name: NIGHT_VISION)
  184. # Jump (Bukkit name: JUMP)
  185. # Regeneration (Bukkit name: REGENERATION);
  186. # FireProtection (Bukki name: FIRE_RESISTANCE)
  187. # DamageResist (Bukkit name: DAMAGE_RESISTANCE
  188. # Aqua (Bukkit name: WATER_BREATHING)
  189. # Saturation (Bukkit name: SATURATION)
  190. # HealthBoost (Bukkit name: HEALTH_BOOST)
  191. # Strength (Bukkit name: INCREASE_DAMAGE)
  192. # Blindness (Bukkit name: BLINDNESS)
  193. # Confusion (Bukkit name: Confusion)
  194. # Harm (aka Instant Damage, Bukkit name: HARM)
  195. # Hunger (Bukkit name: HUNGER)
  196. # Poison (Bukkit name: POISON)
  197. # Slow (Bukkit name: SLOW)
  198. # Weakness (Bukkit name: WEAKNESS)
  199. # Wither (Bukkit name: WITHER)
  200. # Molten (custom : attacker catches fire)
  201. # Fly (custom effect : item holder can fly)
  202. # 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!
  203. # Excavation : this is a custom effect, It is just like Explosive but it will remove entire cuboid
  204. # Sphered : this is a custom effect, It is just like Explosive but it will remove entire sphere
  205. # BedrockBreaker (custom: allow you to break a bedrock block)
  206. #
  207. # You can set the duration to -1 to give infinite potion effects.
  208. #
  209. # You can set the occurrence
  210. # random: randomly occur based on the level
  211. # always: occur always.
  212. # occurence: random
  213. #
  214. Potions:
  215. Haste:
  216. duration: 200
  217. amplifier: 2
  218. alias: FeatherWeight
  219. price: 10
  220. max: 10
  221. duration_multiplier: -1
  222. # You can set the occurrence
  223. # random: randomly occur based on the level
  224. # always: occur always.
  225. occurrence: always
  226. Speed:
  227. alias: &6Gears
  228. price: 10
  229. max: 3
  230. level_multiplier: 1
  231. duration_multiplier: -1
  232. # You can set the occurrence
  233. # random: randomly occur based on the level
  234. # always: occur always.
  235. occurrence: always
  236. Nightvision:
  237. alias: &7Nightvision
  238. price: 10
  239. max: 1
  240. duration_multiplier: -1
  241. # You can set the occurrence
  242. # random: randomly occur based on the level
  243. # always: occur always.
  244. occurrence: always
  245. Molten:
  246. alias: &aMolten
  247. price: 10
  248. max: 4
  249. duration_multiplier: 5
  250. # You can set the occurrence
  251. # random: randomly occur based on the level
  252. # always: occur always.
  253. occurrence: random
  254. Hunger:
  255. alias: &bHunger
  256. price: 10
  257. max: 3
  258. level_multiplier: 1
  259. duration_multiplier: -1
  260. # You can set the occurrence
  261. # random: randomly occur based on the level
  262. # always: occur always.
  263. occurrence: random
  264. Wither:
  265. alias: &eWither
  266. price: 10
  267. max: 5
  268. level_multiplier: 20
  269. duration_multiplier: 3
  270. # You can set the occurrence
  271. # random: randomly occur based on the level
  272. # always: occur always.
  273. occurrence: random
  274. DamageResist:
  275. alias: &bValor
  276. price: 10
  277. max: 5
  278. level_multiplier: 1
  279. duration_multiplier: 15
  280. # You can set the occurrence
  281. # random: randomly occur based on the level
  282. # always: occur always.
  283. occurrence: random
  284. Jump:
  285. alias: &bSprings
  286. price: 10
  287. max: 5
  288. level_multiplier: -1
  289. duration_multiplier: -1
  290. # You can set the occurrence
  291. # random: randomly occur based on the level
  292. # always: occur always.
  293. occurrence: always
  294. Poison:
  295. alias: &ePoison
  296. price: 10
  297. max: 3
  298. level_multiplier: 1
  299. duration_multiplier: 5
  300. # You can set the occurrence
  301. # random: randomly occur based on the level
  302. # always: occur always.
  303. occurrence: random
  304. Weakness:
  305. alias: &cWeakness
  306. price: 10
  307. max: 1
  308. level_multiplier: 1
  309. duration_multiplier: 15
  310. # You can set the occurrence
  311. # random: randomly occur based on the level
  312. # always: occur always.
  313. occurrence: random
  314. Slow:
  315. alias: &bFreeze
  316. price: 10
  317. max: 1
  318. duration_multiplier: 5
  319. # You can set the occurrence
  320. # random: randomly occur based on the level
  321. # always: occur always.
  322. occurrence: random
  323. Harm:
  324. alias: &cWrath
  325. price: 10
  326. max: 2
  327. #
  328. # level_multiplier * the level of potion will be used as
  329. # the level of Harm potion.
  330. level_multiplier: 1
  331. # You can set the occurrence
  332. # random: randomly occur based on the level
  333. # always: occur always.
  334. occurrence: random
  335. Confusion:
  336. price: 10
  337. max: 4
  338. #
  339. # level_multiplier * the level of potion will be used as
  340. # the level of Harm potion.
  341. level_multiplier: 1
  342. # You can set the occurrence
  343. # random: randomly occur based on the level
  344. # always: occur always.
  345. occurrence: random
  346. Regeneration:
  347. alias: &cRegeneration
  348. price: 10
  349. max: 2
  350. duration_multiplier: 10
  351. #
  352. # You can set the occurrence
  353. # random: randomly occur based on the level
  354. # always: occur always.
  355. occurrence: random
  356. FireProtection:
  357. alias: &eObsidianShield
  358. price: 10
  359. max: 1
  360. duration_multiplier: -1
  361. occurrence: always
  362. Strength:
  363. alias: &cStrength
  364. price: 10
  365. max: 8
  366. duration_multiplier: 3
  367. occurrence: random
  368. Aqua:
  369. alias: &aAqua
  370. price: 10
  371. max: 1
  372. duration_multiplier: -1
  373. occurrence: always
  374. Saturation:
  375. price: 10
  376. max: 3
  377. duration_multiplier: -1
  378. occurrence: always
  379. HealthBoost:
  380. alias: &6Overload
  381. price: 10
  382. max: 3
  383. duration_multiplier: -1
  384. occurrence: always
  385. Blindness:
  386. alias: &eBlind
  387. price: 10
  388. max: 3
  389. duration_multiplier: 10
  390. occurrence: random
  391. Lightning:
  392. alias: &7Lightning
  393. price: 10
  394. max: 10
  395. use_for_mining: false
  396. need_sneak: false # use sneak to strike!
  397. need_sneak_message: "&a You need to sneak (Shift-key) to use this!"
  398. cooldown: 0
  399. cooldown_message: "&a You have to wait for &b%remaining% &aseconds."
  400. occurrence: random
  401. TNT:
  402. price: 10
  403. max: 10
  404. use_for_mining: true
  405. cooldown: 0
  406. cooldown_message: "&aYou have to wait for &b%remaining% &aseconds."
  407. occurrence: random
  408. Inquisitive:
  409. alias: &eInquisitive
  410. price: 10
  411. max: 4
  412. multiplier: 1.5 # amount of orbs = ex_drop * level * multiplier
  413. cooldown: 0
  414. cooldown_message: "&aYou have to wait for &b%remaining% &aseconds."
  415. occurrence: random
  416. LuckyMining:
  417. alias: Lucky
  418. price: 10
  419. max: 2 #this number should be same as the highest level in levels: section
  420. occurrence: always
  421. effect: MOBSPAWNER_FLAMES
  422. sound: AMBIENCE_THUNDER
  423. levels:
  424. 1:
  425. chance: 0.10 # 10% chance!
  426. # '!' -> console, '>' -> op, '@' -> player
  427. commands:
  428. - "!eco give %player% 1000"
  429. - "!eco give %player% 1000"
  430. 2:
  431. chance: 0.01 # 2% chance!
  432. commands:
  433. - "!eco give %player% 50000"
  434. - "!eco give %player% 300000;broadcast &f%player% Just Won $350000 With the &eLucky &fEnchant!"
  435. Decapitate:
  436. price: 10
  437. max: 5
  438. drop_player_head: true
  439. drop_mob_head: false # if this is true friendly mobs drops their head
  440. drop_hostile_mob_head: true # this is for hostile mobs.
  441. killed_message: "Killed by %killer%"
  442. head_message: "%killed%'s Head"
  443. decapitated_message: "&b%killed% was beheaded by %killer%"
  444. occurrence: random
  445. GrapplingBow:
  446. price: 10
  447. max: 1
  448. fall_damage: false
  449. sound: MAGMACUBE_JUMP
  450. cooldown: 0 # 0 = no cooldown
  451. cooldown_message: "&a You have to wait for &b%remaining% &aseconds."
  452. occurrence: always
  453. Expelliarmus:
  454. alias: &6Disarm
  455. price: 10
  456. max: 4
  457. distance_multiplier: 2
  458. max_distance: 100
  459. need_sneak: false
  460. need_sneak_message: "&a You need to sneak (Shift-key) to use this enchant!"
  461. cooldown: 0
  462. cooldown_message: "&a You have to wait for &b%remaining% &aseconds."
  463. occurrence: random
  464. Blast:
  465. alias: &eBlast
  466. price: 10
  467. max: 3
  468. radius_multiplier: 3
  469. velocity: 0.2
  470. vertical_offset: 2.0
  471. cooldown: 0
  472. cooldown_message: "&a You have to wait for &b%remaining% &asec\
  473. onds."
  474. occurrence: random
  475. AntiKnockback:
  476. alias: &bBlock
  477. price: 10
  478. max: 1
  479. occurrence: random
  480. Piercing:
  481. alias: &ePiercing
  482. price: 10
  483. max: 10
  484. cooldown: -1
  485. cooldown_message: "&a You have to wait for &b%remaining% &aseconds"
  486. occurrence: random
  487. Vampire:
  488. alias: &bVampire
  489. price: 10
  490. max: 3
  491. occurrence: random
  492. ShotGun:
  493. alias: &6Sniper
  494. price: 10
  495. max: 5
  496. radiation_angle: 30.0
  497. cooldown: 0
  498. cooldown_message: "&a You have to wait for &b%remaining% &aseconds."
  499. multiplier: 3 # arrow number = level * multiplier
  500. occurrence: always
  501. RetainEXP:
  502. alias: KeepXP
  503. price: 10
  504. max: 5
  505. occurrence: random
  506. FakeLag: #Decreases your lag, placing it on your opponent
  507. alias: Lag
  508. price: 10
  509. max: 2
  510. duration_multiplier: 1.0
  511. occurrence: random
  512. QuickTrap:
  513. alias: &bTrap
  514. price: 10
  515. max: 7
  516. cooldown: -1
  517. sneak: true
  518. time_multiplier : 1 # duration = level * time_multiplier seconds
  519. occurrence: random # you can set it to random as well.
  520. Trickster:
  521. alias: &aTrickster
  522. price: 10
  523. max: 8
  524. support_projectile: false # if it's true, projectile attack will also teleport you.
  525. offset: 4.0 # distance from your opponent when you get teleported.
  526. occurrence: random
  527. Hardened:
  528. alias: &bHardened
  529. price: 10
  530. max: 3
  531. max_protection: 0.95 # maximum up to this percentage will be reduced.
  532. occurrence: always # you can also make it occur randomly
  533. Rage:
  534. alias: &6Rage
  535. price: 10
  536. max: 6
  537. expire: 10000 #combo data will expire in this seconds.
  538. maximum_combo: 15
  539. damage_multiplier: 1.1 # final damage = original * (1 + combo* multiplier * level)
  540. combo_message: ""
  541. occurrence: always
  542. DeathBringer:
  543. alias: &6DeathBringer
  544. price: 10
  545. max: 3
  546. occurrence: random
  547. Enlightened:
  548. alias: &6Enlightened
  549. price: 10
  550. max: 3
  551. occurrence: random
  552. Curse:
  553. alias: &aCurse
  554. price: 10
  555. max: 5
  556. duration_multiplier: 4 # duration = level * multiplier seconds.
  557. occurrence: random
  558. Implants:
  559. alias: &bImplants
  560. price: 10
  561. max: 3
  562. gain: 1 # the amount of health/food recovery per one duration.
  563. duration_multiplier: 4 # duration = max/lvl * duration seconds to recover.
  564. occurrence: random
  565.  
  566. #
  567. # Supported Enchantment:
  568. # Sharpness (Bukkit name: DAMAGE_ALL)
  569. # Baneofarthropods (Bukkit name: DAMAGE_ARTHROPODS)
  570. # Smite (Bukkit name: DAMAGE_UNDEAD)
  571. # Efficiency (Bukkit name: DIG_SPEED)
  572. # Unbreaking (Bukkit name: DURABILITY)
  573. # Fireaspect (Bukkit name: FIRE_ASPECT)
  574. # Knockback (Bukkit name: KNOCKBACK)
  575. # Fortune (Bukkit name: LOOT_BONUS_BLOCKS)
  576. # Looting (Bukkit name: LOOT_BONUS_MOBS)
  577. # Respiration (Bukkit name: OXYGEN
  578. # Protection (Bukkit name: PROTECTION_ENVIRONMENTAL)
  579. # Blastprotection (Bukkit name: PROTECTION_EXPLOSIONS)
  580. # Featherfall (Bukkit name: PROTECTION_FALL)
  581. # Fireprotection (Bukkit name: PROTECTION_FIRE)
  582. # Projectileprot (Bukkit name: PROTECTION_PROJECTILE)
  583. # Silktouch (Bukkit name: SILK_TOUCH)
  584. # Aquaaffinity (Bukkit name: WATER_WORKER)
  585. # Flame (Bukkit name: ARROW_FIRE)
  586. # Power (Bukkit name: ARROW_DAMAGE)
  587. # Punch (Bukkit name: ARROW_KNOCKBACK)
  588. # Infinity (Bukkit name: ARROW_INFINITE)
  589. # Thorns (Bukkit name: THORNS)
  590. #
  591. Enchants:
  592. Fortune:
  593. price: 10
  594. max: 10
  595. Silktouch:
  596. price: 10
  597. max: 10
  598. Efficiency:
  599. price: 10
  600. max: 10
  601. Unbreaking:
  602. price: 10
  603. max: 10
  604. Power:
  605. price: 10
  606. max: 10
  607.  
  608. Conflicts:
  609. 1:
  610. - Explosive
  611. - Excavation
  612. - Sphered
  613. - Disk
  614. - Tile
  615. 2:
  616. - Silktouch
  617. - Fortune
  618.  
  619. # list of items players are allowed to enchant
  620. Items:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement