summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/InfoDump.lua
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-03-01 14:29:40 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-03-01 14:29:40 +0100
commit6129b6edf161c61db91d91145e9b1f23db688529 (patch)
tree2c0fd67c71b4a64b1230cb46c78789d486a17fde /MCServer/Plugins/InfoDump.lua
parentAPIDump: Documented cRoot:CreateAndInitializeWorld. (diff)
downloadcuberite-6129b6edf161c61db91d91145e9b1f23db688529.tar
cuberite-6129b6edf161c61db91d91145e9b1f23db688529.tar.gz
cuberite-6129b6edf161c61db91d91145e9b1f23db688529.tar.bz2
cuberite-6129b6edf161c61db91d91145e9b1f23db688529.tar.lz
cuberite-6129b6edf161c61db91d91145e9b1f23db688529.tar.xz
cuberite-6129b6edf161c61db91d91145e9b1f23db688529.tar.zst
cuberite-6129b6edf161c61db91d91145e9b1f23db688529.zip
Diffstat (limited to 'MCServer/Plugins/InfoDump.lua')
-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 8fac09d60..03ce46d99 100644
--- a/MCServer/Plugins/InfoDump.lua
+++ b/MCServer/Plugins/InfoDump.lua
@@ -578,7 +578,10 @@ local function DumpPluginInfoForum(a_PluginFolder, a_PluginInfo)
DumpAdditionalInfoForum(a_PluginInfo, f);
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]");
+ end
+
f:close();
end