These are the slides and the code for my #SCD18 and #DPC18 talks.
- Buy and download a legal version of Minecraft.
- Change this line to point to the log file on your system.
- Copy the contents of
minecraft-client
to yourApplication Support
or%appdata%
Minecraft folder. It's ok to overwrite the contents there - there's nothing reinstalling that legal version of Minecraft can't fix, if anything is messed up. - Launch the Minecraft client, and run the "forge" version.
- Make sure the Sphax PureBDCraft and "slides" resource packs are enabled.
- Launch the "forge" minecraft server, found in
minecraft-server
. You can launch it withjava -Xmx2024M -Xms2024M -jar forge-1.12.2-14.23.2.2611-universal.jar
. - Wait until the server has finished loading, and you see the "RCON" listening/connected log message.
- Launch the PHP daemon, found in
php-daemon
. You can launch it withphp index.php
. You should use PHP v7.2. This has not been tested on older versions.
The PHP daemon will attempt to connect to the dedicated "forge" server. If it can't connect, you will see an ugly error message. Some commands also depend on a running Shopware v5.4.* application, running at
http://127.0.0.1:8080
. If that is not set up correctly, some of the custom commands will fail.
- Connect to the "forge" dedicated server, from the Minecraft client. An address of
127.0.0.1
should suffice. - If all resource packs are correctly configured, and you're running the "forge" versions of the Minecraft client and server; then you should be able to see the "slides" from the talk. If the PHP daemon is working, and the Shopware instance is working; then you should also be able to run the custom commands.
!ping
- this checks that hte daemon is running, you should see "pong"!email your@email.com
- this sets the email associated with your Minecraft username!shop
- this opens the shop door, if you have set your email!refresh
- this loads the 4 most recently updated Shopware articles (from that local isntance), onto the signs in the shop
There are a lot of moving parts to this. If you have trouble setting things up, ask me for help.