summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-05-13 19:24:57 +0200
committerMattes D <github@xoft.cz>2015-05-13 19:24:57 +0200
commitb34fd9c6d9a65987f3e0f55f33ddb03a89d8853f (patch)
tree10e3e6dfa963d61696974d58280e7e7587185613 /MCServer/Plugins
parentInfoDump: Added support for links. (diff)
downloadcuberite-b34fd9c6d9a65987f3e0f55f33ddb03a89d8853f.tar
cuberite-b34fd9c6d9a65987f3e0f55f33ddb03a89d8853f.tar.gz
cuberite-b34fd9c6d9a65987f3e0f55f33ddb03a89d8853f.tar.bz2
cuberite-b34fd9c6d9a65987f3e0f55f33ddb03a89d8853f.tar.lz
cuberite-b34fd9c6d9a65987f3e0f55f33ddb03a89d8853f.tar.xz
cuberite-b34fd9c6d9a65987f3e0f55f33ddb03a89d8853f.tar.zst
cuberite-b34fd9c6d9a65987f3e0f55f33ddb03a89d8853f.zip
Diffstat (limited to 'MCServer/Plugins')
-rw-r--r--MCServer/Plugins/InfoDump.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/MCServer/Plugins/InfoDump.lua b/MCServer/Plugins/InfoDump.lua
index 433827ce7..a715c9a18 100644
--- a/MCServer/Plugins/InfoDump.lua
+++ b/MCServer/Plugins/InfoDump.lua
@@ -600,7 +600,10 @@ local function DumpPluginInfoForum(a_PluginFolder, a_PluginInfo)
DumpCommandsForum(a_PluginInfo, f)
DumpPermissionsForum(a_PluginInfo, f)
if (a_PluginInfo.SourceLocation ~= nil) then
- f:write("[b][color=blue]Source:[/color] [url=", a_PluginInfo.SourceLocation, "]Link[/url][/b]")
+ f:write("\n[b]Source[/b]: ", a_PluginInfo.SourceLocation, "\n")
+ end
+ if (a_PluginInfo.DownloadLocation ~= nil) then
+ f:write("[b]Download[/b]: ", a_PluginInfo.DownloadLocation)
end
f:close()
return true