docker build -t mc-example .
docker run --name spigot -it -p 25565:25565 -p 4711:4711 -e EULA=true mc-example
Note: It's helpful to add yourself as a server admin..
# to see issue, use: docker exec spigot mc_log
docker exec -it spigot /bin/bash
# in container ----
rm /minecraft/ops.json
echo <YOUR_USERNAME> >> /minecraft/ops.txt
mc_restart
exit
Useful Game Commands:
/gamemode c
/tp PLAYER e/w u/d n/s
/set time 0
# remotes::install_github('machow/astar-r')
# remotes::install_github('ropensci/miner')
# run, or open in file editor
source('minecraft.R')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.