Sueta
⚡

⚡ RewardPlus | ADVANCED REWARDS!

1.0

Cool plugin for reward mechanic for your server!

·Plugin

Reward Plus is a powerful plugin designed to add rewarding mechanics to your server, encouraging player engagement and activity. With customizable rewards and conditions, you can create a dynamic and exciting gameplay experience for your community.

-✴ Features ✴-

  • Cooldown Management: Set cooldown periods for rewards to prevent abuse and maintain balance.
  • Reward Conditions: Define specific conditions that players must meet to claim rewards, such as minimum playtime or in-game currency balance and much more.
  • Customizable Messages: Tailor messages to inform players about reward availability, restrictions, and success.
  • Flexible customization: You can flexibly inform even all players that the player has received a cool reward!
  • HEX support: You can use HEX colors!

Depends

rewards.yml

reward-1:
  display-name: '&7Reward 1'
  use-params:
    # How many times can I use this reward.
    # write -1 to unlimited
    count: 5
    # If true, the restriction applies to the entire server.
    # If false, the restriction applies to only reward executor.
    limit-for-server: false

    # Cooldown for this reward in seconds.
    cooldown: 86400
  condition:
    type: '>='
    input: '%vault_eco_balance_fixed%'
    output: '5000'
  deny-actions:
    #- '[close]' <- close inventory
    - '[sound] ENTITY_VILLAGER_NO 1.0 1.0'
    - '[message] &cNot enough money to take this reward'
    - '[title] &cNO!;&cmoney, money, money'
  success-actions:
    #- '[broadcast-title]'
    - '[close]'
    - '[message] &aYou successfully got &2Reward 1&a.'
    - '[broadcast] &ePlayer &6{player} &etook %rplus_player_lastreward_displayname%&e.'
    - '[broadcast-sound] UI_TOAST_CHALLENGE_COMPLETE 0.6 1.0'

play-time:
  # and also work /reward play-time
  commands:
    - 'playtimereward'
  display-name: '&7Play time reward'
  use-params:
    # How many times can I use this reward.
    # write -1 to unlimited
    count: 1
    # If true, the restriction applies to the entire server.
    # If false, the restriction applies to only reward executor.
    limit-for-server: false

    # Cooldown for this reward in seconds.
    cooldown: 86400
  condition:
    type: '>='
    # placeholders:
    # %rplus_player_playtime% - return play time total in seconds.
    # %rplus_player_playtime_min% - return play time total in minutes.
    # %rplus_player_playtime_hour% - return play time total in hours.
    # %rplus_player_playtime_day% - return play time total in days.
    input: '%rplus_player_playtime_day%'
    output: '7'
  deny-actions:
    #- '[close]' <- close inventory
    - '[sound] ENTITY_VILLAGER_NO 1.0 1.0'
    - '[message] &cYou have to play for 7 days or more to get this reward!'
  success-actions:
    - '[close]'
    - '[message] &aThank you for playing faithfully on our server!'
    - '[broadcast-sound] UI_TOAST_CHALLENGE_COMPLETE 0.6 1.0'
    - '[console] minecraft:give {player} minecraft:diamond 64'

config.yml

# Execute if player has cooldown to get reward.
deny-cooldown-actions:
  - '[close]'
  - '[sound] ENTITY_VILLAGER_NO 1.0 1.0'
  - '[title] &cHey!;&7You can get after this reward: $time'

deny-left-actions:
  - '[close]'
  - '[message] &cThe reward has already ended.'

deny-once-actions:
  - '[message] &cThis reward can only be used once!'

messages:
  usage: '&6[!] &fUsage&8: &6/reward [reward]'
  no-permission: "&cYou don't have permission!"
  invalid-reward: '&cThis reward is not found!'

Similar projects

Plugin →