This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import http.server as server | |
from socketserver import ThreadingMixIn | |
from urllib.parse import unquote | |
import json | |
toJson=json.JSONEncoder() | |
listen=("0.0.0.0", 7000) | |
class ThreadedHTTPServer(ThreadingMixIn, server.HTTPServer): pass | |
class HTTPHandler(server.SimpleHTTPRequestHandler): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const magik = magikcraft.io; | |
function fly() { | |
magik.volare(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const magik = magikcraft.io; | |
function fire(name){ | |
magik.incendium(name); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const magik = magikcraft.io; | |
const server = magik.getPlugin().getServer(); | |
const player = magik.getSender(); | |
const world = player.getWorld(); | |
var cursor; | |
var direction; | |
function maze() { | |
var mazeData="XOOXOOOXXOOOOOOXOOOX\nXOXXOXOOXOXXXXOOXXOX\nOOOXOXXOOOOOOXXOXXOX\nOXOXOXXXXXXXOXOOXXOX\nOXOOOXXOOOOXOXOXOOOO\nXOOXXXXOXXOOOXOXXXXO\nXOXOOOXOXOXXXXOXOOOO\nXOXOXOOOXOOXXXOXOXXO\nOOXOXXXXXXOOOOOOOXXO\nOXXOOXXXOOOXXXXXXXOO\nOXOXOXOOOXXOOOOOXOOX\nOOOXOXOXXXXSXXXOOXXX\nXOXOOXOOOOOXXOOXOOOO\nXOXOXXXXXXOOOOXEXXXO\nOOXOOOXOOOXXXOXOXXXO\nOXXXXOOXXOOOXOOOXOOO\nOOOXOXOXXXXOOXOXOOXX\nXXOXOXOXOOOXOOOXOXOO\nXOOOOXOXOXOXXXXXOOOX\nOOXXXXOOOXOOOOOOOXOO"; | |
mazeData=mazeData.split("\n") |