Commit Graph
100 Commits
Author SHA1 Message Date
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 726a64db9c Fixed the fix of Creeper.setPowered
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 18:55:20 +01:00
CraftBukkit/Spigot 7b2076bf67 Fixed creeper.setPowered
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 18:41:47 +01:00
CraftBukkit/Spigot b06922ac07 Implemented Weather and WeatherStorm
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 16:51:58 +01:00
CraftBukkit/Spigot 3e7cc3c7b5 Implemented Creeper.is/setPowered
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 16:15:44 +01:00
CraftBukkit/Spigot 35621b2667 Java compat
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 15:43:09 +01:00
CraftBukkit/Spigot c955a4d5d4 Update for 1.5_02.
By: Erik Broes <erikbroes@grum.nl>
2011-04-20 22:47:26 +02:00
CraftBukkit/Spigot dfa9522464 Reapplying changes lost with our new system in CraftInventory and CraftInventoryPlayer.
By: EvilSeph <evilseph@unaligned.org>
2011-04-21 00:24:27 -04:00
CraftBukkit/Spigot 02c5d21f7f Oops don't break the pom.xml
By: Erik Broes <erikbroes@grum.nl>
2011-04-20 19:11:22 +02:00
CraftBukkit/Spigot 070c214267 Update for 1.4_00_01 -- if you bypassed Bukkit, you will most likely break.
By: Erik Broes <erikbroes@grum.nl>
2011-04-20 19:05:14 +02:00
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 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
CraftBukkit/Spigot 7dc8bdfeaa Implemented entity.getNearbyEntities()
By: Stephen <stephen@jazer.com>
2011-03-27 19:50:43 -04:00
CraftBukkit/Spigot 7b406bfc1e implementation of Entity.isDead
By: afforess <afforess@gmail.com>
2011-04-02 01:08:57 -04:00
CraftBukkit/Spigot f8292a5eb6 Forces clients to update to the new time immediately when setTime or setFullTime is called.
By: afforess <afforess@gmail.com>
2011-04-02 04:04:57 -04:00
CraftBukkit/Spigot 3547e8a410 Implemented the new SpawnChangeEvent in CraftWorld.setSpawnLocation()
By: William Bowers <william.bowers@gmail.com>
2011-03-29 02:04:42 -07:00
CraftBukkit/Spigot 7deee386c8 Changed default database location to {NAME}.db instead of database.db
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-01 16:52:00 +01:00
CraftBukkit/Spigot 57d84a1582 Added mysql dep
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-01 16:00:34 +01:00
CraftBukkit/Spigot 959d335a0e Implemented ebeans
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 02:35:08 +01:00
CraftBukkit/Spigot 16a666c20e Made Server a singleton
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-30 14:55:42 +01:00
CraftBukkit/Spigot ba7e83927e Fix Entity.setVelocity
By: Erik Broes <erikbroes@grum.nl>
2011-04-01 12:28:55 +02:00
CraftBukkit/Spigot 26be6db6d5 Fix world.getFullTime()
By: Erik Broes <erikbroes@grum.nl>
2011-04-01 09:24:42 +02:00
CraftBukkit/Spigot f3fe2a426c Capture errors in plugins onLoad
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 22:33:06 +01:00
CraftBukkit/Spigot 57fa7c0118 Implemented Wolf
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 22:10:48 +01:00
CraftBukkit/Spigot adcc9c9ddf Updated to Minecraft version 1.4
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 21:40:00 +01:00
CraftBukkit/Spigot 3669bb0d8b CreatureSpawnEvent: Fix forgotten inheritance with CreatureType
By: Erik Broes <erikbroes@grum.nl>
2011-03-30 08:51:42 +02:00
CraftBukkit/Spigot 2fddd09aea world.spawnCreature cast fix
By: Erik Broes <erikbroes@grum.nl>
2011-03-30 00:40:46 +02:00
CraftBukkit/Spigot 58ba4e379d Add MONSTER to CreatureSpawnEvent
By: Erik Broes <erikbroes@grum.nl>
2011-03-29 23:18:48 +02:00
CraftBukkit/Spigot 0258613d15 Move passenger-handling to CraftEntity
By: Erik Broes <erikbroes@grum.nl>
2011-03-29 23:06:53 +02:00
CraftBukkit/Spigot eb1386fbbb RegisterInterface reload bug fix
By: Stephen <stephen@jazer.com>
2011-03-07 13:58:19 -05:00
CraftBukkit/Spigot 44f7dca0de Ctrl+C saves world before stopping
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-29 21:01:04 +01:00
CraftBukkit/Spigot 6f8ecc04e5 Moved WORLD_LOAD event to after world is actually loaded
By: Drakia <Contact@TheDgtl.net>
2011-03-26 20:50:52 -07:00
CraftBukkit/Spigot fe15903b22 Line endings, damnit!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-27 20:57:46 +01:00
CraftBukkit/Spigot 6f8786f02e Fix some wrong event creations after previous change
By: Erik Broes <erikbroes@grum.nl>
2011-03-26 23:20:35 +01:00
CraftBukkit/Spigot bf25c4a47e Updated for the cleanups done in Bukkit
By: Erik Broes <erikbroes@grum.nl>
2011-03-26 22:32:56 +01:00
CraftBukkit/Spigot f9d32acfe5 Implement Sheep.get/setSheared.
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-03-18 17:13:54 -04:00
CraftBukkit/Spigot 4e68f7523b Implement Slime.set/getSize()
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-03-18 17:13:54 -04:00
CraftBukkit/Spigot 11902a86ff World.spawnCreature now returns LivingEntity instead of Creature, to allow Ghasts and Slimes to be spawned using the command.
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-03-19 01:29:21 -04:00
CraftBukkit/Spigot ca3c9c0dcf Switched biome coords from chunk based to block based
By: Raphfrk <raphfrk@gmail.com>
2011-03-26 13:51:11 +00:00
CraftBukkit/Spigot ac67e06163 Added Server.getServerId() for ID purposes.
By: sk89q <the.sk89q@gmail.com>
2011-03-26 01:39:23 -07:00
CraftBukkit/Spigot fa0a51520c Updated README.md
By: Erik Broes <erikbroes@grum.nl>
2011-03-25 23:26:44 +01:00
CraftBukkit/Spigot b80723bd12 Copy displayname when cross-world teleporting
By: Erik Broes <erikbroes@grum.nl>
2011-03-25 21:22:57 +01:00
CraftBukkit/Spigot 1a013161ec Implement player.getCompassTarget
By: Erik Broes <erikbroes@grum.nl>
2011-03-25 21:22:03 +01:00
CraftBukkit/Spigot 2b32c8242e Fixed CraftWorld.getSpawnLocation() not return the exact spawn location.
By: sk89q <the.sk89q@gmail.com>
2011-03-25 00:52:50 -07:00
CraftBukkit/Spigot c61f2d0af0 Stop GIANT discrimination
By: Erik Broes <erikbroes@grum.nl>
2011-03-24 22:51:47 +01:00
CraftBukkit/Spigot 1490b27578 Fix CreatureType of CreatureSpawn event
By: Erik Broes <erikbroes@grum.nl>
2011-03-24 22:44:03 +01:00
CraftBukkit/Spigot 1fd4236de4 Prevent double CraftWorld for the same world
By: Erik Broes <erikbroes@grum.nl>
2011-03-24 22:43:21 +01:00
CraftBukkit/Spigot 4455272132 Implementation of LivingEntity maximumNoDamageTicks, noDamageTicks, lastDamage
By: Erik Broes <erikbroes@grum.nl>
2011-03-24 00:32:41 +01:00
CraftBukkit/Spigot 731d949bd6 Updated SoftMap to be concurrent.
By: Raphfrk <raphfrk@gmail.com>
2011-03-10 22:13:47 +00:00
CraftBukkit/Spigot bd7be2c7b6 Now also handle entities spawning on a loading a world. (Redacted by Grum)
By: lem21h <lem21h@anon>
2011-03-20 21:18:38 +01:00
CraftBukkit/Spigot 54d451934e Fixed the PLAYER_TELEPORT event so event.getTo().getWorld() is correct. (#451)
By: Byron Shelden <byron.shelden@gmail.com>
2011-03-22 23:50:14 -07:00
CraftBukkit/Spigot d5ca2267db Re-Implement BlockDamage
By: Erik Broes <erikbroes@grum.nl>
2011-03-23 16:38:42 +01:00
CraftBukkit/Spigot 9757c74cb3 Major overhaul implementing PLAYER_INTERACT, removing PLAYER_ITEM, BLOCK_INTERACT, BLOCK_RIGHT_CLICK
By: Erik Broes <erikbroes@grum.nl>
2011-03-23 12:22:13 +01:00
CraftBukkit/Spigot c964c8657e Fix BlockPlace
By: Erik Broes <erikbroes@grum.nl>
2011-03-21 00:25:26 +01:00
CraftBukkit/Spigot 7b978d1dd4 Fixing event names
By: Erik Broes <erikbroes@grum.nl>
2011-03-18 22:57:22 +01:00
CraftBukkit/Spigot 2d45e34e63 Adds an onLoad method to Plugin. The onLoad method is called for all plugins before the onEnable calls
By: Raphfrk <raphfrk@gmail.com>
2011-03-12 17:38:10 +00:00
CraftBukkit/Spigot 9d4b497e25 Fixed setTypeIdAndData sending client updates when not using physics
By: Raphfrk <raphfrk@gmail.com>
2011-03-12 21:28:38 +00:00
CraftBukkit/Spigot 94404a16fe This should fix the chunk ghosting bug
By: Raphfrk <raphfrk@gmail.com>
2011-03-11 19:39:09 +00:00
CraftBukkit/Spigot 38856db579 Fix getDisplayName getting lost when getBukkitEntity is called
By: Erik Broes <erikbroes@grum.nl>
2011-03-13 12:52:01 +01:00
CraftBukkit/Spigot 55afbe647a Added methods to support RemoteBukkit
This means all commands even "default" server commands work within the command structure
returning output to the command sender

Updated default kick command to be compatible with kick + msg used by remote tools that work with hMod

By: stevenh <steven.hartland@multiplay.co.uk>
2011-03-12 18:23:57 +00:00
CraftBukkit/Spigot e4e806d1ac Blocks now return power for sources other than redstone dust
By: Tahg <tahgtahv@gmail.com>
2011-03-12 12:28:07 -05:00
CraftBukkit/Spigot abe3dff1e1 TextWrapper now wraps text at the proper width and also prevent splitting unless it is needed
By: Erik Broes <erikbroes@grum.nl>
2011-03-12 16:58:05 +01:00
CraftBukkit/Spigot d8a6aa252d Sourcefiles shouldn't be executable
By: Erik Broes <erikbroes@grum.nl>
2011-03-12 15:00:55 +01:00
CraftBukkit/Spigot 46286db7eb Clean code a bit
By: Erik Broes <erikbroes@grum.nl>
2011-03-12 14:59:50 +01:00
CraftBukkit/Spigot d8ae459868 Kill stupid encoding warnings finally
By: Erik Broes <erikbroes@grum.nl>
2011-03-12 14:57:30 +01:00
CraftBukkit/Spigot c79b4a6f88 Added Player.sendRawMessage().
By: sk89q <the.sk89q@gmail.com>
2011-03-12 01:05:34 -08:00
CraftBukkit/Spigot c21d7cb77c stupid ChunkPosition's are relative to the chunk
By: Tahg <tahgtahv@gmail.com>
2011-03-11 17:57:59 -05:00
CraftBukkit/Spigot a7ed1c966b Code cleanup, fixed doors, chunk entity fetching
By: Tahg <tahgtahv@gmail.com>
2011-03-11 16:25:35 -05:00