Commit graph

1430 commits

Author SHA1 Message Date
Bukkit/Spigot
244c30af0a Added some new ChatColors. Surprise! :D
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-22 20:47:09 +00:00
Bukkit/Spigot
fa14b2ff69 Updated version string to 1.2.4-R0.1
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-22 20:39:13 +00:00
Bukkit/Spigot
1290db91bf [Bleeding] Fixed soft-dependencies broken by previous commit.
By: Wesley Wolfe <weswolf@aol.com>
2012-03-22 01:56:44 -05:00
Bukkit/Spigot
c36ddbd64c [Bleeding] Made IndexHelpTopic more conducive to subclassing. Addresses BUKKIT-1263
By: rmichela <deltahat@gmail.com>
2012-03-22 00:20:33 -04:00
Bukkit/Spigot
bb9d82a69e [Bleeding] Added swamp trees and small jungle trees to TreeType. Addresses BUKKIT-1162
- Also added in xpansive's tweaks to BlockChangeDelegate for extra methods

By: zml2008 <zach@zachsthings.com>
2012-03-11 13:12:19 -07:00
Bukkit/Spigot
8874c4e872 [Bleeding] Added loadbefore property; Addresses BUKKIT-843
By: Wesley Wolfe <weswolf@aol.com>
2012-03-20 03:54:51 -05:00
Bukkit/Spigot
791dd4c428 [Bleeding] Added Ageable interface for Villagers and Animals to extend. Addresses BUKKIT-1232
By: aPunch <theapunch@yahoo.com>
2012-03-19 14:02:10 -05:00
Bukkit/Spigot
bbe996077c [Bleeding] Added getting and setting drops to all appropriate events. Fixes BUKKIT-397 and fixes BUKKIT-1252
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-08-14 22:34:13 -04:00
Bukkit/Spigot
da44559df3 [Bleeding] Fixed some issues with no-effect potions, and added more potion tests. Fixes BUKKIT-1251
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-04 18:58:18 -05:00
Bukkit/Spigot
82f7680bd0 [Bleeding] Add Chest.getBlockInventory() for convenience; this always returns a single chest inventory. Addresses BUKKIT-1247
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-19 15:02:10 -04:00
Bukkit/Spigot
35852775ed [Bleeding] Add iterator() with starting index. Addresses BUKKIT-1246
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-17 10:37:22 -04:00
Bukkit/Spigot
1d06f749fb [Bleeding] Added way to get/set if an Iron Golem was player created. Addresses BUKKIT-1229
By: aPunch <alexpuncochar@yahoo.com>
2012-03-08 20:22:11 -06:00
Bukkit/Spigot
7688cbaf4e [Bleeding] Add ExpBottleEvent; Addresses BUKKIT-888
By: Wesley Wolfe <weswolf@aol.com>
2012-03-20 02:06:59 -05:00
Bukkit/Spigot
5bcc6d2903 [Bleeding] Moved HelpTopicComparator to Bukkit.jar. Addresses BUKKIT-1193
By: rmichela <deltahat@gmail.com>
2012-03-16 03:42:01 -04:00
Bukkit/Spigot
a7679c24c3 [Bleeding] Added ChatColor.translateAlternateColorCodes(). Addresses BUKKIT-1191
By: rmichela <deltahat@gmail.com>
2012-03-16 00:40:47 -04:00
Bukkit/Spigot
41c45c2342 [Bleeding] Added automatically generated plugin-level sub-indexes to the master help index. Addresses BUKKIT-1180
By: rmichela <deltahat@gmail.com>
2012-03-15 02:27:35 -04:00
Bukkit/Spigot
04e48703d6 Aesthetic changes to the /help command.
By: rmichela <deltahat@gmail.com>
2012-03-15 02:26:07 -04:00
Bukkit/Spigot
0466d12a75 [Bleeding] Added option to remove entire plugins from the help index using the help.yml file. Addresses BUKKIT-1178
By: rmichela <deltahat@gmail.com>
2012-03-14 23:38:59 -04:00
Bukkit/Spigot
f80d579c7b [Bleeding] Add Inventory.{get,set}MaxStackSize(). Addresses BUKKIT-1076
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-14 00:02:20 -04:00
Bukkit/Spigot
86b97ec79e [Bleeding] Make InventoryView.setItem(-999, item) drop the item on the ground by default.
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-13 22:28:07 -04:00
Bukkit/Spigot
ade2f5568b [Bleeding] CraftItemEvent.getInventory() now returns CraftingInventory for convenience.
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 23:11:49 -04:00
Bukkit/Spigot
0635b1f496 [Bleeding] Made ItemStack constructors not default to an amount of 0. Fixes BUKKIT-610
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 16:59:12 -04:00
Bukkit/Spigot
e3b0a0b98c [Bleeding] Added DoubleChest wrapper so that DoubleChestInventory can return something other than null. Addresses BUKKIT-995
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 16:46:47 -04:00
Bukkit/Spigot
681a13dec1 [Bleeding] Added ProjectileLaunchEvent. Addresses BUKKIT-284
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 12:45:28 -04:00
Bukkit/Spigot
d1ea1be2c2 [Bleeding] Clean up and clarify javadocs on new generator methods.
By: Mike Primm <mike@primmhome.com>
2012-03-14 21:18:55 -05:00
Bukkit/Spigot
1cbbdebfe3 [Bleeding] Lazily calculate permissions. Addresses BUKKIT-1122
By: Wesley Wolfe <weswolf@aol.com>
2012-03-10 15:05:59 -06:00
Bukkit/Spigot
a9dd81a309 [Bleeding] Reworked OBP.Permission. Addresses BUKKIT-1120 and addresses BUKKIT-1121
By: Wesley Wolfe <weswolf@aol.com>
2012-03-10 15:03:41 -06:00
Bukkit/Spigot
71a60b4c11 [Bleeding] More lenient command creation from plugin.yml. Fixes BUKKIT-1093
By: Wesley Wolfe <weswolf@aol.com>
2012-03-10 13:11:21 -06:00
Bukkit/Spigot
c0a94420f6 Updated tests with isBlocking().
By: EvilSeph <evilseph@gmail.com>
2012-03-14 01:35:43 -04:00
Bukkit/Spigot
2cfe0f658a Added Enchantment.conflictsWith() and EnchantmentTarget.includes(). Addresses BUKKIT-1159 and addresses BUKKIT-1160
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 15:33:19 -04:00
Bukkit/Spigot
3bfc8591ab [Bleeding] Added Player.isBlocking(). Addresses BUKKIT-858
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 10:54:30 -04:00
Bukkit/Spigot
200f973bcd [Bleeding] Added EntityBreakDoorEvent. Fixes BUKKIT-1134
By: feildmaster <admin@feildmaster.com>
2012-03-10 18:42:17 -06:00
Bukkit/Spigot
d27b4e05d6 Updated version to 1.2.3-R0.3-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-03-11 06:20:29 -04:00
Bukkit/Spigot
3eb6315444 Updated version to 1.2.3-R0.2 in pom.xml for beta.
By: EvilSeph <evilseph@gmail.com>
2012-03-11 03:55:43 -04:00
Bukkit/Spigot
a4ec97483e [Bleeding] Add getWorldType() and getGenerateStructures() methods to Bukkit and Server. Fixes BUKKIT-855
By: Mike Primm <mike@primmhome.com>
2012-03-10 01:27:38 -06:00
Bukkit/Spigot
b891ec330b [Bleeding] Added support for amending help topic visibility permissions in help.yml. Addresses BUKKIT-1113
By: rmichela <deltahat@gmail.com>
2012-03-10 18:07:56 -05:00
Bukkit/Spigot
430de62323 [Bleeding] Correct handling of blank lines in ChatPaginator.
By: zml2008 <zach@zachsthings.com>
2012-03-10 13:40:05 -08:00
Bukkit/Spigot
944fe0c27d [Bleeding] Implemented command aliases in help. Addresses BUKKIT-1028
By: rmichela <deltahat@gmail.com>
2012-03-10 16:16:33 -05:00
Bukkit/Spigot
2a35131c2a [Bleeding] Moved DefaultHelpTopic and GenericCommandHelpTopic to public bukkit api.
By: rmichela <deltahat@gmail.com>
2012-03-10 14:43:22 -05:00
Bukkit/Spigot
bb3ac03fcc [Bleeding] Added support for linking custom CommandExecutor types to a HelpTopicFactory. Fixes BUKKIT-1027
By: rmichela <deltahat@gmail.com>
2012-03-09 01:17:17 -05:00
Bukkit/Spigot
dc73238490 [Bleeding] Add new sub-event for target goals, and DEFEND_VILLAGE TargetReason. Fixes BUKKIT-935
By: feildmaster <admin@feildmaster.com>
2012-03-08 18:26:46 -06:00
Bukkit/Spigot
2a716ddd7e Made Ocelot implement isSitting() and setSitting(). Fixes BUKKIT-993
By: EvilSeph <evilseph@gmail.com>
2012-03-09 15:01:28 -05:00
Bukkit/Spigot
da80921d52 [Bleeding] Added getting the hostname a player used to log in. Addresses BUKKIT-984
By: SpaceManiac <tad.hardesty@platymuus.com>
2012-03-03 12:39:14 -06:00
Bukkit/Spigot
5e614ba44b [Bleeding] Update generator interface for new generate methods. Addresses BUKKIT-874
By: Mike Primm <mike@primmhome.com>
2012-03-08 23:45:28 -06:00
Bukkit/Spigot
862648f1e7 Made zombie invasions fire CreatureSpawn event. Fixes BUKKIT-1090
By: EvilSeph <evilseph@gmail.com>
2012-03-08 22:10:17 -05:00
Bukkit/Spigot
2b3f74b32a Made iron golems fire CreatureSpawn event. Fixes BUKKIT-1089
By: EvilSeph <evilseph@gmail.com>
2012-03-08 21:45:53 -05:00
Bukkit/Spigot
b9310ad9c5 [Bleeding] Correct errors in LongGrass and MonsterEggs materials. Addresses BUKKIT-1083
By: Mike Primm <mike@primmhome.com>
2012-03-08 12:38:46 -06:00
Bukkit/Spigot
839a674c9b Fix incorrect entity ID for iron golem. Addresses BUKKIT-1088
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-05 12:28:54 -05:00
Bukkit/Spigot
ce4d959ab2 Add missing JUNGLE TreeSpecies. Fixes BUKKIT-973
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-05 12:29:09 -05:00
Bukkit/Spigot
99569c1767 [Bleeding] Added missing NPE protection to removeMetadata(). Fixes BUKKIT-933
By: rmichela <deltahat@gmail.com>
2012-03-05 22:33:22 -05:00
Bukkit/Spigot
9bca84ee5b [Bleeding] ChatPaginator now preserves the color of a line after wrapping the line of text. Fixes BUKKIT-1048
By: rmichela <deltahat@gmail.com>
2012-03-06 01:15:00 -05:00
Bukkit/Spigot
c90c0c1716 [Bleeding] Help command should properly wrap command text - at least for english. Fixes BUKKIT-939
By: rmichela <deltahat@gmail.com>
2012-03-05 23:35:29 -05:00
Bukkit/Spigot
9f6f624e1d [Bleeding] Add APIs for editing biome data. Addresses BUKKIT-1075
By: Mike Primm <mike@primmhome.com>
2012-03-04 10:40:27 -06:00
Bukkit/Spigot
4b5a0b8ed8 [Bleeding] Added ConversationAbandonedEvent and supporting infrastructure. Whenever a conversation exits, the ConversationAbandonedEvent is triggered with details about how the conversation ended and what, if anything caused it to end. Fixes BUKKIT-986
By: rmichela <deltahat@gmail.com>
2012-03-04 16:29:56 -05:00
Bukkit/Spigot
819611b351 [Bleeding] Added local echo toggle to Conversation and ConversationFactory objects. Fixes BUKKIT-1007.
By: rmichela <deltahat@gmail.com>
2012-03-04 13:59:45 -05:00
Bukkit/Spigot
4644c277b4 Updated version to 1.2.3-R0.2-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-03-04 04:07:13 -05:00
Bukkit/Spigot
5b6905a33c Updated version to 1.2.3-R0.1 in pom.xml for beta.
By: EvilSeph <evilseph@gmail.com>
2012-03-04 03:02:53 -05:00
Bukkit/Spigot
d7de3e2ab2 Fixed javadoc typo, it should read: "celticminstrel is a poopy head."
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-03 02:26:13 +00:00
Bukkit/Spigot
d2f8dde376 Added three new effects for zombies nomming on doors. This adds BUKKIT-961
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-03 02:21:57 +00:00
Bukkit/Spigot
c9937a01c8 [Bleeding] Fixed crafting enchanted items, fixes BUKKIT-602
By: Wesley Wolfe <weswolf@aol.com>
2012-03-02 12:49:56 -06:00
Bukkit/Spigot
0e0427ebeb Added Villager API for getting/setting Profession. This adds BUKKIT-887
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-03 01:58:30 +00:00
Bukkit/Spigot
577152ebd1 Fixed Ocelot.Type lookup - this fixes BUKKIT-952
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-03 00:46:27 +00:00
Bukkit/Spigot
d3a1476775 Changed version from 1.2.2-R0.1 to 1.2.3-R0.1
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-02 19:29:17 +00:00
Bukkit/Spigot
8c85fe2a5a Added VERSION_1_1 WorldType
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-02 18:38:12 +00:00
Bukkit/Spigot
e80616be97 Added JUNGLE tree to TreeType enum - this fixes BUKKIT-886
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-02 13:21:29 +00:00
Bukkit/Spigot
d500e97598 Implemented snapshot support for 1.2.
By: Mike Primm <mike@primmhome.com>
2012-03-01 13:55:29 -06:00
Bukkit/Spigot
d94ce50c98 Added a bunch of new 1.2 entities; this partially resolves BUKKIT-872 and BUKKIT-885.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 17:29:05 +00:00
Bukkit/Spigot
18c825222a [Bleeding] Fixed naughty plugins crashing server.
By: Wesley Wolfe <weswolf@aol.com>
2012-03-01 09:19:23 -06:00
Bukkit/Spigot
4a137ee96a Added isEmpty to BlockChangeDelegate - this implements BUKKIT-868. Also changed version to 1.2.2-R0.1-SNAPSHOT for the upcoming beta.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 15:27:34 +00:00
Bukkit/Spigot
0d88d69fd9 Updated Bukkit API for 1.2
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 10:48:44 +00:00
Bukkit/Spigot
d657f7b29b Updated version to 1.1-R6 for RB.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 13:52:56 +00:00
Bukkit/Spigot
398e819e5a Bumped version up to 1.1-R6-SNAPSHOT
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 13:34:50 +00:00
Bukkit/Spigot
496281a94f Updated version to 1.1-R5 for RB
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 10:54:16 +00:00
Bukkit/Spigot
b02f2bb28b We build for 1.5.
By: EvilSeph <evilseph@gmail.com>
2012-03-01 04:41:25 -05:00
Bukkit/Spigot
10cd1cbb5c [Bleeding] Added Help API. Addresses BUKKIT-863
By: rmichela <deltahat@gmail.com>
2012-03-01 00:07:05 -05:00
Bukkit/Spigot
2280c6be2b [Bleeding] Added Conversations API. Addresses BUKKIT-864
By: rmichela <deltahat@gmail.com>
2012-01-22 02:35:42 -05:00
Bukkit/Spigot
fb55ed2a78 [Bleeding] MaterialData fixes. Addresses BUKKIT-842
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 22:07:26 -05:00
Bukkit/Spigot
a6d03a475c [Bleeding] Added sharp() and natural() factory functions to mirror the flat() one, sharped() and flattened() functions to get a note from an existing note, a toString(), and more tests. Addresses BUKKIT-861
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-29 20:08:40 -05:00
Bukkit/Spigot
a4bbcfc4e2 [Bleeding] Allow sharping notes that aren't sharpable, and a factory method to create flat notes. Addresses BUKKIT-861
- Uses enharmonic equivalences to rewrite the note in the normalized form, E-sharp becomes F and A-flat becomes G-sharp

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 12:48:34 -05:00
Bukkit/Spigot
e6391643af Add missing achievements to the Achievement enum
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 12:25:27 -05:00
Bukkit/Spigot
15e2f69fa6 Adding/expanding documentation
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 12:13:30 -05:00
Bukkit/Spigot
795a61bbeb Fix javadoc errors/warnings
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 10:35:17 -05:00
Bukkit/Spigot
5ebb8d2b3e Revert Plugin to Interface, added PluginBase
Fixed Tests, moved TestPlugin out of messaging

