If you're using you dont have to make any changes in this section.
You can override player actions from no-base/configure/server/player.lua
Examples
Config.Player = {
Overrides = {
removeBank = function(source)
local xPlayer = ESX.GetPlayerFromId(source)
return function(amount, reason)
if not xPlayer.hasBank(amount) then return false end
xPlayer.removeBank(amount, reason)
return true
end
end
}
}