PM2

Untitled

PM2
Nov 24th, 2019
6,079
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # AdvancedMonthlyCrates
  2. # Made by PM2
  3.  
  4. # ** Commands and permissions
  5. # /amc list - Shows a list of all correctly made monthly crates. ; AMC.List
  6. # /amc give <player> <crate> <amount> - Gives a specified player the specified monthly crate. ; AMC.Give
  7. # /amc sgive <player> <crate> <amount> - Silent Give (Doesn't send a message of receiving a crate) ; AMC.Give
  8. # /amc giveall <crate> <amount> - Gives everyone on the server a specified monthly crate. ; AMC.GiveAll
  9. # /amc reload - Reloads all plugins configurations. ; AMC.Reload
  10. # /amc errors - Sends out why and where MCrates are not configured properly. ; AMC.Errors
  11. # /amc pouch list - Lists all Available Pouches. ; AMC.PouchList
  12. # /amc pouch give <player> <pouch> <amount> - Gives a Player the Specified Pouch. ; AMC.PouchGive
  13. # /amc pouch sgive <player> <pouch> <amount> - Silent Pouch Give (Doesn't send a message of receiving a pouch) ; AMC.PouchGive
  14.  
  15.  
  16. # What commands should be blocked for the player while he is opening a Monthly Crate? AMC.CommandBypass to bypass this restriction. Doesn't effect OPs!
  17. BlockedCommands:
  18. # - "warp"
  19. # - "home"
  20.  
  21. # ** Variables **
  22. # {player_name} - replaces with the users nickname.
  23. # {random_number} - requires additional conditions: RandomNumberMin (number) ; RandomNumberMax (number)
  24.  
  25. # ** Configurations **
  26.  
  27. # Very important that you change this if your server is running on a spigot fork (Spigot fork examples: PaperSpigot, TacoSpigot, BeerSpigot..)
  28. # As if you are using those jars there won't be any armor stands appearing for a split second for the versions above 1.8
  29. SpigotFork: false
  30.  
  31. # Should there be lightning at the end of the animation?
  32. Spinning_Lightning: true
  33.  
  34. # Should item rewards not repeat? For example if you have 10 available rewards there won't be 2
  35. # of the same rewards at a time
  36. Spinning_Items_Dont_Repeat: true
  37.  
  38. # What should be the main command in order to use AdvancedMonthlyCrates plugin, default is /amc
  39. main_command: "amc"
  40.  
  41. # Do alts also get mcrate giveall crates or only 1 crate per ip?
  42. alts_get_giveall: false
  43.  
  44. # How many Monthly Crates can a single player open at the same time?
  45. MonthlyCrates_Player_Limit: 1
  46.  
  47. # How many Monthly Crates can be opened at the same time on the server?
  48. MonthlyCrates_Global_Limit: 50
  49.  
  50. # How close by / what radius between the Monthly Crates should be to be able to open them?
  51. Crate_Radius: 10
  52.  
  53. # How long should the display animation be rolling for? (measured in seconds)
  54. Display_Animation_Lenght: 25
  55.  
  56. # What should be the interval between changing items in the display animation? (measured in seconds)
  57. Display_Animation_Item_Change: 3
  58.  
  59. # With what effect should pouches end? (Currently available: Lightning, Explosion, Smoke, Flame), leave empty for no effect.
  60. PouchEnding: "Lightning"
  61.  
  62. # What particles should be shown when changing items in the "Round" animation? (Currently available: Instant_Spell, Flame), leave empty for no effect.
  63. Item_Change_Particle_Round: "Instant_Spell"
  64.  
  65. # How high should the round animation be after being placed on the ground?
  66. Round_How_High: 3
  67.  
  68. # How long should the round2 animation last? (measured in seconds)
  69. Round2_Animation_Lenght: 12
  70.  
  71. # Should there be lightning when mystery items change into items on Round2 animation?
  72. Round2_Animation_Lightning: true
  73.  
  74. # How fast should be the Round2 animation spinning? (decimals can be used)
  75. Round2_Animation_Speed: 3
  76.  
  77. # Should there be Mystery Items displayed on the start of the animation and each item revealed with lightning?
  78. Show_Round2_Mystery_Items: true
  79.  
  80. # How fast should be the Round animation spinning? (decimals can be used)
  81. Round_Animation_Speed: 3
  82.  
  83. # How long should the round animation last? (measured in seconds)
  84. Round_Animation_Lenght: 8
  85.  
  86. # Debug Mode
  87. Debug_Mode: false
  88.  
  89.  
  90. # Some configurable settings are explained, others should be self-explanatory.
  91. # Contact "BubbleBootie" on SpigotMC with any questions or bug reports.
  92.  
  93. Crates:
  94. #Here you create a new monthly crate, you can call it any name but they must not repeat.
  95. MarchCrate:
  96. Animation: "Round"
  97. #OnlyPlaceableAt: "405,71,-1006"
  98. #OnlyPlaceableAt makes it so you can only place this specific crate at declared coordinates. You can find you the coordinates by pressing F3 and looking at "Looking at block"
  99. #Currently there are 4 types of animations: Round ; Pyramid ; Display ; Round2
  100. Item: "ENDER_CHEST"
  101. #Is the block that will be the monthly crate
  102. Enchanted: true #Not all items can be enchanted.
  103. Name: "&e&lMarch MonthlyCrate &c&l2019"
  104. CommandOnCratePlace:
  105. - "broadcast {player_name} is opening a March Crate!"
  106. MessagesToPlayer:
  107. - "&fThank you for opening this crate!"
  108. RewardHologram:
  109. - "&cCongradulations to &a&l{player_name} &cfor opening"
  110. - "&cThe Monthly March Crate!"
  111. - ""
  112. - "&8Buy your own crate at: buy.store.com"
  113. #Customisable hologram above the main prize
  114. Size: 8
  115. #Amount of items that the person will get, ranges from 0-8
  116. #If set 0 there will be only the best prize in the animation
  117. Lores:
  118. - ""
  119. - "&e&lThank you for buying the crate &4&l{player_name}"
  120. - "&e&lSuper OP March Crate"
  121. - "&a&lThere is a lot of loot here"
  122. Prizes:
  123. #Prize names musn't repeat, though they can be called anything.
  124. DiamondHelmet:
  125. Item: ANVIL
  126. Enchanted: true
  127. Name: "&e&lSuper OP Diamond Helmet"
  128. RandomNumberMin: 5
  129. RandomNumberMax: 20
  130. Commands:
  131. - "give {player_name} diamond_helmet {random_number}"
  132. - "broadcast &e&l{player_name} Just Won a Super Helmet!"
  133. MessagesToPlayer:
  134. - "&fYou Just Won a Super Helmet!"
  135. BroadcastMessagesToPlayers:
  136. - "&e&l{player_name} &fjust won &aa Super Helmet &ffrom opening the &dMarch Crate&f"
  137. Chance: 10
  138. CreeperEgg:
  139. Item: MONSTER_EGG
  140. Enchanted: false
  141. Damage: 50
  142. Name: "&e&lOP Creeper Egg (x1)"
  143. MessagesToPlayer:
  144. - "&fYou Just Won an OP Creeper Egg!"
  145. Chance: 80
  146. BrewingStand:
  147. Item: BREWING_STAND_ITEM
  148. Enchanted: false
  149. Name: "&a&lStrange looking brewing stand (x1)"
  150. Commands:
  151. - "broadcast &e&l{player_name} Just Won a Brewing Stand!"
  152. MessagesToPlayer:
  153. - "&fYou Just Won a Brewing Stand!"
  154. Chance: 25
  155. MobSpawner:
  156. Item: MOB_SPAWNER
  157. Enchanted: true
  158. Name: "&c&lMysterious Mob Spawner (x2)"
  159. Commands:
  160. - "broadcast &e&l{player_name} Just Won a Mysterious Mob Spawner!"
  161. Chance: 100
  162. Stone:
  163. Item: STONE
  164. Enchanted: true
  165. Name: "&e&lSome Regular Stone (x1)"
  166. Commands:
  167. - "give {player_name} stone 1"
  168. - "broadcast &e&l{player_name} Just Won Some Regular Stone!"
  169. Chance: 50
  170. DiamondSword:
  171. Item: DIAMOND_SWORD
  172. Enchanted: true
  173. Name: "&e&lWardens Ultra Rare Sword (x1)"
  174. Commands:
  175. - "give {player_name} diamond_helmet 1"
  176. - "broadcast &e&l{player_name} Just Won Wardens Ultra Rare Sword (x1)!"
  177. Chance: 1
  178. Flower:
  179. Item: YELLOW_FLOWER
  180. Enchanted: true
  181. Name: "&e&lJust a Yellow Flower (x1)"
  182. Commands:
  183. - "broadcast &e&l{player_name} Just Won a Yellow Flower (x1)!"
  184. Chance: 80
  185. Apple:
  186. Item: APPLE
  187. Enchanted: true
  188. Name: "&f&lVery Rare Red Apple (x1)"
  189. Commands:
  190. - "give {player_name} apple 1"
  191. - "broadcast &e&l{player_name} Just Won a Very Rare Red Apple!"
  192. Chance: 30
  193. Diamond:
  194. Item: DIAMOND
  195. Enchanted: true
  196. Name: "&c&lThis Server's Rare Tokens (x30)"
  197. Commands:
  198. - "broadcast &e&l{player_name} Just Won Rare Tokens (x30)!"
  199. Chance: 100
  200. FishingRod:
  201. Item: FISHING_ROD
  202. Enchanted: true
  203. Name: "&a&lPoseidon's Fishing Rod (x1)"
  204. Commands:
  205. - "give {player_name} diamond_helmet 1"
  206. - "broadcast &e&l{player_name} Just Won Poseidon's Fishing Rod (x1)!"
  207. Chance: 1
  208. Bed:
  209. Item: BED
  210. Enchanted: true
  211. Name: "&b&nVery Strange Looking Bed (x1)"
  212. Commands:
  213. - "broadcast &e&l{player_name} Just Won a Very Strange Looking Bed (x1)!"
  214. Chance: 1
  215. #There will be only 1 Best Prize, it will be located in the middle of the circle. You can also delete BestPrizes section if you wish there to not be any item in the middle.
  216. BestPrizes:
  217. Bedrock:
  218. Item: BEDROCK
  219. Enchanted: true
  220. Name: "&8&l&nBest Block Ever (x1)"
  221. Commands:
  222. - "give {player_name} bedrock 1"
  223. - "broadcast &e&l{player_name} Just Won a Best Block Ever (x1)!"
  224. Chance: 20
  225. Boat:
  226. Item: BOAT
  227. Enchanted: true
  228. Name: "&f&l&nSailer's Boat (x1)"
  229. Commands:
  230. - "give {player_name} boat 1"
  231. - "broadcast &e&l{player_name} Just Won a Sailer's Boat (x1)!"
  232. Chance: 20
  233. JuneCrate:
  234. Animation: "Pyramid"
  235. Item: "ENDER_CHEST"
  236. Enchanted: true #Not all items can be enchanted.
  237. Name: "&e&lJune MonthlyCrate &c&l2019"
  238. RewardHologram:
  239. - "&cCongradulations to &a&l{player_name} &cfor opening"
  240. - "&cThe Monthly June Crate!"
  241. - ""
  242. - "&8Buy your own crate at: buy.store.com"
  243. Size: 5 #currently disabled.
  244. Radius: 4
  245. Lores:
  246. - ""
  247. - "&e&lSuper OP June Crate"
  248. - "&a&lThere is a lot of loot here"
  249. Prizes:
  250. DiamondHelmet:
  251. Item: ANVIL
  252. Enchanted: true
  253. Name: "&e&lSuper OP Diamond Helmet"
  254. Commands:
  255. - "give {player_name} diamond_helmet 1"
  256. - "broadcast &e&l{player_name} Just Won a Super Helmet!"
  257. MessagesToPlayer:
  258. - "&fYou Just Won a Super Helmet!"
  259. Chance: 10
  260. BrewingStand:
  261. Item: BREWING_STAND_ITEM
  262. Enchanted: false
  263. Name: "&a&lStrange looking brewing stand (x1)"
  264. Commands:
  265. - "broadcast &e&l{player_name} Just Won a Brewing Stand!"
  266. MessagesToPlayer:
  267. - "&fYou Just Won a Brewing Stand!"
  268. Chance: 25
  269. MobSpawner:
  270. Item: MOB_SPAWNER
  271. Enchanted: true
  272. Name: "&c&lMysterious Mob Spawner (x2)"
  273. Commands:
  274. - "broadcast &e&l{player_name} Just Won a Mysterious Mob Spawner!"
  275. MessagesToPlayer:
  276. - "&fYou Just Won a Mystery Mob Spawner x2!"
  277. Chance: 100
  278. Stone:
  279. Item: STONE
  280. Enchanted: true
  281. Name: "&e&lSome Regular Stone (x1)"
  282. Commands:
  283. - "give {player_name} stone 1"
  284. - "broadcast &e&l{player_name} Just Won Some Regular Stone!"
  285. Chance: 50
  286. DiamondSword:
  287. Item: DIAMOND_SWORD
  288. Enchanted: true
  289. Name: "&e&lWardens Ultra Rare Sword (x1)"
  290. Commands:
  291. - "give {player_name} diamond_helmet 1"
  292. - "broadcast &e&l{player_name} Just Won Wardens Ultra Rare Sword (x1)!"
  293. Chance: 1
  294. Flower:
  295. Item: YELLOW_FLOWER
  296. Enchanted: true
  297. Name: "&e&lJust a Yellow Flower (x1)"
  298. Commands:
  299. - "broadcast &e&l{player_name} Just Won a Yellow Flower (x1)!"
  300. Chance: 80
  301. Apple:
  302. Item: APPLE
  303. Enchanted: true
  304. Name: "&f&lVery Rare Red Apple (x1)"
  305. Commands:
  306. - "give {player_name} apple 1"
  307. - "broadcast &e&l{player_name} Just Won a Very Rare Red Apple!"
  308. Chance: 30
  309. Diamond:
  310. Item: DIAMOND
  311. Enchanted: true
  312. Name: "&c&lThis Server's Rare Tokens (x30)"
  313. Commands:
  314. - "broadcast &e&l{player_name} Just Won Rare Tokens (x30)!"
  315. Chance: 100
  316. FishingRod:
  317. Item: FISHING_ROD
  318. Enchanted: true
  319. Name: "&a&lPoseidon's Fishing Rod (x1)"
  320. Commands:
  321. - "give {player_name} diamond_helmet 1"
  322. - "broadcast &e&l{player_name} Just Won Poseidon's Fishing Rod (x1)!"
  323. Chance: 1
  324. Bed:
  325. Item: BED
  326. Enchanted: true
  327. Name: "&b&nVery Strange Looking Bed (x1)"
  328. Commands:
  329. - "broadcast &e&l{player_name} Just Won a Very Strange Looking Bed (x1)!"
  330. Chance: 1
  331. Display:
  332. Item: "ENDER_CHEST"
  333. Animation: "Display"
  334. DisplayStand: BEACON
  335. Enchanted: true
  336. Name: "&e&lDisplay MonthlyCrate &c&l2019"
  337. RewardHologram:
  338. - "&cCongradulations to &a&l{player_name} &cfor opening"
  339. - "&cThe Display Crate!"
  340. - ""
  341. - "&8Buy your own crate at: buy.store.com"
  342. Lores:
  343. - ""
  344. - "&e&lSuper OP Display Crate"
  345. - "&a&lContains lots of items"
  346. Prizes:
  347. DiamondHelmet:
  348. Item: ANVIL
  349. Enchanted: true
  350. Name: "&e&lSuper OP Diamond Helmet"
  351. Commands:
  352. - "give {player_name} diamond_helmet 1"
  353. - "broadcast &e&l{player_name} Just Won a Super Helmet!"
  354. MessagesToPlayer:
  355. - "&fYou Just Won a Super Helmet!"
  356. Chance: 10
  357. BrewingStand:
  358. Item: BREWING_STAND_ITEM
  359. Enchanted: false
  360. Name: "&a&lStrange looking brewing stand (x1)"
  361. Commands:
  362. - "broadcast &e&l{player_name} Just Won a Brewing Stand!"
  363. MessagesToPlayer:
  364. - "&fYou Just Won a Brewing Stand!"
  365. Chance: 25
  366. MobSpawner:
  367. Item: MOB_SPAWNER
  368. Enchanted: true
  369. Name: "&c&lMysterious Mob Spawner (x2)"
  370. Commands:
  371. - "broadcast &e&l{player_name} Just Won a Mysterious Mob Spawner!"
  372. MessagesToPlayer:
  373. - "&fYou Just Won a Mystery Mob Spawner x2!"
  374. Chance: 100
  375. Stone:
  376. Item: STONE
  377. Enchanted: true
  378. Name: "&e&lSome Regular Stone (x1)"
  379. Commands:
  380. - "give {player_name} stone 1"
  381. - "broadcast &e&l{player_name} Just Won Some Regular Stone!"
  382. Chance: 50
  383. DiamondSword:
  384. Item: DIAMOND_SWORD
  385. Enchanted: true
  386. Name: "&e&lWardens Ultra Rare Sword (x1)"
  387. Commands:
  388. - "give {player_name} diamond_helmet 1"
  389. - "broadcast &e&l{player_name} Just Won Wardens Ultra Rare Sword (x1)!"
  390. Chance: 1
  391. Flower:
  392. Item: YELLOW_FLOWER
  393. Enchanted: true
  394. Name: "&e&lJust a Yellow Flower (x1)"
  395. Commands:
  396. - "broadcast &e&l{player_name} Just Won a Yellow Flower (x1)!"
  397. Chance: 80
  398. Apple:
  399. Item: APPLE
  400. Enchanted: true
  401. Name: "&f&lVery Rare Red Apple (x1)"
  402. Commands:
  403. - "give {player_name} apple 1"
  404. - "broadcast &e&l{player_name} Just Won a Very Rare Red Apple!"
  405. Chance: 30
  406. Diamond:
  407. Item: DIAMOND
  408. Enchanted: true
  409. Name: "&c&lThis Server's Rare Tokens (x30)"
  410. Commands:
  411. - "broadcast &e&l{player_name} Just Won Rare Tokens (x30)!"
  412. Chance: 100
  413. FishingRod:
  414. Item: FISHING_ROD
  415. Enchanted: true
  416. Name: "&a&lPoseidon's Fishing Rod (x1)"
  417. Commands:
  418. - "give {player_name} diamond_helmet 1"
  419. - "broadcast &e&l{player_name} Just Won Poseidon's Fishing Rod (x1)!"
  420. Chance: 1
  421. Bed:
  422. Item: BED
  423. Enchanted: true
  424. Name: "&b&nVery Strange Looking Bed (x1)"
  425. Commands:
  426. - "broadcast &e&l{player_name} Just Won a Very Strange Looking Bed (x1)!"
  427. Chance: 1
  428. OctoberCrate:
  429. Animation: "Round2"
  430. Item: "ENDER_CHEST"
  431. Enchanted: false
  432. Name: "&e&lOctober MonthlyCrate &c&l2019"
  433. RewardHologram:
  434. - "&3&l*&f&l*&3&l* &b&lOctober &3&lMonthly&f&l Crate &3&l*&f&l*&3&l*"
  435. - "&bOpened By &f{player_name}"
  436. - ""
  437. - "&3&l*&f&l*&3&l* &bstore.YourServer.com &3&l*&f&l*&3&l*"
  438. PrizeSize: 4
  439. #This is the prize amount that the player will get out of the crate.
  440. Lores:
  441. - ""
  442. - "&e&lThank you for buying the crate &4&l{player_name}"
  443. - "&e&lOctober Crate"
  444. - "&a&lItems: ..."
  445. Prizes:
  446. DiamondHelmet:
  447. Item: ANVIL
  448. Enchanted: true
  449. Name: "&e&lSuper OP Diamond Helmet"
  450. RandomNumberMin: 5
  451. RandomNumberMax: 20
  452. Commands:
  453. - "give {player_name} diamond_helmet {random_number}"
  454. - "broadcast &e&l{player_name} Just Won a Super Helmet!"
  455. MessagesToPlayer:
  456. - "&fYou Just Won a Super Helmet!"
  457. Chance: 10
  458. DiamondHelmetE:
  459. Item: MOB_SPAWNER
  460. Enchanted: true
  461. Name: "&f&2x &b&lIron Golem &f&lSpawners"
  462. Commands:
  463. - "silkspawners give {player_name} irongolem 2"
  464. Chance: 100
  465. BrewingStand:
  466. Item: BOOK
  467. Enchanted: false
  468. Name: "&f&l3x &9&lMystic Enchantment Book"
  469. Commands:
  470. - "ae givercbook mystic {player_name} 3"
  471. Chance: 100
  472. MobSpawner:
  473. Item: MOB_SPAWNER
  474. Enchanted: true
  475. Name: "&c&lMysterious Mob Spawner (x2)"
  476. Commands:
  477. - "broadcast &e&l{player_name} Just Won a Mysterious Mob Spawner!"
  478. Chance: 100
  479. Stone:
  480. Item: STONE
  481. Enchanted: true
  482. Name: "&e&lSome Regular Stone (x1)"
  483. Commands:
  484. - "give {player_name} stone 1"
  485. - "broadcast &e&l{player_name} Just Won Some Regular Stone!"
  486. Chance: 50
  487. DiamondSword:
  488. Item: DIAMOND_SWORD
  489. Enchanted: true
  490. Name: "&e&lWardens Ultra Rare Sword (x1)"
  491. Commands:
  492. - "give {player_name} diamond_helmet 1"
  493. - "broadcast &e&l{player_name} Just Won Wardens Ultra Rare Sword (x1)!"
  494. Chance: 1
  495. Stone:
  496. Item: STONE
  497. Enchanted: true
  498. Name: "&6&l13 Lore Armor Orb"
  499. Commands:
  500. - "giveorb {player_name} armor 13 100 1"
  501. Chance: 100
  502. Apple:
  503. Item: APPLE
  504. Enchanted: true
  505. Name: "&f&lVery Rare Red Apple (x1)"
  506. Commands:
  507. - "give {player_name} apple 1"
  508. - "broadcast &e&l{player_name} Just Won a Very Rare Red Apple!"
  509. Chance: 30
  510. Diamond:
  511. Item: DIAMOND
  512. Enchanted: true
  513. Name: "&c&lThis Server's Rare Tokens (x30)"
  514. Commands:
  515. - "broadcast &e&l{player_name} Just Won Rare Tokens (x30)!"
  516. Chance: 100
  517. FishingRod:
  518. Item: FISHING_ROD
  519. Enchanted: true
  520. Name: "&a&lPoseidon's Fishing Rod (x1)"
  521. Commands:
  522. - "give {player_name} diamond_helmet 1"
  523. - "broadcast &e&l{player_name} Just Won Poseidon's Fishing Rod (x1)!"
  524. Chance: 1
  525. MythicalPouch:
  526. Item: ENDER_CHEST
  527. Enchanted: true
  528. Name: "&9&lMYTHICAL MONEY POUCH &f&lx2"
  529. Commands:
  530. - "advancedpouches give {player_name} mythical 2"
  531. Chance: 20
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×