summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2016-01-30 17:01:19 +0100
committerAlexander Harkness <me@bearbin.net>2016-01-30 17:01:19 +0100
commitb5437c9a778b9f332954a13e70b5eb85f1ac18c8 (patch)
treea2d273770c91afd4f91e9addebd9be3d5705d6dd /Server/Plugins/APIDump
parentMerge pull request #2910 from LogicParrot/posix (diff)
parentMCServer to Cuberite (diff)
downloadcuberite-b5437c9a778b9f332954a13e70b5eb85f1ac18c8.tar
cuberite-b5437c9a778b9f332954a13e70b5eb85f1ac18c8.tar.gz
cuberite-b5437c9a778b9f332954a13e70b5eb85f1ac18c8.tar.bz2
cuberite-b5437c9a778b9f332954a13e70b5eb85f1ac18c8.tar.lz
cuberite-b5437c9a778b9f332954a13e70b5eb85f1ac18c8.tar.xz
cuberite-b5437c9a778b9f332954a13e70b5eb85f1ac18c8.tar.zst
cuberite-b5437c9a778b9f332954a13e70b5eb85f1ac18c8.zip
Diffstat (limited to 'Server/Plugins/APIDump')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua2
-rw-r--r--Server/Plugins/APIDump/InfoFile.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index b253626cd..97e17c7c6 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -662,7 +662,7 @@ function OnPlayerJoined(a_Player)
-- Send an example composite chat message to the player:
a_Player:SendMessage(cCompositeChat()
:AddTextPart("Hello, ")
- :AddUrlPart(a_Player:GetName(), "http://www.mc-server.org", "u@2") -- Colored underlined link
+ :AddUrlPart(a_Player:GetName(), "http://cuberite.org", "u@2") -- Colored underlined link
:AddSuggestCommandPart(", and welcome.", "/help", "u") -- Underlined suggest-command
:AddRunCommandPart(" SetDay", "/time set 0") -- Regular text that will execute command when clicked
:SetMessageType(mtJoin) -- It is a join-message
diff --git a/Server/Plugins/APIDump/InfoFile.html b/Server/Plugins/APIDump/InfoFile.html
index baba2d27c..7f350f9f2 100644
--- a/Server/Plugins/APIDump/InfoFile.html
+++ b/Server/Plugins/APIDump/InfoFile.html
@@ -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>
<ul>
- <li>Gallery plugin: <a href="https://github.com/mc-server/Gallery/blob/master/Info.lua">Info.lua</a>, <a href="http://forum.mc-server.org/showthread.php?tid=1306">Forum</a> documentation</li>
- <li>WorldEdit plugin: <a href="https://github.com/mc-server/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/mc-server/WorldEdit">MarkDown</a> documentation</li>
+ <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>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>
</ul>
<script>