bravoserver / bravo

UNMAINTAINED: Reverse-engineered Minecraft stuff. Worked with 1.4.x protocol
http://bravoserver.org/
Other
205 stars 45 forks source link

Parsers For Chat Plugins #440

Open edunham opened 10 years ago

edunham commented 10 years ago

from a conversation in #bravo (https://gist.github.com/edunham/6856310)


< simpson>| * Plugin addressing for chat is very ad-hoc and fragile. I'd like to have some sort of system where each chat plugin hands back a parser, argparse-style, and we chain subparsers to parse chat. As a bonus, this would let us also parse CLI commands and IRC commands the same way. It'll require some elbow grease to bang argparse into submission.