UltimateRewards Wiki
  • Getting started
    • Support
  • Addons
  • Configs
    • Player Levels
    • Referrals
    • Loginstreak
  • USAGE
    • Installation
    • Commands
  • configuration
    • Rewards
      • Creating Reward
      • Reward Types
        • Afk Reward
          • World Afk Reward
          • Area Afk Reward
          • Region Afk Reward
        • Advent Calendar
        • Pickable Reward
        • Time Reward
        • Time Fixed Reward
        • Streak Reward
        • Streak Fixed Reward
        • Vote Reward
        • Renewable Vote Reward
        • Per Vote Reward
        • Streak Vote Reward
        • Play Time Reward
        • Renewable Play Time Reward
        • Referral Reward
        • Renewable Referral Reward
        • Purchasable Reward
        • Re-Purchasable Reward
        • One Time Reward
        • Time Limited Reward
        • Custom Reward
        • Multiple Custom Reward
        • Coupon Reward
        • Discord Reward
      • Reward Settings
      • Reward Actions
      • Reward Features
        • Auto Claim
        • Notifications
        • Reward NPC
        • Discord Support
        • Reward Requirements
        • Reward Variants
        • Selectable Rewards
        • Randomization
          • Execution Chances
          • Random Placeholders
        • AFK Checkers
        • Leaderboards
    • Menus
      • Basics
      • Example of GUIs
      • Setting Menu
    • Schedules & Timers
  • Colors & Models
  • Placeholders
  • API
    • Events
    • Examples
    • Setting up own playtime calculator
  • Policies
    • TOS
Powered by GitBook
On this page

Placeholders

PreviousColors & ModelsNextAPI

Last updated 3 months ago

The plugin includes registered placeholders that can be utilized anywhere within . The current list of valid placeholders is as follows:

Placeholder
Description

%ultimaterewards_cooldown_{reward}%

displays current state of reward

%ultimaterewards_state_{reward}%

returns state of reward, e.g. available, unavailable, upcoming, locked NEW

%ultimaterewards_progress_{reward}%

draws the progress bar of the reward

%ultimaterewards_available%

shows amount of available rewards to claim

%ultimaterewards_available_{rewardType}%

%ultimaterewards_current_streak_{reward}%

displays current streak of the specific reward

%ultimaterewards_referrals%

shows the total number of referral activations

%ultimaterewards_referred_to%

shows whom the player is referring

%ultimaterewards_playtime_session%

shows current session play-time

%ultimaterewards_playtime_local%

shows the time spent on current server

%ultimaterewards_playtime_local_in_hours%

shows the time spent on current server in hours NEW

%ultimaterewards_playtime_local_in_minutes%

shows the time spent on current server in minutes NEW

%ultimaterewards_playtime_global%

shows the total time spent on network (requires MySQL)

%ultimaterewards_afk_session_time%

shows time elapsed in the AFK area/world

%ultimaterewards_total_votes%

returns the total number of player's votes

%ultimaterewards_total_collected%

displays the total number of reward openings

%ultimaterewards_collected_{reward}%

displays the total number of specific reward openings

%ultimaterewards_setting_enabled_{setting}%

Leaderboards

Placeholder
Description

%ultimaterewards_playtime_alltime_top_name_<position>%

prints player name of certain position in all time leaderboard

ltimaterewards_playtime_alltime_top_value_<position>%

prints value (format is available in config.yml) of certain position in all time leaderboard

%ultimaterewards_playtime_alltime_top_position%

prints player position in all time leaderboard

%ultimaterewards_votes_alltime_top_name_<position>%

prints player name of certain position in all time leaderboard

ltimaterewards_votes_alltime_top_value_<position>%

prints number of votes of certain position in all time leaderboard

%ultimaterewards_votes_alltime_top_position%

prints player position in all time leaderboard

displays the number of rewards of the specified type to claim, available reward types , e.g. %ultimaterewards_available_time_reward% will only show available rewards with Time Reward type

shows whether the player has the given setting enabled (true/false), setting type can be found

PlaceholderAPI
here
here