Commit graph

595 commits

Author SHA1 Message Date
CraftBukkit/Spigot
90b2487ced fixed spawn method for projectiles
By: sunkid <sunkid@iminurnetz.com>
2011-11-20 18:18:10 -08:00
CraftBukkit/Spigot
be5fc81d31 Update for 1.0.0
By: Erik Broes <erikbroes@grum.nl>
2011-11-20 00:01:14 -08:00
CraftBukkit/Spigot
f37f615a88 Added new --noconsole command argument, thanks to mkurzeja for the idea
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-05 20:14:26 +00:00
CraftBukkit/Spigot
4c25ba70ad Implemented bukkit versioning
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-31 04:02:54 +00:00
CraftBukkit/Spigot
b8a509d091 Add missing CraftBlock hashCode()
By: Erik Broes <erikbroes@grum.nl>
2011-10-20 23:20:26 +02:00
CraftBukkit/Spigot
e771a25163 fixed mapping of Art <-> EnumArt in Paintings
By: Tahg <tahgtahv@gmail.com>
2011-10-12 14:12:53 -04:00
CraftBukkit/Spigot
08cd9ce5f7 Added header to bukkit.yml
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-12 13:26:07 +01:00
CraftBukkit/Spigot
5ee5bffb9f Added new bukkit.yml entry (settings -> world-container) to control the directory worlds are stored in
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-12 04:24:41 +01:00
CraftBukkit/Spigot
6f832c669f Implemented getPlayer of OfflinePlayer
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 14:52:07 +01:00
CraftBukkit/Spigot
e2369da502 Implemented entity age methods
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 02:23:10 +01:00
CraftBukkit/Spigot
9ad2b97138 Added hashCode and equals to CraftWorld
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 22:45:52 +01:00
CraftBukkit/Spigot
bac90b1d90 Removed deprecated ConcurrentSoftMap
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 22:05:35 +01:00
CraftBukkit/Spigot
f9067422f1 Updated to the new Configuration api
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 21:10:48 +01:00
CraftBukkit/Spigot
e35d160db6 Fix CraftBlock.equals as they are not singletons anymore
By: Erik Broes <erikbroes@grum.nl>
2011-10-07 11:48:14 +02:00
CraftBukkit/Spigot
64723bee72 don't store weak references for EmptyChunks or cache CraftBlocks
By: Tahg <tahgtahv@gmail.com>
2011-10-05 11:31:23 -04:00
CraftBukkit/Spigot
e7626c4bae Revert "Added callback line of sight methods. Thanks xZise!"
This reverts commit 49cf586f969626bdb59632bb2fd5adfe79d38057.

By: EvilSeph <evilseph@gmail.com>
2011-10-03 15:17:34 -04:00
CraftBukkit/Spigot
7bf7abfa5f Fixed multiworld difficulty.
World difficulty was incorrectly being set to 0 or 1 on reload depending
on spawn-monsters instead of the difficulty server property.

By: EvilSeph <evilseph@gmail.com>
2011-10-03 10:08:38 -04:00
CraftBukkit/Spigot
a4242b3e90 Added Difficulty API.
By: EvilSeph <evilseph@gmail.com>
2011-10-03 01:25:54 -04:00
CraftBukkit/Spigot
6e38cffca0 Added missing call for WorldUnload event.
By: EvilSeph <evilseph@gmail.com>
2011-10-02 23:16:58 -04:00
CraftBukkit/Spigot
691d4bb694 Added callback line of sight methods. Thanks xZise!
By: EvilSeph <evilseph@gmail.com>
2011-10-01 16:18:17 -04:00
CraftBukkit/Spigot
49395291c2 Minimal diffs! Move methods for the new list-name away from nms
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-10-03 00:34:51 +01:00
CraftBukkit/Spigot
3ece4f6a1f Painting improvements. Thanks CelticMinstrel!
Implement get/setArt and facing direction for paintings; expanded painting break causes; added painting support to World.spawn

