Skip to content

Added Chinese translations in /book-cn #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 58 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
af6651d
Update 1 - Introduction.html
peg195 Jun 20, 2023
d7aea01
Update 2 - What is Cuberite.html
peg195 Jun 20, 2023
e813b2a
Update 3 - History.html
peg195 Jun 20, 2023
dc02fec
Update 1 - Pre-Compiled Builds.html
peg195 Jun 20, 2023
406b5d2
Update 2 - Compiling Cuberite Yourself.html
peg195 Jun 20, 2023
812b22d
Update 3 - Running Cuberite.html
peg195 Jun 20, 2023
4c67d58
Update 1 - Configuration Overview.html
peg195 Jun 20, 2023
36c8e08
Update 2 - Permissions.html
peg195 Jun 20, 2023
be02a37
Update 3 - WebAdmin.html
peg195 Jun 20, 2023
22b1c31
Update 4 - Worlds.html
peg195 Jun 20, 2023
7007097
Update 5 - Plugins.html
peg195 Jun 20, 2023
27bf28c
Update 1 - What is world.ini.html
peg195 Jun 20, 2023
bf1fc6c
Update 1 - What is world.ini.html
peg195 Jun 28, 2023
2182fed
Update 10 - Weather.html
peg195 Jun 28, 2023
efe02d2
Update 11 - Generator.html
peg195 Jun 28, 2023
5310f12
Update README.md
peg195 Jun 28, 2023
24b47dc
Update README.md
peg195 Jun 28, 2023
06f53c7
Update README.md
peg195 Jun 28, 2023
2be1fd6
Update 11 - Generator.html
peg195 Jun 28, 2023
7e70257
Update 12 - Other.html
peg195 Jun 28, 2023
1b4f0ea
Update 13 - Example Configurations.html
peg195 Jun 28, 2023
e90250d
Update 2 - General.html
peg195 Jun 28, 2023
d24d2e0
Update 3 - Broadcasting.html
peg195 Jun 28, 2023
3a8dabe
Update 4 - SpawnPosition.html
peg195 Jun 28, 2023
509dd1e
Update 5 - Storage.html
peg195 Jun 29, 2023
1cc852b
汉化了一些词句
peg195 Jun 29, 2023
b7549f5
汉化了一些词句
peg195 Jun 29, 2023
c92af0c
汉化了一些词句/选项
peg195 Jun 29, 2023
8ecb773
Update 8 - Mechanics.html
peg195 Jun 29, 2023
36effee
Update 9 - Monsters.html
peg195 Jun 29, 2023
e24d8f8
Update 1 - Multiworlds Overview.html
peg195 Jun 29, 2023
5db2a4d
Update 2 - Traveling by Command.html
peg195 Jun 29, 2023
caea56d
Update 3 - Linking Worlds Without Plugins.html
peg195 Jun 29, 2023
7d18f17
Update 4 - Linking Worlds with a Plugin.html
peg195 Jun 29, 2023
9df2bd6
Update 5 - Bungeecord.html
peg195 Jun 29, 2023
4a124ab
Create SECURITY.md
peg195 Jun 29, 2023
fddbcd4
Rename 1 - Introduction.html to 1 - Introduction-cn.html
peg195 Jun 29, 2023
bf9fbdc
Rename 2 - What is Cuberite.html to 2 - What is Cuberite-cn.html
peg195 Jun 29, 2023
b6a6bc5
Rename 3 - History.html to 3 - History-cn.html
peg195 Jun 29, 2023
cbf7f05
Rename 1 - Introduction-cn.html to 1 - Introduction.html
peg195 Jun 29, 2023
87c4396
Rename 2 - What is Cuberite-cn.html to 2 - What is Cuberite.html
peg195 Jun 29, 2023
93e7473
Rename 3 - History-cn.html to 3 - History.html
peg195 Jun 29, 2023
b8277a1
Update README.md
peg195 Jun 29, 2023
1674d86
Delete SECURITY.md
peg195 Jun 29, 2023
180c98e
Update 10 - Weather.html
peg195 Jun 29, 2023
8c3f0c8
Update 12 - Other.html
peg195 Jun 29, 2023
59b4d5a
Update 2 - General.html
peg195 Jun 29, 2023
87b5384
Update 3 - Broadcasting.html
peg195 Jun 29, 2023
18d31cf
Update 4 - SpawnPosition.html
peg195 Jun 29, 2023
30ee986
Update 5 - Storage.html
peg195 Jun 29, 2023
b7f428f
Update 6 - Plants.html
peg195 Jun 29, 2023
f72f128
Update 7 - Physics.html
peg195 Jun 29, 2023
9ae48a9
Update 1 - What is world.ini.html
peg195 Jun 29, 2023
6f0ba7f
Add files via upload
peg195 Jun 29, 2023
b994f7b
Delete book directory
peg195 Jun 29, 2023
d2dc51a
Delete README.md
peg195 Jun 29, 2023
d1db570
Add files via upload
peg195 Jun 29, 2023
2f2fce7
Add files via upload
peg195 Jun 29, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions book-cn/0 - Introduction/1 - Introduction.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<p>
这是Cuberite用户手册。它旨在作为有关如何
操作Cuberite的基础知识,以及一些高级的介绍
特征。它分为主要部分以及更详细的部分
小节,这些小节在 {{TOC - 目录}} 中列出。
第一部分涉及下载,安装和运行Cuberite。
第二部分是配置 Cuberite 的概述。阅读这两个
部分足以让您入门。其余部分涵盖更多内容
更深入的高级功能和更多配置选项。
</p>

