Merge pull request #2936 from mathias-github/master
Updated old forum links
This commit is contained in:
commit
57e6fd654b
@ -17,8 +17,8 @@ Useful Resources
|
|||||||
----------------
|
----------------
|
||||||
|
|
||||||
* [Minecraft Wiki](http://minecraft.gamepedia.com/Minecraft_Wiki)
|
* [Minecraft Wiki](http://minecraft.gamepedia.com/Minecraft_Wiki)
|
||||||
* [Minecraft Protocol Wiki](http://wiki.vg)
|
* [Minecraft Protocol Wiki](http://wiki.vg/Main_Page)
|
||||||
* [Lua API Documentation](http://api-docs.cuberite.org)
|
* [Lua API Documentation](http://api-docs.cuberite.org/)
|
||||||
* [VS2013 Community Edition Download](https://www.visualstudio.com/products/visual-studio-community-vs)
|
* [VS2013 Community Edition Download](https://www.visualstudio.com/products/visual-studio-community-vs)
|
||||||
|
|
||||||
Setting up a Dev Environment
|
Setting up a Dev Environment
|
||||||
@ -102,9 +102,9 @@ Where to Get Started
|
|||||||
Issues that should be easy to get started with are tagged as [easy](https://github.com/cuberite/cuberite/issues?q=is%3Aopen+is%3Aissue+label%3Aeasy) in GitHub issues. Other good places to get started are:
|
Issues that should be easy to get started with are tagged as [easy](https://github.com/cuberite/cuberite/issues?q=is%3Aopen+is%3Aissue+label%3Aeasy) in GitHub issues. Other good places to get started are:
|
||||||
|
|
||||||
* Cleaning up some of the compiler warnings. (Check [Travis CI](https://travis-ci.org/cuberite/cuberite) for a list of them.) With clang, there are over 10000 lines of warnings to clean up.
|
* Cleaning up some of the compiler warnings. (Check [Travis CI](https://travis-ci.org/cuberite/cuberite) for a list of them.) With clang, there are over 10000 lines of warnings to clean up.
|
||||||
* Writing some plugins: They are written in lua, with excellent API documentation available via [APIDump](http://api-docs.cuberite.org). The [Core](https://github.com/cuberite/Core) plugin should also help quite a bit here.
|
* Writing some plugins: They are written in lua, with excellent API documentation available via [APIDump](http://api-docs.cuberite.org/). The [Core](https://github.com/cuberite/Core) plugin should also help quite a bit here.
|
||||||
|
|
||||||
Special Things
|
Special Things
|
||||||
---------------------
|
---------------------
|
||||||
* Make yourself familiar with the community. Visit the forums: http://forum.mc-server.org
|
* Make yourself familiar with the community. Visit the forums: https://forum.cuberite.org/
|
||||||
* Ask questions as much as you like, we're here to help :smiley:
|
* Ask questions as much as you like, we're here to help :smiley:
|
||||||
|
@ -7,7 +7,7 @@ Cuberite can run on Windows, *nix and Android operating systems. This includes A
|
|||||||
|
|
||||||
We currently support Release 1.7 and 1.8 (not beta) Minecraft protocol versions.
|
We currently support Release 1.7 and 1.8 (not beta) Minecraft protocol versions.
|
||||||
|
|
||||||
Subscribe to [the newsletter](https://newsletter.cuberite.org/subscribe.htm) for important updates and project news.
|
Subscribe to [the newsletter](http://cuberite.org/news/) for important updates and project news.
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
@ -17,7 +17,7 @@ There are several ways to obtain Cuberite.
|
|||||||
#### Binaries
|
#### Binaries
|
||||||
- The easiest method is downloading for Windows or Linux from the [Project site](http://cuberite.org/).
|
- The easiest method is downloading for Windows or Linux from the [Project site](http://cuberite.org/).
|
||||||
- You can use the EasyInstall script for Linux, which automatically downloads the correct binary. The script is described below.
|
- You can use the EasyInstall script for Linux, which automatically downloads the correct binary. The script is described below.
|
||||||
- You can also obtain a binary from the [buildserver archive](https://builds.cuberite.org).
|
- You can also obtain a binary from the [buildserver archive](https://builds.cuberite.org/).
|
||||||
|
|
||||||
##### The EasyInstall script
|
##### The EasyInstall script
|
||||||
This Linux script will download the correct binary from the project site.
|
This Linux script will download the correct binary from the project site.
|
||||||
@ -36,7 +36,7 @@ This script downloads the source code and compiles it. The script is smart enoug
|
|||||||
sh -c "$(wget -O - https://raw.githubusercontent.com/cuberite/cuberite/master/compile.sh)"
|
sh -c "$(wget -O - https://raw.githubusercontent.com/cuberite/cuberite/master/compile.sh)"
|
||||||
|
|
||||||
#### Hosted services
|
#### Hosted services
|
||||||
- Hosted Cuberite is available DIY on DigitalOcean: [![Install on DigitalOcean](http://doinstall.bearbin.net/button.svg)](http://doinstall.bearbin.net/install?url=https://github.com/cuberite/cuberite) and [Gamocosm](https://gamocosm.com) also offers Cuberite support.
|
- Hosted Cuberite is available DIY on DigitalOcean: [![Install on DigitalOcean](http://doinstall.bearbin.net/button.svg)](http://doinstall.bearbin.net/install?url=https://github.com/cuberite/cuberite) and [Gamocosm](https://gamocosm.com/) also offers Cuberite support.
|
||||||
|
|
||||||
Contributing
|
Contributing
|
||||||
------------
|
------------
|
||||||
@ -48,7 +48,7 @@ Check out the [CONTRIBUTING.md](https://github.com/cuberite/cuberite/blob/master
|
|||||||
Other Stuff
|
Other Stuff
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
For other stuff, including plugins and discussion, check out the [forums](http://forum.mc-server.org) and [Plugin API](http://api-docs.cuberite.org).
|
For other stuff, including plugins and discussion, check out the [forums](https://forum.cuberite.org/) and [Plugin API](http://api-docs.cuberite.org/).
|
||||||
|
|
||||||
[Support Us on Bountysource](https://bountysource.com/teams/cuberite)
|
[Support Us on Bountysource](https://bountysource.com/teams/cuberite)
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ return
|
|||||||
plugins, can enable or disable plugins, manages hooks and in-game console commands.</p>
|
plugins, can enable or disable plugins, manages hooks and in-game console commands.</p>
|
||||||
<p>
|
<p>
|
||||||
Plugins can be identified by either the PluginFolder or PluginName. Note that these two can differ,
|
Plugins can be identified by either the PluginFolder or PluginName. Note that these two can differ,
|
||||||
refer to <a href="http://forum.mc-server.org/showthread.php?tid=1877">the forum</a> for detailed discussion.
|
refer to <a href="https://forum.cuberite.org/thread-1877.html">the forum</a> for detailed discussion.
|
||||||
<p>
|
<p>
|
||||||
There is one instance of cPluginManager in Cuberite, to get it, call either
|
There is one instance of cPluginManager in Cuberite, to get it, call either
|
||||||
{{cRoot|cRoot}}:Get():GetPluginManager() or cPluginManager:Get() function.</p>
|
{{cRoot|cRoot}}:Get():GetPluginManager() or cPluginManager:Get() function.</p>
|
||||||
|
@ -234,8 +234,8 @@ RegisterPluginInfoConsoleCommands()
|
|||||||
|
|
||||||
<p>There are several plugins that already implement this approach. You can visit them for inspiration and to see what the generated documentation looks like:</p>
|
<p>There are several plugins that already implement this approach. You can visit them for inspiration and to see what the generated documentation looks like:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Gallery plugin: <a href="https://github.com/cuberite/gallery/blob/master/Info.lua">Info.lua</a>, <a href="http://forum.mc-server.org/showthread.php?tid=1306">Forum</a> documentation</li>
|
<li>Gallery plugin: <a href="https://github.com/cuberite/gallery/blob/master/Info.lua">Info.lua</a>, <a href="https://forum.cuberite.org/thread-1306.html">Forum</a> documentation</li>
|
||||||
<li>WorldEdit plugin: <a href="https://github.com/cuberite/WorldEdit/blob/master/Info.lua">Info.lua</a>, <a href="http://forum.mc-server.org/showthread.php?tid=870">Forum</a> and <a href="https://github.com/cuberite/WorldEdit">MarkDown</a> documentation</li>
|
<li>WorldEdit plugin: <a href="https://github.com/cuberite/WorldEdit/blob/master/Info.lua">Info.lua</a>, <a href="https://forum.cuberite.org/thread-870.html">Forum</a> and <a href="https://github.com/cuberite/WorldEdit">MarkDown</a> documentation</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -21,7 +21,7 @@ local http = require("socket.http");
|
|||||||
|
|
||||||
|
|
||||||
LOGINFO("Trying to download a webpage...");
|
LOGINFO("Trying to download a webpage...");
|
||||||
local body, code, headers = http.request('http://forum.mc-server.org/index.php');
|
local body, code, headers = http.request('https://forum.cuberite.org/');
|
||||||
LOG("code: " .. tostring(code));
|
LOG("code: " .. tostring(code));
|
||||||
LOG("headers: ");
|
LOG("headers: ");
|
||||||
for k, v in pairs(headers or {}) do
|
for k, v in pairs(headers or {}) do
|
||||||
@ -46,4 +46,4 @@ function Initialize(a_Plugin)
|
|||||||
end
|
end
|
||||||
LOGINFO("Preventing plugin load so that it may be requested again from the webadmin.");
|
LOGINFO("Preventing plugin load so that it may be requested again from the webadmin.");
|
||||||
return false;
|
return false;
|
||||||
end
|
end
|
||||||
|
@ -51,17 +51,17 @@
|
|||||||
<div class="upper">
|
<div class="upper">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<ul class="menu bottom_links">
|
<ul class="menu bottom_links">
|
||||||
<li><a href="http://cuberite.org" target="_blank">Cuberite</a></li>
|
<li><a href="http://cuberite.org/" target="_blank">Cuberite</a></li>
|
||||||
<li><a href="http://forum.mc-server.org" target="_blank">Forums</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="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="http://api-docs.cuberite.org/" target="_blank">API Documentation</a></li>
|
||||||
<li><a href="https://book.cuberite.org/" target="_blank">User's Manual</a></li>
|
<li><a href="https://book.cuberite.org/" target="_blank">User's Manual</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="lower">
|
<div class="lower">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<span id="copyright">Copyright © <a href="http://www.cuberite.org" target="_blank">Cuberite Team</a>.</span>
|
<span id="copyright">Copyright © <a href="http://cuberite.org/" target="_blank">Cuberite Team</a>.</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -177,17 +177,17 @@ function ShowPage(WebAdmin, TemplateRequest)
|
|||||||
<div class="upper">
|
<div class="upper">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<ul class="menu bottom_links">
|
<ul class="menu bottom_links">
|
||||||
<li><a href="http://cuberite.org" target="_blank">Cuberite</a></li>
|
<li><a href="http://cuberite.org/" target="_blank">Cuberite</a></li>
|
||||||
<li><a href="http://forum.mc-server.org" target="_blank">Forums</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="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="http://api-docs.cuberite.org/" target="_blank">API Documentation</a></li>
|
||||||
<li><a href="https://book.cuberite.org/" target="_blank">User's Manual</a></li>
|
<li><a href="https://book.cuberite.org/" target="_blank">User's Manual</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="lower">
|
<div class="lower">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<span id="copyright">Copyright © <a href="http://www.cuberite.org" target="_blank">Cuberite Team</a>.</span>
|
<span id="copyright">Copyright © <a href="http://cuberite.org/" target="_blank">Cuberite Team</a>.</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -781,7 +781,7 @@ void cChunk::CheckBlocks()
|
|||||||
void cChunk::TickBlocks(void)
|
void cChunk::TickBlocks(void)
|
||||||
{
|
{
|
||||||
// Tick dem blocks
|
// Tick dem blocks
|
||||||
// _X: We must limit the random number or else we get a nasty int overflow bug - http://forum.mc-server.org/showthread.php?tid=457
|
// _X: We must limit the random number or else we get a nasty int overflow bug - https://forum.cuberite.org/thread-457.html
|
||||||
int RandomX = m_World->GetTickRandomNumber(0x00ffffff);
|
int RandomX = m_World->GetTickRandomNumber(0x00ffffff);
|
||||||
int RandomY = m_World->GetTickRandomNumber(0x00ffffff);
|
int RandomY = m_World->GetTickRandomNumber(0x00ffffff);
|
||||||
int RandomZ = m_World->GetTickRandomNumber(0x00ffffff);
|
int RandomZ = m_World->GetTickRandomNumber(0x00ffffff);
|
||||||
|
@ -3081,7 +3081,7 @@ void cChunkMap::cChunkLayer::UnloadUnusedChunks(void)
|
|||||||
{
|
{
|
||||||
// The cChunk destructor calls our GetChunk() while removing its entities
|
// The cChunk destructor calls our GetChunk() while removing its entities
|
||||||
// so we still need to be able to return the chunk. Therefore we first delete, then nullptrify
|
// so we still need to be able to return the chunk. Therefore we first delete, then nullptrify
|
||||||
// Doing otherwise results in bug http://forum.mc-server.org/showthread.php?tid=355
|
// Doing otherwise results in bug https://forum.cuberite.org/thread-355.html
|
||||||
delete m_Chunks[i];
|
delete m_Chunks[i];
|
||||||
m_Chunks[i] = nullptr;
|
m_Chunks[i] = nullptr;
|
||||||
}
|
}
|
||||||
|
@ -1366,7 +1366,7 @@ void cClientHandle::HandleRightClick(int a_BlockX, int a_BlockY, int a_BlockZ, e
|
|||||||
{
|
{
|
||||||
// Only compare ItemType, not meta (torches have different metas)
|
// Only compare ItemType, not meta (torches have different metas)
|
||||||
// The -1 check is there because sometimes the client sends -1 instead of the held item
|
// The -1 check is there because sometimes the client sends -1 instead of the held item
|
||||||
// Ref.: http://forum.mc-server.org/showthread.php?tid=549&pid=4502#pid4502
|
// Ref.: https://forum.cuberite.org/thread-549-post-4502.html#pid4502
|
||||||
LOGWARN("Player %s tried to place a block that was not equipped (exp %d, got %d)",
|
LOGWARN("Player %s tried to place a block that was not equipped (exp %d, got %d)",
|
||||||
m_Username.c_str(), Equipped.m_ItemType, a_HeldItem.m_ItemType
|
m_Username.c_str(), Equipped.m_ItemType, a_HeldItem.m_ItemType
|
||||||
);
|
);
|
||||||
|
@ -627,7 +627,7 @@ template <class T> inline T Diff(T a_Val1, T a_Val2)
|
|||||||
|
|
||||||
enum eMessageType
|
enum eMessageType
|
||||||
{
|
{
|
||||||
// http://forum.mc-server.org/showthread.php?tid=1212
|
// https://forum.cuberite.org/thread-1212.html
|
||||||
// MessageType...
|
// MessageType...
|
||||||
|
|
||||||
mtCustom, // Send raw data without any processing
|
mtCustom, // Send raw data without any processing
|
||||||
|
@ -1554,7 +1554,7 @@ void cEntity::SetSwimState(cChunk & a_Chunk)
|
|||||||
if (!a_Chunk.UnboundedRelGetBlockType(RelX, RelY, RelZ, BlockIn))
|
if (!a_Chunk.UnboundedRelGetBlockType(RelX, RelY, RelZ, BlockIn))
|
||||||
{
|
{
|
||||||
// This sometimes happens on Linux machines
|
// This sometimes happens on Linux machines
|
||||||
// Ref.: http://forum.mc-server.org/showthread.php?tid=1244
|
// Ref.: https://forum.cuberite.org/thread-1244.html
|
||||||
LOGD("SetSwimState failure: RelX = %d, RelZ = %d, Pos = %.02f, %.02f}",
|
LOGD("SetSwimState failure: RelX = %d, RelZ = %d, Pos = %.02f, %.02f}",
|
||||||
RelX, RelY, GetPosX(), GetPosZ()
|
RelX, RelY, GetPosX(), GetPosZ()
|
||||||
);
|
);
|
||||||
|
@ -8,7 +8,7 @@ Generating works by composing several algorithms:
|
|||||||
Biome, TerrainHeight, TerrainComposition, Ores, Structures and SmallFoliage
|
Biome, TerrainHeight, TerrainComposition, Ores, Structures and SmallFoliage
|
||||||
Each algorithm may be chosen from a pool of available algorithms in the same class and combined with others,
|
Each algorithm may be chosen from a pool of available algorithms in the same class and combined with others,
|
||||||
based on user's preferences in the world.ini.
|
based on user's preferences in the world.ini.
|
||||||
See http://forum.mc-server.org/showthread.php?tid=409 for details.
|
See https://forum.cuberite.org/thread-409.html for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ public:
|
|||||||
The client has a bug when a slab replaces snow and there's a slab above it.
|
The client has a bug when a slab replaces snow and there's a slab above it.
|
||||||
The client then combines the slab above, rather than replacing the snow.
|
The client then combines the slab above, rather than replacing the snow.
|
||||||
We send the block above the currently placed block back to the client to fix the bug.
|
We send the block above the currently placed block back to the client to fix the bug.
|
||||||
Ref.: http://forum.mc-server.org/showthread.php?tid=434&pid=17388#pid17388
|
Ref.: https://forum.cuberite.org/thread-434-post-17388.html#pid17388
|
||||||
*/
|
*/
|
||||||
if ((a_BlockFace == BLOCK_FACE_TOP) && (a_BlockY < cChunkDef::Height - 1))
|
if ((a_BlockFace == BLOCK_FACE_TOP) && (a_BlockY < cChunkDef::Height - 1))
|
||||||
{
|
{
|
||||||
|
@ -42,7 +42,7 @@ enum eMonsterType
|
|||||||
mtWolf = E_META_SPAWN_EGG_WOLF,
|
mtWolf = E_META_SPAWN_EGG_WOLF,
|
||||||
mtZombie = E_META_SPAWN_EGG_ZOMBIE,
|
mtZombie = E_META_SPAWN_EGG_ZOMBIE,
|
||||||
mtZombiePigman = E_META_SPAWN_EGG_ZOMBIE_PIGMAN,
|
mtZombiePigman = E_META_SPAWN_EGG_ZOMBIE_PIGMAN,
|
||||||
mtMax = 120, // This is just a hotfix for http://forum.mc-server.org/showthread.php?tid=1616. Tolua is too bad to find the highest value, so this is needed.
|
mtMax = 120, // This is just a hotfix for https://forum.cuberite.org/thread-1616.html. Tolua is too bad to find the highest value, so this is needed.
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
// tolua_end
|
// tolua_end
|
||||||
|
@ -373,7 +373,7 @@ void cServer::TickClients(float a_Dt)
|
|||||||
{
|
{
|
||||||
if ((*itr)->IsDestroyed())
|
if ((*itr)->IsDestroyed())
|
||||||
{
|
{
|
||||||
// Delete the client later, when CS is not held, to avoid deadlock: http://forum.mc-server.org/showthread.php?tid=374
|
// Delete the client later, when CS is not held, to avoid deadlock: https://forum.cuberite.org/thread-374.html
|
||||||
RemoveClients.push_back(*itr);
|
RemoveClients.push_back(*itr);
|
||||||
itr = m_Clients.erase(itr);
|
itr = m_Clients.erase(itr);
|
||||||
continue;
|
continue;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// FloodyFluidSimulator.cpp
|
// FloodyFluidSimulator.cpp
|
||||||
|
|
||||||
// Interfaces to the cFloodyFluidSimulator that represents a fluid simulator that tries to flood everything :)
|
// Interfaces to the cFloodyFluidSimulator that represents a fluid simulator that tries to flood everything :)
|
||||||
// http://forum.mc-server.org/showthread.php?tid=565
|
// https://forum.cuberite.org/thread-565.html
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "Globals.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// FloodyFluidSimulator.h
|
// FloodyFluidSimulator.h
|
||||||
|
|
||||||
// Interfaces to the cFloodyFluidSimulator that represents a fluid simulator that tries to flood everything :)
|
// Interfaces to the cFloodyFluidSimulator that represents a fluid simulator that tries to flood everything :)
|
||||||
// http://forum.mc-server.org/showthread.php?tid=565
|
// https://forum.cuberite.org/thread-565.html
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ cWindow::cWindow(WindowType a_WindowType, const AString & a_WindowTitle) :
|
|||||||
m_Owner(nullptr)
|
m_Owner(nullptr)
|
||||||
{
|
{
|
||||||
// The window ID is signed in protocol 1.7, unsigned in protocol 1.8. Keep out of trouble by using only 7 bits:
|
// The window ID is signed in protocol 1.7, unsigned in protocol 1.8. Keep out of trouble by using only 7 bits:
|
||||||
// Ref.: http://forum.mc-server.org/showthread.php?tid=1876
|
// Ref.: https://forum.cuberite.org/thread-1876.html
|
||||||
ASSERT((m_WindowID >= 0) && (m_WindowID < 127));
|
ASSERT((m_WindowID >= 0) && (m_WindowID < 127));
|
||||||
|
|
||||||
if (a_WindowType == wtInventory)
|
if (a_WindowType == wtInventory)
|
||||||
|
Loading…
Reference in New Issue
Block a user