Skip to content

Commit 6c23c82

Browse files
committed
package update
1 parent f963b32 commit 6c23c82

File tree

18 files changed

+126
-117
lines changed

18 files changed

+126
-117
lines changed

README-zh.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ MineCase
77

88
#### [English](https://github.com/dotnetGame/MineCase/blob/master/README.md) | [中文](https://github.com/dotnetGame/MineCase/blob/master/README-zh.md)
99

10-
`MineCase` 是一个跨平台、分布式的 `Minecraft` 服务端应用
10+
`MineCase` 是一个跨平台、分布式的 `Minecraft` 服务器
1111

1212
本项目使用 `.NET Core` 编写,基于 [orleans](https://github.com/dotnet/orleans) 框架。它通过 Actor 模型将各个模块分离开来,从而构建一个高效的分布式系统。
1313

1414
不同的区块由不同的服务器管理,所有的玩家都可以在同一个世界进行游戏,这位minecraft服务器带来了更多的拓展性。
1515

16-
目前仅支持 `Minecraft` [1.12](https://minecraft.net/en-us/article/minecraft-112-pre-release-6) 的版本。
16+
目前仅支持 `Minecraft` [1.15.2](https://www.minecraft.net/en-us/article/minecraft-java-edition-1-15-2)的版本。
1717

1818
![Screenshots](screenshots/1.jpg)
1919

2020
## 运行需要
21-
* [.Net Core 2.0](https://www.microsoft.com/net/download)
21+
* [.Net Core 3.1](https://www.microsoft.com/net/download)
2222
* [MongoDB](https://www.mongodb.com/download-center/community)
2323

2424
## 安装
@@ -28,7 +28,7 @@ MineCase
2828
* 2 . 下载并安装 [MongoDB](https://www.mongodb.com/download-center?jmp=nav#community)
2929
* 3 . 从 [github page](https://github.com/dotnetGame/MineCase/archive/master.zip) 下载`MineCase`(或者使用 **clone:** 指令)。
3030
```bash
31-
git clone --depth 1 https://github.com/dotnetGame/MineCase.git
31+
git clone git@github.com:dotnetGame/MineCase.git
3232
cd MineCase
3333
```
3434
* 4 . 解压 `Minecase` 压缩包.
@@ -37,19 +37,16 @@ MineCase
3737
* **Linux** : 运行 `build_and_run.sh`.
3838
* **Win** : 双击 `build_and_run.bat`.
3939

40-
## 使用docker安装
41-
* 1 . 下载并安装`Docker` [Mac](https://docs.docker.com/docker-for-mac/install/) [Linux](https://docs.docker.com/install/) [Windows](https://docs.docker.com/docker-for-windows/install/)
42-
* 2 .
40+
## 开发者
41+
![https://github.com/sunnycase](https://i.loli.net/2020/02/19/QWGu4759qeUam8c.png)![https://github.com/jstzwj](https://i.loli.net/2020/02/19/kSqmT7cFfp5Qi4L.png)![https://github.com/akemimadoka](https://i.loli.net/2020/02/19/s2GmUF7SwqzC9ER.png)![https://github.com/Alinshans](https://i.loli.net/2020/02/19/yt9DE4LT1RkweQb.png)![https://github.com/ray-cast](https://i.loli.net/2020/02/19/r42VmKzjlpaQPCc.png)![https://github.com/Melonpi](https://i.loli.net/2020/02/19/KcW4pes71AR5bqH.png)![https://github.com/zaoqi](https://i.loli.net/2020/02/19/15ByH8UoICESudh.png)
4342

44-
```bash
45-
url=https://raw.githubusercontent.com/dotnetGame/MineCase/master/build/docker/linux/docker-compose.yml
46-
curl -o docker-compose.yml $url
47-
docker-compose up
48-
```
49-
##### 建议:
50-
* 你可以输入 `docker-compose stop`停止服务器的运行。
43+
## 特别感谢
44+
* ![https://www.patreon.com/acid_chicken](https://i.loli.net/2020/02/19/qoR9anvrkNLtSY8.png) Acid Chicken
45+
* ![https://www.patreon.com/user/creators?u=4934636](https://i.loli.net/2020/02/19/KCRsaH4JTSIow29.png) Balajanovski
46+
* [![https://www.patreon.com/Gongo/creators](https://i.loli.net/2020/02/22/gH68tvU4S2JrOPL.png)](https://www.patreon.com/Gongo/creators) Gongo
5147

5248
## 参与开发
49+
5350
我们需要帮助以使MineCase更好。 您可以通过修复错误,开发新功能,改进文档来帮助我们。
5451
一些新的贡献者想知道该做些什么来帮助我们的开发。 该项目始于对Minecraft的热爱,所以我们的答案始终是“做你喜欢的事”。
5552
我们珍爱你们的帮助,更喜爱看到你们在MineCase中做着你们所热爱的工作。
@@ -60,14 +57,14 @@ MineCase
6057
我们欢迎且感谢您对我们项目的贡献。
6158

6259
* 通过e-mail联系我: [email protected]
63-
* [Discord](https://discord.gg/8Z5RSRn) : MineCase
60+
* Discord : [MineCase](https://discord.gg/8Z5RSRn)
6461
* QQ群: 667481568
6562

6663
[License (MIT)](https://raw.githubusercontent.com/dotnetGame/MineCase/master/LICENSE)
6764
-------------------------------------------------------------------------------
6865
MIT License
6966

70-
Copyright (c) 2017-2019 MineCase
67+
Copyright (c) 2017-2020 MineCase
7168

7269
Permission is hereby granted, free of charge, to any person obtaining a copy
7370
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,29 @@ MineCase
77

88
#### [English](https://github.com/dotnetGame/MineCase/blob/master/README.md) | [中文](https://github.com/dotnetGame/MineCase/blob/master/README-zh.md)
99

10-
`MineCase` is a cross-platform application with distributed server of `Minecraft`.
11-
The project is designed to create a high-performance, distributed system by using isolating different components through actor mode.
12-
Different chunks are managed by different servers so that all players can play in a world. This makes minecraft servers more scalable.
13-
Anarchy servers can allow more players to join in without waiting in queue by using distributing server.
14-
It written in `C#` with `.NET Core 2.0` env and based on `orleans` framework to work with released [1.12 protocol](https://minecraft.net/en-us/article/minecraft-112-pre-release-6).
10+
`MineCase` is a `Minecraft` server implement in dotnet core.
11+
The project is designed to create a high-performance, distributed `Minecraft` server with virtual actor provided by Orleans distributed framework.
12+
Different chunks are managed on different servers so that more players can join in and play in the same world. This makes minecraft servers more scalable.
13+
Servers like Anarchy servers can allow more players to join in without waiting in queue by using distributed server.
14+
It written in `C#` with `.NET Core 3.1` env and based on `orleans` framework to work with released [1.15.2 protocol](https://www.minecraft.net/en-us/article/minecraft-java-edition-1-15-2). The [website](https://wiki.vg/) describes the Minecraft protocol clearly.
15+
16+
**MineCase is under refactoring, so branch refactor may not work.**
1517

1618
**MineCase is not stable and lack of many features now. Please don't use MineCase in production unless you know what you're doing.**
1719

1820
![Screenshots](screenshots/1.jpg)
1921

2022
## Run Requirements
21-
* [.Net Core 2.0](https://www.microsoft.com/net/download)
23+
* [.Net Core 3.1](https://www.microsoft.com/net/download)
2224
* [MongoDB](https://www.mongodb.com/download-center/community)
2325

2426
## Install (Build From Source)
2527
* 1 . Download and install a `.NET Core sdk` from this [page](https://www.microsoft.com/net/download).
2628
* 2 . Download and install a `MongoDB` from this [page](https://www.mongodb.com/download-center?jmp=nav#community).
2729
* 3 . Download a `MineCase` archive from the [github page](https://github.com/dotnetGame/MineCase/archive/master.zip) (or **clone:**)
30+
2831
```bash
29-
git clone --depth 1 https://github.com/dotnetGame/MineCase.git
32+
git clone git@github.com:dotnetGame/MineCase.git
3033
cd MineCase
3134
```
3235
* 4 . Un-zip `Minecase` archive.
@@ -35,46 +38,45 @@ It written in `C#` with `.NET Core 2.0` env and based on `orleans` framework to
3538
* **Linux** : Run the `build_and_run.sh`.
3639
* **Win** : Double-click `build_and_run.bat`.
3740

38-
## Install (Docker)
39-
* 1 . Download and install `Docker` [Mac](https://docs.docker.com/docker-for-mac/install/) [Linux](https://docs.docker.com/install/) [Windows](https://docs.docker.com/docker-for-windows/install/).
40-
* 2 .
41+
## How it works
42+
None
4143

42-
```bash
43-
url=https://raw.githubusercontent.com/dotnetGame/MineCase/master/build/docker/linux/docker-compose.yml
44-
curl -o docker-compose.yml $url
45-
docker-compose up
46-
```
47-
##### Tips:
48-
* You can stop the server by enter `docker-compose stop`.
44+
45+
46+
## Contributors
47+
[![sunnycase](https://i.loli.net/2020/02/19/QWGu4759qeUam8c.png)](https://github.com/sunnycase)[![jstzwj](https://i.loli.net/2020/02/19/kSqmT7cFfp5Qi4L.png)](https://github.com/jstzwj)[![akemimadoka](https://i.loli.net/2020/02/19/s2GmUF7SwqzC9ER.png)](https://github.com/akemimadoka)[![Alinshans](https://i.loli.net/2020/02/19/yt9DE4LT1RkweQb.png)](https://github.com/Alinshans)[![ray-cast](https://i.loli.net/2020/02/19/r42VmKzjlpaQPCc.png)](https://github.com/ray-cast)[![Melonpi](https://i.loli.net/2020/02/19/KcW4pes71AR5bqH.png)](https://github.com/Melonpi)[![zaoqi](https://i.loli.net/2020/02/19/15ByH8UoICESudh.png)](https://github.com/zaoqi)
48+
49+
## Credits
50+
51+
**Patreon backers**
52+
53+
Wooden Pickaxe backers:
54+
55+
* [![https://www.patreon.com/acid_chicken](https://i.loli.net/2020/02/19/qoR9anvrkNLtSY8.png)](https://www.patreon.com/acid_chicken) Acid Chicken
56+
* [![https://www.patreon.com/user/creators?u=4934636](https://i.loli.net/2020/02/19/KCRsaH4JTSIow29.png)](https://www.patreon.com/user/creators?u=4934636) Balajanovski
57+
* [![https://www.patreon.com/Gongo/creators](https://i.loli.net/2020/02/22/gH68tvU4S2JrOPL.png)](https://www.patreon.com/Gongo/creators) Gongo
4958

5059
## Get Involved
60+
5161
We need help to make MineCase better. You can help us by fixing bugs, developing new features, improving documents.
5262
Some new contributors wonder what to work. The project began with the love for Minecraft, so our answer is always "do what you love".
5363

5464
## Contact
55-
  This project is still under development.
65+
This project is still under development.
5666
You can submit code by using `Pull Requests` or Feel free to contact me via `e-mail` or `issues`, I'll add your profile to team members
5767
and if you have any questions we can discuss together in the [Issues](https://github.com/dotnetGame/MineCase/issues).
5868
and also any questions you may have while using this server, or any good suggestions, can be addressed to us in [Issues](https://github.com/dotnetGame/MineCase/issues).
5969
we welcome and thank your contribution for this project.
6070

6171
* Reach me via e-mail: [email protected]
62-
* [Discord](https://discord.gg/8Z5RSRn) : MineCase
72+
* Discord : [MineCase](https://discord.gg/8Z5RSRn)
6373
* QQ Group: 667481568
6474

65-
## Credits
66-
67-
**Patreon supporters list**
68-
69-
Wooden Pickaxe Supporter:
70-
71-
- Acid Chicken
72-
7375
[License (MIT)](https://raw.githubusercontent.com/dotnetGame/MineCase/master/LICENSE)
7476
-------------------------------------------------------------------------------
7577
MIT License
7678

77-
Copyright (c) 2017-2019 MineCase
79+
Copyright (c) 2017-2020 MineCase
7880

7981
Permission is hereby granted, free of charge, to any person obtaining a copy
8082
of this software and associated documentation files (the "Software"), to deal

src/MineCase.Algorithm/MineCase.Algorithm.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
4+
<TargetFramework>netcoreapp3.1</TargetFramework>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
66
<CodeAnalysisRuleSet>../../build/Analyzers.ruleset</CodeAnalysisRuleSet>
77
<Configurations>Debug;Release;Appveyor;TravisCI</Configurations>
@@ -12,7 +12,7 @@
1212
<ItemGroup>
1313
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
1414
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" />
15-
<PackageReference Include="Stateless" Version="4.2.1" />
15+
<PackageReference Include="Stateless" Version="4.4.0" />
1616
</ItemGroup>
1717

1818
<ItemGroup>

src/MineCase.Core/MineCase.Core.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<RootNamespace>MineCase</RootNamespace>
5-
<TargetFrameworks>netstandard2.0</TargetFrameworks>
5+
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88
<CodeAnalysisRuleSet>../../build/Analyzers.ruleset</CodeAnalysisRuleSet>
@@ -17,12 +17,12 @@
1717
</ItemGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="Microsoft.Orleans.Core.Abstractions" Version="2.3.4" />
20+
<PackageReference Include="Microsoft.Orleans.Core.Abstractions" Version="3.1.0" />
2121
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
22-
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
22+
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
2323
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" />
2424
<PackageReference Include="System.Memory" Version="4.5.3" />
25-
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.2" />
25+
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.7.0" />
2626
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
2727
</ItemGroup>
2828

src/MineCase.Engine/MineCase.Server.Engine.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
4+
<TargetFramework>netcoreapp3.1</TargetFramework>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
77
<CodeAnalysisRuleSet>../../build/Analyzers.ruleset</CodeAnalysisRuleSet>
@@ -13,18 +13,18 @@
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="Microsoft.Orleans.CodeGenerator.MSBuild" Version="2.3.4">
16+
<PackageReference Include="Microsoft.Orleans.CodeGenerator.MSBuild" Version="3.1.0">
1717
<PrivateAssets>all</PrivateAssets>
1818
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
1919
</PackageReference>
20-
<PackageReference Include="Microsoft.Orleans.Core" Version="2.3.4" />
20+
<PackageReference Include="Microsoft.Orleans.Core" Version="3.1.0" />
2121
</ItemGroup>
2222

2323
<ItemGroup>
2424
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
2525
<PackageReference Include="System.Collections.Generic.MultiValueDictionary" Version="0.1.0-e170912-3" />
26-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.2.0" />
27-
<PackageReference Include="MongoDB.Bson" Version="2.8.1" />
26+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="3.1.2" />
27+
<PackageReference Include="MongoDB.Bson" Version="2.10.2" />
2828
</ItemGroup>
2929

3030
<ItemGroup>

src/MineCase.Gateway/MineCase.Gateway.csproj

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.0</TargetFramework>
5+
<TargetFramework>netcoreapp3.1</TargetFramework>
66
<ServerGarbageCollection>true</ServerGarbageCollection>
77
<ConcurrentGarbageCollection>true</ConcurrentGarbageCollection>
88
<Configurations>Debug;Release;Appveyor;TravisCI</Configurations>
@@ -33,15 +33,15 @@
3333
</ItemGroup>
3434

3535
<ItemGroup>
36-
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.2.0" />
37-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.2.0" />
38-
<PackageReference Include="Microsoft.Extensions.Logging" Version="2.2.0" />
39-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="2.2.0" />
40-
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="2.2.0" />
41-
<PackageReference Include="Microsoft.Orleans.Client" Version="2.3.4" />
42-
<PackageReference Include="Orleans.Providers.MongoDB" Version="2.4.0" />
43-
<PackageReference Include="Polly" Version="7.1.0" />
44-
<PackageReference Include="sharpcompress" Version="0.23.0" />
36+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="3.1.2" />
37+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="3.1.2" />
38+
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.2" />
39+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="3.1.2" />
40+
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="3.1.2" />
41+
<PackageReference Include="Microsoft.Orleans.Client" Version="3.1.0" />
42+
<PackageReference Include="Orleans.Providers.MongoDB" Version="3.1.1" />
43+
<PackageReference Include="Polly" Version="7.2.0" />
44+
<PackageReference Include="sharpcompress" Version="0.24.0" />
4545
<PackageReference Include="SixLabors.ImageSharp" Version="1.0.0-beta0006" />
4646
</ItemGroup>
4747

src/MineCase.Gateway/Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ await retryPolicy.ExecuteAsync(async () =>
6767
.ConfigureApplicationParts(ConfigureApplicationParts)
6868
.AddSimpleMessageStreamProvider("JobsProvider")
6969
.AddSimpleMessageStreamProvider("TransientProvider")
70+
.UseMongoDBClient(Configuration.GetSection("persistenceOptions")["connectionString"])
7071
.UseMongoDBClustering(options=>
7172
{
72-
options.ConnectionString = Configuration.GetSection("persistenceOptions")["connectionString"];
73+
options.DatabaseName = Configuration.GetSection("persistenceOptions")["databaseName"];
7374
});
7475

7576
// ConfigureApplicationParts(builder);

src/MineCase.Gateway/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"persistenceOptions": {
3-
"connectionString": "mongodb://localhost:27017/minecase"
3+
"connectionString": "mongodb://localhost:27017/minecase",
4+
"databaseName": "minecase"
45
}
56
}

src/MineCase.Nbt/MineCase.Nbt.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
66
<CodeAnalysisRuleSet>../../build/Analyzers.ruleset</CodeAnalysisRuleSet>
77
<Configurations>Debug;Release;Appveyor;TravisCI</Configurations>
@@ -10,7 +10,7 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.2" />
13+
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.7.0" />
1414
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
1515
</ItemGroup>
1616

src/MineCase.Protocol/MineCase.Protocol.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
55
<RootNamespace>MineCase</RootNamespace>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
@@ -13,13 +13,13 @@
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
16+
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
1717
<PackageReference Include="System.Buffers" Version="4.5.0" />
1818
<PackageReference Include="System.Memory" Version="4.5.3" />
1919
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" />
2020
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
21-
<PackageReference Include="sharpcompress" Version="0.23.0" />
22-
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.2" />
21+
<PackageReference Include="sharpcompress" Version="0.24.0" />
22+
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.7.0" />
2323
</ItemGroup>
2424

2525
<ItemGroup>

0 commit comments

Comments
 (0)