By: Feildmaster <admin@feildmaster.com>
2012-02-29 18:46:09 -06:00
Bukkit/Spigot
fa6a95bc3f [Bleeding] Optimized locToBlock. Addresses BUKKIT-815
By: Wesley Wolfe <weswolf@aol.com>
2012-02-29 16:07:47 -06:00
Bukkit/Spigot
43002d0cbb Add optional prefix value to plugin.yml. Addresses BUKKIT-838
By: Aidan Matzko <amatzko48@gmail.com>
2012-02-26 18:36:03 -05:00
Bukkit/Spigot
b004c409f0 Re-added launchProjectile lost due to incorrect conflict resolution.
By: EvilSeph <evilseph@gmail.com>
2012-02-29 18:31:20 -05:00
Bukkit/Spigot
c180de46e2 [Bleeding] Inventory framework and events. Addresses BUKKIT-856
New events:
- InventoryOpenEvent
- InventoryClickEvent - detects any clicks on a slot or outside the window
  - In the creative inventory view, only clicks on the quickbar are detected
- InventoryCloseEvent
- BrewEvent - when a potion finishes brewing
- CraftItemEvent (a subevent of InventoryClickEvent) - fired when taking the crafted item
- PrepareItemCraftEvent - fired just before updating the result slot
Changes to existing events:
- EnchantItemEvent extends InventoryEvent and also has a new whichButton() method
- PrepareItemEnchantEvent also extends InventoryEvent
- FurnaceBurnEvent and FurnaceSmeltEvent now extend BlockEvent (as does BrewEvent)
- PlayerInventoryEvent is deprecated (though it never did anything anyway)
New subclasses of Inventory:
- BrewerInventory
- CraftingInventory
- DoubleChestInventory
- EnchantingInventory
- FurnaceInventory
New methods in Inventory:
- getViewers()
- getTitle()
- getType()
- getHolder()
- iterator() - Yes, inventories are now iterable!
  - The iterator is a ListIterator that does not support add or remove
New methods in Player:
- getOpenInventory()
- openInventory()
- openWorkbench()
- openEnchanting()
- closeInventory()
- setWindowProperty()
- getItemOnCursor()
- setItemOnCursor()
Other changes:
- createInventory() methods in Server to make inventories not linked to an object
- ContainerBlock is deprecated in favour of InventoryHolder
- New InventoryView class gives direct access to an inventory window!
- Removed the Slot class which did nothing and was used nowhere

Some small credit goes to Afforess (initial conception of openInventory() methods) and Drakia (initial conception of InventoryOpenEvent and InventoryCloseEvent).

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-29 13:32:33 -05:00
Bukkit/Spigot
da943825be Implementation of richer playEffect methods. Addresses BUKKIT-857
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 12:53:31 -05:00
Bukkit/Spigot
27fb3d2fea Fixed PlayerPortalEvent constructor.
By: EvilSeph <evilseph@gmail.com>
2012-02-29 14:27:05 -05:00
Bukkit/Spigot
c2e4349767 Added NETHER_PORTAL and END_PORTAL to the TeleportCause enum. Addresses BUKKIT-265
Added new NETHER_PORTAL and END_PORTAL values to the TeleportCause enum
and relevant constructor for PlayerPortalEvent.

