Building Minecraft Server Modifications, 2/e(Paperback)
暫譯: 建立 Minecraft 伺服器修改,第二版(平裝本)
Cody M. Sommer
- 出版商: Packt Publishing
- 出版日期: 2015-12-18
- 售價: $1,470
- 貴賓價: 9.5 折 $1,397
- 語言: 英文
- 頁數: 158
- 裝訂: Paperback
- ISBN: 178588302X
- ISBN-13: 9781785883026
海外代購書籍(需單獨結帳)
商品描述
Key Features
- Set up a Minecraft server that you control
- Use object-oriented programming to modify Minecraft regardless of your level of experience
- This interactive guide will help you create a unique experience for you and your friends
Book Description
Minecraft is a sandbox game that allows you to play it in any way you want. Coupled with a multiplayer server powered by Spigot, you can customize the game even more! Using the Bukkit API, anyone interested in learning how to program can control their Minecraft world by developing server plugins.
This book is a great introduction to software development through the wonderful world of Minecraft.
We start by instructing you through how to set up your home PC for Minecraft server development. This includes an IDE complete with the required libraries as well as a Spigot server to test on. You will be guided through writing code for several different plugins. Each chapter teaches you new skills to create plugins of increasing complexity, and each plugin adds a new concept of the Bukkit API By the end of the book, you will have all the knowledge you need about the API to successfully create any type of plugin. You can then practice and build your Java skills through developing more mods for their server.
What you will learn
- Install and run a Spigot server for free on your home PC
- Adjust the server settings to customize Minecraft to your liking
- Install an IDE and configure a project to write code
- Install and test plugins on a Spigot server
- Test your plugins through debugging the code
- Program in game commands and permissions
- Get to know advanced programming concepts such as event-driven programming, configuration files, saving/loading data, and scheduled tasks
- Implement configuration files to make your plugins customizable
- Save and load your plugin's data to persist across server restarts
About the Author
Cody M. Sommer graduated from SUNY Brockport with a bachelor's degree in computer science. During his time in college, he practiced his Java techniques by writing code for Bukkit plugins. The Bukkit project provided Cody with a fun way to develop software and continue to learn new things. After a few years, Cody authored the first edition of Building Minecraft Server Modifications in order to share his knowledge with the world. To this day, he creates new and exciting plugins for Minecraft servers. Cody has developed public plugins that are available for download, such as PhatLoots. He is also a private developer for servers such as ProspectMC. He even makes custom plugins for Minecraft events, which are hosted by him at his local library.
Table of Contents
- Deploying a Spigot Server
- Learning the Bukkit API
- Creating Your First Bukkit Plugin
- Testing on the Spigot Server
- Plugin Commands
- Player Permissions
- The Bukkit Event System
- Making Your Plugin Configurable
- Saving Your Data
- The Bukkit Scheduler
商品描述(中文翻譯)
關鍵特點
- 設置一個由你控制的 Minecraft 伺服器
- 使用物件導向程式設計來修改 Minecraft,無論你的經驗水平如何
- 這本互動指南將幫助你為你和你的朋友創造獨特的體驗
書籍描述
Minecraft 是一款沙盒遊戲,允許你以任何方式進行遊玩。結合由 Spigot 提供的多人伺服器,你可以進一步自訂遊戲!使用 Bukkit API,任何有興趣學習程式設計的人都可以通過開發伺服器插件來控制他們的 Minecraft 世界。
這本書是通過 Minecraft 的奇妙世界來介紹軟體開發的絕佳入門書籍。
我們將從指導你如何設置家用電腦以進行 Minecraft 伺服器開發開始。這包括一個完整的 IDE 及所需的函式庫,以及一個可供測試的 Spigot 伺服器。你將被引導編寫幾個不同插件的程式碼。每一章都教你新的技能,以創建日益複雜的插件,每個插件都增加了 Bukkit API 的新概念。在書的結尾,你將擁有成功創建任何類型插件所需的所有 API 知識。然後,你可以通過開發更多的模組來練習和提升你的 Java 技能。
你將學到的內容
- 在家用電腦上免費安裝和運行 Spigot 伺服器
- 調整伺服器設置以自訂 Minecraft 以符合你的喜好
- 安裝 IDE 並配置專案以編寫程式碼
- 在 Spigot 伺服器上安裝和測試插件
- 通過除錯程式碼來測試你的插件
- 編寫遊戲命令和權限
- 了解事件驅動程式設計、配置檔案、數據的儲存/加載和排程任務等進階程式設計概念
- 實現配置檔案以使你的插件可自訂
- 儲存和加載你的插件數據,以便在伺服器重啟後持續存在
關於作者
**Cody M. Sommer** 畢業於 SUNY Brockport,獲得計算機科學學士學位。在大學期間,他通過為 Bukkit 插件編寫程式碼來練習他的 Java 技巧。Bukkit 專案為 Cody 提供了一種有趣的方式來開發軟體並持續學習新事物。幾年後,Cody 撰寫了《Building Minecraft Server Modifications》的第一版,以便與世界分享他的知識。至今,他仍在為 Minecraft 伺服器創建新的和令人興奮的插件。Cody 開發了可供下載的公共插件,如 PhatLoots。他也是 ProspectMC 等伺服器的私人開發者。他甚至為在當地圖書館舉辦的 Minecraft 活動製作自訂插件。
目錄
1. 部署 Spigot 伺服器
2. 學習 Bukkit API
3. 創建你的第一個 Bukkit 插件
4. 在 Spigot 伺服器上測試
5. 插件命令
6. 玩家權限
7. Bukkit 事件系統
8. 使你的插件可配置
9. 儲存你的數據
10. Bukkit 排程器