packetHandlers = new ArrayList<>();
22 |
23 | public PacketManager() {
24 | subscribePacket(new ServiceCacheUpdatePacket());
25 | addPacketHandler(new PacketHandler() {
26 | @Override
27 | public void onSend(DataPacket packet) {}
28 |
29 | @Override
30 | public void onReceive(DataPacket packet) {
31 | if (!(packet instanceof ServiceCacheUpdatePacket)) return;
32 |
33 | JBridgeCore core = JBridgeCore.getInstance();
34 | ServiceInfo cache = core.getGson().fromJson(((ServiceCacheUpdatePacket) packet).cache, ServiceInfo.class);
35 | core.getServiceInfoCache().put(cache.getShortId(), cache);
36 | }
37 | });
38 | }
39 |
40 | public void subscribePacket(DataPacket ...packets) {
41 | Arrays.stream(packets).forEach(packet -> {
42 | JBridgeCore core = JBridgeCore.getInstance();
43 |
44 | if (!registeredPackets.containsKey(packet.getPid())) {
45 | registeredPackets.put(packet.getPid(), packet.getClass());
46 |
47 | if (core.isDebug()) {
48 | core.getLogger().debug(String.format("DataPacket \"%s:%s\" has subscribed!",
49 | packet.getPid(),
50 | packet.getClass().getSimpleName()
51 | ));
52 | }
53 |
54 | return;
55 | }
56 |
57 | core.getLogger().warn(String.format("DataPacket \"%s\" is already subscribed!",
58 | packet.getPid()
59 | ));
60 | });
61 | }
62 |
63 | public void publishPacket(DataPacket ...packets) {
64 | Arrays.stream(packets).forEach(packet -> CompletableFuture.runAsync(() -> handlePacketEncoding(packet)));
65 | }
66 |
67 | public void handlePacketEncoding(DataPacket packet) {
68 | JBridgeCore core = JBridgeCore.getInstance();
69 | packet.setSender(core.getCurrentServiceInfo().getShortId());
70 |
71 | try (Jedis jedis = core.getJedisPool().getResource()) {
72 | ByteArrayDataOutput output = ByteStreams.newDataOutput();
73 |
74 | output.writeByte(packet.getPid());
75 | packet.mainEncode(output);
76 |
77 | jedis.publish(JBridgeCore.PACKET_CHANNEL, output.toByteArray());
78 | packetHandlers.forEach(packetHandler -> packetHandler.onSend(packet));
79 |
80 | if (!core.isDebug()) return;
81 |
82 | core.getLogger().debug(String.format("DataPacket \"%s:%s\" was encoded and sent!",
83 | packet.getPid(),
84 | packet.getClass().getSimpleName()
85 | ));
86 | }
87 | }
88 |
89 | public DataPacket getPacket(byte pid) {
90 | Class extends DataPacket> classInstance = registeredPackets.get(pid);
91 | if (classInstance == null) return null;
92 |
93 | try {
94 | return classInstance.getDeclaredConstructor().newInstance();
95 | } catch (Exception e) {
96 | e.printStackTrace();
97 | }
98 | return null;
99 | }
100 |
101 | public void handlePacketDecoding(byte[] message) {
102 | ByteArrayDataInput input = ByteStreams.newDataInput(message);
103 | byte pid = input.readByte();
104 | DataPacket packet = getPacket(pid);
105 |
106 | JBridgeCore core = JBridgeCore.getInstance();
107 |
108 | if (packet == null) {
109 | if (core.isDebug()) {
110 | core.getLogger().debug(String.format("DataPacket \"%s\" is not subscribed!", pid));
111 | }
112 | return;
113 | }
114 |
115 | packet.mainDecode(input);
116 | packetHandlers.forEach(packetHandler -> {
117 | Runnable runnable = () -> packetHandler.onReceive(packet);
118 |
119 | if (packet instanceof AsyncPacket) {
120 | CompletableFuture.runAsync(runnable);
121 | } else {
122 | runnable.run();
123 | }
124 | });
125 |
126 | if (!core.isDebug()) return;
127 |
128 | core.getLogger().debug(String.format("DataPacket \"%s:%s\" was decoded and handled!",
129 | packet.getPid(),
130 | packet.getClass().getSimpleName()
131 | ));
132 | }
133 |
134 | public void addPacketHandler(PacketHandler packetHandler) {
135 | packetHandlers.add(packetHandler);
136 | }
137 | }
138 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright [yyyy] [name of copyright owner]
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 
2 |
3 |
4 |
5 | JBridge facilitates communication in minecraft bedrock networks, between Nukkit servers and WaterdogPE proxies using Redis
6 |
7 | ## Features 📃
8 |
9 | - [x] Server management system available for both clients
10 |
11 |
12 | 
13 | Example: This code is used in the same way for jbridge-lobby-nukkit and jbridge-lobby-waterdogpe.
14 |
15 | as the first parameter a list with the group of services for the lobby and as the second parameter the sort mode, in this case LOWEST, the algorithm will choose the lobby server with the lowest number of players to balance the lobby servers
16 |
17 |
18 | - [x] Packet system using message broker
19 |
20 | We have a packet system in which you can create your own packets and manage them in a simple way, of course if you are a developer, as an additional note you can create async packets, especially for tasks that can cause lag,
21 | when a packet arrives at a service, it will execute the async by calling the method "onReceive(DataPacket packet);" of your PacketHandler
22 |
23 | - [x] Lobby System, [JBirdgeLobby](https://github.com/Josscoder/JBridge/tree/release/jbridge-lobby)
24 |
25 | As an example to use jbridge, we have a lobby balancing system, compatible with nukkit and waterdogpe, from nukkit you will have the /hub command available,
26 | From waterdogpe you will have a Custom JoinHandler (which will look for a balanced server in the lobby service list and send the player) and a Custom ReconnectHandler (which will be used when the player is disconnected from an old service for some reason, and will be sent to a balanced lobby).
27 |
28 | - [x] Custom commands to manage servers/services
29 |
30 | By WaterdogPE we have the commands:
31 |
32 | - /wdlist: command waterdgope, overwritten for more compatibility with JBridge, will show the list of servers, with their ids, players, group, region and branch (PERMISSION: waterdog.command.list.permission, ALIASES: "servicelist", "services", "servers", "glist", "rglist")
33 | - /whereami: Provide information about the proxy you are on (ALIASES: "connection")
34 |
35 | By Nukkit we have the commands:
36 |
37 | - /transfer: It will send you to the server that you write, you can write the first two letters of the server and it will autocomplete (PERMISSION: jbrdige.command.transfer)
38 | - /whereami: Provide information about the server you are on (ALIASES: "connection")
39 |
40 |
41 | - [x] Custom Query and Ping events
42 |
43 | Each time a new service is added, the new available slots are added
44 |
45 | 
46 | 
47 | 
48 | 
49 |
50 | - [x] Server Cluster System
51 |
52 | As I mentioned before, jbridge can manage services by groups, you can see more about it [here](https://github.com/Josscoder/JBridge/blob/release/jbridge-common/src/main/java/me/josscoder/jbridge/service/ServiceHandler.java)
53 |
54 | - [x] Automatic server registration at WaterdogPE without the need to specify servers manually in the Waterdog config.
55 |
56 | 
57 | 
58 |
59 | - [ ] Multi-group support
60 |
61 | ## Download and setup 🛒
62 |
63 | [](https://github.com/Josscoder/JBridge/actions/workflows/maven.yml)
64 |
65 |
66 | Nukkit
67 |
68 | 1) Download the latest jbridge-nukkit.jar [here](https://github.com/Josscoder/JBridge/releases/latest)
69 | 2) Place the .jar in the plugins/ folder of your server
70 | 3) Start your server
71 | 4) Configure the service and your redis client in plugins/JBridge/config.yml
72 |
73 |
74 |
75 | Waterdog
76 |
77 | 1) Download the latest jbridge-waterdogpe.jar [here](https://github.com/Josscoder/JBridge/releases/latest)
78 | 2) Place the .jar in the plugins/ folder of your server
79 | 3) Start your server
80 | 4) Configure the service and your redis client in plugins/JBridge/config.yml
81 |
82 |
83 |
84 | How to configure
85 |
86 | ```yml
87 | debug: true #Just for development, to show the internal process of JBridge commons
88 | #recommendation to set this to false to avoid saturating the console with logs
89 |
90 | redis: #the configuration of your redis
91 | hostname: "localhost"
92 | port: 6379
93 | password: "yourpasswordhere"
94 |
95 | service: #configuration of your service
96 | id: "hub-1" #the id of your service, if you remove this section, the system will generate a custom id each time the plugin is enabled
97 | group: "hub" #the group your service belongs to
98 | region: "us" #the region to which your service belongs
99 | branch: "dev" #the branch of your service, if it is "dev" the address will automatically change to "127.0.0.1"
100 | address: "0.0.0.0" #the address of your service, if you remove this section you will get the address that is in server.propierties
101 | ```
102 |
103 |
104 | ## For developers 🧑💻
105 | ### Add JBridge to your project
106 |
107 | [](https://jitpack.io/#Josscoder/JBridge)
108 |
109 | ### Common
110 | ```xml
111 |
112 |
113 | jitpack.io
114 | https://jitpack.io
115 |
116 |
117 |
118 |
119 |
120 | com.github.Josscoder.JBridge
121 | jbridge-common
122 | TAG
123 |
124 |
125 | ```
126 |
127 | ### Nukkit
128 | ```xml
129 |
130 |
131 | jitpack.io
132 | https://jitpack.io
133 |
134 |
135 |
136 |
137 |
138 | com.github.Josscoder.JBridge
139 | jbridge-nukkit
140 | TAG
141 |
142 |
143 | ```
144 |
145 | ### WaterdogPE
146 | ```xml
147 |
148 |
149 | jitpack.io
150 | https://jitpack.io
151 |
152 |
153 |
154 |
155 |
156 | com.github.Josscoder.JBridge
157 | jbridge-waterdogpe
158 | TAG
159 |
160 |
161 | ```
162 |
163 | ### Code examples
164 |
165 |
166 | Register packets
167 |
168 | ```java
169 | import com.google.common.io.ByteArrayDataInput;
170 | import com.google.common.io.ByteArrayDataOutput;
171 | import me.josscoder.jbridge.JBridgeCore;
172 | import me.josscoder.jbridge.packet.DataPacket;
173 | import me.josscoder.jbridge.packet.PacketManager;
174 |
175 | public class Test {
176 |
177 | static class HelloWorldPacket extends DataPacket {
178 |
179 | public String message;
180 |
181 | public HelloWorldPacket() {
182 | super((byte) 0x53);
183 | }
184 |
185 | @Override
186 | public void encode(ByteArrayDataOutput output) {
187 | output.writeUTF(message);
188 | }
189 |
190 | @Override
191 | public void decode(ByteArrayDataInput input) {
192 | message = input.readUTF();
193 | }
194 | }
195 |
196 | public static void main(String[] args) {
197 | PacketManager packetManager = JBridgeCore.getInstance().getPacketManager();
198 |
199 | packetManager.subscribePacket(new HelloWorldPacket());
200 | }
201 | }
202 | ```
203 |
204 |
205 | Register PacketHandlers
206 |
207 | ```java
208 | import com.google.common.io.ByteArrayDataInput;
209 | import com.google.common.io.ByteArrayDataOutput;
210 | import me.josscoder.jbridge.JBridgeCore;
211 | import me.josscoder.jbridge.packet.DataPacket;
212 | import me.josscoder.jbridge.packet.PacketHandler;
213 | import me.josscoder.jbridge.packet.PacketManager;
214 |
215 | public class Test {
216 |
217 | static class HelloWorldPacket extends DataPacket {
218 |
219 | public String message;
220 |
221 | public HelloWorldPacket() {
222 | super((byte) 0x53);
223 | }
224 |
225 | @Override
226 | public void encode(ByteArrayDataOutput output) {
227 | output.writeUTF(message);
228 | }
229 |
230 | @Override
231 | public void decode(ByteArrayDataInput input) {
232 | message = input.readUTF();
233 | }
234 | }
235 |
236 | public static void main(String[] args) {
237 | PacketManager packetManager = JBridgeCore.getInstance().getPacketManager();
238 |
239 | packetManager.subscribePacket(new HelloWorldPacket());
240 |
241 | packetManager.addPacketHandler(new PacketHandler() {
242 | @Override
243 | public void onSend(DataPacket packet) {
244 | if (packet instanceof HelloWorldPacket) {
245 | System.out.println("Sending hello world message!!");
246 | }
247 | }
248 |
249 | @Override
250 | public void onReceive(DataPacket packet) {
251 | if (packet instanceof HelloWorldPacket) {
252 | System.out.println(((HelloWorldPacket) packet).message);
253 | }
254 | }
255 | });
256 | }
257 | }
258 | ```
259 |
260 |
261 | Using AsyncPacket
262 |
263 | ```java
264 | import com.google.common.io.ByteArrayDataInput;
265 | import com.google.common.io.ByteArrayDataOutput;
266 | import me.josscoder.jbridge.JBridgeCore;
267 | import me.josscoder.jbridge.packet.AsyncPacket;
268 | import me.josscoder.jbridge.packet.DataPacket;
269 | import me.josscoder.jbridge.packet.PacketHandler;
270 | import me.josscoder.jbridge.packet.PacketManager;
271 |
272 | public class Test {
273 |
274 | static class HelloWorldPacket extends DataPacket implements AsyncPacket {
275 |
276 | public String message;
277 |
278 | public HelloWorldPacket() {
279 | super((byte) 0x53);
280 | }
281 |
282 | @Override
283 | public void encode(ByteArrayDataOutput output) {
284 | output.writeUTF(message);
285 | }
286 |
287 | @Override
288 | public void decode(ByteArrayDataInput input) {
289 | message = input.readUTF();
290 | }
291 | }
292 |
293 | public static void main(String[] args) {
294 | PacketManager packetManager = JBridgeCore.getInstance().getPacketManager();
295 |
296 | packetManager.subscribePacket(new HelloWorldPacket());
297 |
298 | packetManager.addPacketHandler(new PacketHandler() {
299 | @Override
300 | public void onSend(DataPacket packet) {
301 | if (packet instanceof HelloWorldPacket) {
302 | System.out.println("Sending hello world message!!");
303 | }
304 | }
305 |
306 | @Override
307 | public void onReceive(DataPacket packet) {
308 | if (packet instanceof HelloWorldPacket) {
309 | System.out.println("HI!! receiving async packet " + ((HelloWorldPacket) packet).message);
310 | }
311 | }
312 | });
313 | }
314 | }
315 | ```
316 |
317 |
318 | ### Included libraries 🛠️
319 |
320 | - [Lombok: Used as Annotation library](https://projectlombok.org/)
321 | - [Jedis: Used as Message Broker](https://github.com/redis/jedis)
322 | - [Google Guava: Used as coder, decoder & cache handler](https://github.com/google/guava)
323 | - [WaterdogPE: Minecraft Bedrock Proxy](https://github.com/WaterdogPE/WaterdogPE)
324 | - [Nukkit: Minecraft Bedrock Software](https://github.com/CloudburstMC/Nukkit)
325 |
326 | ## Credits 🙋♂️🙋♀️
327 |
328 | - [DinamycServers: cache handler & redis implementation](https://github.com/theminecoder/DynamicServers)
329 | - [PacketListenerAPI: packet handler system](https://www.spigotmc.org/resources/api-packetlistenerapi.2930/)
330 | - [NetherGames: Inspiration](https://forums.nethergames.org/threads/netsys-network-communication-system.10514/)
331 |
332 | ## License 🚩
333 | JBridge is licensed under the permissive Apache License 2.0 LICENSE. Please see [`LICENSE`](https://github.com/Josscoder/JBridge/blob/release/LICENSE) for more information.
334 |
--------------------------------------------------------------------------------