cfcsim / pyfsd

Pluggable flight simulation server, written in Python asyncio
https://cfcsim.github.io/pyfsd/
MIT License
6 stars 3 forks source link

Improving plugin event pass #6

Open ghost opened 11 months ago

ghost commented 11 months ago

Is your feature request related to a problem? Please describe. Writing protocol plugins like vatsim, ivao maybe a pain. If we hook event lineReceivedFromClient, it can be prevented by other plugins. If we hook event auditLineFromClient, it's always called after other plugins or PyFSD handled this event.

Describe the solution you'd like Remove PreventEvent (or not) and follow plugins' priority.

Describe alternatives you've considered No yet.

Additional context