Chapter 15. Saving Player Preferences

In this chapter, you’ll learn how to load and save player preferences. You’ll create a new command that lets players choose which color they would like to use for in-game chat. The color they choose will be saved so that when the player disconnects or the server is restarted, the player’s choice of text color is restored.

A Day in the Life of a Minecraft Plugin

Minecraft plugins lead a busy life behind the scenes. A typical large public server might have many Minecraft plugins installed, and some or all of those plugins might be turned on or off while the server is running. All plugins are loaded automatically when the server starts up, and all plugins are unloaded automatically just before the server shuts ...

Get A Beginner’s Guide to Writing Minecraft Plugins in JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.