Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am matthww on github.
  • I am matthww (https://keybase.io/matthww) on keybase.
  • I have a public key ASCGNhnZqFlrOq0AlHQVvTtti_7rPFq3QeVsGTZHVOF7yAo

To claim this, I am signing this object:

@Matthww
Matthww / _header.php
Created May 3, 2017 13:36
EPICMC API
<?php
header("Content-type: application/json;charset=utf-8");
$tokens = array(
"670f9d349c7e8fdb5e75e04ad23ad45c"
);
$reservedUsernames = array(
"admin",
"administrator",
"moderator",
"mod",
import discord
import asyncio
from discord.ext import commands
import sys
from cleverbot import Cleverbot # https://github.com/folz/cleverbot.py
bot = commands.Bot(command_prefix='/',self_bot=True)
cb = Cleverbot()
@bot.event
@Matthww
Matthww / TOS
Created October 29, 2016 22:50
Terms and Conditions
This store is operated by HillCraft. By visiting this store and accessing the information, resources, services, products, and tools we provide, you understand and agree to accept and adhere to the following terms and conditions as stated in this policy (hereafter referred to as 'User Agreement'), along with the terms and conditions as stated in our Privacy Policy (please refer to the Privacy Policy section below for more information).
I) Since The items and ranks you are purchasing/donating for are Digital Items. There is a strict no refund/chargeback policy. No refunds will be granted except on special conditions. (No chargebacks)
II) Attempts to circumvent our refund policy via filing unauthorized charges with your credit card company will result in a lawsuit, a permanent ban, and could also cause a police investigation.
Iksaku:
I would like to request the immediate deletion of this repository because of the following reasons:
The original work is protected by GPLv3 License, which is being violated in this repository by not including the original license file and not referencing to the original work where it was taken and modified from.
The work done in this repository can be harmful to users using this code, as it provides a code break to older 1.x.x API users (PocketMine 1.5 or lower).
The update of the original code to support PHP 7 language (Which was the intention of creating this modifiec code) is already taken by the original repo and developers, no need to keep this repo available.
Thanks
<?php
namespace Pundler\Tasks;
use pocketmine\scheduler\AsyncTask;
use pocketmine\Server;
class AsyncFetchTask extends AsyncTask
{
const API_URL = 'http://forums.pocketmine.net/api.php';
class FactionMain extends PluginBase implements Listener {
public $db;
public $prefs;
public $bannednames;
public function onEnable() {
@mkdir($this->getDataFolder());
$this->getServer()->getPluginManager()->registerEvents(new FactionListener($this), $this);