By: James Clarke <jamesrtclarke@me.com>
2012-02-15 19:54:01 +00:00
Bukkit/Spigot
93e9f175c4 Fixed null pointer exception in config.getMapList().
By: Kevin <kingersoll@gmail.com>
2012-02-28 21:20:32 -08:00
Bukkit/Spigot
38c5de3e6e Moved getVehicle, leaveVehicle and isInsideVehicle from LivingEntity to Entity. Addresses BUKKIT-811
By: TomyLobo <tomylobo@nurfuerspam.de>
2011-10-25 15:56:23 +02:00
Bukkit/Spigot
dd1bee786b [Bleeding] Added a Metadata framework for Entities, Blocks, and Worlds
This metadata implementation has the following features:

- All metadata is lazy. Metadata values are not actually computed until another plugin requests them. Memory and CPU are conserved by not computing and storing unnecessary metadata values.

- All metadata is cached. Once a metadata value is computed its value is cached in the metadata store to prevent further unnecessary computation. An invalidation mechanism is provided to flush the cache and force recompilation of metadata values.

- All metadata is stored in basic data types. Convenience methods in the MetadataValue class allow for the conversion of metadata data types when possible. Restricting metadata to basic data types prevents the accidental linking of large object graphs into metadata. Metadata is persistent across the lifetime of the application and adding large object graphs would damage garbage collector performance.

- Metadata access is thread safe. Care has been taken to protect the internal data structures and access them in a thread safe manner.

- Metadata is exposed for all objects that descend from Entity, Block, and World. All Entity and World metadata is stored at the Server  level and all Block metadata is stored at the World level.

- Metadata is NOT keyed on references to original objects - instead metadata is keyed off of unique fields within those objects. Doing this allows metadata to exist for blocks that are in chunks not currently in memory. Additionally, Player objects are keyed off of player name so that Player metadata remains consistent between logins.

- Metadata convenience methods have been added to all Entities, Players, Blocks, BlockStates, and World allowing direct access to an individual instance's metadata.

- Players and OfflinePlayers share a single metadata store, allowing player metadata to be manipulated regardless of the player's current online status.

By: rmichela <deltahat@gmail.com>
2011-12-08 00:33:33 -05:00
Bukkit/Spigot
5906da7948 [Bleeding] Cleaned up unsafe casts. Addresses BUKKIT-844
Removed internal collection leaks from PluginDescriptionFile
BREAKING: PluginDescriptionFile.getAuthors() now returns List instead of
ArrayList

Various places with unsafe generics, notably List<Object> getList() in
Configurations are now referenced as <?>. This is nonbreaking, but
sourcecode will need to be revised when compiled.

By: Wesley Wolfe <weswolf@aol.com>
2012-02-29 08:32:25 -06:00
Bukkit/Spigot
e7c9a43100 [Bleeding] Fixed file handle leak in /timings command. Addresses BUKKIT-853
By: Score_Under <seejay.11@gmail.com>
2012-02-25 17:39:54 +00:00
Bukkit/Spigot
9ebb2f13de [Bleeding] Fixes deadlock issue and generic usage. Fixes BUKKIT-844 and fixes BUKKIT-854
By: Wesley Wolfe <weswolf@aol.com>
2012-02-29 08:29:22 -06:00
Bukkit/Spigot
2fa5a7033a [Bleeding] Fixed MapPalette.imageToBytes to properly handle transparency. Addresses BUKKIT-852
By: SpaceManiac <tad.hardesty@platymuus.com>
2012-02-25 22:44:09 -06:00
Bukkit/Spigot
38fd1dd5f0 Narrowed down the return type of most EntityEvent subclasses for convenience. Addresses BUKKIT-809
By: TomyLobo <tomylobo@nurfuerspam.de>
2012-02-28 04:59:09 -06:00
Bukkit/Spigot
345f24b35c Event system optimizations. Addresses BUKKIT-813
- Made the handlers field a simple array instead of an array of arrays.
- Got rid of the "baked" field.

By: TomyLobo <tomylobo@nurfuerspam.de>
2012-02-28 19:37:27 -06:00
Bukkit/Spigot
4c1a926d66 Reduced excessive exception handling in NumberConversions. Addresses BUKKIT-825
This also allows, for instance, to parse complex numbers with imaginary part=0, if the according toString method omits zero components.
This also saves some unboxing (Foo.valueOf returns a wrapper, while Foo.parseFoo returns a primitive)

By: TomyLobo <tomylobo@nurfuerspam.de>
2012-02-25 16:25:42 +01:00
Bukkit/Spigot
445baa7607 Added missing BlockState functions. Addresses BUKKIT-807
By: TomyLobo <stabelweb@gmx.de>
2012-02-22 20:08:55 +01:00
Bukkit/Spigot
3b9e2f4a67 Adjust plugin enable/disable logging
By: EdGruberman <ed@rjump.com>
2012-02-15 12:11:10 -07:00
Bukkit/Spigot
2e383f96df Add a CreateReason to PortalCreateEvent. Addresses BUKKIT-833
By: Sam Wilson <sam.wilson@gmail.com>
2011-12-25 22:11:15 -08:00
Bukkit/Spigot
860011dcc1 Added service register and unregister events. Addresses BUKKIT-816
By: zml2008 <zach@zachsthings.com>
2011-11-12 20:22:30 -08:00
Bukkit/Spigot
1d03cfb423 [Bleeding] Add constructor to BlockFromToEvent for dragon egg teleportation. Addresses BUKKIT-828
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-25 12:49:46 -05:00
Bukkit/Spigot
ed0584f930 [Bleeding] Fixed potion tests.
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-25 17:57:42 -05:00
Bukkit/Spigot
e1b9154af1 [Bleeding] Add missing methods to Bukkit class, fix non-static methods, and add a junit test to ensure both these problems will be caught in future.
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-25 12:39:10 -05:00
Bukkit/Spigot
716821eebc [Bleeding] Add ability for the Potion class to represent no-effect
potions. Addresses BUKKIT-817

- Potion's type can be null
- Add Potion.setType()
- New Potion constructors which do not take a PotionType parameter
- Potion constructor chainers splash() and extend() added
- Add PotionType.getMaxLevel() and PotionType.isInstant()
- Add PotionType.WATER which is a very special case
- Make PotionType.getDamageValue() public

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-24 23:18:13 -05:00
Bukkit/Spigot
eb66333089 [Bleeding] Deprecate the pointless Potion.Tier enum in favour of a numeric level. Addresses BUKKIT-818
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-24 23:17:36 -05:00
Bukkit/Spigot
0e6ed242be Updated README.md with more coding and pull request conventions and tips to get your pull request accepted.
By: EvilSeph <evilseph@gmail.com>
2012-02-24 00:08:31 -05:00
Bukkit/Spigot
2f03671311 [Bleeding] Fixed EntityType errors. Fixes BUKKIT-800
By: Feildmaster <admin@feildmaster.com>
2012-02-23 14:13:33 -06:00
Bukkit/Spigot
80e59821f3 [Bleeding] Fix deserialization for unsafe enchantments. Fixes BUKKIT-793
By: Wesley Wolfe <weswolf@aol.com>
2012-02-23 02:23:05 -06:00
Bukkit/Spigot
7046df03bc [Bleeding] Added launchProjectile.
Use launchProjectile in place of individual throwSnowball, throwEgg, and shootArrow methods

By: aPunch <alexpuncochar@yahoo.com>
2012-02-16 15:14:12 -06:00
Bukkit/Spigot
6e054ddf7f [Bleeding] Added EntityType to replace CreatureType.
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-14 23:52:38 -05:00
Bukkit/Spigot
c6050ff89d [Bleeding] Added BlockGrowEvent. Addresses BUKKIT-104
By: Feildmaster <admin@feildmaster.com>
2012-02-11 23:09:10 -06:00
Bukkit/Spigot
2a1eddc441 [Bleeding] getHandlers() is now abstract.
By: Feildmaster <admin@feildmaster.com>
2012-02-19 15:52:46 -06:00
Bukkit/Spigot
07ccb2a000 [Bleeding] Add ways to retrieve and delete crafting recipes and fixed some issues with the existing recipe API.
- New recipe iterator which enables deleting specific recipes
- Functions to delete all recipes or revert to vanilla recipe set
- Fixed the recipes API; you should now be able to define recipes that take brewed potions!
- Fetch all recipes that result in a specific item

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-07-23 23:18:58 -04:00
Bukkit/Spigot
8bc2cf4969 [Bleeding] Cleanup clone methods.
By: Wesley Wolfe <weswolf@aol.com>
2012-02-14 01:49:06 -06:00
Bukkit/Spigot
ec40583deb Improved readability for /whitelist list. Addresses BUKKIT-772
By: Feildmaster <admin@feildmaster.com>
2012-02-18 15:04:02 -06:00
Bukkit/Spigot
e4de1795db [Bleeding] Event no longer implements Serializable.
By: Feildmaster <admin@feildmaster.com>
2012-02-19 01:25:46 -06:00
Bukkit/Spigot
0fd379166c [Bleeding] Remove deprecated events (EndermanPickup/Place).
By: Feildmaster <admin@feildmaster.com>
2012-02-19 01:25:11 -06:00
Bukkit/Spigot
539aedf219 [Bleeding] Specify event name in exception. Addresses BUKKIT-778
By: Feildmaster <admin@feildmaster.com>
2012-02-19 02:49:51 -06:00
Bukkit/Spigot
a23dfcdc7e [Bleeding] Added Enchantment and misc tests to ItemStack (de)serialization
By: Wesley Wolfe <weswolf@aol.com>
2012-02-16 14:37:57 -06:00
Bukkit/Spigot
95dc319bed [Bleeding] Added Enchantment and misc tests to ItemStack (de)serialization
By: Wesley Wolfe <weswolf@aol.com>
2012-02-16 14:37:57 -06:00
Bukkit/Spigot
e106970af9 [Bleeding] Fixed class cast in ItemStack deserialization. Fixes BUKKIT-777
By: Wesley Wolfe <weswolf@aol.com>
2012-02-15 20:40:58 -06:00
Bukkit/Spigot
b58168b112 [Bleeding] Exception cleanup. Addresses BUKKIT-774
By: Wesley Wolfe <weswolf@aol.com>
2012-02-18 17:15:59 -06:00
Bukkit/Spigot
91c8bbacc7 [Bleeding] Skip InvocationTargetException. Addresses BUKKIT-774
By: Wesley Wolfe <weswolf@aol.com>
2012-02-16 18:14:39 -06:00
Bukkit/Spigot
cfccd9341c [Bleeding] Added ability to unregister listeners, updated javadoc and
renamed allLists. Addresses BUKKIT-773

