1
0
Fork 0

Updated links and docs (#3488)

This commit is contained in:
mathiascode 2016-12-19 18:08:19 +02:00 committed by Mattes D
parent dddfb921ee
commit efc7fed05b
23 changed files with 49 additions and 47 deletions

View File

@ -15,15 +15,15 @@ Windows
We use Microsoft Visual Studio for Windows compilation. It is possible to use other toolchains, but we don't test against them and they aren't supported. Visual Studio 2013 Express for Desktop is being actively used for development.
You can find download links for VS2013 Express here: http://go.microsoft.com/?linkid=9832280
You can find download links for VS2013 Express here: https://go.microsoft.com/?linkid=9832280
Next, you need to download and install CMake. Download from here: http://cmake.org/cmake/resources/software.html . You should download a full installation package, so that the installer will set everything up for you (especially the paths).
Next, you need to download and install CMake. Download from here: https://cmake.org/download/ . You should download a full installation package, so that the installer will set everything up for you (especially the paths).
To contribute your changes to the source back to the repository, you need a Git client. Options are:
* MsysGit: http://msysgit.github.io/
* GitHub windows client: http://windows.github.com/
* TortoiseGit: http://code.google.com/p/tortoisegit/
* Git for Windows: https://git-for-windows.github.io/
* GitHub Desktop: https://desktop.github.com/
* TortoiseGit: https://tortoisegit.org/
Alternatively, if you want only to compile the source, without contributing, you can [download the sources in a ZIP file directly from GitHub](https://github.com/cuberite/cuberite/archive/master.zip).
@ -50,11 +50,11 @@ In order to tinker with the code, you'll more than likely need to use the debugg
OSX
---
Install git from its [website](http://git-scm.com) or homebrew: `brew install git`.
Install git from its [website](https://git-scm.com/) or homebrew: `brew install git`.
Install Xcode (commandline tools are recommended) from the App Store or [the website](https://developer.apple.com/downloads).
Install CMake from its [website](http://cmake.org) or homebrew: `brew install cmake`.
Install CMake from its [website](https://cmake.org/) or homebrew: `brew install cmake`.
### Getting the sources ###
@ -72,7 +72,7 @@ After doing so, run the command `xcodebuild lib/polarssl/POLARSSL.xcodeproj` in
Linux, FreeBSD etc.
-------------------
Install git, make, cmake and clang (or gcc), using your platform's package manager. debian/ubuntu:
Install git, make, cmake and clang (or gcc), using your platform's package manager. Debian/Ubuntu:
```
sudo apt-get install git make cmake clang
@ -96,7 +96,7 @@ cmake -DCMAKE_BUILD_TYPE=RELEASE ..
make -j`nproc`
```
This will build Cuberite in release mode, which is better for almost all cases. For more `cmake` options, or for building in debug mode, see the section below.
This will build Cuberite in release mode, which is better for almost all cases. For more `cmake` options, or for building in debug mode, see [CMake on Unix-based platforms](#cmake-on-unix-based-platforms).
Android
-------

View File

@ -38,7 +38,7 @@ PROJECT_NUMBER =
# for a project that appears at the top of each page and should give viewer
# a quick idea about the purpose of the project. Keep the description short.
PROJECT_BRIEF = "A custom Minecraft compatible game server written in C++"
PROJECT_BRIEF = "A lightweight, fast and extensible game server for Minecraft"
# With the PROJECT_LOGO tag one can specify an logo or icon that is
# included in the documentation. The maximum height of the logo should not

View File

@ -23,7 +23,7 @@ Useful Resources
* [Minecraft Wiki](http://minecraft.gamepedia.com/Minecraft_Wiki)
* [Minecraft Protocol Wiki](http://wiki.vg/Main_Page)
* [Lua API Documentation](http://api-docs.cuberite.org/)
* [Lua API Documentation](https://api.cuberite.org/)
* [VS2013 Community Edition Download](https://www.visualstudio.com/products/visual-studio-community-vs)
Setting up a Dev Environment

View File

@ -1,4 +1,4 @@
Cuberite: A custom Minecraft compatible game server written in C++
Cuberite: A lightweight, fast and extensible game server for Minecraft
www: https://github.com/cuberite/cuberite
Copyright 2011-2016 Cuberite Team

View File

@ -5,7 +5,7 @@ Cuberite is a Minecraft-compatible multiplayer game server that is written in C+
Cuberite can run on Windows, *nix and Android operating systems. This includes Android phones and tablets as well as Raspberry Pis.
We currently support Release 1.8 and 1.9 Minecraft protocol versions.
We currently support Release 1.8 - 1.10 Minecraft protocol versions.
Subscribe to [the newsletter](https://cuberite.org/news/#subscribe) for important updates and project news.
@ -54,8 +54,8 @@ You can also help with documentation by contributing to the [User's Manual](http
Other Stuff
-----------
For other stuff, check out the [homepage](https://cuberite.org), the [Users' Manual](https://book.cuberite.org),
the [forums](https://forum.cuberite.org/), and the [Plugin API](http://api-docs.cuberite.org/).
For other stuff, check out the [homepage](https://cuberite.org/), the [Users' Manual](https://book.cuberite.org/),
the [forums](https://forum.cuberite.org/), and the [Plugin API](https://api.cuberite.org/).
[Support Us on Bountysource](https://bountysource.com/teams/cuberite)

View File

@ -3687,7 +3687,7 @@ end
<tr><td>@X</td><td>color X (X is 0 - 9 or a - f, same as dye meta</td></tr>
</table>
The following picture, taken from MineCraft Wiki, illustrates the color codes:</p>
<img src="http://hydra-media.cursecdn.com/minecraft.gamepedia.com/4/4c/Colors.png?version=34a0f56789a95326e1f7d82047b12232" />
<img src="https://hydra-media.cursecdn.com/minecraft.gamepedia.com/4/4c/Colors.png?version=34a0f56789a95326e1f7d82047b12232" />
]],
Functions =
{

View File

@ -1236,7 +1236,7 @@ end
Type = "Vector3d",
},
},
Notes = "Returns a new Vector3d that is a {{http://en.wikipedia.org/wiki/Cross_product|cross product}} of this vector and the specified vector.",
Notes = "Returns a new Vector3d that is a {{https://en.wikipedia.org/wiki/Cross_product|cross product}} of this vector and the specified vector.",
},
Dot =
{

View File

@ -2,7 +2,7 @@
<html>
<head>
<title>Cuberite - Info.lua file</title>
<link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="canonical" href="https://api.cuberite.org/InfoFile.html">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>

View File

@ -3,7 +3,7 @@
<html>
<head>
<title>Cuberite - Setting up Decoda</title>
<link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="canonical" href="https://api.cuberite.org/SettingUpDecoda.html">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>

View File

@ -3,7 +3,7 @@
<html>
<head>
<title>Cuberite - Setting up ZeroBrane Studio</title>
<link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="canonical" href="https://api.cuberite.org/SettingUpZeroBrane.html">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>

View File

@ -2,7 +2,7 @@
<html>
<head>
<title>Cuberite - Using ChunkStays</title>
<link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="canonical" href="https://api.cuberite.org/UsingChunkStays.html">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>

View File

@ -2,7 +2,7 @@
<html>
<head>
<title>Cuberite - Webserver vs World threads</title>
<link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="canonical" href="https://api.cuberite.org/WebWorldThreads.html">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>

View File

@ -3,7 +3,7 @@
<html>
<head>
<title>Cuberite Plugin Tutorial</title>
<link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="canonical" href="https://api.cuberite.org/Writing-a-Cuberite-plugin.html">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>

View File

@ -271,7 +271,7 @@ local function WriteHtmlHook(a_Hook, a_HookNav)
f:write([[<!DOCTYPE html><html>
<head>
<title>Cuberite API - ]], HookName, [[ Hook</title>
<link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="canonical" href="https://api.cuberite.org/]], HookName, [[.html">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>
@ -965,6 +965,7 @@ local function WriteHtmlClass(a_ClassAPI, a_ClassMenu, a_API)
cf:write([[<!DOCTYPE html><html>
<head>
<title>Cuberite API - ]], a_ClassAPI.Name, [[ Class</title>
<link rel="canonical" href="https://api.cuberite.org/]], a_ClassAPI.Name, [[.html">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>
@ -1442,6 +1443,7 @@ local function DumpAPIHtml(a_API, a_Descs)
<html>
<head>
<title>Cuberite API - Index</title>
<link rel="canonical" href="https://api.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
</head>
<body>
@ -1641,7 +1643,7 @@ local function DumpLuaCheck(a_API)
file:write([[
-- This file is the config file for the tool named Luacheck
-- Documentation: http://luacheck.readthedocs.io/en/stable/index.html
-- Documentation: https://luacheck.readthedocs.io/en/stable/index.html
-- Ignore unused function and loop arguments
unused_args = false
@ -1891,7 +1893,7 @@ end
local function CheckNewUndocumentedSymbols()
-- Download the official API stats on undocumented stuff:
-- (We need a blocking downloader, which is impossible with the current cNetwork API)
assert(os.execute("wget -q -O official_undocumented.lua https://apidocs.cuberite.org/_undocumented.lua"))
assert(os.execute("wget -q -O official_undocumented.lua https://api.cuberite.org/_undocumented.lua"))
local OfficialStats = cFile:ReadWholeFile("official_undocumented.lua")
if (OfficialStats == "") then
return true, "Cannot load official stats"

View File

@ -1,16 +1,16 @@
---------------------------------------------------------------------------------
Welcome to your new Cuberite server, compatible with Minecraft 1.8 and 1.9!
---------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Welcome to your new Cuberite server, compatible with Minecraft 1.8 - 1.10!
--------------------------------------------------------------------------------
- To get started with your server, read the user's manual at
https://book.cuberite.org/
- Subscribe to the Newsletter for update news and important information
at https://newsletter.cuberite.org/subscribe.htm
- Subscribe to the Newsletter for update news and important information at
https://cuberite.org/news/#subscribe
- For information about adding plugins to your server, visit
https://cuberite.org/plugins/
- For additional support, visit https://cuberite.org/support/
---------------------------------------------------------------------------------
--------------------------------------------------------------------------------

View File

@ -51,17 +51,17 @@
<div class="upper">
<div class="wrapper">
<ul class="menu bottom_links">
<li><a href="http://cuberite.org/" target="_blank">Cuberite</a></li>
<li><a href="https://cuberite.org/" target="_blank">Cuberite</a></li>
<li><a href="https://forum.cuberite.org/" target="_blank">Forums</a></li>
<li><a href="https://builds.cuberite.org/" target="_blank">Buildserver</a></li>
<li><a href="http://api-docs.cuberite.org/" target="_blank">API Documentation</a></li>
<li><a href="https://api.cuberite.org/" target="_blank">API Documentation</a></li>
<li><a href="https://book.cuberite.org/" target="_blank">User's Manual</a></li>
</ul>
</div>
</div>
<div class="lower">
<div class="wrapper">
<span id="copyright">Copyright © <a href="http://cuberite.org/" target="_blank">Cuberite Team</a>.</span>
<span id="copyright">Copyright © <a href="https://cuberite.org/" target="_blank">Cuberite Team</a>.</span>
</div>
</div>
</div>

View File

@ -197,10 +197,10 @@ function ShowPage(WebAdmin, TemplateRequest)
<div class="upper">
<div class="wrapper">
<ul class="menu bottom_links">
<li><a href="http://cuberite.org/" target="_blank">Cuberite</a></li>
<li><a href="https://cuberite.org/" target="_blank">Cuberite</a></li>
<li><a href="https://forum.cuberite.org/" target="_blank">Forums</a></li>
<li><a href="https://builds.cuberite.org/" target="_blank">Buildserver</a></li>
<li><a href="http://api-docs.cuberite.org/" target="_blank">API Documentation</a></li>
<li><a href="https://api.cuberite.org/" target="_blank">API Documentation</a></li>
<li><a href="https://book.cuberite.org/" target="_blank">User's Manual</a></li>
</ul>
</div>

View File

@ -186,7 +186,7 @@ The compilation and download will occur in the current directory.
If you're updating, you should run: <Path to Cuberite>/compile.sh
Compiling from source takes time, but it usually generates faster
executables. If you prefer ready-to-use binaries or if you want
more info, please visit: http://cuberite.org/"
more info, please visit: https://cuberite.org/"
doDependencyCheck()
{
@ -482,7 +482,7 @@ exit 0
:windows_detected
@echo off
echo This script is not available for Windows yet, sorry.
echo You can still download the Windows binaries from: http://cuberite.org
echo You can still download the Windows binaries from: https://cuberite.org/
echo You can also manually compile for Windows. See: https://github.com/cuberite/cuberite
rem windows_exit
exit

View File

@ -22,7 +22,7 @@
<p>There are some existing formats available to consider first:
<ul>
<li><a href="http://minecraft.gamepedia.com/Schematic_file_format"><b>schematic</b></a> - file format native to MCEdit / Bukkit / WorldEdit communities. Can store the prefab, the block entities and regular entities, and any metadata. Cannot store multiple prefabs. No effort to read or write, there's already code to do that (except for the entities) in the server.</li>
<li><a href="http://dev.bukkit.org/bukkit-plugins/terrain-control/"><b>bob / bo2 / bo3</b></a> - file format created for prefabs in the Terrain Control mod. Can store the prefab and any metadata. Support for block entities and regular entities is unknown. Cannot store multiple prefabs. Medium difficulty for reading and writing, would need new parser and serializer. Unknown (but assumed true) whether the format truly supports any metadata.</li>
<li><a href="https://dev.bukkit.org/projects/terrain-control"><b>bob / bo2 / bo3</b></a> - file format created for prefabs in the Terrain Control mod. Can store the prefab and any metadata. Support for block entities and regular entities is unknown. Cannot store multiple prefabs. Medium difficulty for reading and writing, would need new parser and serializer. Unknown (but assumed true) whether the format truly supports any metadata.</li>
<li><a href="https://github.com/cuberite/cuberite/tree/master/src/Generating/Prefabs"><b>cpp</b></a> - export from our Gallery server directly into C++ source files. Can store the prefab and any metadata, block entities and regular entities currently not implemented but could be added. Very difficult for reading, writing already implemented. Only usable when compiling directly into the server. Can store multiple prefabs and metadata for the entire set.</li>
</ul>
Obviously none of these fully satisfy our needs, so we'll need to either extend one of them or create yet another one. Extending the .schematic file would mean that the exporter plugin would need to change most of the export code, which was deemed too unmaintainable. Because the bob format is not implemented at all, it wasn't even considered. The cpp format would have been a great candidate if it weren't so difficult to parse. However, it sparked an idea - something similar in form to the cpp format, but easily parsed. Since we already have the Lua interpreter, why not base the new format in Lua?</p>

View File

@ -40,7 +40,7 @@ Serialization will never put zero-level enchantments into the stringspec and wil
class cEnchantments
{
public:
/** Individual enchantment IDs, corresponding to their NBT IDs: http://www.minecraftwiki.net/wiki/Data_Values#Enchantment_IDs
/** Individual enchantment IDs, corresponding to their NBT IDs: http://minecraft.gamepedia.com/Data_values#Enchantment_IDs
*/
enum eEnchantment

View File

@ -674,7 +674,7 @@ bool cEntity::DoTakeDamage(TakeDamageInfo & a_TDI)
int cEntity::GetRawDamageAgainst(const cEntity & a_Receiver)
{
// Returns the hitpoints that this pawn can deal to a_Receiver using its equipped items
// Ref: http://www.minecraftwiki.net/wiki/Damage#Dealing_damage as of 2012_12_20
// Ref: http://minecraft.gamepedia.com/Damage#Dealing_damage as of 2012_12_20
switch (this->GetEquippedWeapon().m_ItemType)
{
case E_ITEM_WOODEN_SWORD: return 4;
@ -711,7 +711,7 @@ int cEntity::GetRawDamageAgainst(const cEntity & a_Receiver)
bool cEntity::ArmorCoversAgainst(eDamageType a_DamageType)
{
// Ref.: http://www.minecraftwiki.net/wiki/Armor#Effects as of 2012_12_20
// Ref.: http://minecraft.gamepedia.com/Armor#Effects as of 2012_12_20
switch (a_DamageType)
{
case dtOnFire:
@ -761,7 +761,7 @@ int cEntity::GetArmorCoverAgainst(const cEntity * a_Attacker, eDamageType a_Dama
}
// Add up all armor points:
// Ref.: http://www.minecraftwiki.net/wiki/Armor#Defense_points as of 2012_12_20
// Ref.: http://minecraft.gamepedia.com/Armor#Defense_points as of 2012_12_20
int ArmorValue = 0;
switch (GetEquippedHelmet().m_ItemType)
{
@ -797,7 +797,7 @@ int cEntity::GetArmorCoverAgainst(const cEntity * a_Attacker, eDamageType a_Dama
}
// TODO: Special armor cases, such as wool, saddles, dog's collar
// Ref.: http://www.minecraftwiki.net/wiki/Armor#Mob_armor as of 2012_12_20
// Ref.: http://minecraft.gamepedia.com/Armor#Mob_armor as of 2012_12_20
// Now ArmorValue is in [0, 20] range, which corresponds to [0, 80%] protection. Calculate the hitpoints from that:
return a_Damage * (ArmorValue * 4) / 100;

View File

@ -2316,7 +2316,7 @@ void cPlayer::TickBurning(cChunk & a_Chunk)
void cPlayer::HandleFood(void)
{
// Ref.: http://www.minecraftwiki.net/wiki/Hunger
// Ref.: http://minecraft.gamepedia.com/Hunger
if (IsGameModeCreative() || IsGameModeSpectator())
{

View File

@ -20,7 +20,7 @@ AString GetOSErrorString( int a_ErrNo)
#else // _WIN32
// According to http://linux.die.net/man/3/strerror_r there are two versions of strerror_r():
// According to https://linux.die.net/man/3/strerror_r there are two versions of strerror_r():
#if defined(__GLIBC__) && defined( _GNU_SOURCE) && !defined(ANDROID) // GNU version of strerror_r()