Commit graph

413 commits

Author SHA1 Message Date
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
CraftBukkit/Spigot
ff806bfa66 properly implement locks
By: Tahg <tahgtahv@gmail.com>
2011-03-10 21:37:55 -05:00
CraftBukkit/Spigot
b79442a3fb Additional hooks for chunks
By: Tahg <tahgtahv@gmail.com>
2011-03-07 13:48:35 -05:00
CraftBukkit/Spigot
fcf7b1039e Additional redstone hooks
By: Tahg <tahgtahv@gmail.com>
2011-03-07 13:48:03 -05:00
CraftBukkit/Spigot
e890eb1a79 Add non updating type/data sets
By: Tahg <tahgtahv@gmail.com>
2011-03-07 13:45:15 -05:00
CraftBukkit/Spigot
95de556b3a Add locks to Hashset
By: Tahg <tahgtahv@gmail.com>
2011-03-07 13:43:26 -05:00
CraftBukkit/Spigot
16f5b6991c Attempt to fix console crash
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-09 23:34:26 +00:00
CraftBukkit/Spigot
88de992943 Changed block cache to soft references (should help a lot with memory usage)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-09 22:12:28 +00:00
CraftBukkit/Spigot
57d31f1940 Implemented LivingEntity.getEyeLocation()
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-03-10 05:37:12 +11:00
CraftBukkit/Spigot
9e55a258eb Purged deprecated MobType and MobSpawner
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-07 16:32:41 +00:00
CraftBukkit/Spigot
6168074191 Implemented LivingEntity.damage
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-07 15:59:10 +00:00
CraftBukkit/Spigot
3cc43d44f5 Regenerate and refresh chunk methods
By: Raphfrk <raphfrk@gmail.com>
2011-03-02 20:27:44 +00:00
CraftBukkit/Spigot
0ee94a8a24 Fixed isChunkInUse()
By: Raphfrk <raphfrk@gmail.com>
2011-03-02 18:50:39 +00:00
CraftBukkit/Spigot
dda9f2ec3d Velocity now sends updates to players
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-05 18:48:58 +00:00
CraftBukkit/Spigot
cc8b390338 Updated CraftServer to lowercase r in registerInterface method..
By: VictorD <victor.danell@gmail.com>
2011-03-05 12:33:11 +01:00
CraftBukkit/Spigot
7e0c663e2a Implemented Entity.get/setMomentum
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-04 14:23:45 +00:00
CraftBukkit/Spigot
95a285bfe9 Removed Block.getRawData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-04 14:20:05 +00:00
CraftBukkit/Spigot
58aa293c7f Implements World.save and Server.savePlayers()
By: Morgan Humes <mrh9724@lanaddict.com>
2011-02-25 21:29:42 -05:00
CraftBukkit/Spigot
ce87c1fa2c Java 1.5 compat.
By: Erik Broes <erikbroes@ripe.net>
2011-03-02 15:22:45 +01:00
CraftBukkit/Spigot
2803cc2b23 Synchronized and moved Hash classes
By: FrozenCow <frozencow@gmail.com>
2011-03-01 19:19:50 +01:00
CraftBukkit/Spigot
dc8f7eb294 Fixed chat
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-01 19:04:16 +00:00
CraftBukkit/Spigot
f5b9f5745f Let's handle (bwhaha) the Craft* entities a bit better.
By: Erik Broes <erikbroes@ripe.net>
2011-03-01 17:08:18 +01:00
CraftBukkit/Spigot
be2b78fb4c Added method to set spawn location
By: SpeaKeasY <mekevin1917@gmail.com>
2011-02-28 20:21:27 -06:00
CraftBukkit/Spigot
93b688f5bf Sped up teleporting even more, + fixed isSneaking
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-28 20:30:33 +00:00
CraftBukkit/Spigot
1729498173 implement World.getPlayers
By: Tanel Suurhans <tanel.suurhans@perfectline.ee>
2011-02-24 21:37:53 +02:00
CraftBukkit/Spigot
3d06ec7a13 Spiral teleporting! Wheeeee!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-28 13:21:50 +00:00
CraftBukkit/Spigot
6280efc753 Implemented Server.getPluginCommand
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-28 00:31:25 +00:00
CraftBukkit/Spigot
170a0b4340 Catch errors loading plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-27 14:55:29 +00:00
CraftBukkit/Spigot
1c5b9d4efc Fixed empty console! Oops!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-26 11:51:31 +00:00
CraftBukkit/Spigot
6940b583c4 Added command line option 'date-format' to control how dates are printed to console (not to log)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-26 11:29:37 +00:00
CraftBukkit/Spigot
4908869924 Added ">" to input command line, separated it from output buffer properly
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-25 19:01:14 +00:00
CraftBukkit/Spigot
d865062d64 Seal. Ooohh oooh.
By: Luke GB <github@lukegb.com>
2011-02-25 16:15:37 +00:00
CraftBukkit/Spigot
a4d2cf2a38 Much better console interaction. History, no more losing the command, colours, inline editing, etc. Shorter log output to console (but not to file).
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-25 16:12:38 +00:00
CraftBukkit/Spigot
0114eb89e9 Attempt to convert multiworld worlds... world.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-24 12:07:33 +00:00