By: SpaceManiac <tad.hardesty@platymuus.com>
2012-02-18 15:41:18 -06:00
Bukkit/Spigot
9f2ca0a844 Add getEntitiesByClass(Class<T>) and getEntitiesByClasses(Class<?>...), deprecate getEntitiesByClass(Class<T>...)
By: Mike Primm <mike@primmhome.com>
2012-01-27 21:47:16 -06:00
Bukkit/Spigot
91946d8857 Fixed Validate message.
By: EvilSeph <evilseph@gmail.com>
2012-02-18 15:28:33 -05:00
Bukkit/Spigot
4608ec4504 Updated EntityTeleportEvent in line with deprecation cleanup.
By: EvilSeph <evilseph@gmail.com>
2012-02-18 13:13:50 -05:00
Bukkit/Spigot
75fd934339 Deprecation cleanup.
By: Erik Broes <erikbroes@grum.nl>
2012-01-30 21:32:48 +01:00
Bukkit/Spigot
fe4de0bb01 Added RemoteServerCommandEvent.
By: Erik Broes <erikbroes@grum.nl>
2012-01-30 21:52:41 +01:00
Bukkit/Spigot
f7d527adf9 [Bleeding] Made PotionEffectTypes final, added reasons for deprecation.
Fixes BUKKIT-768 and BUKKIT-769

By: fullwall <fullwall@optusnet.com>
2012-02-15 16:21:49 +08:00
Bukkit/Spigot
86550000ce Updated version to 1.1-R5-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-02-13 14:29:32 -05:00
Bukkit/Spigot
bc459fa3f0 Updated version to 1.1-R4 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-02-13 11:31:29 -05:00
Bukkit/Spigot
63464c3bb0 [Bleeding] Update serialVersionUID.
By: Wesley Wolfe <weswolf@aol.com>
2012-02-13 01:22:39 -06:00
Bukkit/Spigot
4e48b4725f [Bleeding] Added ability to register and listen to SubEvents. Addresses
BUKKIT-585

By: Feildmaster <admin@feildmaster.com>
2012-01-25 09:49:12 -06:00
Bukkit/Spigot
6492eb9683 [Bleeding] Cleanup of exceptions org.bukkit.plugin.Invalid*
Removed throwable and message, because the superclass already stores them
Added message of inner exception to the outer exception to make the first line of the stacktrace more verbose

By: Zeerix <zeerix@draig.de>
2012-02-11 02:16:16 +01:00
Bukkit/Spigot
e204abd0f0 Allow cloning ItemStacks with unsafe enchantments. Fixes BUKKIT-621
Prevents "IllegalArgumentException: Specified enchantment cannot be applied to this itemstack").

By: mushroomhostage <mushroomhostage@yahoo.com>
2012-02-10 17:53:22 -08:00
Bukkit/Spigot
b7a973b822 Fixed typos and add usage message to timings command.
By: Travis Watkins <amaranth@ubuntu.com>
2012-02-10 13:48:53 -06:00
Bukkit/Spigot
a66baab794 [Bleeding] Added Potions API. Fixes BUKKIT-389
By: fullwall <fullwall@optusnet.com>
2012-01-09 14:39:06 +08:00
Bukkit/Spigot
af8929507e Added configurable animal and monster ticks per spawn setting.
By: EvilSeph <evilseph@gmail.com>
2012-02-10 10:23:21 -05:00
Bukkit/Spigot
8aedc0a4b8 Added JOCKEY and CHUNK_GEN SpawnReasons.
By: EvilSeph <evilseph@gmail.com>
2012-02-10 00:48:19 -05:00
Bukkit/Spigot
4363ae55e0 [Bleeding] setLastDamageCaused to ComplexEntityPart parent.
By: Feildmaster <admin@feildmaster.com>
2012-02-08 16:14:33 -06:00
Bukkit/Spigot
cb2fe27653 [Bleeding] Add the ability for plugins to ignore cancelled events when
using the new event system.

By: md_5 <md_5@bigpond.com>
2012-01-21 15:34:22 +11:00
Bukkit/Spigot
3dcab1536a [Bleeding] Deprecate Enderman events in favor of EntityChangeBlock
By: Aidan Matzko <amatzko48@gmail.com>
2012-02-04 12:40:16 -05:00
Bukkit/Spigot
0293f10d23 [Bleeding] Implemented customizable permission messages.
By: Wesley Wolfe <weswolf@aol.com>
2012-02-08 17:03:50 -06:00
Bukkit/Spigot
3dadfe5e85 Properly unregister plugin channels when a plugin gets disabled.
By: Meaglin <meaglin.wasabi@gmail.com>
2012-01-28 03:45:49 +01:00
Bukkit/Spigot
b51e8579ef Added EntityTeleportEvent. Fixes BUKKIT-366
By: craftycreeper <diagonalfish+craftycreeper@gmail.com>
2012-02-07 23:42:43 -05:00
Bukkit/Spigot
202521ce54 Added SpawnReason.BUILD_SNOWMAN.
By: EvilSeph <evilseph@gmail.com>
2012-02-08 18:27:49 -05:00
Bukkit/Spigot
238ceb0afd Added RegainReason.ENDER_CRYSTAL.
By: EvilSeph <evilseph@gmail.com>
2012-02-08 10:54:30 -05:00
Bukkit/Spigot
60f92a8572 setCancelled should probably not be hard-coded to true or it could put
fernferrets in danger of self-implosion.

By: EvilSeph <evilseph@gmail.com>
2012-02-05 01:56:06 -05:00
Bukkit/Spigot
552bb7f085 Added Spawner Egg support to CreatureSpawnEvent.
By: EvilSeph <evilseph@gmail.com>
2012-02-05 01:54:27 -05:00
Bukkit/Spigot
f7f18879e3 [Bleeding] Added Vanish API for hiding players from each other.
Adds Player.hidePlayer, Player.showPlayer, and Player.canSee for managing
what players are hidden from a player. When someone is hidden from a player
the player cannot see them in the user list or /list and they cannot /tell
them so they appear to be completely gone from the server.

By: Travis Watkins <amaranth@ubuntu.com>
2012-01-31 13:50:12 -06:00
Bukkit/Spigot
b2d95b3937 Added entity type IDs as per vanilla spec.
By: Jeremy Wood <farachan@gmail.com>
2012-02-01 10:53:36 -05:00
Bukkit/Spigot
1749f26e03 Fixed casting in ItemStack.deserialize.
By: starrynte <starrynte@gmail.com>
2012-02-01 21:30:01 -08:00
Bukkit/Spigot
e423860f9f onEnable and onDisable are no longer required implementations for JavaPlugins
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-02-01 01:53:38 +00:00
Bukkit/Spigot
11220aa522 Updated version to 1.1-R4-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-01-30 04:00:42 -05:00
Bukkit/Spigot
667921b112 Updated version to 1.1-R3 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-30 03:22:03 -05:00
Bukkit/Spigot
3638799211 Updated version to 1.1-R3-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-01-29 13:48:02 -05:00
Bukkit/Spigot
72f2aa9a46 Updated version to 1.1-R2 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-29 13:22:24 -05:00
Bukkit/Spigot
bab651a1bb Fixed comment from earlier commit.
By: EvilSeph <evilseph@gmail.com>
2012-01-29 13:10:51 -05:00
Bukkit/Spigot
b4c3ba3d33 Added 'generate-structure' setting support and WorldCreator property.
Fixes BUKKIT-655 and BUKKIT-592

By: Eric Stokes <fernferret@gmail.com>
2012-01-29 10:22:45 -07:00
Bukkit/Spigot
378815c162 Added useExactLoginLocation(). Closes BUKKIT-145
useExactLoginLocation() looks for settings.use-exact-login-location within bukkit.yml.

If true, we will bypass Vanilla's behaviour of checking for collisions and moving the player if needed when they login.

If false, we will continue to follow Vanilla's behaviour and move players that 'collide' with objects when they login.

