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/env bash | |
set -e | |
CONTEXT="$1" | |
if [[ -z ${CONTEXT} ]]; then | |
echo "Usage: $0 KUBE-CONTEXT" | |
exit 1 | |
fi |
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
### Keybase proof | |
I hereby claim: | |
* I am artur9010 on github. | |
* I am arturmotyka (https://keybase.io/arturmotyka) on keybase. | |
* I have a public key ASD6xQ8SwPlSHbrQMMj8LSRm2JRpbDOruRzNybxvfzD5rQo | |
To claim this, I am signing this object: |
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
id: 1 <--- your server id (for minecraft-list.org/4131-kiwimc-pl it should be 4131) | |
requireonline: true <--- require player to be online to get rewarded (true/false) | |
commands: <--- here you put all the commands that should be executed on vote, use %player% for voter nickname | |
- "say %player% thank you for your vote at Minecraft-List.org" | |
- "give %player% dirt 1" |
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 | |
/* | |
Advertise your Minecraft server for free | |
https://minecraft-list.org | |
*/ | |
$data = file_get_contents("https://minecraft-list.org/server/4131-kiwimc.pl/json"); | |
$server = json_decode($data); | |
if($server->online){ | |
echo "Address: {$server->address}<br/>"; |