By: EvilSeph <evilseph@gmail.com>
2011-10-01 13:31:28 -04:00
CraftBukkit/Spigot
d51a5ded5b Correct biome data in ChunkSnapshot - wrong API used
By: Mike Primm <mike@primmhome.com>
2011-09-26 10:15:45 -05:00
CraftBukkit/Spigot
7c330f148f Fixed players not receiving broadcasts (and other similar issues) after signing out and in rapidly
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-27 23:13:58 +01:00
CraftBukkit/Spigot
8c6f3725ee Added server list ping event.
By: sk89q <the.sk89q@gmail.com>
2011-09-26 15:32:05 -07:00
CraftBukkit/Spigot
9d39647939 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:35 -07:00
CraftBukkit/Spigot
b7fd3933e4 data improvements
By: Tahg <tahgtahv@gmail.com>
2011-09-26 03:07:06 -04:00
CraftBukkit/Spigot
35a5504f20 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:51 -07:00
CraftBukkit/Spigot
4c3b2cbd0b Ensure there's only one OfflinePlayer object per actual offline player
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 04:21:35 +01:00
CraftBukkit/Spigot
af65244ba9 Implementation of the Jukebox BlockState
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-08-22 01:36:01 -04:00
CraftBukkit/Spigot
e6e2df18be Implemented get/setPickupDelay on Item entities, thanks robin0van0der0v
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 03:40:28 +01:00
CraftBukkit/Spigot
36b341bfc8 Implemented getOperators
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 03:28:00 +01:00
CraftBukkit/Spigot
a013800772 Adds a method that returns the File representation of the update folder. Thanks raphfrk
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 02:22:06 +01:00
CraftBukkit/Spigot
76862f4b1f Implemented world.getSeaLevel, made getHeight load from world instead of hardcoded
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 01:05:55 +01:00
CraftBukkit/Spigot
a7c822dfbb Implemented new createWorld method
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 01:05:10 +01:00
CraftBukkit/Spigot
7cddc13d28 Blocked access to ColouredConsoleSenders constructor, implemented getConsoleSender
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-24 23:14:13 +01:00
CraftBukkit/Spigot
86526921b7 Update to mcdev rename revision 01 for 1.8.1
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-24 22:03:31 +01:00
CraftBukkit/Spigot
004a7aca08 Added PlayerToggleSprint event and sprinting related API.
By: Rigby <rigby@onarandombox.com>
2011-09-21 11:48:24 +01:00
CraftBukkit/Spigot
dec020c554 Implements the ability to customise and remove Player death messages.
By: Rigby <rigby@onarandombox.com>
2011-09-21 16:32:37 +01:00
CraftBukkit/Spigot
f0d0cb2214 Refactored a bunch of death code into the event factory
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-21 15:41:24 +01:00
CraftBukkit/Spigot
dfdb5f0bab Added getBedSpawnLocation to CraftPlayer. Thanks fernferret!
By: EvilSeph <evilseph@gmail.com>
2011-09-20 23:36:17 -04:00
CraftBukkit/Spigot
ef58f12066 Return OfflinePlayer for offline wolf tamers. Thanks robinjam
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-20 19:10:06 +01:00
CraftBukkit/Spigot
118ab48313 Added event for endermen picking up and placing blocks and methods to get/set what an enderman is holding.
By: Wizjany <wizjany@gmail.com>
2011-09-17 20:16:18 -04:00
CraftBukkit/Spigot
c3a23bd4e1 Nullchex!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-19 14:25:59 +01:00
CraftBukkit/Spigot
87426bf633 implementation of PlayerGameModeChangeEvent call
By: sunkid <sunkid@iminurnetz.com>
2011-09-16 15:04:11 -07:00
CraftBukkit/Spigot
f0abf7a025 Added support back in for biome temperature and rainfall in snapshots.
By: Mike Primm <mike@primmhome.com>
2011-09-15 15:57:37 -05:00
CraftBukkit/Spigot
d18f001535 Implemented configurable ping packet limit.
By: EvilSeph <evilseph@gmail.com>
2011-09-16 20:57:43 -04:00
CraftBukkit/Spigot
753e928598 Added toString overrides to new Craft entities.
By: EvilSeph <evilseph@gmail.com>
2011-09-16 22:24:09 -04:00
CraftBukkit/Spigot
de5887e2fd Added new entity mappings to CreatureSpawnEvent factory.
By: EvilSeph <evilseph@gmail.com>
2011-09-16 20:10:49 -04:00
CraftBukkit/Spigot
23a92651f7 Update for Minecraft 1.8.1
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 18:01:13 +01:00
CraftBukkit/Spigot
61d656bf30 Rename revision 2
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 17:36:27 +01:00
CraftBukkit/Spigot
e75180213c Setting exp shouldn't add, it should set
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 06:27:55 +01:00
CraftBukkit/Spigot
4f4400970b Implemented food methods + fixed dying resetting food
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 06:24:45 +01:00
CraftBukkit/Spigot
20f04b7261 Fixed spawning the new entities
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 05:53:19 +01:00
CraftBukkit/Spigot
5846e18542 Implemented Exp Orb methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 05:48:31 +01:00
CraftBukkit/Spigot
7f0060f3a0 Implemented player experience methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 05:13:10 +01:00
CraftBukkit/Spigot
e2eb0e5b8b Implemented new entities
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 02:33:50 +01:00
CraftBukkit/Spigot
ebd9037c1e Implemented gamemode methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 02:22:20 +01:00
CraftBukkit/Spigot
d902201875 Update for Minecraft 1.8
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 01:23:52 +01:00
CraftBukkit/Spigot
c4875394c3 Indentation is important, ok?
By: Top-Cat <Top_Cat@thegigcast.net>
2011-09-08 02:54:45 +08:00
CraftBukkit/Spigot
edd95d4ca5 Implemented new GameMode methods (hint: You can't set game mode yet. Sorry.)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-09 01:17:53 +01:00
CraftBukkit/Spigot
ba1dad72bb Fixed issue with console being subscribed multiple times to permissions
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-04 00:24:32 +01:00
CraftBukkit/Spigot
19b4260c01 Added new Server.getPlayerExact() method, added whitelist methods and don't use vanilla commands
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 15:57:54 +01:00
CraftBukkit/Spigot
4ec3915949 Implemented new ban and unban methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 02:13:07 +01:00
CraftBukkit/Spigot
df08315cf4 Implemented IP-banning methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 01:59:28 +01:00
CraftBukkit/Spigot
d1c68e10a9 Actually push the CraftOfflinePlayer implementation!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 00:49:10 +01:00
CraftBukkit/Spigot
e6a01fa70a Implemented OfflinePlayer
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 00:41:48 +01:00
CraftBukkit/Spigot
2eaed3d4a0 Implemented new broadcast method
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 22:24:28 +01:00
CraftBukkit/Spigot
7a0b399f40 Fixed player.setOp not deopping players
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 21:30:16 +01:00
CraftBukkit/Spigot
378fdb506d Fixed world.save, implemented autosave methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 20:46:26 +01:00
CraftBukkit/Spigot
f61f314d74 Implemented Server.shutdown()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 20:18:35 +01:00
CraftBukkit/Spigot
5550ed992a Commands are now "bukkit.command.x" instead of "craftbukkit.command.x", added legacy perms for compat
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 19:19:50 +01:00
CraftBukkit/Spigot
ca9b5fba58 Version message doesn't need to be printed manually now
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 16:56:10 +01:00
CraftBukkit/Spigot
61bb91531b Refactored some code from nms to ob for minimal diffs
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-08-29 16:09:13 +01:00
CraftBukkit/Spigot
2d1f91b750 Fixed memory leak Chunk Compression handling. Thanks Zeerix!
By: EvilSeph <evilseph@gmail.com>
2011-08-27 00:49:35 -04:00
CraftBukkit/Spigot
d617037db6 safety check (and hopeful fix) for chunk saving
By: Tahg <tahgtahv@gmail.com>
2011-08-19 23:17:48 -04:00
CraftBukkit/Spigot
f9b17ea956 Refactored default permission registration. Added "craftbukkit" and "craftbukkit.command" parent perms, and fixed whitelist adding
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-08-18 14:04:59 +01:00
CraftBukkit/Spigot
1bf14e8416 Made suiciding through the /kill command not reliant on pvp being allowed.
By: EvilSeph <evilseph@gmail.com>
2011-08-15 14:30:27 -04:00
CraftBukkit/Spigot
6d7cc61d4d Revert "Implements interface for changing the view distance."
By: EvilSeph <evilseph@gmail.com>
2011-08-15 14:27:02 -04:00
CraftBukkit/Spigot
363d5d3f22 Implements interface for changing the view distance.
Uses default view distance if player's view distance is not set

Throws an illegal argument exception if view distance is set too high
or too low.

Pushes notifications of server and world view distance changes to the player.
Move view distance functions from PlayerManger to WorldServer.
Set player minimum view distance to 1 for now.
Reset player's 'last known' position when recalculating visible chunks.

Use per-player view distance in chunk distance checks

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-08-12 00:37:22 +10:00
CraftBukkit/Spigot
fd2530530d Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested!
By: EvilSeph <evilseph@gmail.com>
2011-08-12 22:47:47 -04:00
CraftBukkit/Spigot
7746a2055d Added permissions for each vanilla command - see http://wiki.bukkit.org/Vanilla_permissions. Removed op requirement for all server commands :o
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-08-13 02:13:35 +01:00
CraftBukkit/Spigot
7818751dc3 Fixed chunks being overwritten with empty chunks when the memory setting is immediately changed after a world loads.
By: Rigby <rigby@onarandombox.com>
2011-08-11 10:29:39 +01:00
CraftBukkit/Spigot
6d20f543c8 Added missed colors to ColouredConsoleSender. Thanks flames!
By: EvilSeph <evilseph@gmail.com>
2011-08-10 20:20:44 -04:00
CraftBukkit/Spigot
ceab047443 Added "getViewDistance()", "getAllowNether()", "hasWhitelist()" and "getAllowFlight()". Thanks robin0van0der0v!
By: EvilSeph <evilseph@gmail.com>
2011-08-07 20:25:46 -04:00
CraftBukkit/Spigot
6bc7228c46 Implemented per world setting to keep the spawn in memory or not.
By: Rigby <rigby@onarandombox.com>
2011-07-27 00:24:27 +01:00
CraftBukkit/Spigot
75eaae7e97 Chunk Compression on seperate thread. Thanks to Zeerix.
By: Rigby <rigby@onarandombox.com>
2011-07-26 17:03:52 +01:00
CraftBukkit/Spigot
4af24f3d03 Retiring EntityDamageByProjectileEvent in favor of EntityDamageEvent.
By: sunkid <sunkid@iminurnetz.com>
2011-07-19 13:26:00 -07:00
CraftBukkit/Spigot
2152faf4c9 Added Version startup argument to Main. Thanks cyberdudedk!
By: EvilSeph <evilseph@gmail.com>
2011-07-28 00:46:18 -04:00
CraftBukkit/Spigot
8ef511b342 Added various utility methods to make chunk handling easier. Thanks Meaglin!
By: EvilSeph <evilseph@gmail.com>
2011-07-28 00:32:58 -04:00
CraftBukkit/Spigot
e74addf2e4 Removed deprecated methods.
getNote() that returns a byte has been replaced by getRawNote().
teleportTo(Location) has been replaced by teleport(location).
teleportTo(Entity) has been replaced by teleport(Entity).
SnowForm event has been replaced by BlockForm event.

By: EvilSeph <evilseph@gmail.com>
2011-07-27 21:18:52 -04:00
CraftBukkit/Spigot
ea3444644d Implemented maxheight
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-20 00:03:47 +01:00
CraftBukkit/Spigot
2a8e727a99 Implemented new permission system
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-17 17:19:41 +01:00
CraftBukkit/Spigot
b558d85c05 Removed some old deprecated code and clean up javadocs + warnings
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 15:34:40 +02:00
CraftBukkit/Spigot
e3dabafd4b Allow colorchar to be uppercase
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 15:34:11 +02:00
CraftBukkit/Spigot
5e6cc8625b Deprecated Block.getFace(Face) and Block.getFace(Face,int); use getRelative()
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 15:02:32 +02:00
CraftBukkit/Spigot
8ab7680e6b Implemented BLOCK_PISTON_CONTRACT/EXPAND
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 00:19:25 +02:00
CraftBukkit/Spigot
9bae81558f Don't use weak/soft references for keys, attempt to lessen memory impact further
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-16 02:55:54 +01:00
CraftBukkit/Spigot
1511a5a437 Readded ConcurrentSoftMap because apparently some plugins need this. (They really, really shouldn't be using it. At all.)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-15 21:49:53 +01:00
CraftBukkit/Spigot
9431ef57c0 Fixed huge memory leak (gigabytes/hour!) by placing a bukkit under the ceiling.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-15 18:28:09 +01:00