Open niekcandaele opened 3 years ago
This file will need editing: https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/blob/master/views/player/partials/setMoneyButton.sejs
Can reuse this endpoint https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/blob/master/api/controllers/Player/set-balance.js
We can do the math on the frontend :)
I redesigned it in order to make it a bit more UX friendly.
This will allow admins to send currency on the go rather than having to pull out a calculator and adding the total as the current system forces us to.