<p>
与Cuberite本身一样,本手册正在积极开发中,您可以
如果您发现错误或遗漏,请自行贡献或提交问题
<a href=“https://github.com/cuberite/users-manual”>GitHub Repository</a>.
如果您使用的是印刷版本,请注意此版本的最新版本
手册始终可用<a href=“https://book.cuberite.org/”>online</a>。
</p>

<h4>资源</h4>

<ul>
<li><a href="https://cuberite.org/">Cuberite主页</a></li>
<li><a href="https://forum.cuberite.org/">论坛</a></li>
<li><a href="https://forum.cuberite.org/forum-2.html">插件存储库</a></li>
<li><a href="https://forum.cuberite.org/thread-1435.html">服务器列表</a></li>
<li><a href="https://forum.cuberite.org/thread-2146.html">开发进展</a></li>
<li><a href="https://forum.cuberite.org/thread-2504.html">防撞提示</a></li>
<li><a href="mailto:[email protected]">支持邮箱地址</a></li>
</ul>

<h4>开发人员资源</h4>

<ul>
<li><a href="https://api.cuberite.org/Writing-a-Cuberite-plugin.html">编写您的第一个插件</a></li>
<li><a href="https://api.cuberite.org/">插件 API 文档</a></li>
<li><a href="https://github.com/cuberite/cuberite">Github存储库</a></li>
</ul>
7 changes: 7 additions & 0 deletions book-cn/0 - Introduction/2 - What is Cuberite.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<p>
Cuberite是一个与Minecraft Java版兼容的免费开源(FOSS)游戏服务器。Cuberite 在设计时考虑了性能、可配置性和可扩展性,旨在准确重现大多数原版功能。服务器是用C++编写的,并且有一个广泛的插件系统,允许用户使用 Lua 编写自己的插件。事实上,许多内置命令都是由 Core 插件实现的,它有自己的 <a href=“https://github.com/cuberite/Core”>GitHub 存储库</a>和开发人员社区。有关插件系统以及如何使用它以及如何开发的更多信息,请参阅{{2.4 - Plugins}}.
</p>

<p>
今天,Cuberite依靠其<a href=“https://github.com/cuberite/cuberite/blob/master/CONTRIBUTORS”>贡献者和插件开发人员而生存</a>。如果你想奖励开发人员的工作,你应该在<a href=“https://liberapay.com/Cuberite”>Liberapay上设置捐款</a>。
</p>
27 changes: 27 additions & 0 deletions book-cn/0 - Introduction/3 - History.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<p>
Cuberite由<a href=“https://www.fancyaddress.com/”>FakeTruth于2010年底创建</a>,原名“MCServer”,作为原版服务器的替代品,旨在提高性能和可配置性。它后来是开源的,其他开发人员开始做出贡献。
</p>

<p>
2013年夏天,MCServer的主存储库从Google Code迁移到GitHub,并引入了新的构建系统。大约在那个时候,几个新的开发人员也加入了该项目,该项目的成员和受欢迎程度开始增加。
</p>

<p>
截至 2014 年底,MCServer 拥有一支由 10 多名常规开发人员组成的团队,代码库已增长到 125,000 多行(不包括注释、空白行和外部库)。2014 年还引入了许多新功能:
</p>

<ul>
<li>块稀疏(减少 RAM 使用量)</li>
<li>新的红石模拟器</li>
<li>新的水和熔岩模拟器</li>
<li>新发电机(和改进的速度)</li>
</ul>

<p>
2015年,许多新开发人员加入了该项目,社区决定采用Cuberite的当前名称。
截至2015年底,Cuberite在GitHub上拥有超过1000颗星。
</p>

