Added Networking API (#180)

* sent data to client

* send more data + debug + add docs + switch to handshake

* add diff between container and normal changes

* fix docs

* changes according guidelines

* make requested changes + cleanup

* correct documentation

* Improved Networking API documentation

* Moved networking API channel registration out of main class

* Cleanup

* Removed debug on chat/command lookups

* Optimized array merging

* Fixed ClassCastException when running console commands

* Skip preparing networking data if not a channel player

* Renamed "networking-debug" to "network-debug"

* Fixed failed handshake still registering players

* Adjusted networking phrases

* Renamed pluginchannel to channel

Co-authored-by: Intelli <contact@intelli.software>
This commit is contained in:
vacla 2022-03-24 01:49:46 +01:00 committed by GitHub
parent e848d65b93
commit 8cdf99429d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 554 additions and 3 deletions

View file

@ -50,6 +50,8 @@ permissions:
coreprotect.teleport: true
coreprotect.reload: true
coreprotect.status: true
coreprotect.consumer: true
coreprotect.networking: true
coreprotect.co:
description: Has permission to access the CoreProtect /co command
default: true
@ -137,4 +139,7 @@ permissions:
default: op
coreprotect.consumer:
description: Has permission to use the consumer command
default: op
coreprotect.networking:
description: Has permission to use the networking API
default: op