April 2015
Beginner
320 pages
7h 43m
English
In this chapter, you’ll change the Minecraft game for all players. The best plugins enhance the Minecraft experience and at the same time feel like they are an intrinsic part of the game. In this plugin, each player will be greeted with a new random message each time they join the server. This will be the first plugin that uses event-driven programming, which is a way to listen and react to happenings or events in the game. Along the way, you’ll learn about arrays, a special type in JavaScript for storing lists of items.
In the early days of programming there was no such thing as event-driven programming. Programs were started and ran to completion; then they exited. If your program needed ...
Read now
Unlock full access