Commit Graph

1190 Commits

Author SHA1 Message Date
Wesley Wolfe
c8dc8e682e Let version print partial matches for plugin name. Addresses BUKKIT-2383
If no plugin is found with the given name, the version command will
search all loaded plugins to find a case insensitive partial match for
the specified name and print to the sender all matches.
2012-09-28 16:50:32 -05:00
EvilSeph
ec823d16f4 Updated version to 1.3.2-R1.1-SNAPSHOT for development towards next release. 2012-09-28 16:33:59 -04:00
EvilSeph
5218c952a3 Updated version to 1.3.2-R1.0 in pom.xml for RB. 2012-09-28 16:25:34 -04:00
EvilSeph
2f8d9ffd55 Updated version to 1.3.2-R0.3-SNAPSHOT for development towards next release. 2012-09-26 19:20:08 -04:00
EvilSeph
f35e827917 Updated version to 1.3.2-R0.2 in pom.xml for Beta. 2012-09-26 19:16:09 -04:00
Wesley Wolfe
1bb902bc0a Remove internals from org.bukkit.Sound.
The internal Minecraft names of Sounds should not be exposed in the API.
2012-09-26 19:02:36 -04:00
mbax
a2566bfc3e Updated null checks in MetadataStoreBase. Fixes BUKKIT-1412
Previously, the method could be called with a null MetadataStore and stored.
In later execution null pointer exceptions would be generated when checking
for the plugin that the set Metadata belongs to.

Additionally, places where a plugin is referenced will now throw an
IllegalArgumentException if specified plugin is null. Using null would be an
obvious logical flaw, and in some cases produce additional exceptions later
in execution.
2012-08-26 22:09:21 -05:00
Wesley Wolfe
98d257daab Allow inherited methods to be event handlers. Addresses BUKKIT-2299
This change lets JavaPluginLoader use a temporary HashSet to store
methods that could possibly have the EventHandler annotation. Duplicates
are prevented by the nature of a Set.

Registering parent listeners is a breaking change for any listener
extending another listener and expecting parent listeners to not be
called. Changing this is justified by the ease-of-use and proper object
inheritance design. If this is undesired behavior, the method may be
overridden without reapplying the method with the EventHandler notation.
2012-08-26 21:14:28 -05:00
Wesley Wolfe
3ea3884cc5 Provide better verbose for registering listeners. Addresses BUKKIT-2391 2012-08-25 17:48:53 -05:00
EvilSeph
75749c6cc6 Updated version to 1.3.2-R0.2-SNAPSHOT for development towards next release. 2012-08-25 04:02:36 -04:00
EvilSeph
2b68ccd671 Updated version to 1.3.2-R0.1 in pom.xml for Beta. 2012-08-25 00:57:24 -04:00
EvilSeph
f99aee9b40 Updated version to 1.3.2-R0.1-SNAPSHOT for development towards next release. 2012-08-25 00:57:10 -04:00
feildmaster
a32b392c00 Add API for Sound, and playing the sounds for Worlds and Players. Adds BUKKIT-1430, BUKKIT-1226 and BUKKIT-2019 2012-08-21 17:15:48 -05:00
feildmaster
4d2dbee97f Add API to retrieve a players EnderChest. Adds BUKKIT-2016 2012-08-20 16:01:35 -05:00
EvilSeph
bb1f1904e9 Updated version to 1.3.1-R2.1-SNAPSHOT for development towards next release. 2012-08-19 09:01:06 -04:00
EvilSeph
5c33527403 Updated version to 1.3.1-R2.0 in pom.xml for RB. 2012-08-19 08:47:32 -04:00
Mike Primm
fb41daae01 Add isChunkInUse() to World. Addresses BUKKIT-2330 2012-08-19 07:56:39 -04:00
Wesley Wolfe
75e9cfb7a7 Fully restrict the org.bukkit and net.minecraft namespace 2012-08-19 07:42:20 -04:00
Wesley Wolfe
2265bb563b Let TripwireHook be attachable. Addresses BUKKIT-2278
This commit also makes TripwireHook consistent with other attachables
for the facing property.
2012-08-17 14:33:23 -05:00
feildmaster
28031fe19b Add interface for spawning FallingBlocks and correctly spawn a FallingBlock with the spawn(Location, FallingBlock.class) method. Adds BUKKIT-2282
Also add FallingBlock and methods.

