CatalysmsServerManager / 7-days-to-die-server-manager

A server manager for 7 Days to die
GNU General Public License v3.0
68 stars 59 forks source link

Add add/remove buttons to player balance editor #884

Open niekcandaele opened 3 years ago

niekcandaele commented 3 years ago

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. image

niekcandaele commented 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 :)

jaridewulf commented 3 years ago

I redesigned it in order to make it a bit more UX friendly.

redesign