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
Verifying myself as Primus#9110 |
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
<?php | |
// P.S. Kad man nav ko darit, es rakstu datoram instrukcijas. | |
// Čau Signe! | |
/** | |
* SAMP Query Script | |
* | |
* @author Chris-Prime | |
*/ |
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
<?php | |
namespace schematic; | |
use pocketmine\nbt\NBT; | |
use pocketmine\utils\Binary; | |
use pocketmine\block\Block; | |
use pocketmine\item\Item; | |
use pocketmine\Server; | |
class Schematic { |
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
<?php | |
/** | |
* @name zPPYML2MySQL | |
* @author Chris Prime | |
* @api 3.0.0 | |
* @version 1.0.0 | |
* @main ym\PPYML2MySQL | |
* @loadafter PurePerms | |
*/ |
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
<?php | |
// Prepare | |
if(!function_exists('yaml_emit')) die('yaml extension not loaded'); | |
if(!isset($argv[1])) die("enter a valid path to file".PHP_EOL); | |
$source = $argv[1]; | |
if(!file_exists($source)) die("file '$source' does not exist".PHP_EOL); | |
$to = substr($source, 0, strpos($source, '.ini')) . ".yml"; | |
if(file_exists($to)) die("can't save file to '$to' file already exists".PHP_EOL); |