Advertisement
Guest User

DRSpin v2

a guest
Jan 18th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. Name: DRSpin
  2. Info: This is a daily rewards plugin. A player will get rewards every 24 hours if he logs in and runs /dailyspin.
  3.  
  4. When /dailyspin is typed a Customizeable GUI will pop up, and there will be a "button" which, when pressed, will begin the "spinning" sequence.
  5.  
  6. The spinning GUI will have a circle of items like animated spinning of items to look like a wheel spin.
  7.  
  8. "Streaks", will be consecutive days in a row that the user has gotten on to spin the wheel. Allow us to set commands when player reaches a streak. Streak rewards should be Customizeable, so if a player goes 3 days, we give a reward, if he goes 7 days another reward, etc.
  9.  
  10. Allow us to set commands/rewards after the player has spun the wheel X times. (100 spins player gets an extra diamond. 125spins a diamond and emerald)
  11.  
  12. GUI for typing /dailyspin (button before actual spin)
  13.  
  14. GUI for Spin mode
  15.  
  16.  
  17. Since the main function of this plugin is to give free stuff, we want multiple ways to give items or goodies. Loot table will need the following properties for a possible reward:
  18.  
  19.  
  20. Rewards:
  21. '0':
  22. ‎ displayitem: 131
  23. ‎ displayglow: true
  24. ‎ displayname: '&a&laReward 1'
  25. ‎displaylore:
  26. ‎- '&f'
  27. ‎- 'cool lore'
  28. ‎chance: 45
  29. ‎commands:
  30. ‎- 'crate givekey %player% votecrate 1'
  31. ‎- 'eco give %player% 5000'
  32. ‎message:
  33. ‎- '&a&lDR &8» &7You won a Vote Crate key!'
  34. '1':
  35. ‎. ...
  36.  
  37. ------------------------
  38. DRSpin Commands:
  39. <> Required
  40. [] Optional
  41.  
  42. /spin [player]
  43. - Opens the Click to Spin GUI
  44. - Player arg will open the Spin GUI (force spin)
  45.  
  46. /spin reload
  47. - Reloads rewards and config.
  48.  
  49. /spin reset [player]
  50. - Resets the spin cooldown for yourself if no player arg
  51. - Player arg resets spin cooldown for the specified player
  52.  
  53. /spin item
  54. - Adds item you are holding to items.yml file for easy adding of items to rewards.
  55.  
  56. ------------------------
  57.  
  58. It will need to have the config option to set the time inbetween /spin commands, default is 24h (86400 seconds).
  59.  
  60. The GUI should not allow grabbing of items (they should be locked into the GUI)
  61.  
  62. ------------------------
  63. DRSpin Placeholders:
  64.  
  65. %dailyspin_resettime%
  66. - time until next spin is available for that player
  67. - ‎use format 1d 24h 55m 12s
  68.  
  69. %dailyspin_spincount%
  70. - returns how many times the user has spun the wheel
  71.  
  72. %dailyspin_streak%
  73. - return how many days the player has been on a streak
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement