万本电子书0元读

万本电子书0元读

顶部广告

Modifying Minecraft with the Bukkit API电子书

售       价:¥

43人正在读 | 0人评论 9.8

作       者:Cody M. Sommer

出  版  社:Packt Publishing

出版时间:2013-09-25

字       数:21.8万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(1条)
  • 读书简介
  • 目录
  • 累计评论(1条)
Modifying Minecraft with the Bukkit API is a unique guide that will walk you through the entire process of developing mods for your Minecraft server.Modifying Minecraft with the Bukkit API is great for anyone who is interested in customizing their Minecraft server. Whether you are new to programming, Java, Bukkit, or even Minecraft itself, this book has you covered. All you need is a valid Minecraft account. If you are interested in software development then this book will help you get started. If you are simply interested in playing Minecraft with your friends then this book will help you make that experience even more enjoyable.
目录展开

Building Minecraft Server Modifications

Table of Contents

Building Minecraft Server Modifications

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Errata

Piracy

Questions

1. Deploying a CraftBukkit Server

Installation

Setup

Minecraft/Bukkit server commands

Port forwarding

Summary

2. Learning the Bukkit API

Introduction to APIs

The Bukkit API documentation

Navigating the Bukkit API documentation

Understanding the Java documentation

Exploring Bukkit API

Summary

3. Creating Your First Bukkit Plugin

Installing an IDE

Creating a new project

Adding Bukkit as a library

The essentials of a Bukkit plugin

The plugin.yml file

The plugin's main class

Making and calling new methods

Expanding your code

Summary

4. Testing on the CraftBukkit Server

Building the JAR file

Installing your plugin

Testing your plugin

Testing new versions of your plugin

Summary

5. Plugin Commands

Adding a command to plugin.yml

Programming the command actions

Assigning the executor for the command

Summary

6. Player Permissions

The benefits of permissions

Understanding permission nodes

Adding a permission node to plugin.yml

Assigning a permission node to a plugin command

Testing player permissions

Using a third-party permissions plugin

Using permission nodes throughout your plugins

Summary

7. The Bukkit Event System

Choosing an event

Registering an event listener

Listening for an event

Canceling an event

Communicating among events

Modifying an event as it occurs

Creating more plugins on your own

Summary

8. Making Your Plugin Configurable

Configurable data types

Writing a config.yml file

Saving, loading, and reloading the config file

Reading and storing the configured values

Using configured settings within your plugin

ItemStack within a configuration

YAML configuration hierarchy

Storing configuration values as variables

Accessing variables from another class

Summary

9. Saving Your Data

Types of data that can be saved

Which data to save and when

A sample teleportation plugin

Writing a ConfigurationSerializable class

Saving data to a YAML configuration

Loading data from a YAML configuration

Summary

10. The Bukkit Scheduler

Creating a BukkitRunnable class

Synchronous versus asynchronous tasks

Running a task from a BukkitRunnable class

Running a task later from a BukkitRunnable

Running a task timer from a BukkitRunnable class

Writing a repeating task for a plugin

Adding a delayed task to a plugin

Executing a code asynchronously

Summary

Index

累计评论(1条) 2个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部