jpcsupplies / Economy_mod

Basic Economy System for Space Engineers
13 stars 12 forks source link

Need to intercept joining players (or already joined) steam uid #3

Closed jpcsupplies closed 9 years ago

jpcsupplies commented 9 years ago

This should allow a way to grab the uid SteamId = selectedPlayer.SteamUserId

need a way to trigger this.. possibly on joining or only when a command is used such as pay bal sell buy etc.

This way players not using the economy dont get recorded keeping our database to a minimum instead of adding every revolving door join player uid.

this uid should be recorded to the balance file along with default balance if they dont already have an entry

jpcsupplies commented 9 years ago

Think the changes midspace submitted integrates this in the bal command;
I should add the same code into the pay command

jpcsupplies commented 9 years ago

pay command still work in progress, but it technically does grab the players steam uid at this point now... needs some more tweaking to grab the player you intend to pays id if they are online but that is just nit picking; that can be a separate issue if i have a problem.