Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TyphoonMC/TyphoonCore
Lightweight minecraft server engine
https://github.com/TyphoonMC/TyphoonCore
go library minecraft minecraft-server
Last synced: 3 months ago
JSON representation
Lightweight minecraft server engine
- Host: GitHub
- URL: https://github.com/TyphoonMC/TyphoonCore
- Owner: TyphoonMC
- License: gpl-2.0
- Created: 2018-07-20T15:08:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-22T06:16:20.000Z (about 2 years ago)
- Last Synced: 2024-06-21T17:07:11.577Z (5 months ago)
- Topics: go, library, minecraft, minecraft-server
- Language: Go
- Size: 758 KB
- Stars: 61
- Watchers: 5
- Forks: 15
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TyphoonCore
## Lightweight minecraft server engine[![Build Status](https://travis-ci.org/TyphoonMC/TyphoonLimbo.svg?branch=master)](https://travis-ci.org/TyphoonMC/TyphoonCore)
![stability-wip](https://img.shields.io/badge/stability-work_in_progress-lightgrey.svg)
----
### Minecraft protocol support| Minecraft Version | Protocol Version | Supported |
|-------------------|------------------|-----------|
| 1.7.2 to 1.7.5 | 4 | true |
| 1.7.6 to 1.7.10 | 5 | true |
| 1.8 to 1.8.9 | 47 | true |
| 1.9 | 107 | true |
| 1.9.1 | 108 | true |
| 1.9.2 | 109 | true |
| 1.9.3 to 1.9.4 | 110 | true |
| 1.10 to 1.10.2 | 210 | true |
| 1.11 | 315 | true |
| 1.11.1 to 1.11.2 | 316 | true |
| 1.12 | 335 | true |
| 1.12.1 | 338 | true |
| 1.12.2 | 340 | true |
| 1.13 | 393 | true |
| 1.13.1 | 401 | true |
| 1.13.2 | 404 | true |
| 1.14 | 477 | true |
| 1.14.1 | 480 | true |
| 1.14.2 | 485 | true |
| 1.14.3 | 490 | true |
| 1.14.4 | 498 | true |
| 1.15 | 573 | true |
| 1.15.1 | 575 | true |
| 1.15.2 | 578 | true |#### Snapshot support
TyphoonCore is able to load [TyphoonDep protocol-map modules](https://github.com/TyphoonMC/TyphoonDep/tree/master/protocol-map) to add a partial snapshots support.All json files are loaded from the "modules" folder in the same directory as the TyphoonLimbo binary.
You can generate a protocol-map module with the [fetcher](https://github.com/TyphoonMC/TyphoonDep/tree/master/protocol-map/fetcher). Just pick the "page" link of your wanted version on [wiki.vg](http://wiki.vg/Protocol_version_numbers) as argument of the fecther and the magic will happen.
### How to use
```shell
go get github.com/TyphoonMC/TyphoonCore
```#### Example
```go
package mainimport (
"fmt"
t "github.com/TyphoonMC/TyphoonCore"
)func main() {
core := t.Init()
core.SetBrand("exampleserver")core.On(func(e *t.PlayerJoinEvent) {
msg := t.ChatMessage("Welcome ")
msg.SetExtra([]t.IChatComponent{
t.ChatMessage(e.Player.GetName()),
t.ChatMessage(" !"),
})
e.Player.SendMessage(msg)
})core.Start()
}
```Other examples :
- [TyphoonBlog](https://github.com/TyphoonMC/TyphoonBlog)
- [TyphoonLimbo](https://github.com/TyphoonMC/TyphoonLimbo)### Roadmap
- [ ] User friendly API
- [ ] World loading
- [ ] Multiworld
- [ ] Entities
- [ ] Physics
- [ ] Biomes
- [ ] Redstone
- [ ] Pistons