Commit Graph

1221 Commits

Author SHA1 Message Date
Nathan Adams
ab46572125 Loading a FileConfiguration (Yaml/) should remember the previously saved header 2011-10-12 05:03:47 +01:00
Nathan Adams
190bd31ef3 YamlConfiguration now correctly writes extra blank lines at the end if requested 2011-10-12 04:39:22 +01:00
Nathan Adams
c97ea145ea Added reloadConfig() plugin method 2011-10-11 15:50:59 +01:00
Nathan Adams
bb3ef5ff14 Added OfflinePlayer.getPlayer() for getting the online Player object 2011-10-11 14:51:28 +01:00
Nathan Adams
89187a3e36 Fixed deeply nested configuration sections retrieving values 2011-10-11 13:26:41 +01:00
Nathan Adams
dc4ae80cfe Fixed removing entries in the new Configuration (via set(x, null)) 2011-10-11 12:16:43 +01:00
Nathan Adams
a714349005 Fixed NPE on unloading plugins 2011-10-11 04:41:34 +01:00
Nathan Adams
5300d1b2d6 Added new entity.get/setTicksLived for identifying an entity's age 2011-10-11 02:22:38 +01:00
Nathan Adams
5700db0ea7 Few more style cleanups 2011-10-11 02:16:44 +01:00
Nathan Adams
1791bdeb2a Added add/subtract by Vector methods to Location, thanks to erisdiscord 2011-10-11 02:04:40 +01:00
Nathan Adams
8a53045910 Javadoc typo. I can now sleep soundly at night. 2011-10-11 01:24:47 +01:00
Nathan Adams
d75dd8b2cd Lazy-load the old and new configs for plugins .getConfig 2011-10-10 23:04:01 +01:00
Nathan Adams
14d3401121 Small javadoc cleanup 2011-10-10 21:58:44 +01:00
Nathan Adams
dd7042407f Updated snakeyaml to 1.9 (up from 1.7) 2011-10-10 21:39:27 +01:00
Nathan Adams
938fd93ada Removed old Fillr code that was actually never used 2011-10-10 21:33:44 +01:00
Dinnerbone
55f405f4a8 Added new Configuration classes 2011-10-10 21:06:34 +01:00
Tahg
4155a42406 hopeful fix for blocks not being pistons when they should be 2011-10-05 10:59:41 -04:00
EvilSeph
b1451f58cb Revert "Added callback line of sight methods. Thanks xZise!"
This reverts commit 1df3a823ba.
2011-10-03 15:15:50 -04:00
EvilSeph
ab1591b013 Added Difficulty API. 2011-10-03 10:11:46 -04:00
EvilSeph
ed6b4882d1 Made the Ban command kick a matching player if they are online. 2011-10-03 10:11:45 -04:00
EvilSeph
1df3a823ba Added callback line of sight methods. Thanks xZise! 2011-10-02 23:04:09 -04:00
Dinnerbone
fdf6837d0f Renamed player.setListName to something a little more sensical 2011-10-03 00:34:04 +01:00
sunkid
e6fa9d9198 Added PlayerChangedWorldEvent. 2011-10-01 15:35:04 -04:00
EvilSeph
396e1866b8 Moved itr.remove() in loadPlugins(). Thanks lahwran!
This was moved so that the loop does not end until it has gone through a
whole pass without finding any loadable plugins.
2011-10-01 13:56:17 -04:00
EvilSeph
ab29f6a3b5 Painting improvements. Thanks CelticMinstrel!
Added interface to get/set the art and facing direction on paintings, and expanded painting break events to catch more cases (including fire and lightning); removed PaintingBreakByWorldEvent since it's identical to its superclass
2011-10-01 13:55:56 -04:00
EvilSeph
ebb8fdd6bc Added SlimeSplit event. Thanks garbagemule!
The SlimeSplit event is fired when a Slime attempts to split upon death. The event may be cancelled, and the amount of smaller slimes may be customized.
2011-09-30 19:50:27 -04:00
sk89q
47a035440c Added server list ping event. 2011-09-26 15:32:01 -07:00
sk89q
f46f6d5e34 Added Player.get/setListName to change the name of the player on the player list. 2011-09-26 15:10:33 -07:00
sk89q
2b836f1b7b 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. 2011-09-25 11:20:47 -07:00
Dinnerbone
e35b40b671 Added MonsterEggs materialdata 2011-09-25 15:27:16 +01:00
Celtic Minstrel
97259e5054 Remove Jukebox MaterialData in favour of Jukebox BlockState 2011-09-25 03:51:09 +01:00
Dinnerbone
348e56960e Added get/setPickupDelay on Item entities, thanks robin0van0der0v 2011-09-25 03:40:12 +01:00
Dinnerbone
fcac5c694d Added Server.getOperators to return all server operators 2011-09-25 03:27:44 +01:00
Dinnerbone
ebca437ec7 Fixed Material.getData returning for "dull" materials with no fancy dataclass 2011-09-25 03:05:07 +01:00
Dinnerbone
e6c273e8b0 Many javadoc fixes thanks to Celtic Minstrel 2011-09-25 02:56:40 +01:00
sunkid
9a5665137d added support for SmoothBrick and changed steps to a TexturedMaterial 2011-09-25 02:47:47 +01:00
raphfrk
204708ed7e Adds a method that returns the File representation of the update folder. The previous method just returns the filename and doesn't provide the path 2011-09-25 02:22:36 +01:00
Dinnerbone
f36d65e910 Added world.getSeaLevel() 2011-09-25 01:05:32 +01:00
Dinnerbone
24d3f8e04d Deprecated Server.createWorld() methods, use "WorldCreator.name(x).seed(1234).createWorld()" now 2011-09-25 01:04:43 +01:00
Dinnerbone
d3cb53606d Added getHeight to BlockChangeDelegate 2011-09-24 23:11:19 +01:00
Dinnerbone
7306aa8d3d Added server.getConsoleSender, blocked access to create a ConsoleCommandSender 2011-09-24 23:11:01 +01:00
EvilSeph
36f642b558 Added RegainReason.SATIATED.
This reason is used when a player regains health from generating due to their hunger being satisfied.
2011-09-22 01:34:31 -04:00
EvilSeph
5480237d3b Added FoodLevelChange event. 2011-09-21 22:16:45 -04:00
EvilSeph
b79fcf82c5 Fixed typo in OpCommand. 2011-09-21 17:36:55 -04:00
EvilSeph
9e77b02618 Added DamageCause.STARVATION. 2011-09-21 17:19:39 -04:00
Rigby
b2e7c24e35 Added PlayerToggleSprint event and sprinting related API. 2011-09-21 16:19:17 -04:00
Dinnerbone
d04e0ebd81 Fixed an extremely dangerous typo caused by @dkdunnings! 2011-09-21 17:37:24 +01:00
Rigby
83d51ee3fb Implements the ability to customise and disable Player death messages. 2011-09-21 16:57:36 +01:00
Dinnerbone
d1f1b285ae Added methods to control dropped EXP from EntityDeathEvent, and made a subevent for setting players respawned-exp 2011-09-21 15:40:00 +01:00
EvilSeph
ef124be4d4 Added getBedSpawnLocation to Player. Thanks fernferret! 2011-09-20 23:41:57 -04:00