Advertisement
Murdock_Mikee

TE

Mar 22nd, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.38 KB | None | 0 0
  1. # This is a template config file
  2. # define your parameter and its value like:
  3. ErrorMessage: "&c&lEnchanting Had An Error"
  4. HelpMessages:
  5. banner:
  6. msg: "=== &e[&aTokenEnchant Commands List (%version%)&e] &r==="
  7. help:
  8. msg: "/tokenenchant or /tokenenchant help : display this help menu."
  9. reload:
  10. msg: "/tokenenchant reload : reloads config file."
  11. permission: "tokenenchant.reload"
  12. set:
  13. msg: "/tokenenchant set <name> <amount> : sets <name> <amount> tokens."
  14. permission: "tokenenchant.add"
  15. add:
  16. msg: "/tokenenchant add <name> <amount> : adds <name> <amount> tokens."
  17. permission: "tokenenchant.add"
  18. remove:
  19. msg: "/tokenenchant remove <name> <amount> : removes <name> <amount> tokens from <name>."
  20. permission: "tokenenchant.add"
  21. balance:
  22. msg: "/tokenenchant balance [name] : displays the token balance of yourself or [name]."
  23. permission: "tokenenchant.balance"
  24. withdraw:
  25. msg: "/tokenenchant withdraw <amount> : withdraws the specified amount of tokens from your account."
  26. permission: "tokenenchant.withdraw"
  27. expexchange:
  28. msg: "/tokenenchant expexchange : exchanges the current EXP values to tokens."
  29. permission: "tokenenchant.expexchange"
  30. givetokens:
  31. msg: "/tokenenchant givetokens <name> <amount> : gives <name> <amount> tokens."
  32. permission: "tokenenchant.expexchange"
  33. enchant:
  34. msg: "/tokenenchant enchant <name> <enchant> [level] [cost:xxx] : enchants the item <name> is holding with <enchant>."
  35. permission: "tokenenchant.enchant"
  36. refund:
  37. msg: "/tokenenchant refund <name> <enchant> : refund <name> for the enchantment <enchant>."
  38. permission: "tokenenchant.refund"
  39. givebp:
  40. msg: "/tokenenchant givebp <name> <row> [bpname] cost:xxx : gives <name> a backpacked named [bpname] of size <row> costing xxx."
  41. permission: "tokenenchant.givebp"
  42. baltop:
  43. msg: "/tokenenchant baltop : list top token balance."
  44. permission: "tokenenchant.baltop"
  45.  
  46. #
  47. Messages:
  48. SelfBalance: "&7Tokens: &a%token%"
  49. NoOthersBalance: "&c[TE] You are not allowed to check other's balance."
  50. NoTargetPlayer: "&a[TE] A palyer needs to be specified."
  51. PlayerOffline: "&a[TE] &e%player% &ais currently offline."
  52. PlayerNotFound: "&a[TE] &e%player% &awas not found."
  53. Balance: "&a[TE] &e%player% &acurrently has &b%token% &atokens."
  54. SetSuccess: "&a[TE] You have set &e%token% &atokens to &e%player%&a."
  55. AddSuccess: "&a[TE] You have added &e%token% &atokens to &e%player%&a."
  56. Received: "&2&l+%token% &7Tokens"
  57. Deducted: "&a[TE] &e%token% &atokens have been deducted."
  58. RemoveSuccess: "&a[TE] You have removed &e%token% &atokens from &e%player%&a."
  59. NotEnoughTokens: "&c[TE] You do not have enough tokens. You need at least %needed% tokens."
  60. NotEnoughTokenItems: "&c[TE] You do not have enough token items. You need at least %needed% token item(s)."
  61. NotEnoughExpLevels: "&c[TE] You do not have enough EXP levels. You need at least %exp_needed% EXP level(s)."
  62. WithdrawSuccess: "&a[TE] You have withdrawn &e%tokens% &atokens."
  63. InventoryFull: "&a[TE] Inventory is full! &e%tokens% &atokens could not be withdrawn!"
  64. ExchangeSuccess: "&2+ &l%token% &aTokens"
  65. NeedToHoldItem: "&c&lError:&7 It's weird to enchant your hand."
  66. CannotEnchantThis: "&c&lError:&7 You cannot enchant this item."
  67. CannotRepairThis: "&c[TE] You cannot repair the item you're holding."
  68. EnchantSuccess:
  69. msg: "&2&lSuccess: &7+%addedlevel% &3%enchant% &7level, Cost &c&l%token%&7 Tokens."
  70. sound: LEVEL_UP
  71. RepairSuccess: "&a[TE] &eThe item repaired. %token% tokens have been deducted."
  72. MaxedOut: "&4&lError: &7You have reached maxium &3%enchant% &7level."
  73. NoPermission: "&8&l(&4&l!&8&l)&7 This command is unknown."
  74. NoSuchEnchant: "&c[TE-Admin] That is not a valid enchant. Please specify the enchant listed in the config file."
  75. TokenItemsGiven: "&2+ &l%tokenitems% &aTokens were given to &a%player%"
  76. NoPriceSet: "&a[TE] Price is not set for this."
  77. CommandSuccess: "&a[TE] &e%command%&a was executed, and it cost &e%token% tokens."
  78. NeedPermission: "&a[TE] You need a permission &etokenenchant.alias.command.%command% &ato use this command &e%command%&a."
  79. CannotRefundThis: "&c[TE] We cannot refun the item you're holding."
  80. RefundSuccess: "&a[TE] &e- 1 &d%enchant% &aenchantment level. %token% tokens have been refunded."
  81. BackPackGiven: "&a[TE] %player% has given a backpack and %token% toknes has been deducted."
  82. VKBackPackNotFound: "&a[TE] VKBackPack plugin was not found."
  83. TokenBalTopHeader: "&a[TE] Token Balance Top - page:%page%/%total%-"
  84. TokenBalTopList: "%rank%. %name%, %balance%"
  85. TokenBalTopTypeMore: "&a[TE] Type &c/te baltop %next% &ato read the next page."
  86. OnlyOneAtTheTime: "&c[TE] Only one item can be enchanted at the time."
  87. CannotAddMoreEnchant: "&c[TE] You cannot add anymore than &e%max%&c custom enchantments!"
  88. CannotUseMoreEnchant:
  89. msg: "&c[TE] You cannot use an item with enchants more than &e%max%&c."
  90. sound: ITEM_BREAK
  91.  
  92. #
  93. # if UseToken is true, the plugin use its own tokens, if it's false
  94. # it uses economy thorugh Vault
  95. UseToken: true
  96.  
  97. # if this option is true, the cost of enchant is dynamically calculated
  98. # and displayed at where {ench_cost} is specified on the sign.
  99. UseDynamicSignUpdate: true
  100.  
  101. Currency: token # token, money, or (exp...not supported atm)
  102.  
  103. EnchantSign: "&8&l[&aEnchant&8&l]"
  104. CostPlaceHolder: "{ench_cost}"
  105. #
  106. ExchangeSign: "[&9Exchange&8]"
  107. ExchangeRate: 1
  108. RatePlaceHolder: "{ex_rate}"
  109. #
  110. ExpExchangeSign: "[&9EXP Exch&8]"
  111. ExpExchangeRate: 20
  112. ExpRatePlaceHolder: "{exp_rate}"
  113. #
  114. WithdrawSign: "[&9Withdraw&8]"
  115. #
  116. RepairSign: "[&9Repair&8]"
  117. RepairBase: 1
  118. RepairDiscount: 0.05
  119. RepairRatePlaceHolder: "{rep_rate}"
  120. #
  121. #
  122. TokenItem: MAGMA_CREAM
  123. TokenItemName: "&3&lEnchantment Tokens"
  124. TokenItemLore: "&7Right click to Redeem tokens!"
  125.  
  126. #
  127. # Enchantment lore prefix
  128. EnchantmentLorePrefix: "&r&7"
  129.  
  130. #
  131. #
  132. # option to force remove potion effects at the login
  133. ForceRemovePotionAtJoin : true
  134. #
  135.  
  136. # option to use WorldGuard region
  137. # Use WorldGuard's new block-break flag, otherwise, use canBuild check instead
  138. UseWorldGuardNewFlag: true
  139.  
  140.  
  141. # If UseRomanNumeral is true, arabic number will be converted into roman numeral.
  142. UseRomanNumeral: true
  143. # if PureRomanNumeral is true, 1 - 3998 will be converted to RomanNumeral
  144. PureRomanNumeral: false
  145.  
  146. # if CustomEnchantDisplay is true, you can use "alias:" feature for Enchants: section
  147. # also it will convert enchantment.level.xxx into xxxx
  148. CustomEnchantDisplay: false
  149.  
  150. #
  151. UseEnchantGlowForPotion: true
  152. #
  153. MaxEnchantLevel: 100
  154.  
  155. #
  156. UseEnchantmentTable: false
  157. DefaultEnchantChance: 0.7
  158.  
  159.  
  160. # if this option is true, TEBlockExplodeEvent will be handled by TokenEnchant
  161. # if you want other plugin to handle TEBlockExplodeEvent, set it to false;
  162. PickupTEExplodedBlocks: true
  163.  
  164. # fly permission node
  165. # if a player has the following permission node, his fly own't be turned off
  166. FlyPermissionNode: "essentials.fly"
  167.  
  168. #
  169. TokenFormula:
  170. # Valid values are: LINEAR and EXPONENTIAL
  171. # If an invalid value is entered, this will reset to the default setting, which is LINEAR
  172. # CONSTANT: price
  173. # LINEAR: price + (level * price)
  174. # EXPONENTIAL: price + price * level ^ exponent
  175. # EXPONENTIAL2: price * 2 ^ (level - 1)
  176. Curve: Linear
  177.  
  178. Constant:
  179. Linear:
  180. Exponential:
  181. exponent: 1.80
  182.  
  183.  
  184. # if this option is true, when you tried to enchant an item, which already has enchantment
  185. # level, the excess enchantment level will be removed and set to the max level.
  186. CapOverEnchant: false
  187.  
  188.  
  189. # Refund related
  190. AllowRefund: false
  191. RefundRate: 0.8
  192.  
  193. # default values
  194. DefaultPotionDuration: 200
  195. DefaultPotionAmplifier: 2
  196.  
  197. # option to limit the number of custom enchants on an item.
  198. # The number of max enchants can be specified with permission nodes.
  199. # tokenenchant.multiple_enchants.x
  200. # if the permission node does not exist, the default number will be applied
  201. # tokenenchant.multiple_enchants.x : x should not exceed MaximumMaxNumberOfEnchants
  202. # if AllowOverMaxEnchantUse is true, you can use the item which exceeds custom enchants
  203. # but you will not be able to add more custom enchants.
  204. ApplyMaxNumberOfEnchants: false
  205. MaximumMaxNumberOfEnchants: 10
  206. DefaultMaxNumberOfEnchants: 3
  207. ExcludeVanilla: true
  208. AllowOverMaxEnchantUse: true
  209.  
  210.  
  211. # Friendly fire option
  212. # it currently supports Factions plugin and mcMMO's party
  213. # if FriendlyFire is set to "true", you cannot harm your faction members or mcMMO party member.
  214. FriendlyFire_Faction: true
  215. FriendlyFire_McMMO: true
  216.  
  217. # Prevents self damaging initiating custom effect (default : true)
  218. # if this option is set to true, when you damage yourself effects on your armors/toos won't be activated
  219. # (cases like ender pearling, shooting yourself.... all damages are given but and effects won't be activated)
  220. IgnoreSelfDamage: true
  221.  
  222.  
  223. #
  224. # Command execution with token
  225. # This format is from a plugin called Aliazes.
  226. # default permission for each command te.command.<cmd>
  227. # If you crate an alias "cmd:" as shown beloe, you need to give a permission
  228. # node "tokenenchant.alias.command.cmd" to a player
  229. #
  230. #cmd: <-- The command.
  231. # price: 20 <-- The amount of toke a player needs to execute this command.
  232. # permission: <-- Permissions section, if this section is not defined, individual permission system will be used, e.g. "te.command.cmd"
  233. # - te.command.user <-- For users, this permission should be added as default.
  234. # - te.command.mod <-- For mods, this permission should be added as default.
  235. # - te.command.admin <-- For admins, this permission should be added as default.
  236. # alias: <-- Additional aliases section.
  237. # - cmd2 <-- Additional aliases 1, can be as many as you want.
  238. # default: <-- Default meaning anything below will be ran for the player in all worlds.
  239. # - "!te_rawmessage %p &aHello" <-- To Print this message.
  240. # - "@who" <-- Will run /who command as player.
  241. # - "!give %p 1 32" <-- Will run command as console to give player 32 stone.
  242. # - ">give %p 1 32" <-- Will run command as op to give player 32 stone.
  243. # - if %# = 0 !te_rawmessage %p &aUse '&e/g <name&a' to check user's group.
  244. # - if %# = 1 >pex user %1 group list
  245. # world_nether: <-- The world you wish commands below to be shown in.
  246. # - "!te_rawmessage %p &aHello, you are in the nether." <-- This message will only be seen if player is in the nether.
  247. Commands:
  248. # example of giving slot 9 chestbackpack to a user (ChestBackpack plugin)
  249. # backpack9:
  250. # permission:
  251. # - my.permission.for.backpack9
  252. # price: 30
  253. # default:
  254. # - "!pex user %p add chestbackpack.slots.9"
  255. # # example of giving slot 18 chestbackpack to a user (ChestBackpack plugin)
  256. # backpack18:
  257. # permission:
  258. # - my.permission.for.backpack18
  259. # price: 60
  260. # default:
  261. # - "!pex user %p add chestbackpack.slots.18"
  262. # # example of allowing a player to set his prefix using PermissionsEx command.
  263. # setprefix:
  264. # permission:
  265. # - my.permission.for.setprefix
  266. # price: 160
  267. # default:
  268. # - "!pex user %p prefix %1"
  269. # letmefly:
  270. # permission:
  271. # - my.permission.for.letmefly
  272. # price: 160
  273. # default:
  274. # - ">fly"
  275. #
  276. # potion effects included in the default TE:
  277. # Haste (Bukkit name: FAST_DIGGING)
  278. # Speed (Bukkit name: SPEED)
  279. # Nightvision (Bukkit name: NIGHT_VISION)
  280. # Jump (Bukkit name: JUMP)
  281. # Regeneration (Bukkit name: REGENERATION);
  282. # FireResistance (Bukki name: FIRE_RESISTANCE)
  283. # DamageResist (Bukkit name: DAMAGE_RESISTANCE
  284. # Aqua (Bukkit name: WATER_BREATHING)
  285. # Saturation (Bukkit name: SATURATION)
  286. # HealthBoost (Bukkit name: HEALTH_BOOST)
  287. # Strength (Bukkit name: INCREASE_DAMAGE)
  288. # Blindness (Bukkit name: BLINDNESS)
  289. # Confusion (Bukkit name: CONFUSION)
  290. # Harm (aka Instant Damage, Bukkit name: HARM)
  291. # Hunger (Bukkit name: HUNGER)
  292. # Poison (Bukkit name: POISON)
  293. # Slow (Bukkit name: SLOW)
  294. # Weakness (Bukkit name: WEAKNESS)
  295. # Wither (Bukkit name: WITHER)
  296. # Molten (custom : attacker catches fire)
  297. # Fly (custom effect : item holder can fly)
  298. # 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!
  299. # Excavation : this is a custom effect, It is just like Explosive but it will remove entire cuboid
  300. # Sphered : this is a custom effect, It is just like Explosive but it will remove entire sphere
  301. # BedrockBreaker (custom: allow you to break a bedrock block)
  302. #
  303. # You can set the duration to -1 to give infinite potion effects.
  304. #
  305. # You can set the occurrence
  306. # random: randomly occur based on the level
  307. # always: occur always.
  308. # % : you can set the explicit % number as the maximum occurrence chance at the highest level of enchant.
  309. #
  310. Potions:
  311. Haste:
  312. alias: "SpeedDigging" #You can use your own name for enchant using alias.
  313. duration: 200
  314. amplifier: 2
  315. price: 2000
  316. max: 5
  317. # You can set the occurrence
  318. # random: randomly occur based on the level
  319. # always: occur always.
  320. occurrence: always
  321. enchant_chance: 0.8
  322. Speed:
  323. price: 2000
  324. max: 5
  325. # You can set the occurrence
  326. # random: randomly occur based on the level
  327. # always: occur always.
  328. occurrence: random
  329. Nightvision:
  330. price: 10000
  331. max: 1
  332. # You can set the occurrence
  333. # random: randomly occur based on the level
  334. # always: occur always.
  335. occurrence: always
  336. Jump:
  337. price: 1000
  338. max: 5
  339. # You can set the occurrence
  340. # random: randomly occur based on the level
  341. # always: occur always.
  342. occurrence: always
  343. Harm:
  344. price: 10
  345. max: 1
  346. #
  347. # level_multiplier * the level of potion will be used as
  348. # the level of Harm potion.
  349. level_multiplier: 1
  350. # You can set the occurrence
  351. # random: randomly occur based on the level
  352. # always: occur always.
  353. occurrence: always
  354. Regeneration:
  355. price: 10
  356. max: 2
  357. duration_multiplier: 1800
  358. #
  359. # You can set the occurrence
  360. # random: randomly occur based on the level
  361. # always: occur always.
  362. occurrence: always
  363. FireProtection:
  364. price: 10
  365. max: 1
  366. duration_multiplier: 1800
  367. occurrence: always
  368. Strength:
  369. price: 10
  370. max: 3
  371. duration_multiplier: -1
  372. occurrence: always
  373. Aqua:
  374. price: 10
  375. max: 1
  376. duration_multiplier: -1
  377. occurrence: always
  378. Saturation:
  379. price: 10
  380. max: 3
  381. duration_multiplier: -1
  382. occurrence: always
  383. HealthBoost:
  384. price: 10
  385. max: 3
  386. duration_multiplier: 1200
  387. occurrence: always
  388. Explosive:
  389. price: 5000
  390. max: 5
  391. # you can nominate the world, which prevents explosive
  392. invalid_in_world:
  393. # - plotworld
  394. # you can turn on automatic pickup.
  395. pickup: true
  396. # you can turn on automatic smelting
  397. smelt: true
  398. # you can turn on/off explostion sound/visual effects
  399. effect: true
  400. # you can turn on/off explostion sound effects
  401. sound: true
  402. # you can increase the number of exploded blocs with in a radius
  403. multiplier: 2
  404. # you can specify the radius whithin which explosion will occur.
  405. # it is not recommended to have a large radius. it may cause lag.
  406. radius: 2
  407. # You can set the occurrence of explosion.
  408. # random: randomly occur based on the level
  409. # always: explosion occur always.
  410. occurrence: random
  411. # You can set the list of blocks exempt from explosiont.
  412. # use this list to avoid your crates being exploded.
  413. # AIR and BEDROCK are already exempted by defalt
  414. exemptions:
  415. - ENDER_CHEST
  416. - GLOWSTONE
  417. - LADDER
  418. - STONE_PLATE
  419. use_explode_event: true
  420. Excavation:
  421. price: 10
  422. max: 5
  423. # you can nominate the world, which prevents explosive
  424. invalid_in_world:
  425. # - plotworld
  426. pickup: true
  427. smelt: true
  428. effect: true
  429. sound: true
  430. occurrence: random
  431. exemptions:
  432. - ENDER_CHEST
  433. - GLOWSTONE
  434. - LADDER
  435. - STONE_PLATE
  436. - "STAINED_GLASS:11"
  437. use_explode_event: true
  438. Fly:
  439. price: 9500
  440. max: 1
  441. # invalid_in_region:
  442. # - nofly
  443. occurrence: always
  444. #
  445. # Supported Enchantment:
  446. # Sharpness (Bukkit name: DAMAGE_ALL)
  447. # Baneofarthropods (Bukkit name: DAMAGE_ARTHROPODS)
  448. # Smite (Bukkit name: DAMAGE_UNDEAD)
  449. # Efficiency (Bukkit name: DIG_SPEED)
  450. # Unbreaking (Bukkit name: DURABILITY)
  451. # Fireaspect (Bukkit name: FIRE_ASPECT)
  452. # Knockback (Bukkit name: KNOCKBACK)
  453. # Fortune (Bukkit name: LOOT_BONUS_BLOCKS)
  454. # Looting (Bukkit name: LOOT_BONUS_MOBS)
  455. # Respiration (Bukkit name: OXYGEN
  456. # Protection (Bukkit name: PROTECTION_ENVIRONMENTAL)
  457. # Blastprotection (Bukkit name: PROTECTION_EXPLOSIONS)
  458. # Featherfall (Bukkit name: PROTECTION_FALL)
  459. # Fireprotection (Bukkit name: PROTECTION_FIRE)
  460. # Projectileprot (Bukkit name: PROTECTION_PROJECTILE)
  461. # Silktouch (Bukkit name: SILK_TOUCH)
  462. # Aquaaffinity (Bukkit name: WATER_WORKER)
  463. # Flame (Bukkit name: ARROW_FIRE)
  464. # Power (Bukkit name: ARROW_DAMAGE)
  465. # Punch (Bukkit name: ARROW_KNOCKBACK)
  466. # Infinity (Bukkit name: ARROW_INFINITE)
  467. # Thorns (Bukkit name: THORNS)
  468. #
  469. Enchants:
  470. Sharpness:
  471. price: 10
  472. max: 10
  473. Baneofarthropods:
  474. price: 10
  475. max: 10
  476. Smite:
  477. price: 10
  478. max: 10
  479. Efficiency:
  480. price: 1
  481. max: 100
  482. Unbreaking:
  483. price: 2
  484. max: 20
  485. Fireaspect:
  486. price: 10
  487. max: 10
  488. Knockback:
  489. price: 10
  490. max: 10
  491. Fortune:
  492. price: 3
  493. max: 50
  494. Looting:
  495. price: 10
  496. max: 10
  497. Respiration:
  498. price: 10
  499. max: 10
  500. Protection:
  501. price: 10
  502. max: 10
  503. Blastprotection:
  504. price: 10
  505. max: 10
  506. Featherfall:
  507. price: 10
  508. max: 10
  509. Fireprotection:
  510. price: 10
  511. max: 10
  512. Projectileprot:
  513. price: 10
  514. max: 10
  515. Silktouch:
  516. price: 10
  517. max: 10
  518. Aquaaffinity:
  519. price: 10
  520. max: 10
  521. Flame:
  522. price: 10
  523. max: 10
  524. Power:
  525. price: 10
  526. max: 10
  527. Punch:
  528. price: 10
  529. max: 10
  530. Infinity:
  531. price: 10
  532. max: 10
  533. Thorns:
  534. price: 10
  535. max: 10
  536.  
  537. Conflicts:
  538. 1:
  539. - Explosive
  540. - Excavation
  541. - Sphered
  542. - Disk
  543. - Tile
  544. 2:
  545. - Silktouch
  546. - Fortune
  547.  
  548. # list of items players are allowed to enchant
  549. Items:
  550. DIAMOND_PICKAXE:
  551. - Unbreaking
  552. - Fortune
  553. - Efficiency
  554. - Explosive
  555. - Jump
  556. - Fly
  557. - Nightvision
  558. - Haste
  559. DIAMOND_SWORD:
  560. - Sharpness
  561. - Fireaspect
  562. - Knockback
  563. DIAMOND_HELMET:
  564. - Protection
  565. - Thorns
  566. DIAMOND_CHESTPLATE:
  567. - Protection
  568. - Thorns
  569. DIAMOND_LEGGINGS:
  570. - Protection
  571. - Thorns
  572. DIAMOND_BOOTS:
  573. - Protection
  574. - Thorns
  575. - Featherfall
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement