Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

FoxBukkit/FoxBukkitChatLink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FoxBukkitChatLink

┌ ─ ─ ─ ─ ─ ┐     ┌ ─ ─ ─ ─ ─ ┐    ┌───────────┐     ┌───────────┐              
  MC Client         MC Client      │ MC Client │     │ MC Client │              
└ ─ ─ ─ ─ ─ ┘     └ ─ ─ ─ ─ ─ ┘    └───────────┘     └───────────┘              
      ▲                 ▲                ▲                 ▲                    
                                         │                 │                    
      └ ─ ─ ─ ─ ─ ─ ─ ─ ┘                └────────┬────────┘                    
               │                                  │                             
                                                  │                             
               ▼                                  ▼                             
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐    ┌─────────────────────────────┐              
                                   │                             │              
│          MC Server          │    │          MC Server          │              
                                   │                             │              
├ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┤    ├──────────────┬──────────────┤              
    CMO sub    │   CMI push        │   CMO sub    │   CMI push   │              
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘    └──────────────┴──────────────┘              
        ▲                                  ▲              │                     
        │           │                      │              │                     
         ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─│                     
                                           │              │                     
                                           │              ▼                     
                                   ┌──────────────┬──────────────┐              
                           ┌───────│   CMO pub    │   CMI pull   │◀─────┐       
                           │       ├──────────────┴──────────────┤      │       
                           │       │                             │      │       
                           │       │       ChatLinkWorker        │      │       
                           │       │      (can be multiple)      │      │       
                           │       │                             │      │       
                           │       └─────────────────────────────┘      │       
                           │                                            │       
                           ▼                                            │       
                   ┌──────────────┐                             ┌──────────────┐
                   │   CMO sub    │                             │   CMI push   │
                   ├──────────────┤    ┌────────────────────┐   ├──────────────┤
                   │              │    │                    │   │              │
                   │  API Daemon  │───▶│ API message cache  │──▶│  API Server  │
                   │              │    │                    │   │              │
                   └──────────────┘    └────────────────────┘   ├──────────────┤
                                                                │  JSON HTTP   │
  ┌────────────────────────────────────────┐                    └──────────────┘
  │                                        │                            ▲       
  │CMO: ChatMessageOut                     │         ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─│       
  │Formatted chat message with parameters  │         ▼                  ▼       
  │                                        │ ┌ ─ ─ ─ ─ ─ ─ ─    ┌──────────────┐
  │CMI: ChatMessageIn                      │    JSON HTTP   │   │  JSON HTTP   │
  │Raw chat message from a user            │ ├ ─ ─ ─ ─ ─ ─ ─    ├──────────────┤
  │                                        │                │   │              │
  │ProtoBuf used for encoding              │ │  API Client      │  API Client  │
  │                                        │                │   │              │
  └────────────────────────────────────────┘ └ ─ ─ ─ ─ ─ ─ ─    └──────────────┘

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •