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
// $args = array("Das", "ist", "der", "Name", "Grund"); | |
$argsCount = count($args); | |
$playerName = ""; | |
$reason = $args[$argsCount - 1]; | |
for($i = 0; $i < ($argsCount - 1); $i++) { | |
$playerName .= $args[$i]; |
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
# PocketMine-MP backup script | |
# (C) 2017 by jarne | https://github.com/jarne | |
BACKUP_NAME="$(date +%Y%m%d%H%M%S)" | |
# Create backup folder if not exists | |
mkdir backups | |
# Pack into archive | |
tar -czvf "$BACKUP_NAME.tar.gz" . |