By: EvilSeph <evilseph@gmail.com>
2012-01-29 06:33:50 -05:00
Bukkit/Spigot
ac2271958e Add some testing
By: Erik Broes <erikbroes@grum.nl>
2012-01-29 11:10:40 +01:00
Bukkit/Spigot
ae0eb736d1 Cleanup.
By: EvilSeph <evilseph@gmail.com>
2012-01-27 18:23:27 -05:00
Bukkit/Spigot
f7d35b29ad Updated version to 1.1-R2-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-01-25 04:39:46 -05:00
Bukkit/Spigot
5541a29f2d Fixed plugin loader. Thanks Wolvereness!
By: EvilSeph <evilseph@gmail.com>
2012-01-25 04:11:37 -05:00
Bukkit/Spigot
34d002f275 Adhere to naming conventions.
By: EvilSeph <evilseph@gmail.com>
2012-01-25 02:10:02 -05:00
Bukkit/Spigot
e223475be3 This will be re-added after the RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-25 02:08:00 -05:00
Bukkit/Spigot
228eae3e08 Updated versions to 1.1-R1 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-25 01:11:57 -05:00
Bukkit/Spigot
58d9efad7c [Bleeding] Added EnchantmentTable API.
By: Mike Primm <mike@primmhome.com>
2012-01-21 01:26:45 -06:00
Bukkit/Spigot
b3642a04e1 [Bleeding] Added PotionSplashEvent for splash potions. Closes BUKKIT-307
By: Zeerix <zeerix@draig.de>
2012-01-20 08:16:45 +01:00
Bukkit/Spigot
f2ec9604cb Added spacing to BanListCommand output.
By: EvilSeph <evilseph@gmail.com>
2012-01-23 20:30:21 -05:00
Bukkit/Spigot
7e5c1baee9 [Bleeding] Added Sheep, Shear and EntityChangeBlock API. Thanks tips48! Closes BUKKIT-512
By: Aidan Matzko <amatzko48@gmail.com>
2012-01-21 21:20:49 -05:00
Bukkit/Spigot
05b6ad92d1 Updated timing code for new event system
By: Tahg <tahgtahv@gmail.com>
2012-01-16 15:03:41 -05:00
Bukkit/Spigot
b19803ff66 Add updated repos to pom.xml
By: Erik Broes <erikbroes@grum.nl>
2012-01-19 23:01:28 +01:00
Bukkit/Spigot
1a86a7e3f7 Added new PlayerExpChangeEvent and PlayerLevelChangeEvent events. Thanks to feildmaster for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-19 16:07:03 +00:00
Bukkit/Spigot
ef6edf9ee2 Player.setPlayerListName no longer ignores colour length in size limit. This relates to BUKKIT-571
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-19 15:07:46 +00:00
Bukkit/Spigot
84372f7cd5 Use the type of the eventhandler method's parameter as type rather than specificing it. Thanks zml2008.
By: Erik Broes <erikbroes@grum.nl>
2012-01-19 08:13:49 +01:00
Bukkit/Spigot
0c50b9eeb1 Added a default to EventHandler.priority()
Fixed HandlerList.unregisterAll()
Fixed incorrect isAssignableFrom check in SimplePluginManager.getRegistrationClass()

By: zml2008 <zach@zachsthings.com>
2012-01-17 19:06:48 -08:00
Bukkit/Spigot
0251111b0d Add Player.setBedSpawnLocation(Location). Thanks md_5
By: Erik Broes <erikbroes@grum.nl>
2012-01-17 22:39:37 +01:00
Bukkit/Spigot
33f366c08d Minor cleanup
By: Erik Broes <erikbroes@grum.nl>
2012-01-17 19:35:28 +01:00
Bukkit/Spigot
85c66fd6f3 [Bleeding] Added EntityShootBowEvent. Thanks Zeerix.
By: Erik Broes <erikbroes@grum.nl>
2012-01-17 18:58:29 +01:00
Bukkit/Spigot
bacfd8931d [Bleeding] Add BrewingStand API. Thanks N3X15 & md_5
By: Erik Broes <erikbroes@grum.nl>
2012-01-17 17:11:23 +01:00
Bukkit/Spigot
52bcc1c28e [Bleeding] Added DamageCause.POISON/MAGIC and RegainReason.MAGIC/MAGIC_REGEN for potions
By: Zeerix <zeerix@draig.de>
2012-01-14 01:25:12 +01:00
Bukkit/Spigot
4ad64ea3f5 [Bleeding] Added Block.breakNaturally and Block.getDrops
By: Zeerix <zeerix@draig.de>
2012-01-12 03:08:31 +01:00
Bukkit/Spigot
e0c7fc6bf5 [Bleeding] Changed event system into a new, much faster design. Huge thanks to @zml2008 & @lahwran.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-16 18:25:17 +00:00
Bukkit/Spigot
94bc6ec0e6 [Bleeding] Added Block.getLightFromSky and getLightFromBlocks
By: Mike Primm <mike@primmhome.com>
2011-12-29 13:26:01 -06:00
Bukkit/Spigot
c02d8155ad [Bleeding] Added Plugin.getLogger() which returns a java.util.Logger that prefixes messages with the plugin name.
Note: the server when enabling or disabling a plugin will now by default log this.

