Updated NATS Channels (markdown)

Logan
2018-03-12 00:50:00 -07:00
parent 48426b0728
commit 28ab8f3df9
+10 -3
@@ -2,10 +2,17 @@ Note that NATS is currently on an experimental branch
PUB and SUB are from the perspective of a third party client. So, if PUB is yes, that means it is expected that a third party client will publish messages to this channel, and it is the emulator's responsibility to subscribe to the message (and reply if the channel is designed this way). PUB and SUB are from the perspective of a third party client. So, if PUB is yes, that means it is expected that a third party client will publish messages to this channel, and it is the emulator's responsibility to subscribe to the message (and reply if the channel is designed this way).
**Channel**|**PUB**|**SUB**|**Proto**|**Description** ### Global Scoped
* **global.admin_message.out** - eqproto::AdminMessage - Admin related communication. This is called from both zone and world, and may contain sensitive information, designed to be sent to an administrator-only channel. (hacker, zone bootup, new account creations, etc)
### World Scoped
* **world.command_message.in** - eqproto::CommandMessage - Send a command. Commands are as follows:
* who - Who is currently online
### Zone Scoped
**Channel**|**IN**|**OUT**|**Proto**|**Description**
:---|:---|:---|:---|:----- :---|:---|:---|:---|:-----
daily_gain|No|Yes|DailyGain|Daily gain messages. Triggers when exp or money is lost/gain. Sent from zone/world.
admin_message|No|Yes|ChannelMessage|Admin related communication. This is called from both zone and world, and may contain sensitive information, designed to be sent to an administrator-only channel. (hacker, zone bootup, new account creations, etc)
world.command_message|Yes|No|CommandMessage|Request a reply of executing a command message world.command_message|Yes|No|CommandMessage|Request a reply of executing a command message
world.channel_message|Yes|Yes|ChannelMessage|Send a channel message to world, which will then relay to all zones world.channel_message|Yes|Yes|ChannelMessage|Send a channel message to world, which will then relay to all zones
zone.admin_message|Yes|No|AdminMessage|Request reply of executing an admin message zone.admin_message|Yes|No|AdminMessage|Request reply of executing an admin message