Comment on page
🔥
ForgeService
Service for giving Forge Points and checking Forge Upgrade levels.
Example usage:
Events.EntityDeath(function(event)
if not event.finalKill then
return
end
if (event.killer == nil) then
return
end
if (event.killer:getPlayer() == nil) then
return
end
ForgeService.givePoints(event.killer:getPlayer(), 5)
end)
Returns the number of unused Forge Points currently held by the player.
Gives the player the specified number of Forge Points.
Returns the player's current level for the specified Forge Upgrade.
Last modified 4mo ago