diff --git a/docs/server/messages/index.md b/docs/server/messages/index.md index f19bcbea..b1800084 100644 --- a/docs/server/messages/index.md +++ b/docs/server/messages/index.md @@ -18,14 +18,48 @@ Messages are formatted the same as [a standard IRCv3 message](https://ircv3.net/ This page only lists server messages. For details on user commands that may be sent across the network see the core commands page ([v4 docs](/4/commands), [v3 docs](/3/commands)) or for a specific module please refer to the appropriate page for that module ([v4 docs](/4/modules), [v3 docs](/3/modules)). +### Core Protocol + +These messages are provided by the spanningtree module and are always available. + + + + + + + + +{% for msg in server_messages if not msg.module -%} +{% if msg.source is defined %} +{% set prefix = ":<" ~ msg.source ~ ">" %} +{% else %} +{% set prefix = "[:]" %} +{% endif %} + + +{% if msg.syntax is not defined %} + +{% else %} + +{% endif %} + +{% endfor %} + +
NameSyntax
[{{ msg.name }}](/server/messages/{{ msg.name | lower }}/)`{{ prefix }} {{ msg.name }}`{% for syntax in msg.syntax.text %}`{{ prefix }} {{ msg.name }} {{ syntax }}`{% if not loop.last %}
{% endif %}{% endfor %}
+ +### Module Extensions + +These messages are extensions provided by an optional module which you can load to obtain more features. + + -{% for msg in server_messages -%} +{% for msg in server_messages if msg.module -%} {% if msg.source is defined %} {% set prefix = ":<" ~ msg.source ~ ">" %} {% else %} @@ -33,6 +67,7 @@ This page only lists server messages. For details on user commands that may be s {% endif %} + {% if msg.syntax is not defined %} {% else %}
NameModule Syntax
[{{ msg.name }}](/server/messages/{{ msg.name | lower }}/){{ msg.module }}`{{ prefix }} {{ msg.name }}`