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
How to apply an add-on to a remote Linux-based Minecraft Bedrock server | |
======================================================================= | |
This was tested using unofficial Minecraft PE Linux Launcher (locally) and https://github.com/itzg/docker-minecraft-bedrock-server/ (remote) | |
Steps: | |
----- | |
1. Create add-on locally, e.g by following a tutorial (see below) | |
2. Apply and test with a local world (eg. using the unofficial Minecraft PE Linux Launcher) | |
3. Upload the minecraftWorlds/<worldname>/world_resource_packs.json to the root of the remote server |
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 python3 | |
# Requires Python 3 | |
import requests | |
import locale | |
from typing import Dict, Tuple, List | |
from calendar import monthrange | |
from datetime import datetime | |
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
{ | |
"took" : 26, | |
"timed_out" : false, | |
"_shards" : { | |
"total" : 5, | |
"successful" : 5, | |
"failed" : 0 | |
}, | |
"hits" : { | |
"total" : 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
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space | |
#include <ESP8266WiFi.h> | |
#include <BlynkSimpleEsp8266.h> | |
#include "FastLED.h" | |
#define LED_PIN 4 // GPIO pin for RGB LEDs. | |
#define NUM_LEDS 1 // Number of LEDs connected. | |
#define BRIGHTNESS 64 // Default LED brightness. | |
#define LED_TYPE WS2812 |