PlayTime | Rewards v1.1

Play in the server and get rewards
This plugin will give opportunity for the players to play in the server. Based on their playtime players can win rewards. Everything in this plugin is configurable!!



About the plugin
The plugin is made with precision and there won't be any bugs or lags that will impact on the server. While the players are online their playtime will increase and when they reach specific playtime they can claim rewards. Everything is configurable and you can make whatever rewards for whatever time you want. The data saving is perfectly made in this plugin. You don't have to worry if the player will lose their playtime or if their playtime rewards are not saved.

PlaceHolder
%playtime_time% - it shows player's playtime


The rewards menu:


1718567869299.png


Code:
# PlayTime rewards configuration

# first: the section name
# required-time: the required time to claim the reward (in seconds)
# slot: in which slot the reward to be displayed
# name: the name of the reward
# lore: text that will be displayed above the name: (you can add as many texts as you want)
# rewards: the rewards that will be given when you claim the reward. (you can add as many rewards as you want)
# you can add as many rewards as you want just make sure you are using the correct format for every reward!!

playtime-rewards:
  first:
    required-time: 3600
    slot: 11
    name: "&a1 Hour Reward"
    lore:
      - "&7Claim this reward for playing 1 hour."
    rewards:
      - "give %player% diamond 1"
      - "give %player% iron_sword 1"
  second:
    required-time: 21600
    slot: 12
    name: "&a6 Hour Reward"
    lore:
      - "&7Claim this reward for playing 6 hours."
    rewards:
      - "give %player% diamond 1"
      - "give %player% iron_sword 1"
  third:
    required-time: 43200
    slot: 13
    name: "&a12 Hour Reward"
    lore:
      - "&7Claim this reward for playing 12 hours."
    rewards:
      - "give %player% diamond 1"
      - "give %player% iron_sword 1"
  fourth:
    required-time: 86400
    slot: 14
    name: "&a1 Day Reward"
    lore:
      - "&7Claim this reward for playing 1 day."
    rewards:
      - "give %player% diamond 1"
      - "give %player% iron_sword 1"
  fifth:
    required-time: 172800
    slot: 15
    name: "&a2 Day Reward"
    lore:
      - "&7Claim this reward for playing 2 days."
    rewards:
      - "give %player% diamond 1"
      - "give %player% iron_sword 1"
  sixth:
    required-time: 432000
    slot: 21
    name: "&a5 Day Reward"
    lore:
      - "&7Claim this reward for playing 5 days."
    rewards:
      - "give %player% diamond 1"
      - "give %player% iron_sword 1"
  seventh:
    required-time: 604800
    slot: 22
    name: "&a7 Day Reward"
    lore:
      - "&7Claim this reward for playing 7 days."
    rewards:
      - "give %player% diamond 1"
      - "give %player% iron_sword 1"
  eighth:
    required-time: 1209600
    slot: 23
    name: "&a14 Day Reward"
    lore:
      - "&7Claim this reward for playing 14 days."
    rewards:
      - "give %player% diamond 1"
      - "give %player% iron_sword 1"

settings:
item-available: 'CHEST_MINECART'
item-claimed: 'FURNACE_MINECART'
item-not-available: 'MINECART'

You can edit every message as you want
Code:
# PlayTime messages config

your_playtime: "&7Your playtime: &e%s"
usage_playtime: "&cUsage: /playtime <player>"
players_only: "&cOnly players can execute this command."
config_reloaded: "&aConfiguration reloaded successfully."
no_permission: "&cYou do not have permission to execute this command."
player_playtime: "&7Playtime of &e%s&7: &e%s"
player_not_found: "&cPlayer not found or not online."
already_claimed: "&cYou have already claimed the %s reward."
reward_claimed: "&aYou claimed your %s!"
not_eligible: "&cYou are not eligible for this reward."


Commands:
  • /playtime - too see your playtime​
  • /playtime <player> - too see other player's playtime​
  • /playtime rewards - open a gui where people can claim rewards​
  • /playtime reload - reloads config.yml​
Permission:
  • playtime.reload​

If you need help with the plugin or you have pre-sale questions join our discord server https://discord.gg/vkyXfQmGyf
Buy a license now
$3.99
EULA: Standard EULA
Secure checkout:
Share and earn
Refer this resource and earn a 10% commission.
303 Views
1 Purchases
2 Downloads
Jun 18, 2024 Published
Jun 21, 2024 Updated
Not yet rated
16 KB File size
Type
  1. Gameplay
  2. GUI
Game mode
  1. Survival
  2. Skyblock
  3. Prison
Supported software
  1. Bukkit
  2. Spigot
  3. Paper
Supported versions
  1. 1.8
  2. 1.9
  3. 1.10
  4. 1.11
  5. 1.12
  6. 1.13
  7. 1.14
  8. 1.15
  9. 1.16
  10. 1.17
  11. 1.18
  12. 1.19
  13. 1.20
  14. 1.21
Creator
Recommended for you
Simple plugin which can giveaway items to people
5.00 star(s) 1 ratings
1 purchase
Not yet rated
1 purchase
Guess a number and win rewards
Not yet rated
0 purchases
Collects Item in the chunk, custom sellwand feature, custom items support, famous plugins support
Not yet rated
0 purchases
Buy a lot of items with Points
Not yet rated
6 purchases
Share and earn
Refer this resource and earn a 10% commission.
303 Views
1 Purchases
2 Downloads
Jun 18, 2024 Published
Jun 21, 2024 Updated
Not yet rated
16 KB File size
Type
  1. Gameplay
  2. GUI
Game mode
  1. Survival
  2. Skyblock
  3. Prison
Supported software
  1. Bukkit
  2. Spigot
  3. Paper
Supported versions
  1. 1.8
  2. 1.9
  3. 1.10
  4. 1.11
  5. 1.12
  6. 1.13
  7. 1.14
  8. 1.15
  9. 1.16
  10. 1.17
  11. 1.18
  12. 1.19
  13. 1.20
  14. 1.21
Creator
Recommended for you
Simple plugin which can giveaway items to people
5.00 star(s) 1 ratings
1 purchase
Not yet rated
1 purchase
Guess a number and win rewards
Not yet rated
0 purchases
Collects Item in the chunk, custom sellwand feature, custom items support, famous plugins support
Not yet rated
0 purchases
Buy a lot of items with Points
Not yet rated
6 purchases
Top