- Building Minecraft Server Modifications
- Cody M. Sommer
- 254字
- 2021-08-04 10:09:52
Chapter 3. Creating Your First Bukkit Plugin
The Bukkit plugins that we will program will be written in the Java programming language. I am assuming that you already have basic knowledge of Java. If this is not the case or you find yourself not understanding parts of this book, then I suggest you visit codisimus.com/learnjava, which has an introduction to the Java language and information on various concepts that you will need to know in order to create good plugins throughout the course of this book.
We will use an IDE to write the plugins. An IDE is an Integrated Development Environment and it is the software that will aid us in writing the Java code. It has many tools and features that make programming much easier. For example, it automatically detects errors in our code, it often tells us how to fix these errors or even does it for us, and it provides us with many shortcuts, such as one keystroke to compile our code and build a jar, so that the code can be executed. In this chapter we will download and install an IDE, and prepare it for creating a new Bukkit plugin. We will cover the following topics and by the end of this chapter we will have written our first plugin which will be ready to test on our server.
- Installing an IDE
- Creating a new project
- Adding Bukkit as a library
- The
plugin.yml
file - The plugin's main class
- Making and calling new methods
- Expanding your code
- C# 7 and .NET Core Cookbook
- DevOps with Kubernetes
- SoapUI Cookbook
- Oracle 11g從入門到精通(第2版) (軟件開發視頻大講堂)
- ASP.NET Core 5.0開發入門與實戰
- 認識編程:以Python語言講透編程的本質
- SQL語言從入門到精通
- Full-Stack Vue.js 2 and Laravel 5
- Mastering Rust
- 算法訓練營:提高篇(全彩版)
- 大數據分析與應用實戰:統計機器學習之數據導向編程
- 基于ARM Cortex-M4F內核的MSP432 MCU開發實踐
- iPhone應用開發從入門到精通
- 深入實踐Kotlin元編程
- 從零開始:UI圖標設計與制作(第3版)