araynimax
araynimax
@tabarra So how about implementing a convar that prevents anything notification related which can also be toggled via a checkbox in webinterface as you said? Maybe something like: `+set txAdmin-useCustomNotifications...
Just to make sure it's clear: By Notification related i mean: announcements, dm's and player warns.
I'm one of those developers who wants everything in one design, and I'm sure I'm not the only one. So there's nothing wrong with having the option to implement a...
> And i'm not so sure about joining both in a single setting, may be better to have two separate vars, and whatever it is done, should be restricted to...
Okay so: The convars could be: txAdmin-customAnnouncements txAdmin-customMessages txAdmin-customWarnings In the Webinterface we will have 3 new checkboxes in the settings section "fxserver" I guess. If those cvars/checkboxes are true...
> And keep in mind that DM via snackbar is actually new in txadmin v5, not yet released. in v4 there also not even an event for dms to implement...
> Okay so: > > The convars could be: > > txAdmin-customAnnouncements txAdmin-customMessages txAdmin-customWarnings > > In the Webinterface we will have 3 new checkboxes in the settings section "fxserver"...
I would suggest removing this Code https://github.com/tabarra/txAdmin/blob/develop/core/components/Scheduler.js#L193-L201 And then handle it over the scheduledRestart event on lua side. We could even add a convar for it.
About DM: Is the implemention of snackbar for it already in a branch? Or is it just planned? While looking at the code I've seen that there is no event...