-- Stamina modifier
if configManager.getBoolean(configKeys.STAMINA_SYSTEM) then
useStamina(self)
local staminaMinutes = self:getStamina()
if staminaMinutes > 2400 and self:isPremium() then
exp = exp * 1.5 -- 1 = 0% bonus , 1.5 =50% bonus so the 1 is 100% and the 1.5 is 150% = 100% the normal and 50% the bonus
elseif staminaMinutes <= 840 then
exp = exp * 0.5
end
end
<event class="Player" method="onGainExperience" enabled="0" />
<event class="Player"...
local function useStamina(player)
local staminaMinutes = player:getStamina()
if staminaMinutes == 0 then
return
end
local playerId = player:getId()
local currentTime = os.time()
local timePassed = currentTime - nextUseStaminaTime[playerId]
if timePassed <= 0 then
return
end
if timePassed > 60 then
if staminaMinutes > 2 then
staminaMinutes = staminaMinutes - 2
else
staminaMinutes = 0
end
nextUseStaminaTime[playerId] = currentTime + 120
else
staminaMinutes = staminaMinutes - 1
nextUseStaminaTime[playerId] = currentTime + 60
end
player:setStamina(staminaMinutes)
end
-- Stamina modifier
if configManager.getBoolean(configKeys.STAMINA_SYSTEM) then
useStamina(self)
local staminaMinutes = self:getStamina()
if staminaMinutes > 2400 and self:isPremium() then
exp = exp * 1.5 -- 1 = 0% bonus , 1.5 =50% bonus so the 1 is 100% and the 1.5 is 150% = 100% the normal and 50% the bonus
elseif staminaMinutes <= 840 then
exp = exp * 0.5
end
end
<event class="Player" method="onGainExperience" enabled="0" />
<event class="Player" method="onGainExperience" enabled="1" />

Thats native in the client I think.Thank you! Everything in the thread has been clarified so I mark it resolved.
But maybe you know ... Everything works as it should (gets more experience) but why doesn't it display in "XP Gain Rate"?
In addition, after changing to "1" which means no bonus for pacc players, a 50% bonus is still displayed:
View attachment 38938