You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ability to do operations on your text in the banner would be really cool!
currently we have variables for Online Users (which include Query Users), for Users with a certain role or Query Roles. To be able to maybe subtract the query users and/or users of a certain role (maybe a Jail role) would be quite handy.
also to apply formats to a variable would be cool. for example to always have a number be 3 numbers (001, 010, 100) or to be able to have a certain amount of numbers behind the period (for example: 01.150, 10.400).
an implementation for the textboxes would maybe be something like this: Online: $(%VIRTUALSERVER_CLIENTSONLINE% - %VIRTUALSERVER_QUERYCLIENTSONLINE%) Users
or in case of the format i would go kinda in the style of javas DecimalFormat class: Bytes sent: $format(%CONNECTION_BYTES_SENT_KEEPALIVE%, "0.00###") MiB
0 – prints a digit if provided, 0 otherwise
# – prints a digit if provided, nothing otherwise
. – indicate where to put the decimal separator
, – indicate where to put the grouping separator
i know a implementation of such a system would eat a lot of resources and time to get right, but it can be quite useful
The text was updated successfully, but these errors were encountered:
Thanks for the feature request and the detailed information!
Yeah, this feature (request) is already on the todo list, but it's a complex topic and thus I haven't worked on it yet. But a future version will include such a feature. :-)
The ability to do operations on your text in the banner would be really cool!
currently we have variables for Online Users (which include Query Users), for Users with a certain role or Query Roles. To be able to maybe subtract the query users and/or users of a certain role (maybe a Jail role) would be quite handy.
also to apply formats to a variable would be cool. for example to always have a number be 3 numbers (001, 010, 100) or to be able to have a certain amount of numbers behind the period (for example: 01.150, 10.400).
an implementation for the textboxes would maybe be something like this:
Online: $(%VIRTUALSERVER_CLIENTSONLINE% - %VIRTUALSERVER_QUERYCLIENTSONLINE%) Users
or in case of the format i would go kinda in the style of javas DecimalFormat class:
Bytes sent: $format(%CONNECTION_BYTES_SENT_KEEPALIVE%, "0.00###") MiB
0 – prints a digit if provided, 0 otherwise
# – prints a digit if provided, nothing otherwise
. – indicate where to put the decimal separator
, – indicate where to put the grouping separator
i know a implementation of such a system would eat a lot of resources and time to get right, but it can be quite useful
The text was updated successfully, but these errors were encountered: