Rank System Ultimate

Time Rewards

v1.0 Tornado_SW FREE
Login to Download
About this Plugin

Rewards players with XP for the time they spend playing on the server. XP is granted at configurable minute intervals with fully customizable amounts via a configuration file. Supports two save methods: immediate save and round-end save.

Features
  • Awards XP based on playtime intervals
  • Configurable XP amounts per minute milestone via config file
  • Two save methods: immediate (1) or round-end (2)
  • Configurable check interval via CVAR
  • Multi-language support (English & Bulgarian)
CVARs / Settings
CVARDefaultDescription
rsu_tr_timeout 300 How often (in seconds) the plugin checks playtime milestones
rsu_tr_savetype 2 Save type — 1: save immediately, 2: save at round end
Configuration File
addons/amxmodx/configs/time_rewards.ini
; Time-based XP rewards configuration
; Format: minutes_played = XP_reward
; When a player reaches the specified minutes, they receive the XP

1 = 5
2 = 20
3 = 50
Language File Preview
[en]
RSU_TR_REWARDED = [Time Rewards] You have been rewarded with %dXP for playing %d minutes.

[bg]
RSU_TR_REWARDED = [Time Rewards] Вие бяхте възнаградени с %dXP за %d минути игра.
Installation Guide
  1. 1 Place rsu_time_rewards.sma in addons/amxmodx/scripting/
  2. 2 Place time_rewards.ini in addons/amxmodx/configs/
  3. 3 Place rsu_time_rewards.txt in addons/amxmodx/data/lang/
  4. 4 Compile the .sma to .amxx
  5. 5 Place the compiled .amxx in addons/amxmodx/plugins/
  6. 6 Add to plugins.ini
  7. 7 Configure time/XP values in time_rewards.ini
  8. 8 Optionally adjust CVARs (rsu_tr_timeout, rsu_tr_savetype)
  9. 9 Restart the server or change map