Guest User

TokenEnchant

a guest
Aug 31st, 2015
1,227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.92 KB | None | 0 0
  1. # This is a template config file
  2. # define your parameter and its value like:
  3. ErrorMessage: "&c [TE] : Some error occured."
  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> : 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. #
  40. # if UseToken is true, the plugin use its own tokens, if it's false
  41. # it uses economy thorugh Vault
  42. UseToken: true
  43. EnchantSign: "[&9Enchant&8]"
  44. CostPlaceHolder: "{ench_cost}"
  45. #
  46. ExchangeSign: "[&9Exchange&8]"
  47. ExchangeRate: 1
  48. RatePlaceHolder: "{ex_rate}"
  49. #
  50. ExpExchangeSign: "[&9EXP Exch&8]"
  51. ExpExchangeRate: 20
  52. ExpRatePlaceHolder: "{exp_rate}"
  53. #
  54. WithdrawSign: "[&9Withdraw&8]"
  55. #
  56. RepairSign: "[&9Repair&8]"
  57. RepairBase: 1
  58. RepairDiscount: 0.05
  59. RepairRatePlaceHolder: "{rep_rate}"
  60. #
  61. #
  62. TokenItem: MAGMA_CREAM
  63. TokenItemName: "&aTokenItem"
  64. TokenItemLore: "&bClick to redeem &eTokens"
  65. #
  66. Messages:
  67. SelfBalance: "&a[TE] You currently have &b%token% &atokens."
  68. NoOthersBalance: "&c[TE] You are not allowed to check other's balance."
  69. NoTargetPlayer: "&a[TE] A palyer needs to be specified."
  70. PlayerOffline: "&a[TE] &e%player% &ais currently offline."
  71. PlayerNotFound: "&a[TE] &e%player% &awas not found."
  72. Balance: "&a[TE] &e%player% &acurrently has &b%token% &atokens."
  73. SetSuccess: "&a[TE] You have set &e%token% &atokens to &e%player%&a."
  74. AddSuccess: "&a[TE] You have added &e%token% &atokens to &e%player%&a."
  75. Received: "&a[TE] You have received &e%token% &atokens."
  76. Deducted: "&a[TE] &e%token% &atokens have been deducted."
  77. RemoveSuccess: "&a[TE] You have removed &e%token% &atokens from &e%player%&a."
  78. NotEnoughTokens: "&c[TE] You do not have enough tokens. You need at least %needed% tokens."
  79. NotEnoughTokenItems: "&c[TE] You do not have enough token items. You need at least %needed% token item(s)."
  80. NotEnoughExpLevels: "&c[TE] You do not have enough EXP levels. You need at least %exp_needed% EXP level(s)."
  81. WithdrawSuccess: "&a[TE] You have withdrawn &e%tokens% &atokens."
  82. InventoryFull: "&a[TE] Inventory is full! &e%tokens% &atokens could not be withdrawn!"
  83. ExchangeSuccess: "&a[TE] &e+ %token% &atoken(s) has been added to your account."
  84. NeedToHoldItem: "&c[TE] You need to hold an item to enchant."
  85. CannotEnchantThis: "&c[TE] You cannot enchant the item you're holding."
  86. CannotRepairThis: "&c[TE] You cannot repair the item you're holding."
  87. EnchantSuccess: "&a[TE] &e+ 1 &d%enchant% &aenchantment level. %token% tokens have been deducted."
  88. RepairSuccess: "&a[TE] &eThe item repaired. %token% tokens have been deducted."
  89. MaxedOut: "&c[TE] Your item has already maxed out on &e%enchant% &cenchantment."
  90. NoPermission: "&c[TE] You don't have a permission for this!"
  91. NoSuchEnchant: "&c[TE-Admin] That is not a valid enchant. Please specify the enchant listed in the config file."
  92. TokenItemsGiven: "&a[TE] &e%tokenitems% &atoken items were given to &e%player%&a."
  93. NoPriceSet: "&a[TE] Price is not set for this."
  94. CommandSuccess: "&a[TE] &e%command%&a was executed, and it cost &e%token% tokens."
  95. NeedPermission: "&a[TE] You need a permission &etokenenchant.alias.command.%command% &ato use this command &e%command%&a."
  96. CannotRefundThis: "&c[TE] We cannot refun the item you're holding."
  97. RefundSuccess: "&a[TE] &e- 1 &d%enchant% &aenchantment level. %token% tokens have been refunded."
  98. #
  99. #
  100. # option to force remove potion effects at the login
  101. ForceRemovePotionAtJoin : true
  102. #
  103. #
  104. UseRomanNumeral: true
  105.  
  106. # if PureRomanNumeral is true, 1 - 3998 will be converted to RomanNumeral
  107. PureRomanNumeral: false
  108. #
  109. # Use WorldGuard's new block-break flag, otherwise, use canBuild check instead
  110. UseWorldGuardNewFlag: true
  111.  
  112. #
  113. UseEnchantGlowForPotion: true
  114. #
  115. MaxEnchantLevel: 100
  116. #
  117.  
  118. # fly permission node
  119. # if a player has the following permission node, his fly own't be turned off
  120. FlyPermissionNode: "essentials.fly"
  121.  
  122. #
  123. TokenFormula:
  124. # Valid values are: LINEAR and EXPONENTIAL
  125. # If an invalid value is entered, this will reset to the default setting, which is LINEAR
  126. # CONSTANT: price
  127. # LINEAR: price + (level * price)
  128. # EXPONENTIAL: price + price * level ^ exponent
  129. # EXPONENTIAL2: price * 2 ^ (level - 1)
  130. Curve: Linear
  131.  
  132. Constant:
  133. Linear:
  134. Exponential:
  135. exponent: 1.80
  136.  
  137. # Refund related
  138. AllowRefund: false
  139. RefundRate: 0.8
  140.  
  141. # default values
  142. DefaultPotionDuration: 200
  143. DefaultPotionAmplifier: 2
  144.  
  145. #
  146. # Command execution with token
  147. # This format is from a plugin called Aliazes.
  148. # default permission for each command te.command.<cmd>
  149. # If you crate an alias "cmd:" as shown beloe, you need to give a permission
  150. # node "tokenenchant.alias.command.cmd" to a player
  151. #
  152. #cmd: <-- The command.
  153. # price: 20 <-- The amount of toke a player needs to execute this command.
  154. # permission: <-- Permissions section, if this section is not defined, individual permission system will be used, e.g. "te.command.cmd"
  155. # - te.command.user <-- For users, this permission should be added as default.
  156. # - te.command.mod <-- For mods, this permission should be added as default.
  157. # - te.command.admin <-- For admins, this permission should be added as default.
  158. # alias: <-- Additional aliases section.
  159. # - cmd2 <-- Additional aliases 1, can be as many as you want.
  160. # default: <-- Default meaning anything below will be ran for the player in all worlds.
  161. # - "!te_rawmessage %p &aHello" <-- To Print this message.
  162. # - "@who" <-- Will run /who command as player.
  163. # - "!give %p 1 32" <-- Will run command as console to give player 32 stone.
  164. # - ">give %p 1 32" <-- Will run command as op to give player 32 stone.
  165. # - if %# = 0 !te_rawmessage %p &aUse '&e/g <name&a' to check user's group.
  166. # - if %# = 1 >pex user %1 group list
  167. # world_nether: <-- The world you wish commands below to be shown in.
  168. # - "!te_rawmessage %p &aHello, you are in the nether." <-- This message will only be seen if player is in the nether.
  169. Commands:
  170. # example of giving slot 9 chestbackpack to a user (ChestBackpack plugin)
  171. # backpack9:
  172. # permission:
  173. # - my.permission.for.backpack9
  174. # price: 30
  175. # default:
  176. # - "!pex user %p add chestbackpack.slots.9"
  177. # # example of giving slot 18 chestbackpack to a user (ChestBackpack plugin)
  178. # backpack18:
  179. # permission:
  180. # - my.permission.for.backpack18
  181. # price: 60
  182. # default:
  183. # - "!pex user %p add chestbackpack.slots.18"
  184. # # example of allowing a player to set his prefix using PermissionsEx command.
  185. # setprefix:
  186. # permission:
  187. # - my.permission.for.setprefix
  188. # price: 160
  189. # default:
  190. # - "!pex user %p prefix %1"
  191. # letmefly:
  192. # permission:
  193. # - my.permission.for.letmefly
  194. # price: 160
  195. # default:
  196. # - ">fly"
  197. #
  198. # supported potion effects:
  199. # Haste (Bukkit name: FAST_DIGGING)
  200. # Speed (Bukkit name: SPEED)
  201. # Nightvision (Bukkit name: NIGHT_VISION)
  202. # Jump (Bukkit name: JUMP)
  203. # Regeneration (Bukkit name: REGENERATION);
  204. # FireProtection (Bukki name: FIRE_RESISTANCE)
  205. # DamageResist (Bukkit name: DAMAGE_RESISTANCE
  206. # Aqua (Bukkit name: WATER_BREATHING)
  207. # Saturation (Bukkit name: SATURATION)
  208. # HealthBoost (Bukkit name: HEALTH_BOOST)
  209. # Strength (Bukkit name: INCREASE_DAMAGE)
  210. # Blindness (Bukkit name: BLINDNESS)
  211. # Confusion (Bukkit name: Confusion)
  212. # Harm (aka Instant Damage, Bukkit name: HARM)
  213. # Hunger (Bukkit name: HUNGER)
  214. # Poison (Bukkit name: POISON)
  215. # Slow (Bukkit name: SLOW)
  216. # Weakness (Bukkit name: WEAKNESS)
  217. # Wither (Bukkit name: WITHER)
  218. # Molten (custom : attacker catches fire)
  219. # Fly (custom effect : item holder can fly)
  220. # 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!
  221. # Excavation : this is a custom effect, It is just like Explosive but it will remove entire cuboid
  222. # Sphered : this is a custom effect, It is just like Explosive but it will remove entire sphere
  223. # BedrockBreaker (custom: allow you to break a bedrock block)
  224. #
  225. # You can set the duration to -1 to give infinite potion effects.
  226. #
  227. # You can set the occurrence
  228. # random: randomly occur based on the level
  229. # always: occur always.
  230. # occurence: random
  231. #
  232. Potions:
  233. Haste:
  234. duration: 200
  235. amplifier: 2
  236. price: 10
  237. max: 10
  238. # You can set the occurrence
  239. # random: randomly occur based on the level
  240. # always: occur always.
  241. occurrence: random
  242. Speed:
  243. price: 10
  244. max: 10
  245. # You can set the occurrence
  246. # random: randomly occur based on the level
  247. # always: occur always.
  248. occurrence: random
  249. Nightvision:
  250. price: 10
  251. max: 10
  252. # You can set the occurrence
  253. # random: randomly occur based on the level
  254. # always: occur always.
  255. occurrence: random
  256. Jump:
  257. price: 10
  258. max: 10
  259. # You can set the occurrence
  260. # random: randomly occur based on the level
  261. # always: occur always.
  262. occurrence: random
  263. Harm:
  264. price: 10
  265. max: 1
  266. #
  267. # level_multiplier * the level of potion will be used as
  268. # the level of Harm potion.
  269. level_multiplier: 1
  270. # You can set the occurrence
  271. # random: randomly occur based on the level
  272. # always: occur always.
  273. occurrence: always
  274. Regeneration:
  275. price: 10
  276. max: 2
  277. duration_multiplier: 1800
  278. #
  279. # You can set the occurrence
  280. # random: randomly occur based on the level
  281. # always: occur always.
  282. occurrence: always
  283. FireProtection:
  284. price: 10
  285. max: 1
  286. duration_multiplier: 1800
  287. occurrence: always
  288. Strength:
  289. price: 10
  290. max: 3
  291. duration_multiplier: -1
  292. occurrence: always
  293. Aqua:
  294. price: 10
  295. max: 1
  296. duration_multiplier: -1
  297. occurrence: always
  298. Saturation:
  299. price: 10
  300. max: 3
  301. duration_multiplier: -1
  302. occurrence: always
  303. HealthBoost:
  304. price: 10
  305. max: 3
  306. duration_multiplier: 1200
  307. occurrence: always
  308. Explosive:
  309. price: 10
  310. max: 100
  311. # you can nominate the world, which prevents explosive
  312. invalid_in_world:
  313. # - plotworld
  314. # you can turn on automatic pickup.
  315. pickup: false
  316. # you can turn on automatic smelting
  317. smelt: true
  318. # you can turn on/off explostion sound/visual effects
  319. effect: true
  320. # you can turn on/off explostion sound effects
  321. sound: true
  322. # you can increase the number of exploded blocs with in a radius
  323. multiplier: 100
  324. # you can specify the radius whithin which explosion will occur.
  325. # it is not recommended to have a large radius. it may cause lag.
  326. radius: 100
  327. # You can set the occurrence of explosion.
  328. # random: randomly occur based on the level
  329. # always: explosion occur always.
  330. occurrence: always
  331. # You can set the list of blocks exempt from explosiont.
  332. # use this list to avoid your crates being exploded.
  333. # AIR and BEDROCK are already exempted by defalt
  334. exemptions:
  335. - ENDER_CHEST
  336. - GLOWSTONE
  337. - LADDER
  338. - STONE_PLATE
  339. Excavation:
  340. price: 10
  341. max: 5
  342. # you can nominate the world, which prevents explosive
  343. invalid_in_world:
  344. # - plotworld
  345. pickup: true
  346. smelt: true
  347. effect: true
  348. sound: true
  349. occurrence: random
  350. exemptions:
  351. - ENDER_CHEST
  352. - GLOWSTONE
  353. - LADDER
  354. - STONE_PLATE
  355. Fly:
  356. price: 10
  357. max: 1
  358. occurrence: always
  359. #
  360. # Supported Enchantment:
  361. # Sharpness (Bukkit name: DAMAGE_ALL)
  362. # Baneofarthropods (Bukkit name: DAMAGE_ARTHROPODS)
  363. # Smite (Bukkit name: DAMAGE_UNDEAD)
  364. # Efficiency (Bukkit name: DIG_SPEED)
  365. # Unbreaking (Bukkit name: DURABILITY)
  366. # Fireaspect (Bukkit name: FIRE_ASPECT)
  367. # Knockback (Bukkit name: KNOCKBACK)
  368. # Fortune (Bukkit name: LOOT_BONUS_BLOCKS)
  369. # Looting (Bukkit name: LOOT_BONUS_MOBS)
  370. # Respiration (Bukkit name: OXYGEN
  371. # Protection (Bukkit name: PROTECTION_ENVIRONMENTAL)
  372. # Blastprotection (Bukkit name: PROTECTION_EXPLOSIONS)
  373. # Featherfall (Bukkit name: PROTECTION_FALL)
  374. # Fireprotection (Bukkit name: PROTECTION_FIRE)
  375. # Projectileprot (Bukkit name: PROTECTION_PROJECTILE)
  376. # Silktouch (Bukkit name: SILK_TOUCH)
  377. # Aquaaffinity (Bukkit name: WATER_WORKER)
  378. # Flame (Bukkit name: ARROW_FIRE)
  379. # Power (Bukkit name: ARROW_DAMAGE)
  380. # Punch (Bukkit name: ARROW_KNOCKBACK)
  381. # Infinity (Bukkit name: ARROW_INFINITE)
  382. # Thorns (Bukkit name: THORNS)
  383. #
  384. Enchants:
  385. Fortune:
  386. price: 10
  387. max: 100
  388. Silktouch:
  389. price: 10
  390. max: 100
  391. Efficiency:
  392. price: 10
  393. max: 100
  394. Unbreaking:
  395. price: 10
  396. max: 100
  397. Explosive:
  398. price: 10
  399. max: 100
  400. Items:
  401. GOLD_PICKAXE:
  402. - Unbreaking
  403. - Fortune
  404. - Efficiency
  405. IRON_PICKAXE:
  406. - Unbreaking
  407. - Fortune
  408. - Efficiency
  409. STONE_PICKAXE:
  410. - Unbreaking
  411. - Fortune
  412. - Efficiency
  413. WOOD_PICKAXE:
  414. - Unbreaking
  415. - Fortune
  416. - Efficiency
  417. DIAMOND_PICKAXE:
  418. - Unbreaking
  419. - Fortune
  420. - Efficiency
  421. - Explosive
Advertisement
Add Comment
Please, Sign In to add comment