Sueta

Daily Reward Plugin

1.1

Reward your players for daily login.

·Plugin


With this plugin recurring daily logins can be rewarded. There are 9 rewards available, whereby the period can be set individually. The players have to go to the "DailyRewardPlugin-Villager" and open his inventory. The "DailyRewardPlugin Inventory" opens and you can see which rewards there are, how long you have to log in daily to get the reward and which ones you have already received. The rewards are in principle normal console commands, such as: "xp < player > < amount >". The plugin offers additional helpful administration commands to get and change player information. I would also like to mention that this is my very first plugin and also my very first programming project. Accordingly, I would appreciate helpful and constructive feedback, as well as suggestions for improvement. Please forgive me for any errors that may occur, I am very anxious to fix them as soon as possible and to your satisfaction.


- Download the Plugin
- Drag the Plugin into your Plugin folder
- Start your server
- The Plugin works now!


Explanation of parameter types: [optional] <necessary>

/drp setvillager [glowing]
Place a villager in the position you are in right now. With the optional parameter "glowing" you can specify that the villager gets the glowing effect.
Permissions: dailyrewardplugin.create

/drp delete
You get a special item, if a villager is hit with this blaze rod he will be removed.
Permissions: dailyrewardplugin.delete

/drp unclaim <player_name>
If a player has already collected his reward, he gets the corresponding status. This command can be used to change the status, so that the player can pick up the reward again.
Permissions: dailyrewardplugin.change

/drp claim <player_name>
This can be used to change a player's status so that they can no longer collect the current reward.
Permissions: dailyrewardplugin.change

/drp setstreak <player_name> <streak_number>
With this you can change login streak.
Permissions: dailyrewardplugin.change

/drp getinfo [player_name]
This can be used to retrieve player information. If the optional parameter is left out, your own information is displayed.
Permissions:
- dailyrewardplugin.info (necessary to retrieve own information)
- dailyrewardplugin.allinfo (necessary to retrieve information from others)


Debugmode
Detailed information is displayed in the server console.
Allowed values: false, true

VillagerName
The name of the villager is specified here.
Allowed values: String up to a length of 15 characters

MissingPermissionsMessage
A message must be specified here, which is displayed when players want to execute commands for which they do not have permissions.
Allowed values: Custom message

ConsecutivelyLoginDaysNeededForReward[1-9]
Here the number of consecutive logins must be specified, which is necessary for the corresponding reward. The numbers are consecutive, this means the numbers must also rise with increasing reward level.
Allowed values: Integer

ConsoleCommandForReward[1-9]
A Bukkit console command must be entered here.
Allowed values: String with placeholder "<player>" (this is replaced by the player's name when the command is executed)

[claimableReward, deactivatedReward, claimedReward]_ItemMaterialName
Here you set the item which should be displayed for the corresponding status in the inventory.
Allowed values: Names of the material (Here the version of the server must be considered!)

MaxLoginStreak
The maximum number of consecutive logins must be specified here. If this number is exceeded the login streak of the player will be reset to 0.
Allowed values: Integer

RewardWasClaimedMessage
A custom message that is sent to the corresponding player.
Allowed values: String with placeholder "<daysToNext>" (this will be replaced by the number of days to the next reward)

SendCommandFeedback
Here you can decide whether the default message for executed console commands should be displayed in the global chat.
Allowed values: false, true

+----------------+---------------------------------------------------+--------------+ 
| Prioritisation | Short description                                 | Requested by | 
+----------------+---------------------------------------------------+--------------+ 
Nothing at he moment... suggest something!

Similar projects

Plugin →