<p>
2020年是Cuberite成立10周年。作为一个长期存在的项目,Cuberite的生命周期经历了几次起伏。尽管有一段时间的冬眠和忙碌的开发人员生活,Cuberite的开发仍然继续,这要归功于新老贡献者。
</p>
29 changes: 29 additions & 0 deletions book-cn/1 - Installing/1 - Pre-Compiled Builds.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<p id="buildsurl">
对于Windows,Linux,Raspberry Pi或Mac版本,主要下载位置
是<a href=“https://cuberite.org”>官方主页</a>,最新的
可用的构建版本。对于希望更好地控制构建的开发人员,他们
下载,访问<a href=“https://builds.cuberite.org”>构建服务器</a>。
</p>

<p>
在 Linux、macOS、FreeBSD 或 Raspberry Pi 上,您只需将此命令粘贴到您的
终端安装Cuberite:
</p>

<figure class="codebox">
<pre><code>curl -sSfL https://download.cuberite.org | sh</code></pre>
</figure>

<p>
下载Cuberite后,您可以直接跳到
{{1.3 - Running Cuberite}}.
</p>

<p>
预编译版本比编译安装更快且更易于使用
来源自己,推荐给初学者。然而,对于一些人来说
不存在预编译构建的异常硬件,可能需要
自己编译代码。编译自己也有一个重要的
现代机器的性能优势。如果您知道如何使用该命令
线或想要额外的速度,你应该{{1.2 - compile Cuberite yourself}}.
</p>
19 changes: 19 additions & 0 deletions book-cn/1 - Installing/2 - Compiling Cuberite Yourself.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<p>
自己编译需要更长的时间并且涉及更多,但在现代处理器上可以导致高达 1.5 到 3 倍的速度提高。
如果您的操作系统或硬件不受官方支持,编译可能是运行 Cuberite 的唯一方法。
</p>

<p>
建议 *nix 用户使用自动编译脚本。
自动编译脚本会为您处理编译过程。您只需将此命令复制到终端:
</p>

<figure class="codebox"><pre><code>sh -c "$(wget -O - https://compile.cuberite.org)"</code></pre></figure>

<p>
如果您更喜欢手动编译,或者想要针对 Windows 进行编译,请参阅主存储库中的<a href=“https://github.com/cuberite/cuberite/blob/master/COMPILING.md”>COMPILING.md</a>。
</p>

<aside class="warnbox">
此过程需要使用命令行。如果您不熟悉它,建议您使用 {{1.1 - pre-compiled builds}} instead.
</aside>
22 changes: 22 additions & 0 deletions book-cn/1 - Installing/3 - Running Cuberite.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<p>
一旦你有了Cuberite的编译副本,以及支持文件(在大多数情况下,这些文件与可执行文件一起分发,位于名为Server的目录中),你就可以运行服务器并为自己生成一个世界。运行服务器很容易,尽管方法因您使用的操作系统而异。</p>

<h4 id="runningwindows">Windows</h4>

<p>
要在Windows上运行Cuberite,只需双击可执行文件即可。一个命令窗口将出现,世界将生成。
</p>

<h4 id="runninglinux">Linux/Mac/BSD</h4>

<p>
要在Linux,Mac或FreeBSD上运行Cuberite,只需在shell中运行可执行文件:
</p>

<pre><code>./Cuberite</code></pre>

<h4 id="joining">加入 Cuberite</h4>

<p>
就像Vanilla一样,一旦你启动了Cuberite,你就可以在localhost:25565上加入服务器<code></code>,或者<code></code>在你的Minecraft客户端上加入localhost。
</p>
47 changes: 47 additions & 0 deletions book-cn/2 - Configuration Basics/1 - Configuration Overview.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<p>
可以通过编辑各种文件来配置Cuberite。以下是所有此类文件的列表:
</p>

<dl>
<dt>settings.ini</dt>
<dd>
主配置文件,其中包含服务器范围的配置变量。
</dd>
<dt>webadmin.ini</dt>
<dd>
允许您调整Web管理界面,默认情况下,该界面位于<code>http://localhost:8080</code>或<code>http://&lt;服务器IP地址&gt;:8080</code>。</dd>
<dt>&lt;World name&gt;/world.ini</dt>
<dd>
此文件配置特定于世界的方面。这是您选择游戏模式的地方。看 {{3.3 - GameMode}}.
请注意,每个世界都有自己的<code>world.ini</code>文件,每个文件都存储在 <code>&lt;World name&gt;/world.ini</code>.
</dd>
<dt>monsters.ini</dt>
<dd>
允许你调整怪物的行为。
</dd>
<dt>motd.txt</dt>
<dd>
当日的消息,在加入您的服务器时向玩家显示。
</dd>
<dt>crafting.txt, brewing.txt, furnace.txt</dt>
<dd>
这三个文件允许您调整手工制作,酿造和熔炉食谱。
</dd>
<dt>plugins/...</dt>
<dd>
许多插件都有自己的配置文件。例如,WorldEdit配置为 <code>plugins/WorldEdit/config.cfg</code>
</dd>
<dt>favicon.png</dt>
<dd>
这是将出现在Minecraft服务器列表中的图标。你可以用你自己的代替它。
图标尺寸必须为64x64。
</dd>
<dt>items.ini</dt>
<dd>
编辑项目ID。除非您知道自己在做什么,否则可能不应该编辑此文件。
</dd>
</dl>

