Skip to content

congcoi123/tenio-core

Repository files navigation

TenIO Core Module Tweet

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

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

License

The TenIO project is currently available under the MIT License.

Changelog

Please check out the changelog for more details.

Contributing

Please check out the checklist and contributing guideline for more details.

Installation

$ git clone https://github.com/congcoi123/tenio-core.git

Happy coding !