Commit graph

19209 commits

Author SHA1 Message Date
CraftBukkit/Spigot
91e69e54b4 Don't want the scheduler taking invalid arguments as well.
By: sk89q <the.sk89q@gmail.com>
2011-04-18 23:52:19 -07:00
CraftBukkit/Spigot
c4d411e2bf Fixed CraftScheduler to catch exceptions thrown by tasks, rather than crash the server.
By: sk89q <the.sk89q@gmail.com>
2011-04-18 23:47:49 -07:00
CraftBukkit/Spigot
5382906706 The @Override annotation should only be used when overriding a method.
Not when implementing an interface.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-04-14 12:58:04 +10:00
CraftBukkit/Spigot
81df3f5812 Made fauxSleeping persist on death and cross-world teleport.
By: sk89q <the.sk89q@gmail.com>
2011-04-11 17:10:17 -07:00
CraftBukkit/Spigot
8eff7522ff Fixin' the problem of AFK people not in bed.
By: sk89q <the.sk89q@gmail.com>
2011-04-11 11:48:31 -07:00
CraftBukkit/Spigot
7ad3f8b835 Fix isSitting()/setSitting(), add isTame()/setTame()/getOwner()/setOwner() methods
By: Mike Primm <mike@primmhome.com>
2011-04-08 09:33:03 -05:00
CraftBukkit/Spigot
45474ceb10 We build for Java 1.5, so no @Override for interface implementations
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-05-02 23:55:18 +10:00
CraftBukkit/Spigot
7bbe446bd6 Improved the Scheduler.
Adds nag message when async tasks are not properly shut down and adds a limiter for sync tasks. Once they use 35ms in a single tick, any remaining tasks are not executed until later ticks. Adds a method to report the pending tasks and one to report active worker threads

By: Raphfrk <raphfrk@gmail.com>
2011-04-28 20:10:39 +01:00
CraftBukkit/Spigot
421600527f Added a setArmorContents method to PlayerInventory.
It handles error checking.  Null item stacks and air item stacks are both converted to clear slot calls to prevent crashing the client.

By: Raphfrk <raphfrk@gmail.com>
2011-04-29 00:26:04 +01:00
CraftBukkit/Spigot
4ae1ef6d1d Added per world PVP setting support.
By: Rigby <rigby@onarandombox.com>
2011-04-29 23:34:37 +01:00
CraftBukkit/Spigot
c1e9a053fb Implemented addRecipe method in CraftServer and associated recipe classes.
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-04-15 22:11:13 -04:00
CraftBukkit/Spigot
2980396ae5 Added events related to weather in 1.5. Thanks wizjany!
By: EvilSeph <evilseph@unaligned.org>
2011-04-25 19:47:25 -04:00
CraftBukkit/Spigot
18394a8207 Added the ability to retrieve a world's Seed.
By: Rigby <rigby@onarandombox.com>
2011-04-23 17:57:25 +01:00
CraftBukkit/Spigot
e5a4f1c9cc Fix TextWrapping issues; Now limits the packets send to the client to either: 119 chars or 320 width. This will strip disallowed characters, propagate colors properly to the next line and not 'eat' multiple color-codes.
By: Erik Broes <erikbroes@grum.nl>
2011-04-25 18:14:06 +02:00
CraftBukkit/Spigot
3415ecea14 Updated README for lineending demands
By: Erik Broes <erikbroes@grum.nl>
2011-04-25 12:51:53 +02:00
CraftBukkit/Spigot
42fedb41a8 Add methods to control thunder.
By: sk89q <the.sk89q@gmail.com>
2011-04-22 03:13:21 -07:00
CraftBukkit/Spigot
8f0c812b0a Added weather control methods.
By: sk89q <the.sk89q@gmail.com>
2011-04-22 02:18:13 -07:00
CraftBukkit/Spigot
fbd280daa2 Added World.strikeLightning(). Also renamed WeatherStorm -> LightningStrike.
By: sk89q <the.sk89q@gmail.com>
2011-04-22 01:25:55 -07:00
CraftBukkit/Spigot
adf7ef5ccd Changed Block.setTypeId() back to old behavior before the new translation process.
By: sk89q <the.sk89q@gmail.com>
2011-04-21 23:28:58 -07:00
CraftBukkit/Spigot
5a413e5deb Implemented stats/achievement giving
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 20:57:09 +01:00
CraftBukkit/Spigot
6c3edc4921 Made reload support allow-flight.
By: EvilSeph <evilseph@unaligned.org>
2011-04-21 15:40:22 -04:00
CraftBukkit/Spigot
2ddf5d1504 Made what should be the last change missed in translation that might cause chunk issues.
By: EvilSeph <evilseph@unaligned.org>
2011-04-07 19:51:29 -04:00
CraftBukkit/Spigot
a726b7db68 And Bukkit only provide avaje.ebean, oops :D
By: Erik Broes <erikbroes@grum.nl>
2011-04-08 00:21:55 +02:00
CraftBukkit/Spigot
440da13883 Prevent maven shade-duplication spam where not needed
By: Erik Broes <erikbroes@grum.nl>
2011-04-08 00:19:41 +02:00
CraftBukkit/Spigot
07082e80ca Added bed events and methods.
By: sk89q <the.sk89q@gmail.com>
2011-04-07 11:26:51 -07:00
CraftBukkit/Spigot
1486672b8a Fixed firstEmpty() by making it search for the first null instead of Material.AIR.
By: EvilSeph <evilseph@unaligned.org>
2011-04-07 13:06:55 -04:00
CraftBukkit/Spigot
498de23ae2 Made another change that was missed in translation that might cause chunk issues. This should address one of the chunk issues experienced when teleporting.
By: alron <alron@bloodmagic.com>
2011-04-06 02:29:14 -07:00
CraftBukkit/Spigot
67a1520bb5 Fixed Compile error
By: Tahg <tahgtahv@gmail.com>
2011-04-06 21:51:20 -04:00
CraftBukkit/Spigot
8a6f57b746 Fixed some NPE issues caused by previous commit
By: Tahg <tahgtahv@gmail.com>
2011-04-06 21:34:50 -04:00
CraftBukkit/Spigot
fd1e6156c0 Fixed stupidity in CraftInventory return types
By: Tahg <tahgtahv@gmail.com>
2011-04-06 13:20:50 -04:00
CraftBukkit/Spigot
39b417df5d getContents now returns null for items whose underlying item is null
By: Tahg <tahgtahv@gmail.com>
2011-04-06 12:45:03 -04:00
CraftBukkit/Spigot
ce4ef77ead Restored .gitignore
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-05 16:46:36 +01:00
CraftBukkit/Spigot
65201e75c6 Added prerequisite org.avaje.ebean 2.7.3 to pom.xml
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-05 16:42:40 +01:00
CraftBukkit/Spigot
b09f01d4f7 added some API for entities
By: Tahg <tahgtahv@gmail.com>
2011-04-04 00:48:40 -04:00
CraftBukkit/Spigot
cebf24179e Added player.saveData and player.loadData.
By: afforess <afforess@gmail.com>
2011-04-03 11:40:08 -04:00
CraftBukkit/Spigot
4ac4aa674c Prevent junit:junit from being packaged as its not needed to run
By: Erik Broes <erikbroes@grum.nl>
2011-04-03 11:21:40 +02:00
CraftBukkit/Spigot
b2456309ff Fix chunk.getEntities
By: Erik Broes <erikbroes@grum.nl>
2011-04-02 17:56:06 +02:00
Bukkit/Spigot
a679c0c906 Fixed command aliases priorities.
Command aliases are now given lower weight than the "official" name of the command; this allows you to define aliases without worrying about them overriding someone else's command.