<aside class="infobox">
在所有<code>.ini</code>文件中,以;开头的行<code></code>是注释,在所有<code>.txt</code>文件中,以#开头的行<code></code>是注释。
</aside>
13 changes: 13 additions & 0 deletions book-cn/2 - Configuration Basics/2 - Permissions.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<p>
权限允许不同的播放器访问不同的命令和功能。
每个插件都有自己的权限。设置播放器权限最容易通过WebAdmin完成。
您也可以<code>&lt;&gt;</code>从服务器控制台使用rank playername命令。
请注意,没有前导斜杠。控制台命令不是<code>/rank</code>。
若要查看Core插件提供的默认命令的命令和权限列表,
请参阅<a href="https://github.com/cuberite/Core/blob/master/README.md">Core Plugin自述文件</a>。
</p>

<p>
要给自己操作员身份,请使用控制台中的op playername命令。<code>op &lt;playername&gt;</code> command in the console.
或者,您可以使用WebAdmin。
</p>
19 changes: 19 additions & 0 deletions book-cn/2 - Configuration Basics/3 - WebAdmin.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<p>
WebAdmin允许您控制Cuberite的各个方面,包括玩家权限。
典型的<code>webadmin.ini</code>配置如下所示:
</p>

<figure class="codebox">
<pre><code>[User:john]
Password=cuberiteRocks

[WebAdmin]
Ports=8080
Enabled=1
</code></pre>
</figure>


<p>
在上面的示例中,您可以使用用户名john和密码cuberiteRocks登录到Web管理员<code></code><code>,</code>方法是将浏览器指向<code>http://&lt;服务器IP地址&gt;:8080</code>。如果您在本地运行服务器,请将浏览器指向<code>http://localhost:8080</code>
</p>
6 changes: 6 additions & 0 deletions book-cn/2 - Configuration Basics/4 - Worlds.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<p>
默认情况下,有三个世界:<code>World</code>,<code>World_Nether</code>,<code>World_the_end</code>.
每个世界都可以通过编辑<code>&lt;World&gt; Name/world.ini来调整</code>。
你可以使用这个文件来编辑诸如产卵点位置、游戏模式和难度等级之类的东西。
有关详细信息,请参阅{{3 - Configuring world.ini}}。
</p>
38 changes: 38 additions & 0 deletions book-cn/2 - Configuration Basics/5 - Plugins.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<p>
插件是定制Cuberite的重要方法。有许多不同的第一和第三方插件可用。
</p>
<p>
Cuberite插件是用Lua编写的,并通过
<a href="https://api.cuberite.org/">广泛的API</a>.是的
设计成易于编写的任何人有基本编程经验,
因此,如果现有的插件不能满足您的需求,您可以轻松地编写自己的插件。
如果您想学习如何编写自己的插件,请查看
<a href="https://api.cuberite.org/Writing-a-Cuberite-plugin.html">指南。</a>.
</p>
<p>
Cuberite有一个插件库<a href="https://plugins.cuberite.org/">plugin repository</a>
在那里你可以公开上传你的插件和下载其他人的插件
释放了
</p>
<h4>激活插件</h4>
<p>
下载插件后,您需要将其放入Plugins/目录中。<code>Plugins/</code> directory.
然后,您应该编辑settings.ini文件的[Plugins]部分,并在那里添加一个插件条目。<code>[Plugins]</code> sections of the <code>settings.ini</code> file and add a plugin entry there.
下面是一个添加名为MyNewPlugin的插件的示例。<code>MyNewPlugin</code>.
</p>
<figure class="codebox">
<pre><code>[插件]
核心= 1
聊天记录= 1
MyNewPlugin = 1
MyDisabledPlugin = 0
</code></pre>
</figure>
<h4>编写插件</h4>
<p>
要开始编写Cuberite插件,请阅读本文。<a href="https://api.cuberite.org/Writing-a-Cuberite-plugin.html">article</a>. Cuberite插件使用Lua编程语言编写。Cuberite有一个完整的API。<a href="https://api.cuberite.org/">API</a>.
</p>
<h4>你可以走了! </h4>
<p>
如果你已经读到这里,你现在应该有足够的知识来操作Cuberite服务器。本书的其余部分将更深入地介绍更多的功能和进一步的配置选项。
</p>
Loading