Summary

You now have a useful plugin to play with on your own server. You can build this plugin, as discussed in the previous chapter, and put it on your server to test. Try it with different items and observe how it works. There are many plugins that can be created and which solely function by using commands. With this knowledge, you have the potential to create numerous plugins. You can try a few plugins, like a plugin that teleports you to the spawn location of the world using /spawn, a plugin that plays the Creeper Hiss sound to a specific player using /scare <player>, and a plugin that strikes a player with lightning using /strike <player> by yourself.

Tip

There is a strikeLightning method within the World class.

For the plugin, you will have ...

Get Building Minecraft Server Modifications - Second Edition 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.