By: Celtic Minstrel <celtic.minstrel.ca@>
2011-03-30 17:36:39 -04:00
Bukkit/Spigot
12a93a05ff Added get/setLastDamageCause. Thanks sunkid!
By: EvilSeph <evilseph@unaligned.org>
2011-05-16 00:20:58 -04:00
Bukkit/Spigot
940c9f9974 Made disabled plugins show up in red in the plugins list. Thanks Yetanotherx!
By: EvilSeph <evilseph@unaligned.org>
2011-05-15 20:07:53 -04:00
Bukkit/Spigot
8afcd239d8 Reverted commits that broke plugin class loading, pending investigation.
By: EvilSeph <evilseph@unaligned.org>
2011-05-15 19:20:30 -04:00
Bukkit/Spigot
855f4133b6 Whitespace + general cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-05-14 23:22:54 +02:00
Bukkit/Spigot
8217ff1836 Fixed errors during plugin enable/disable leaving Bukkit in an undefined state. Previous fix would at least prevent plugins from breaking the server, but it aborted the enable/disable process prematurely.
By: sk89q <the.sk89q@gmail.com>
2011-05-13 18:17:28 -07:00
Bukkit/Spigot
c9d98c3313 src/site/apt/index.apt
By: Erik Broes <erikbroes@grum.nl>
2011-05-13 17:07:31 +02:00
Bukkit/Spigot
94aac786c6 Guarded against plugins throwing exceptions on enable and disable to prevent potential corruption issues on server start and stop
By: stevenh <steven.hartland@multiplay.co.uk>
2011-05-13 14:50:03 +01:00
Bukkit/Spigot
4af56e3d16 Fixed java plugin class loader so it works with plugins that contain classes also present in other plugins.
This also removes the changes from commit 1c4bde50bc12d130f6c8 which was added in order to fix this issue but wasn't ideal as it required plugins to be updated which isnt required with this fix

By: stevenh <steven.hartland@multiplay.co.uk>
2011-05-13 01:57:00 +01:00
Bukkit/Spigot
11804b78a5 Added @DontExport annotation for telling Bukkit not to share a class with another plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-12 23:09:24 +01:00
Bukkit/Spigot
2282eb15a5 Line endings. Don't make me yell at you.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-12 22:28:09 +01:00
Bukkit/Spigot
3ce3db7f3a Added ability to saddle a pig to the API. Thanks xPaw!
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-05-11 17:44:31 -07:00
Bukkit/Spigot
e40b7ab7c1 Added dispenser event.
By: sk89q <the.sk89q@gmail.com>
2011-05-08 02:56:38 -07:00