new plugin minecraft_skin.lua
This commit is contained in:
parent
07f3ca4f6c
commit
d9a7d817ce
14
plugins/minecraft_skin.lua
Normal file
14
plugins/minecraft_skin.lua
Normal file
@ -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]
|
Reference in New Issue
Block a user