Deprecated FallingSand to emphasize FallingBlock.
2012-08-14 07:39:44 -05:00
Wesley Wolfe
75d46314b6 Add API to set and get movement modifiers. Addresses BUKKIT-2205 2012-08-10 00:19:21 -05:00
Wesley Wolfe
7a6a3d9558 Change Player usage in unit tests to proxies 2012-08-10 00:03:21 -05:00
feildmaster
7ddfdb8253 Add API for getting and setting experience for BlockBreakEvent. Addresses BUKKIT-2033 2012-08-08 19:48:50 -05:00
feildmaster
7d9185e473 Add spaces to gamemode message. Fixes BUKKIT-2148 2012-08-08 19:48:49 -05:00
EvilSeph
fe0a09aebb Updated version to 1.3.1-R1.1-SNAPSHOT for development towards next release. 2012-08-07 17:10:02 -04:00
EvilSeph
233222bca5 Updated version to 1.3.1-R1.0 in pom.xml for RB 2012-08-07 03:10:25 -04:00
Wesley Wolfe
dafef287cb Purge outdated biomes. Fixes BUKKIT-1087 2012-08-07 01:55:48 -05:00
Wesley Wolfe
dc3fc6a702 Add Warning API and settings for Deprecated events 2012-08-07 00:16:57 -05:00
feildmaster
ebb4362cf6 Don't send duplicate messages for Gamemode and Time commands.
Gamemode gets sent with the packet.
2012-08-06 11:29:38 -05:00
feildmaster
09ef15e950 Update commands to match 1.3 vanilla commands 2012-08-06 06:59:46 -05:00
feildmaster
c809871558 Fail silently on incorrect number input 2012-08-06 06:59:45 -05:00
Wesley Wolfe
fee71b3ec9 Change inheritance for new MaterialData. 2012-08-05 22:01:54 -05:00
Mike Primm
67cf6c6bdf [Bleeding] Add new MaterialData classes for new blocks and update existing blocks with new data 2012-08-05 19:55:46 -05:00
Wesley Wolfe
e49a640760 BREAKING: replace defunct PlayerChatEvent with async chat. Addresses BUKKIT-2064
PlayerChatEvent is now Deprecated. It should be fired asynchronously, but
has not been so traditionally. To do so would massively break plugins that
rely on it.

AsyncPlayerChatEvent now replaces PlayerChatEvent. It uses comparable
functionality, but can be fired without synchronizing to the event manager.
The event will sometimes fire synchronously if triggered by a plugin.

Because PlayerChatEvent is now deprecated, PlayerCommandPreprocessEvent will
no longer extend PlayerChatEvent. This is almost completely source and
binary compatible, bar plugins that downcast to PlayerChatEvent.
Additionally, some methods that are non-functional have been marked
deprecated and indicate such.

Additionally, new constructors are now provided to allow for lazier
initialization of the receiving player set. A note has been added stating
plugins should be prepared for UnsupportedOperationExceptions if the caller
provides an unmodifiable collection.
2012-08-03 20:31:01 -05:00
Wesley Wolfe
0b2870a6fd Warn server owners of plugins using deprecated events. Fixes BUKKIT-2027 2012-08-02 23:21:02 -05:00
Travis Watkins
bc8f053e2a Test command permissions before running them. 2012-08-02 19:02:23 -05:00
feildmaster
c2e493480c Revive the toggledownfall permission! (and fix descriptions) 2012-08-02 18:31:19 -05:00
feildmaster
99f251cadb Add LargeBiomes WorldType. 2012-08-02 08:55:11 -05:00
feildmaster
110ad8c196 Update Bukkit for 1.3.1 changes 2012-08-02 04:54:21 -05:00
EvilSeph
6a53010c0c Updated version to 1.2.5-R5.1-SNAPSHOT for development towards next release. 2012-07-28 02:13:44 -04:00
EvilSeph
87b38c0578 Updated version to 1.2.5-R5.0 in pom.xml for RB. 2012-07-28 01:49:44 -04:00
feildmaster
ec51c24641 Add API to get a players experience to level (getExpToLevel). Implements BUKKIT-1906
This is the total experience one needs to gain a level.
2012-07-11 17:12:26 -05:00
feildmaster
c3830e0d22 Implement server.getMotd() for BUKKIT-1799 2012-07-04 23:21:03 -05:00
feildmaster
c65422de4b Don't "setLastDamageCause" in the DamageEvent constructor. Addresses BUKKIT-1881
This is now done after the event to allow you to be able to get previous damageCauses, and is now only applied if the event is not canceled.
2012-07-03 14:09:51 -05:00
TomyLobo
945ff9eebb Add an isValid() method to Entity. Addresses BUKKIT-810 2012-06-28 19:33:33 -05:00
Wesley Wolfe
2b3eaee7d9 Add check for existing config file. Addresses BUKKIT-1851 2012-06-28 16:39:19 -05:00
TomyLobo
6525a30e74 Add LivingEntity.hasLineOfSight. Addresses BUKKIT-1255 2012-06-23 10:58:01 -05:00
V10lator
e129c8363e Deprecate spawnCreature and add spawnEntity. Addresses BUKKIT-1168 2012-06-23 10:57:59 -05:00
Wesley Wolfe
c4fe5bfdf6 Add plugin channel events. Addresses BUKKIT-1844 2012-06-21 02:39:35 -05:00
Travis Ralston
ae3b5cc615 Add PlayerItemBreakEvent. Addresses BUKKIT-1600 2012-06-21 02:08:31 -05:00