From d9a7d817ce012097354ec8de5aae4b21ef6bf3d0 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Thu, 2 Jul 2015 17:16:43 +0200 Subject: [PATCH] new plugin minecraft_skin.lua --- plugins/minecraft_skin.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 plugins/minecraft_skin.lua diff --git a/plugins/minecraft_skin.lua b/plugins/minecraft_skin.lua new file mode 100644 index 0000000..274854f --- /dev/null +++ b/plugins/minecraft_skin.lua @@ -0,0 +1,14 @@ +local function run(msg, matches) + local receiver = get_receiver(msg) + local url = 'http://www.minecraft-skin-viewer.net/3d.php?layers=true&aa=true&a=0&w=330&wt=10&abg=330&abd=40&ajg=340&ajd=20&ratio=13&format=png&login='..matches[1]..'&headOnly=false&displayHairs=true&randomness=341.png' + print("Bild URL: "..url) + send_photo_from_url(receiver, url) +end + +return { + description = "Sendet einen 3D Minecraft Skin", + usage = {"/skin [Name]"}, + patterns = {"^/skin (.*)$",}, + run = run +} +--by Akamaru [https://ponywave.de] \ No newline at end of file