Mining
Events
All client- & serversided events included within this script. Events serve as listeners that capture and respond to actions executed by this script.
If additional events are required for your implementation, please submit a formal request through our ticketing system on the official Discord server.
Server Events
mining:onLicenseBought
Triggered after a mining license has been bought successfully.
RegisterNetEvent('mining:onLicenseBought', function(playerId) end)
playerId
number
Source of the player that bought the mining license.
mining:onOreMined
Triggered after a player hit a ore.
RegisterNetEvent('mining:onOreMined', function(playerId, oreName, miner) end)
playerId
number
Source of the player that start mining.
oreName
string
Name of the ore that has been hit.
miner
table
Data of the miner that hit the ore.
Client Events
No client-sided events available at this time.