Back to rankings

jwpttcg66/NettyGameServer

Java

使用netty4.X实现的手机游戏分布式服务器,支持tcp,udp,http,websocket链接,采用protobuf自定义协议栈进行网络通信,支持rpc远程调用,使用mybatis3支持db存储分库分表,支持异步mysql存储,db保存时同步更新reids缓存。 使用ExcelToCode工程,将excel数据生成java类和json数据字典,DictService直接读取json,减少数据字典部分代码。使用game-executor工程,增加游戏内的异步事件全局服务, 支持事件sharding,均衡的异步执行事件逻辑

game-servergameserverrpcservernetty-game-servernetty-servernettygamegame-dbredisasync-dbgame-proxynettyhttp-server
Star Growth
Stars
1.7k
Forks
676
Weekly Growth
Issues
0
5001k1.5k
Jan 2023Mar 2024May 2025Jul 2026
ArtifactsMavengit clone https://github.com/jwpttcg66/NettyGameServer.git
README

NettyGameServer

  • 使用netty4.X实现的手机游戏服务器,支持tcp,udp,http,websocket链接,采用protobuf自定义协议栈进行网络通信,支持rpc远程调用,使用mybatis3支持db存储分库分表,支持异步mysql存储,db保存时同步更新reids缓存。
  • 使用ExcelToCode工程,将excel数据生成java类和json数据字典,DictService直接读取json,减少数据字典部分代码。
  • 使用game-executor工程,增加游戏内的异步事件全局服务,支持事件sharding,均衡的异步执行事件逻辑
  • 使用netty的proxy模式,增加网关代理转发
  • master-spring-boot 分支支持spring boot
  • 增加cocos creator网络链接示例工程

Wiki/文档

源码工具链接

贡献源码&合作&交流

  • 作者qq 330258845
  • QQ群:310158485(已满) 513178622

avatar

Related repositories
azerothcore/azerothcore-wotlk

Complete Open Source and Modular solution for MMO

C++GNU General Public License v2.0azerothcoretrinitycore
azerothcore.org
8.6k3.6k
Pumpkin-MC/Pumpkin

Empowering everyone to host fast and efficient Minecraft servers.

Rustcrates.ioGNU General Public License v3.0minecraftminecraft-server
pumpkinmc.org
8.1k573
aceld/zinx

A lightweight concurrent server framework based on Golang.

GoGo ModulesMIT Licensegozinx
github.com/aceld/zinx/wiki
7.7k1.3k
colyseus/colyseus

⚔ Multiplayer Framework for Node.js

TypeScriptnpmMIT Licensecolyseusmultiplayer
colyseus.io
7.1k652
agones-dev/agones

Dedicated Game Server Hosting and Scaling for Multiplayer Games on Kubernetes

GoGo ModulesApache License 2.0dedicated-gameserverskubernetes
agones.dev
6.9k936
gonglei007/GameDevMind

最全面的游戏开发技术图谱(Game Development Map)。帮助游戏开发者们在已知问题上节省时间,省出更多的精力投入到更有创造性的工作中去。

C++MIT Licensegame-developmentunity3d
6.4k650
googleforgames/agones

Dedicated Game Server Hosting and Scaling for Multiplayer Games on Kubernetes

GoGo ModulesApache License 2.0dedicated-gameserverskubernetes
agones.dev
6.2k831
kbengine/kbengine

A MMOG engine of server.

COtherkbengineunity3d
kbengine.github.io
5.7k2.3k
name5566/leaf

A game server framework in Go (golang)

GoGo ModulesApache License 2.0leafgo
5.5k1.3k
GameServerManagers/LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.

ShellMIT Licenseshellgaming
linuxgsm.com
4.9k862
ketoo/NoahGameFrame

A fast, scalable, distributed game server engine/framework for C++, include the actor library, network library, can be used as a real time multiplayer game engine ( MMO RPG/MOBA ), which support C#/Lua script/ Unity3d, Cocos2dx and plan to support Unreal.

C++Apache License 2.0server-architectureunity3d
github.com/ketoo/NoahGameFrame/wiki
4.1k1.1k
rathena/rathena

rAthena is an open-source cross-platform MMORPG server.

C++GNU General Public License v3.0rathenac-plus-plus
rathena.org/board/
3.5k2.7k