Bukkit
[Pages:60]bukkit
#bukkit
Table of Contents
About
1
Chapter 1: Getting started with bukkit
2
Remarks
2
Versions
2
Examples
3
Creating a Plugin
3
Prerequisites
3
Adding Bukkit as a Dependency
3
Main Class
3
Creating a plugin.yml
5
Create a test server on Windows
5
BuildTools
6
What is it?
6
Prerequisites
6
Windows
6
Git
6
Java
6
Linux
6
Mac
6
Running BuildTools
7
Chapter 2: Commands
8
Syntax
8
Examples
8
Handling a Command
8
A simple set GameMode command ( /gm )
8
Command not in main class
9
Chapter 3: Configuration Files
11
Syntax
11
Remarks
11
Examples
11
Plugin Config.yml
11
Multiple Paths Section
12
Chapter 4: Entities
13
Examples
13
Teleporting an entity to another entity
13
Teleporting an entity to a location
13
EntityType
14
Passenger
17
Nearby Entities
18
Chapter 5: Entity Events
19
Introduction
19
Examples
19
EntityDamage Event
19
EntityDamageEvent
19
EntityDamageByEntityEvent
19
EntityDamageByBlockEvent
20
EntityEvent (Superclass)
20
Chapter 6: Event Handling
22
Introduction
22
Syntax
22
Remarks
22
Examples
22
Register Events inside the Listener class
22
Registering Events to your Main class
23
Listening to Events
23
Creating an Event Handler
23
Registering Events
24
Creating Custom Events
24
Calling your Custom Event
25
Listening to a Custom Event
25
Making your CustomEvent Cancellable
25
Basic Event Handling
26
Creating an Event Handler
26
Registering Events
27
Event Priorities
27
Chapter 7: Falling
29
Remarks
29
Examples
29
Entity Falling Distance
29
Cancelling Damage
29
Chapter 8: Hiding Players
30
Syntax
30
Remarks
30
Examples
30
Hiding a Player from other Players
30
Showing a Player to another Player
30
Checking if player can be seen
30
Hiding Player from an Entity
30
Chapter 9: Logging
32
Examples
32
Using the Bukkit Logger
32
Logging Levels
32
Chapter 10: Manipulating Achievements
34
Syntax
34
Examples
34
Awarding Achievements
34
Chapter 11: NMS
36
Introduction
36
Remarks
36
Examples
36
Accessing the Current Minecraft Version
36
Getting a Player's Ping
37
Chapter 12: Player Events
39
Introduction
39
Examples
39
PlayerJoinEvent
39
PlayerMoveListener
39
PlayerLoginEvent
39
Player Bed Events
40
Chapter 13: Scala
42
Introduction
42
Examples
42
Project setup (Scala Eclipse)
42
Chapter 14: Scheduler Programming
44
Syntax
44
Remarks
44
Examples
44
Scheduler Repeating task
44
Scheduler Delayed Task
44
Running Tasks Asynchronously
45
Running Tasks on the Main Thread
45
Running a BukkitRunnable
45
Running Thread Safe Code from an Asynchronous Task
46
Chapter 15: Spawn Eggs
47
Remarks
47
Examples
47
Creating an ItemStack of a SpawnEgg
47
Chapter 16: Versions
48
Examples
48
Getting Version on Runtime
48
Accessing NMS across implementation versions
48
Chapter 17: World generation
49
Examples
49
Void Generator
49
Chapter 18: World Manipulation
50
Remarks
50
Examples
50
Creating Explosions
50
Dropping an Item
50
Generating a Tree
50
Spawning Rules
52
Credits
54
About
You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: bukkit
It is an unofficial and free bukkit ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official bukkit.
The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified. All trademarks and registered trademarks are the property of their respective company owners.
Use the content presented in this book at your own risk; it is not guaranteed to be correct nor accurate, please send your feedback and corrections to info@
1
Chapter 1: Getting started with bukkit
Remarks
Bukkit is a simple API that allows for modifying the normal Minecraft multiplayer experience using plugins.
Bukkit is now discontinued, and is no longer available for newer versions of Minecraft. Spigot, a version of Bukkit that boasts improving server performance is available. The API for Spigot is essentially the same as Bukkit.
Versions
Minecraft Version Spigot Download Link Release Date
1.10.2
Link
2016-11-03
1.10
Link
2016-06-26
1.9.4
Link
2016-06-09
1.9.2
Link
2016-03-30
1.9
Link
2016-02-29
1.8.8
Link
2015-07-28
1.8.7
Link
2015-06-05
1.8.6
Link
2015-05-25
1.8.5
Link
1.8.4
Link
2015-05-22 2015-04-17
1.8.3
Link
2015-02-20
1.8
Link
2014-09-02
1.7.10
Link
2014-06-26
1.7.9
Link
2014-04-14
1.7.8
--
2014-04-11
1.7.5
Link
2014-02-26
1.7.2
Link
2013-10-25
2
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- minecraft lucky block command 1 12 2 weebly
- keystrokes mod 1 14 4
- keystrokes freedom scientific
- using x mouse button control highrez
- minecraft scaffold hack download
- into the core a look at tiny core linux
- microsoft makecode for
- minecraft giant lucky block command 1 12 2
- the ultimate player s guide to minecraft
- sdonate documentation