Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/congcoi123/tenio-core
The core module is for the TenIO framework.
https://github.com/congcoi123/tenio-core
game-development gameserver java java11 jetty kcp kcp-java netty nio tcp tenio udp websocket
Last synced: 4 months ago
JSON representation
The core module is for the TenIO framework.
- Host: GitHub
- URL: https://github.com/congcoi123/tenio-core
- Owner: congcoi123
- License: mit
- Created: 2021-10-10T13:27:44.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-10T18:41:22.000Z (9 months ago)
- Last Synced: 2024-10-01T08:01:20.858Z (4 months ago)
- Topics: game-development, gameserver, java, java11, jetty, kcp, kcp-java, netty, nio, tcp, tenio, udp, websocket
- Language: Java
- Homepage: https://congcoi123.dev
- Size: 1.12 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# TenIO Core Module [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=TenIO%20is%20a%20java%20NIO%20based%20server%20specifically%20designed%20for%20multiplayer%20games.%0D%0A&url=https://github.com/congcoi123/tenio%0D%0A&hashtags=tenio,java,gameserver,multiplayer,nio,netty,jetty,msgpack,cocos2dx,unity,libgdx,phaserjs%0D%0A&via=congcoi123)
[`TenIO`](https://github.com/congcoi123/tenio) is an open-source project to create multiplayer online games that includes a java NIO (Non-blocking I/O)
based server specifically designed for multiplayer games, which supports UDP, TCP, Websocket, HTTP transports, and available simple client projects for quick development.This module provides all the main features for the framework to operate. It contains an NIO mechanism, server configuration solution, events handling, and other necessary functions that you may find helpful.
## All supported events
```txt
EventAccessDatagramChannelRequestValidation
EventAccessDatagramChannelRequestValidationResult
EventAccessKcpChannelRequestValidation
EventAccessKcpChannelRequestValidationResult
EventConnectionEstablishedResult
EventDisconnectConnection
EventDisconnectPlayer
EventFetchedBandwidthInfo
EventFetchedCcuInfo
EventPlayerAfterLeftRoom
EventPlayerBeforeLeaveRoom
EventPlayerJoinedRoomResult
EventPlayerLoggedinResult
EventPlayerReconnectedResult
EventPlayerReconnectRequestHandle
EventReceivedMessageFromPlayer
EventRoomCreatedResult
EventRoomWillBeRemoved
EventSendMessageToPlayer
EventServerException
EventServerInitialization
EventServerTeardown
EventSocketConnectionRefused
EventSwitchParticipantToSpectatorResult
EventSwitchSpectatorToParticipantResult
EventSystemMonitoring
EventWebSocketConnectionRefused
EventWriteMessageToConnection
```## Requirements
- Java 17## Dependencies
- HTTP [Jetty](https://eclipse.dev/jetty)
- Websocket [Netty](https://netty.io)
- KCP [KCP Java](https://github.com/l42111996/java-Kcp)## License
The [`TenIO`](https://github.com/congcoi123/tenio) project is currently available under the [MIT](LICENSE) License.## Changelog
Please check out the [changelog](CHANGELOG.md) for more details.## Contributing
Please check out the [checklist](CHECKLIST.md) and [contributing guideline](CONTRIBUTING.md) for more details.## Installation
```sh
$ git clone https://github.com/congcoi123/tenio-core.git
```> Happy coding !