Code (YAML):
# ADVENT CHANGES
messages:
cannot-claim
:
"&cReward for that day is not available."
claimed-reward
:
"&aYou have claimed your advent reward for day %day%!"
already-claimed
:
"&cYou already claimed this reward!"
available-reward
:
"&aYou may get some rewards in the advent calendar, check it every day"
no_permission
:
"&cYou cannot use this!"
must_be_player
:
"&cYou cannot use this in console!"
not_enabled
:
"&cAdvent Calender is no longer active!"
advent_not_started
:
"&cThe Advent Calendar is not started yet!"
advent_ended
:
"&cThe Advent Calendar has ended. See you next year!"
help
:
-
"&6&m---------------------------------------------"
-
"&e&lUltimatePlaytimeRewards &7- &e Advent Commands Help"
-
"&6&m---------------------------------------------"
-
"&eAlias /ad"
-
"&e/advent &7- View advent calendar"
-
"&6&m---------------------------------------------"
Code (YAML):
# CONFIG CHANGES
# =====================================================
# MESSAGES CONFIGURATION
# =====================================================
# Customizable messages for the plugin's output.
messages
:
# Basic command responses
no_permission
:
"&cYou cannot use this!"
must_be_player
:
"&cYou cannot use this in console!"
playtime_check
:
"&aPlaytime for %player%: %playtime%."
playtime_check_player
:
"&a%player%'s playtime is %playtime%."
player_not_found
:
"&cPlayer not found!"
invalid_usage
:
"&cInvalid usage! Use: /pta help"
time_added
:
"&aAdded %time% to %player%'s playtime."
time_removed
:
"&aRemoved %time% from %player%'s playtime."
reload_success
:
"&aUltimatePlaytimeRewards config reloaded!"
invalid_time_format
:
"&cInvalid time format! Use formats like 1s, 1m, 1h, 1d, or 1w"
playtime_message
:
"&aYour total playtime is: &e%playtime%&a."
claimed-reward
:
"&aYou have successfully claimed the &b%reward%&a!"
already-claimed
:
"&cYou have already claimed this reward!"
not-enough-playtime
:
"&cYou don't have enough playtime to claim this reward!"
player_not_online
:
"&cThe player is not online"
reward-available
:
"&aYou have %rewards% reward(s) available to claim! Use /playtimerw rewards to collect them."
sqlite_not_active
:
"&cDatabase is not managed by sqlite!"
invalid_database_type
:
"&cYou must use mysql or sqlite!"
database_migration_success
:
"&aDatabase migration to %db% completed successfully."
database_migration_failed
:
"&cDatabase migration to %db% failed."
no_rewards
:
"&cNo rewards found."
available_rewards
:
"&aAvailable rewards:"
reward_deleted
:
"&aReward with ID '%id%' has been deleted."
reward_does_not_exist
:
"&cReward with ID '%id%' does not exist."
create_reward_start
:
"&aCreating reward with ID '%id%'. Type 'cancel' to stop, 'skip' to skip any field."
enter_playtime
:
"Enter required playtime (in seconds):"
enter_material
:
"Enter material type for the reward :"
enter_display_name
:
"Enter display name for the reward:"
enter_lore
:
"Enter lore for the reward (comma-separated):"
enter_commands
:
"Enter commands to execute on claim (comma-separated):"
enter_claim_message
:
"Enter claim message:"
enter_claimed_item
:
"Enter claimed item material:"
enter_slot
:
"Enter slot position:"
reward_created
:
"&aReward '%id%' has been created!"
top10
:
-
"&6#{rank} &e{player} &7- &a{playtime}"
no_top10_found
:
"&cNo players found in the ranking!"
database_error
:
"&cAn error occurred while retrieving data from the database."
update-available:
message
:
"&6[UltimatePR] &e%current% is outdated, there is a new version &f%latest%"
download
:
"&6[UltimatePR] &bDownload links: &f%url1%, &f%url2%"
help_player
:
-
"&6&m---------------------------------------------"
-
"&e&lUltimatePlaytimeRewards &7- &e Commands Help"
-
"&6&m---------------------------------------------"
-
"&eAlias /ptrw"
-
"&e/playtimerw &7- View your playtime"
-
"&e/playtimerw view &7- Open your info gui"
-
"&e/playtimerw rewards &7- View available rewards"
-
"&e/playtimerw help &7- Show this help message"
-
"&6&m---------------------------------------------"
help_admin
:
-
"&6&m---------------------------------------------"
-
"&e&lUltimatePlaytimeRewards &7- &eAdmin Commands Help"
-
"&6&m---------------------------------------------"
-
"&eAlias /pta"
-
"&e/playtimeadmin playtime <player> &7- View a player's playtime"
-
"&e/playtimeadmin add <player> <time> &7- Add playtime to a player"
-
"&e/playtimeadmin remove <player> <time> &7- Remove playtime from a player"
-
"&e/playtimeadmin reports &7- Show list of uploaded rewards"
-
"&e/playtimeadmin create <id> &7- Allows you to create a reward in the game"
-
"&e/playtimeadmin delete <id> &7- Allows you to delete a reward by id"
-
"&e/playtimeadmin reload &7- Reload the plugin configuration"
-
"&e/playtimeadmin database &7- Open the database administration GUI"
-
"&e/playtimeadmin help &7- Show this help message"
-
"&6&m---------------------------------------------"