By: rmichela <deltahat@gmail.com>
2011-12-15 00:31:13 -05:00
Bukkit/Spigot
81c2625a0e [Bleeding] Added: <T extends Entity> Collection<T> World.getEntitiesByClass(Class<T>... classes)
By: Mike Primm <mike@primmhome.com>
2011-12-11 17:27:31 -06:00
Bukkit/Spigot
fff2c4278c [Bleeding] Add Animals: setAgeLock(bool), bool getAgeLock, void setBaby, void setAdult, void setBreed(bool), bool canBreed and bool isAdult.
By: Erik Broes <erikbroes@grum.nl>
2012-01-05 19:27:22 +01:00
Bukkit/Spigot
d4b3279707 Fixed incorrect value for ChatColor.BLACK (was 1, should be 0)
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-16 19:49:16 +00:00
Bukkit/Spigot
b59a919a08 Added ChatColor.MAGIC, changed to char based values and deprecated old methods. Added unit tests for ChatColor
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-16 19:38:08 +00:00
Bukkit/Spigot
b91d0d5a5f Added a World.getWorldType() method
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 17:43:53 +00:00
Bukkit/Spigot
4c80a49933 Generic cleaning
By: Erik Broes <erikbroes@grum.nl>
2012-01-15 14:37:30 +01:00
Bukkit/Spigot
8377ee22f8 Added "class-loader-of" field to plugin.yml. Big thanks to CmdrDats for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 12:54:06 +00:00
Bukkit/Spigot
77c577bdf8 Added an EntityCreatePortalEvent
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 11:58:03 +00:00
Bukkit/Spigot
cff0c0ecc5 Configurations now properly support lists of serializable objects, and ItemStack is properly serializable. Big thanks to GICodeWarrior for the PR. This fixes BUKKIT-425
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 11:15:19 +00:00
Bukkit/Spigot
768732a914 Added Player set/getAllowFlight methods. Thanks to Qala for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 10:55:33 +00:00
Bukkit/Spigot
8670d01e58 Fixed typo in Event javadoc, thanks to robin0van0der0v for the PR
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 10:43:42 +00:00
Bukkit/Spigot
62510f93b8 ItemStack.getMaxStackSize no longer incorrectly returns -1 when not backed by an NMS instance. Thanks to feildmaster for the PR. This fixes BUKKIT-530
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 09:52:56 +00:00
Bukkit/Spigot
10700630bb Add commons-lang to deps
By: Erik Broes <erikbroes@grum.nl>
2012-01-14 21:34:05 +01:00
Bukkit/Spigot
8c73372220 Fix unambiguous import
By: Erik Broes <erikbroes@grum.nl>
2012-01-14 21:32:48 +01:00
Bukkit/Spigot
bbe66b2985 Changed Material to use an array for lookups, instead of a hashmap. Thanks to zml2008 for the PR
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 09:18:20 +00:00
Bukkit/Spigot
72ce6fab3e Added EntityBlockFormEvent for block forming by entity actions (snowmen etc). Thanks to fieldmaster for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 09:13:00 +00:00
Bukkit/Spigot
f320f18067 Config .get*List will return an empty list of the appropriate type instead of null when the value does not exist. Thanks to krinsdeath for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 09:04:08 +00:00
Bukkit/Spigot
44c58c4952 Don't send events to disabled plugins.
By: Feildmaster <admin@feildmaster.com>
2012-01-15 02:14:28 -06:00
Bukkit/Spigot
4e9fcec4a4 Changed PluginDisableEvent to fire before the disabling of a plugin, instead of after (where it's then invalid). Thanks to holic for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 08:16:57 +00:00
Bukkit/Spigot
0c182ec82d Fixed documentation of getNearbyEntities in Entity. Thanks to epuidokas for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 07:38:14 +00:00
Bukkit/Spigot
9b1383591b Fixed Leaves.getSpecies returning null on higher data values. Thanks to Wolvereness for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 07:33:02 +00:00
Bukkit/Spigot
a80bc820c6 Added new methods to set a players respawned level/exp/totalExp in PlayerDeathEvent. Thanks to Feildmaster for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 17:54:03 +00:00
Bukkit/Spigot
72add08a6d Updated javadocs of Player.setPlayerListName to reflect that the char limit is based on length without colours
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 17:42:57 +00:00
Bukkit/Spigot
39874ebf1a Added entity.playEffect, thanks to main-- in an (unfortunately old) PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 17:35:52 +00:00
Bukkit/Spigot
40f4710726 Added ItemDespawnEvent
By: Feildmaster <admin@feildmaster.com>
2011-10-16 20:47:49 -05:00
Bukkit/Spigot
544b0a05ae Fixed nullcheck error message on null plugin (see previous commit)
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 14:32:56 +00:00
Bukkit/Spigot
d87866b158 Nullcheck in registerEvent (thanks to an old PR by LRFLEW - I'm sorry for the wait!)
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 14:31:00 +00:00
Bukkit/Spigot
35da0ddfa3 Added 5 new biomes as included in MC 1.1 as part of #BUKKIT-496
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 13:13:25 +00:00
Bukkit/Spigot
c0bb2b55b2 Allow proper integration with NMS WorldTypes
By: md-5 <md_5@bigpond.com>
2012-01-14 11:15:56 +11:00
Bukkit/Spigot
48ecb11c09 Implemented new Plugin Message API - see http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-13 08:51:10 +00:00
Bukkit/Spigot
dee3ecfa81 Make getByName actually return values.
By: md-5 <md_5@bigpond.com>
2012-01-13 16:12:55 +11:00
Bukkit/Spigot
ae73f553fc Added new 1.1 items, enchantments. Added WorldType, and a method to set/get the type of a world at creation.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-12 22:16:31 +00:00
Bukkit/Spigot
bc02c87c2a Bumped version to 1.1-R1-SNAPSHOT
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-12 19:09:21 +00:00
Bukkit/Spigot
d03379a043 Further fix to Location.
By: Tahg <tahgtahv@gmail.com>
2012-01-10 00:20:03 -05:00
Bukkit/Spigot
0bc50733b5 Revert "Improved some debug in Location."
This reverts commit 0569e71b26ffc88a5b752ce1217c3ba33e6586e9.

By: EvilSeph <evilseph@gmail.com>
2012-01-09 23:55:43 -05:00
Bukkit/Spigot
21e1a5b725 Improved some debug in Location.
By: Tahg <tahgtahv@gmail.com>
2012-01-09 23:44:46 -05:00
Bukkit/Spigot
387d09faa1 Added timings command.
By: Tahg <tahgtahv@gmail.com>
2012-01-09 01:09:10 -05:00
Bukkit/Spigot
05581b02a4 Added data argument to vanilla give command
By: Tahg <tahgtahv@gmail.com>
2012-01-09 01:09:36 -05:00
Bukkit/Spigot
0d95472921 improved some debug in Location
By: Tahg <tahgtahv@gmail.com>
2011-12-27 06:05:24 -05:00
Bukkit/Spigot
e73be72fae Fixed YamlConfiguration creating empty lines when reading a file with no contents, and made it trim the initial newlines of any existing config header
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-08 23:29:33 +00:00
Bukkit/Spigot
5fc8f4f576 Fixed NPE in ItemStack. Thanks jascotty2!
By: EvilSeph <evilseph@gmail.com>
2012-01-07 19:58:26 -05:00
Bukkit/Spigot
0f21027498 Added banlist command. Fixes BUKKIT-373. Thanks md-5!
By: EvilSeph <evilseph@gmail.com>
2012-01-07 19:54:02 -05:00
Bukkit/Spigot
d97df0f9dc Fix NPE when saving config before the config is loaded - thanks to Wolvereness for the pull request
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-07 15:11:22 +00:00
Bukkit/Spigot
e6e1d06b1c Fix some updated item durability values
By: Erik Broes <erikbroes@grum.nl>
2012-01-05 17:07:25 +01:00
Bukkit/Spigot
ca35082981 Fix max stacksize on Potions.
By: Erik Broes <erikbroes@grum.nl>
2012-01-05 17:00:57 +01:00
Bukkit/Spigot
0de0137f88 Fix max stacksize on EnderPearls. Fixes BUKKIT-418
By: Erik Broes <erikbroes@grum.nl>
2012-01-04 09:36:43 +01:00
Bukkit/Spigot
4924569e95 Vector.getMidpoint should not modify the current Vector. Thanks TomyLobo for noticing.
By: Erik Broes <erikbroes@grum.nl>
2012-01-04 09:17:05 +01:00
Bukkit/Spigot
6a81f9ccab Minor text changes
By: Erik Broes <erikbroes@grum.nl>
2012-01-04 09:05:28 +01:00
Bukkit/Spigot
aaab1cba23 Generic cleanup of warnings, whitespace and style.
By: Erik Broes <erikbroes@grum.nl>
2011-12-25 16:02:30 +01:00
Bukkit/Spigot
98960fd73e Added plugin saveResources + saveDefaultConfig methods. This completes a bleeding branch by deltahat at http://forums.bukkit.org/threads/branch-complete-savedefaultconfig.48721/
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-22 21:18:36 +00:00
Bukkit/Spigot
7540ab7e68 Fixed some naming issues for creature types. Fix for BUKKIT-367
By: Tahg <tahgtahv@gmail.com>
2011-12-20 16:10:54 -05:00
Bukkit/Spigot
732b59ed1e Fix for BUKKIT-313 - this makes getString return a string representation of whatever object is present at the path, rather than only returning if the object is a string
By: sleak <sleak@sleak-PC>
2011-12-16 09:27:54 -08:00
Bukkit/Spigot
1082fbba2a fix for BUKKIT-342 - getConfigurationSection returning the default section instead of creating a new section if defaults are present.
By: sleak <sleak@sleak-PC>
2011-12-16 09:23:53 -08:00
Bukkit/Spigot
8535006335 BREAKING: ItemStack no longer implements Serializable
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 23:19:03 +00:00
Bukkit/Spigot
579869d184 Updated version to 1.0.1-R2-SNAPSHOT for development towards next release
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 22:07:00 +00:00
Bukkit/Spigot
03de44dd05 Updated version to 1.0.1-R1 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2011-12-12 14:41:30 -05:00
Bukkit/Spigot
efa01d0a28 Configuration methods .getX (int/double/etc) now try to cast existing values where possible. This fixes BUKKIT-290
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 18:34:26 +00:00
Bukkit/Spigot
f6bfce4fa1 Added OfflinePlayer + Player .getLastPlayed, .getFirstPlayed, .hasPlayedBefore
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 17:38:27 +00:00
Bukkit/Spigot
602f06a913 Adds Location.getChunk()
By: Kevin <kingersoll@gmail.com>
2011-12-11 21:13:45 -08:00
Bukkit/Spigot
c98c245890 Added getKiller() method to LivingEntity, to determine the killer of an entity
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-11 16:04:37 +00:00
Bukkit/Spigot
2a9dad1626 Add Bukkit.getAllowEnd(). Thanks codename-B!
By: Erik Broes <erikbroes@grum.nl>
2011-12-09 18:50:49 +01:00
Bukkit/Spigot
f63d8e600d Fixed silly NPE during shutdown when java becomes a meanie-pants and steals our lunch money :(
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 17:13:47 +00:00
Bukkit/Spigot
a41e663ef3 Override annotations do not belong here!
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 16:24:23 +00:00
Bukkit/Spigot
7aff3534fa Added onStructureGrow event, thanks to md-5.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 16:12:05 +00:00
Bukkit/Spigot
96311db0bf Fixed MemorySection list methods' return types + NPEs. This fixes BUKKIT-213, thanks to Sleaker
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 15:50:20 +00:00
Bukkit/Spigot
8feccf30cc EntityExplodeEvent: Add constructor that takes yeild parameter
The Ender Dragon causes blocks to explode as it flies through them.
These blocks by default do not drop any items, so the default yeild for
this explosion event is 0. Previously the event had the default value
hard-coded to 0.3F, which is inaccurate in this situation.

We derecate the constructor with no yield, as any default yield should
really be left up to the implementation to decide, not the API.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 23:56:15 +11:00
Bukkit/Spigot
b0481cb922 BREAKING: Change ConsoleCommandSender to an interface.
Implementations will now need to implement the console command sender.
This is done to increse the separation between the Bukkit API and it's
implementations. This allows the implementations more freedom when dealing
with consoles and reducing chances for breaking plugin compatibility in the
future.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 16:43:56 +11:00
Bukkit/Spigot
a4a2fa8690 Teach the API about Remote Consoles
This will allow us to raise events for remote consoles, and provide access
to them at a later date. Relates to BUKKIT-220

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 16:37:35 +11:00
Bukkit/Spigot
1d06c840a4 Added Material.isEdible. Thanks simplyianm
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-06 09:44:16 +00:00
Bukkit/Spigot
56b92a4f45 Added method to retrieve all players on a server, online or offline
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 17:56:41 +00:00
Bukkit/Spigot
712ca9d3b6 I do believe that I made a typo
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 11:08:40 +00:00
Bukkit/Spigot
f3ddaaf09f Added cause to PlayerTeleportEvent
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 11:03:32 +00:00
Bukkit/Spigot
c90d52a4d3 Bukkit will no longer leak tears. He has been cheered up.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 10:41:46 +00:00
Bukkit/Spigot
1c103e443d Added /xp and /toggledownfall commands from vanilla
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-02 06:37:42 +00:00
Bukkit/Spigot
5be8bd5ba5 Added the missing effects to the Effect enum.
By: TomyLobo <tomylobo@nurfuerspam.de>
2011-11-28 18:40:04 +01:00
Bukkit/Spigot
b3819b1bbb Deprecated player methods: getExperience setExperience due to new float value. Added giveExp, setExp, getExp
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-30 22:30:47 +00:00
Bukkit/Spigot
ae4cd083ac Extend EntityCombustEvent to allow setting combustion duration.
Also extend with two new events that track the entity or block that caused
the combustion.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-29 20:50:38 +11:00
Bukkit/Spigot
3055f33fca BREAKING CHANGE: BUKKIT-44 Fix Material Enum typo. Thanks Steeveeo!
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 15:52:11 +11:00
Bukkit/Spigot
159c512a9f Added Enchantment.values() for retrieving all enchantments
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-28 03:41:40 +00:00
Bukkit/Spigot
2aca23d84a Add MagmaCube interface.
Also, add MagmaCube to CreatureType Enum, as per BUKKIT-57. Thanks snowleo!

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 11:12:08 +11:00
Bukkit/Spigot
fa2fabd4ec BUKKIT-57 Add Snowman to CreatureType Enum. Thanks snowleo!
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 10:48:02 +11:00
Bukkit/Spigot
be588e1004 BUKKIT-61 Add durability to BOW material type. Thanks snowleo!
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 09:49:22 +11:00
Bukkit/Spigot
da2c7fcc14 Fixed issue adding mass enchantments to items
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 03:58:12 +00:00
Bukkit/Spigot
636640607d Added utility methods to ItemStack to allow mass adding of enchantments
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 02:45:08 +00:00
Bukkit/Spigot
868b48c82c Made ItemStack .equals take into account data and enchantments
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 02:25:12 +00:00
Bukkit/Spigot
aa5b203974 Added Enchantment API
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 00:26:31 +00:00
Bukkit/Spigot
409c447cbd Added world.getWorldFolder, server.getWorldContainer
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-25 03:46:47 +00:00
Bukkit/Spigot
34f857ad15 Added new set/get age methods to Animals
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-24 20:16:16 +00:00
Bukkit/Spigot
d29402070b Made /version output same as startup output
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-23 05:55:32 +00:00
Bukkit/Spigot
b2c01fec3c Added new biome enum values
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-22 21:21:09 +00:00
Bukkit/Spigot
8afb3fdf8e Fixed the fix of the fix of javaplugin.getResource
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-22 00:03:16 +00:00
Bukkit/Spigot
96e7ebd630 BREAKING CHANGE: Renamed Material.WHITESTONE to ENDER_STONE. Added DRAGON_EGG.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-21 22:38:51 +00:00
Bukkit/Spigot
b5fed7b863 BREAKING CHANGE: Renamed Environment.SKYLANDS to THE_END
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-21 22:38:06 +00:00
Bukkit/Spigot
5e8490ab32 Added EnderCrystal entity
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-21 22:37:37 +00:00
Bukkit/Spigot
2e69050e17 Update version to correct one
By: Erik Broes <erikbroes@ripe.net>
2011-11-20 00:11:39 -08:00
Bukkit/Spigot
d953b3b234 Update version to 1.0.0-SNAPSHOT
By: Erik Broes <erikbroes@grum.nl>
2011-11-19 23:49:05 -08:00
Bukkit/Spigot
13fb246fbc Now using a new version system!
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-31 01:46:44 +00:00
Bukkit/Spigot
beded0650b Fixed typo for NETHER_WARTS
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-29 10:04:11 +01:00
Bukkit/Spigot
bdc3ffafbe Added various new 1.9 entities, blocks and items
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-29 09:43:19 +01:00
Bukkit/Spigot
41fba5743b Added getMaxHealth to LivingEntity
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-29 08:09:22 +01:00
Bukkit/Spigot
cc2c92d5cb Added class type to CreatureType enum
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-29 08:09:03 +01:00
Bukkit/Spigot
67a69090f5 Fixed getResource not working post-reload, thanks to feildmaster
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-13 11:11:45 +00:00
Bukkit/Spigot
75f99315f7 Removed redundant TestEnum file
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-13 10:00:32 +00:00
Bukkit/Spigot
912ce85f79 Add more menus to site.xml
By: Luke GB <lukegb@lukegb.com>
2011-11-10 08:03:00 +00:00
Bukkit/Spigot
867d2bc046 Added createSection(String path, Map<String, object> map)
By: Feildmaster <admin@feildmaster.com>
2011-11-01 22:04:48 -05:00
Bukkit/Spigot
04ccdf16fd Fixed issue with hasPermission returning false wrongly
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-02 22:48:07 +00:00
Bukkit/Spigot
97d09bc106 Fix version string - RB 4 has already happened
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-01 14:22:12 +11:00
Bukkit/Spigot
51b8a856bb Added getBukkitVersion to Server
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-31 04:01:56 +00:00
Bukkit/Spigot
b5b7edecd9 Updated version for 1.8.1-R4
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-31 01:49:57 +00:00
Bukkit/Spigot
e7255d353e Fixed using the wrong type of Map for storing perm attachment values
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-27 22:03:21 +01:00
Bukkit/Spigot
ccbf3b22ed Added helper methods such as getStringList to ConfigurationSection
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-26 09:47:51 +01:00
Bukkit/Spigot
04d50c0f67 Fixed the /me command missing a space
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-26 07:08:41 +01:00
Bukkit/Spigot
3f093fec4a Fixed stripColor taking more than it should, thanks to fieldmaster for catching it
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-26 07:01:50 +01:00
Bukkit/Spigot
2ec416e8e0 Fixed issues with loading YamlConfigurations with typed keys
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-26 06:56:36 +01:00
Bukkit/Spigot
98583f6462 Revert "Added the ability to register commands dynamically."
This reverts commit 737d6347b1d74e13191df7c521d8db30fa174c9b.
Because this is *NOT* how it should be.

By: Erik Broes <erikbroes@grum.nl>
2011-10-13 18:27:34 +02:00
Bukkit/Spigot
f75105d723 Added a case previously not covered by VehicleDestroyEvent for boats, updated VehicleDestroyEvent Javadocs.
By: sk89q <the.sk89q@gmail.com>
2011-10-13 01:16:18 -07:00
Bukkit/Spigot
fa0a9be46c Added the ability to register commands dynamically.
By: sk89q <the.sk89q@gmail.com>
2011-10-13 01:05:20 -07:00
Bukkit/Spigot
f5eee9b341 Added new FileConfigurationOptions.copyHeader, defaulting to true. Copies the header from default config, if there is one.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-12 13:24:57 +01:00
Bukkit/Spigot
69a2349368 Loading a FileConfiguration (Yaml/) should remember the previously saved header
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-12 05:03:47 +01:00
Bukkit/Spigot
ea55a50756 YamlConfiguration now correctly writes extra blank lines at the end if requested
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-12 04:39:22 +01:00
Bukkit/Spigot
b94e100930 Added reloadConfig() plugin method
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 15:50:59 +01:00
Bukkit/Spigot
71d1bb3e2d Added OfflinePlayer.getPlayer() for getting the online Player object
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 14:51:28 +01:00
Bukkit/Spigot
e7f66d5be6 Fixed deeply nested configuration sections retrieving values
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 13:26:41 +01:00
Bukkit/Spigot
510ec3a467 Fixed removing entries in the new Configuration (via set(x, null))
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 12:16:43 +01:00
Bukkit/Spigot
f22a79981c Fixed NPE on unloading plugins
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 04:41:34 +01:00
Bukkit/Spigot
ef674c0b83 Added new entity.get/setTicksLived for identifying an entity's age
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 02:22:38 +01:00
Bukkit/Spigot
b50b4ca047 Few more style cleanups
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 02:16:44 +01:00
Bukkit/Spigot
ad38184dc2 Added add/subtract by Vector methods to Location, thanks to erisdiscord
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 02:04:40 +01:00
Bukkit/Spigot
aff51bff11 Javadoc typo. I can now sleep soundly at night.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 01:24:47 +01:00
Bukkit/Spigot
1ad373d9f6 Lazy-load the old and new configs for plugins .getConfig
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 23:04:01 +01:00
Bukkit/Spigot
429eb80d6e Small javadoc cleanup
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 21:58:44 +01:00
Bukkit/Spigot
96063a2b4d Updated snakeyaml to 1.9 (up from 1.7)
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 21:39:27 +01:00
Bukkit/Spigot
e485fcdb54 Removed old Fillr code that was actually never used
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 21:33:44 +01:00
Bukkit/Spigot
6c7412d365 Added new Configuration classes
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-19 20:36:44 +01:00
Bukkit/Spigot
e99e39ee62 hopeful fix for blocks not being pistons when they should be
By: Tahg <tahgtahv@gmail.com>
2011-09-30 03:27:36 -04:00
Bukkit/Spigot
c549298711 Revert "Added callback line of sight methods. Thanks xZise!"
This reverts commit 1df3a823ba477d68b359e5ac246345a05fe82ebd.

By: EvilSeph <evilseph@gmail.com>
2011-10-03 15:15:50 -04:00
Bukkit/Spigot
3ea8302a86 Added Difficulty API.
By: EvilSeph <evilseph@gmail.com>
2011-10-03 01:25:39 -04:00
Bukkit/Spigot
903b75184d Made the Ban command kick a matching player if they are online.
By: EvilSeph <evilseph@gmail.com>
2011-10-03 01:31:38 -04:00
Bukkit/Spigot
8ce68d156e Added callback line of sight methods. Thanks xZise!
By: EvilSeph <evilseph@gmail.com>
2011-10-01 16:16:22 -04:00
Bukkit/Spigot
297f375b44 Renamed player.setListName to something a little more sensical
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-10-03 00:34:04 +01:00
Bukkit/Spigot
457abc3dc5 Updated guava to 10.0
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-10-01 23:46:11 +01:00
Bukkit/Spigot
2a3a80d543 Added PlayerChangedWorldEvent.
By: sunkid <sunkid@iminurnetz.com>
2011-09-30 20:29:24 +02:00
Bukkit/Spigot
2ef3dfed7b Moved itr.remove() in loadPlugins(). Thanks lahwran!
This was moved so that the loop does not end until it has gone through a
whole pass without finding any loadable plugins.

By: EvilSeph <evilseph@gmail.com>
2011-10-01 13:56:17 -04:00
Bukkit/Spigot
367dbc663e Painting improvements. Thanks CelticMinstrel!
Added interface to get/set the art and facing direction on paintings, and expanded painting break events to catch more cases (including fire and lightning); removed PaintingBreakByWorldEvent since it's identical to its superclass

By: EvilSeph <evilseph@gmail.com>
2011-10-01 13:30:59 -04:00
Bukkit/Spigot
5db08677a3 Added SlimeSplit event. Thanks garbagemule!
The SlimeSplit event is fired when a Slime attempts to split upon death. The event may be cancelled, and the amount of smaller slimes may be customized.

By: EvilSeph <evilseph@gmail.com>
2011-09-30 19:34:06 -04:00
Bukkit/Spigot
d0f0db958d Added server list ping event.
By: sk89q <the.sk89q@gmail.com>
2011-09-26 15:32:01 -07:00
Bukkit/Spigot
bbcdbdda16 Added Player.get/setListName to change the name of the player on the player list.
By: sk89q <the.sk89q@gmail.com>
2011-09-26 15:10:33 -07:00
Bukkit/Spigot
cc2f43d8c5 Boat get/set (double) occupied acceleration, (double) unoccupied deceleration, (boolean) work on land. Good values to maximize boat utility: 0.6 (fast accel.), 0.99 (no loss of boat), true/false, respectively.
By: sk89q <the.sk89q@gmail.com>
2011-09-25 11:20:47 -07:00
Bukkit/Spigot
63cd6ba7d1 Added MonsterEggs materialdata
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 15:27:16 +01:00
Bukkit/Spigot
cae1a829df Remove Jukebox MaterialData in favour of Jukebox BlockState
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-08-22 01:27:48 -04:00
Bukkit/Spigot
c2d3c5ce3e Added get/setPickupDelay on Item entities, thanks robin0van0der0v
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 03:40:12 +01:00
Bukkit/Spigot
0d3e401580 Added Server.getOperators to return all server operators
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 03:27:44 +01:00
Bukkit/Spigot
4d1700d1d9 Fixed Material.getData returning for "dull" materials with no fancy dataclass
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 03:05:07 +01:00
Bukkit/Spigot
a8e72bdb91 Many javadoc fixes thanks to Celtic Minstrel
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 02:56:40 +01:00
Bukkit/Spigot
1968b78a12 added support for SmoothBrick and changed steps to a TexturedMaterial
By: sunkid <sunkid@iminurnetz.com>
2011-09-15 16:33:53 -07:00
Bukkit/Spigot
fd48f02fc3 Adds a method that returns the File representation of the update folder. The previous method just returns the filename and doesn't provide the path
By: raphfrk <raphfrk@gmail.com>
2011-08-14 05:34:15 +01:00
Bukkit/Spigot
e1825bdfd5 Added world.getSeaLevel()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 01:05:32 +01:00
Bukkit/Spigot
530662e3b6 Deprecated Server.createWorld() methods, use "WorldCreator.name(x).seed(1234).createWorld()" now
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 01:04:43 +01:00
Bukkit/Spigot
b37cc0968a Added getHeight to BlockChangeDelegate
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-23 17:15:23 +01:00
Bukkit/Spigot
9549d7be86 Added server.getConsoleSender, blocked access to create a ConsoleCommandSender
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-24 23:11:01 +01:00
Bukkit/Spigot
6c051c6e18 Added RegainReason.SATIATED.
This reason is used when a player regains health from generating due to their hunger being satisfied.

By: EvilSeph <evilseph@gmail.com>
2011-09-22 01:34:31 -04:00
Bukkit/Spigot
547ab9f1be Added FoodLevelChange event.
By: EvilSeph <evilseph@gmail.com>
2011-09-21 18:52:23 -04:00
Bukkit/Spigot
55312ce475 Fixed typo in OpCommand.
By: EvilSeph <evilseph@gmail.com>
2011-09-21 17:36:55 -04:00
Bukkit/Spigot
a9cffeb33d Added DamageCause.STARVATION.
By: EvilSeph <evilseph@gmail.com>
2011-09-21 17:11:53 -04:00
Bukkit/Spigot
a3e8ec7d78 Added PlayerToggleSprint event and sprinting related API.
By: Rigby <rigby@onarandombox.com>
2011-09-21 11:46:33 +01:00
Bukkit/Spigot
ff51e5c299 Fixed an extremely dangerous typo caused by @dkdunnings!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-21 17:37:24 +01:00
Bukkit/Spigot
039898c280 Implements the ability to customise and disable Player death messages.
By: Rigby <rigby@onarandombox.com>
2011-09-21 16:33:29 +01:00
Bukkit/Spigot
e66d7aba10 Added methods to control dropped EXP from EntityDeathEvent, and made a subevent for setting players respawned-exp
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-21 15:40:00 +01:00
Bukkit/Spigot
0ca32ac525 Added getBedSpawnLocation to Player. Thanks fernferret!
By: EvilSeph <evilseph@gmail.com>
2011-09-20 23:32:21 -04:00
Bukkit/Spigot
cc09f73499 Changed documentation for RegainReason.REGEN ENUM to reflect latest code.
By: EvilSeph <evilseph@gmail.com>
2011-09-20 21:13:26 -04:00
Bukkit/Spigot
43ddd8d84d hasPermission should return correctly for undefined permissions
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-21 00:54:40 +01:00
Bukkit/Spigot
1caebea71d All permissions now default to OP unless stated otherwise.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-21 00:29:01 +01:00
Bukkit/Spigot
acd8d918f1 Permission registration in plugin.yml can now be easier, see https://gist.github.com/32dca3e937c1c42a4ed2 - also added "default-permission" option.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-20 18:42:28 +01:00
Bukkit/Spigot
44188b546a Made OfflinePlayer > AnimalTamer. Thanks to robinjam
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-20 19:04:45 +01:00
Bukkit/Spigot
032a212512 Added events for endermen pickup/placement blocks and methods to get/set the block that an enderman is holding. Thanks Wizjany
By: Wizjany <wizjany@gmail.com>
2011-09-17 20:18:43 -04:00
Bukkit/Spigot
ae629bb348 Fix toString in Location to be readable
By: Erik Broes <erikbroes@grum.nl>
2011-09-18 11:48:00 +02:00
Bukkit/Spigot
a7f6bb5cd4 addition of PlayerGameModeChangeEvent
By: sunkid <sunkid@iminurnetz.com>
2011-09-16 19:49:56 -07:00
Bukkit/Spigot
6d19165044 Switched to native weak hashmap instead of guavas for SimplePluginManager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-17 22:37:45 +01:00
Bukkit/Spigot
9dcc5147c6 Fixed max stack sizes for some items, as per new vanilla spec.
By: EvilSeph <evilseph@gmail.com>
2011-09-17 16:55:22 -04:00
Bukkit/Spigot
ac46850069 Now with 60% less Dave errors!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-16 21:16:42 +01:00
Bukkit/Spigot
ee9246ebae Added new entities to CreatureType ENUM.
By: EvilSeph <evilseph@gmail.com>
2011-09-16 06:07:41 -04:00
Bukkit/Spigot
3b756e3464 Made SayCommand display output in purple, as per vanilla spec.
By: EvilSeph <evilseph@gmail.com>
2011-09-15 22:11:20 -04:00
Bukkit/Spigot
a17998c2c7 Added Player saturation, exhaustion and food level methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 06:23:58 +01:00
Bukkit/Spigot
e6b33d8a08 Added methods for getting/setting how much exp is contained within an orb
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 05:48:52 +01:00
Bukkit/Spigot
c42fef2680 Added Player.get/setExperience, totalExperience and level
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 05:12:50 +01:00
Bukkit/Spigot
9fbb148afb Fixed GameModeCommand not being limited to Ops by default.
By: EvilSeph <evilseph@gmail.com>
2011-09-14 23:22:05 -04:00
Bukkit/Spigot
3afaee9337 Fixed GameModeCommand and GiveCommand error/response display.
By: EvilSeph <evilseph@gmail.com>
2011-09-14 22:18:28 -04:00
Bukkit/Spigot
9f604a909d Fixed "unknown command" on vanilla commands with no args (even though it's intended behavior...)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 03:04:55 +01:00
Bukkit/Spigot
0f9396499a Added new Materials (need to add individual api later)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 02:54:19 +01:00
Bukkit/Spigot
427bd6ecbe Added new Entity interfaces
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 02:34:06 +01:00
Bukkit/Spigot
bffd335a52 Ok, so we need this. *shifty eyes*
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 01:42:07 +01:00
Bukkit/Spigot
453084c971 Added GameMode command.
By: EvilSeph <evilseph@gmail.com>
2011-09-14 17:22:50 -04:00
Bukkit/Spigot
a3154f3ffc Added GameMode methods to Server and HumanEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-09 01:15:37 +01:00
Bukkit/Spigot
42235114ca Fixed /say command not allowing more than one argument
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-04 16:28:40 +01:00
Bukkit/Spigot
f82dfdc717 Don't lazy-load in PermissibleBase. This'll be a performance hit, but it's causing subscription issues.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-04 00:23:50 +01:00
Bukkit/Spigot
3fd400d31d Made JavaPluginLoader non-final
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 20:46:04 +01:00
Bukkit/Spigot
48bf69084d Fixed dupe message when console /says
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 17:29:00 +01:00
Bukkit/Spigot
715dcf90c8 Moved all vanilla commands into Bukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 04:37:23 +01:00
Bukkit/Spigot
b1dae4a0a8 CelticMinstrel is a poopy head!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 02:21:08 +01:00
Bukkit/Spigot
93040c71de Added new methods to Server, Player and OfflinePlayer for banning and unbanning
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 02:13:37 +01:00
Bukkit/Spigot
6d43d89f5e Added 3 methods to Server for IP banning and unbanning
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 01:59:08 +01:00
Bukkit/Spigot
fdd66c057c New BroadcastPermissions default permission registrations
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 00:52:28 +01:00
Bukkit/Spigot
73b3f6def2 ... Actually push the OfflinePlayer interface!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 00:48:41 +01:00
Bukkit/Spigot
498e63dbfa Added the ability to access offline players & more reverse lookup fixes in Permissible.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 00:41:22 +01:00
Bukkit/Spigot
1d6801b8e6 Some small fixes to permissions to register the correct Permissible in base and more accurate reverse lookups
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 23:39:01 +01:00
Bukkit/Spigot
2ba705febc Added new Server.broadcast method to broadcast to specific groups of users, including non-players
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 22:21:26 +01:00
Bukkit/Spigot
f4545766e3 Added new autosave methods to World
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 20:46:44 +01:00
Bukkit/Spigot
49a3d46b46 Added method to shutdown the server
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 20:18:10 +01:00
Bukkit/Spigot
ee60cdeb0f Fixed java ver method
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 19:35:58 +01:00