Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Name: DRSpin
- Info: This is a daily rewards plugin. A player will get rewards every 24 hours if he logs in and runs /dailyspin.
- When /dailyspin is typed a Customizeable GUI will pop up, and there will be a "button" which, when pressed, will begin the "spinning" sequence.
- The spinning GUI will have a circle of items like animated spinning of items to look like a wheel spin.
- "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.
- 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)
- GUI for typing /dailyspin (button before actual spin)
- GUI for Spin mode
- 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:
- Rewards:
- '0':
- displayitem: 131
- displayglow: true
- displayname: '&a&laReward 1'
- displaylore:
- - '&f'
- - 'cool lore'
- chance: 45
- commands:
- - 'crate givekey %player% votecrate 1'
- - 'eco give %player% 5000'
- message:
- - '&a&lDR &8» &7You won a Vote Crate key!'
- '1':
- . ...
-
- ------------------------
- DRSpin Commands:
- <> Required
- [] Optional
- /spin [player]
- - Opens the Click to Spin GUI
- - Player arg will open the Spin GUI (force spin)
- /spin reload
- - Reloads rewards and config.
- /spin reset [player]
- - Resets the spin cooldown for yourself if no player arg
- - Player arg resets spin cooldown for the specified player
- /spin item
- - Adds item you are holding to items.yml file for easy adding of items to rewards.
- ------------------------
- It will need to have the config option to set the time inbetween /spin commands, default is 24h (86400 seconds).
- The GUI should not allow grabbing of items (they should be locked into the GUI)
- ------------------------
- DRSpin Placeholders:
- %dailyspin_resettime%
- - time until next spin is available for that player
- - use format 1d 24h 55m 12s
- %dailyspin_spincount%
- - returns how many times the user has spun the wheel
- %dailyspin_streak%
- - return how many days the player has been on a streak
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement