This repository has been archived on 2019-05-05. You can view files and clone it, but cannot push or open issues or pull requests.
Server-v1/admin/kickplayer.php

9 lines
170 B
PHP

<?php
require_once './required.php';
if (!isAdmin()) {
die("Unauthorized.");
}
$database->update("players", ["kick" => $_POST['msg']], ["uuid" => $_POST['uuid']]);