MiracleM4n/mChatSuite — Issue #4: Feature: /list Cleanup and Organization
Author: don4of4
Created: 2011-12-02 05:51:12+00:00
State: open

This is an example of what the list command outputs on my server:

default: Nyancat247, cornchip64, Lharoi, michael0z, nozz123, Jamer91, CesaraLynn, phelixxminhkhoa, ondinren, AimlessComa, wanker123456789, Rytech2, ledogen, princeofdaylight, EagleFox, ub3rs4m, thetevinantor, Lsloke, amazingdizzo, I3lincIecI, Droid2o0, exlasis, YellowSnow16, SuperCyp, kkaw,
CONSOLE: Executive: [Executive] C0MMAND0, [Executive] HowieDoIt, [Executive] Ryaneezy, [Executive] KoolJohn, [Executive] CrimsonMagi,
King: [King] WogWorld, [King] HANSofWAR92,
Supporter: [Supporter] Chuunks,
VIP: [VIP] Nahte27,
EliteMod: [EliteMod] TheSexyAlbatross (Staff),
Moderator: [Mod] ulvak (Staff), AFK][Mod] Nach0z (Staff),

It's a great start, but it has three issues. First, the groups are not in the order I wish. Second, the linebreaks waste too much space and third the default group gets excessively long blocking the "X player are online" message. So, here's the solution...

* Implement a way to order the groups. Perhaps another file for this with the groups and defined indexes.

* Implement a "group_collapse" format for /list to remove line breaks and replace them with a ||| or something like that.

* Implement a permission (or use the "new file" from above) so that the admin can define collapse-able groups. SO, instead of print all all regular users, if the server has over X players in this group, it would collapse and say "34 Users" rather than all the names.