Skip to content

South Bay CoderDojo Minecraft Sessions #3

Description

@joedean

First session is planned to happen next week on the 28th of Jan.
Overview:

Session Title:
Learn to Program with Minecraft Plugins (1)

Description:
If you enjoy creating in Minecraft, but sometimes feel the built-in capabilities of the game are not enough and you want to do something more? Then this Coderdojo session is for you. Since, Minecraft is based on the Java programming language this session will introduce you to Java, so you can code your first Minecraft plugin. Unfortunately, programming in Java can feel hard and confusing. This session will try to avoid the complications of the language and focus on the basics to get a simple plugin working. We'll start with setting up your own CraftBukkit server and then code a simple plugin using Java.

For beginners, there is a lot to learn and limited time. Beware that this session could turn into multiple sessions depending on how far we get in an hour and half.

Session prerequisites:

  • Must have purchased Minecraft

  • Download and install latest Sublime Text editor: http://www.sublimetext.com.

  • Install Java programming language: http://www.oracle.com/technetwork/java/javase/downloads/index.html
    And make sure the two commands work in a new shell. (Note: results may be a little different, but make sure it's version 1.7.x)

    javac -version
    javac 1.7.0_25
    java -version
    java version "1.7.0_25"
    OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2)
    OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

  • Download CraftBukkit: http://wiki.bukkit.org/Setting_up_a_server

  • Windows users must install BusyBox by downloading from ftp://ftp.tigress.co.uk/public/gpl/6.0.0/busybox/busybox.exe and create the following shell.bat file on Desktop.
    ;shell.bat used to start shell
    C:\Windows\system32\cmd.exe /c sh.exe -l

(1) Note: Material based on the book "Learn to Program with Minecraft Plugins" by Andy Hunt

Basic schedule
(1) 6-6:30 - Env help, play, pizza arrives
(2) 6:30 - 7:00 - Install CraftBukkit and learn how to start server and connect into a server. If they get this easily have them connect to each others servers and have fun! Maybe teach them about finite state machines.
(3) 7:00 - 8:00 - Code simple plugin (begginers - hello world, intermediates - flying creepers, gurus - Cow Shooter or surprise us!)
(4) 8:00 - 8:30 - Q&A and/or show and tell

Note: not going to get to much into details of the code during this session. Will be breaking down coding details in future sessions. I'm working on getting handouts together with all the details so parents/mentors can help the kids that fall behind.

Also, would like to record this session so others can view it that can't make it. For those that missed this session and want to attend future sessions will know what they missed and can easily make up the information so they are not behind others that were able to attend. Does anyone have knowledge or ideas on best way to record / stream these sessions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions