Compare commits

...

542 Commits

Author SHA1 Message Date
Mike Primm df61f75412 Shift back to 0.30.1 2012-01-26 23:50:47 -06:00
Mike Primm a1e27a63ed Workaround Spout custom block URL-that-are-temp-filename insanity 2012-01-26 17:12:49 -06:00
Mike Primm aae09c54db Bump to 0.31 2012-01-25 19:52:45 -06:00
Mike Primm 734fbe4cbf Add IC2 Power Converters Rendering Support 2012-01-25 14:40:47 +08:00
Mike Primm 9fd177eba5 Add IC2 Charging Bench Rendering Support 2012-01-25 14:02:22 +08:00
Mike Primm 4a184b9988 Add NetherOres block rendering support 2012-01-25 12:59:06 +08:00
Mike Primm ef2c657ecc Add option to show player whole body icon (showplayerbody: true) 2012-01-24 14:37:25 +08:00
Mike Primm 6a08c516f6 Add support for SpoutMaterials (custom Spout blocks) 2012-01-24 13:12:20 +08:00
Mike Primm f6d9b62101 Add smooth-biome-shading option (1.1-style swamp biome shading) 2012-01-23 10:42:56 +08:00
Mike Primm 176b40e373 Add spout repo 2012-01-23 07:04:18 +08:00
Mike Primm 8e4eaf77aa Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/main/java/org/dynmap/bukkit/DynmapPlugin.java
2012-01-22 16:31:37 -06:00
Mike Primm 49338111a7 Start handling Spout custom IDs (16 bit block IDs) 2012-01-22 16:24:02 -06:00
Mike Primm 5dfc8f7837 Maintain playerList reference in DynmapPlugin - prevents some breakage 2012-01-23 00:49:34 +08:00
Mike Primm 4fa90c85c9 Switch from ${version} to ${project.version} 2012-01-18 01:05:02 -06:00
Mike Primm fc319a2d32 Finish split of dynmap and DynmapCore 2012-01-17 23:58:11 -06:00
Mike Primm aa5d73ea09 Fix support for new biomes to not break running on 1.0.1 2012-01-17 01:07:31 -06:00
Mike Primm 1e3813926c Force to 1.1-R1-SNAPSHOT 2012-01-17 00:45:40 -06:00
Mike Primm 525adf1d73 Multiplier cache doesn't work - drop it 2012-01-16 23:20:11 -06:00
Mike Primm 497071aac9 Clean up warnings, extra imports. Fix post_1_8 logic. Color multiplier cache 2012-01-16 23:06:31 -06:00
Mike Primm 5e9ba1e6e3 Add support for new 1.1 biomes (beach, forest hills, desert hills, taiga hills, small mountains) 2012-01-16 20:43:29 -06:00
Mike Primm ecf3a64b74 Fix id-by-ip settings - not migrated to servlet code initialization 2012-01-16 19:40:58 -06:00
Mike Primm 8d1def2ea0 Some more cleanup 2012-01-15 23:56:32 -06:00
Mike Primm eb35dbe1a6 More cleanup and refactoring - get ready to split out core 2012-01-15 23:19:01 -06:00
Mike Primm 1f6eb62cc1 Merge in FrozenCow's latest Jetty updates 2012-01-15 17:45:44 -06:00
Mike Primm 2d42b59a12 Give core its own version file 2012-01-15 17:24:01 -06:00
Mike Primm b64094795e Checkpoint on split between bukkit-specific and common code core 2012-01-15 16:58:19 -06:00
FrozenCow 22850982a9 Fixed tiles not being loaded from tilespath. 2012-01-14 03:51:36 +01:00
FrozenCow 502fbd5829 Made filtering work properly again. 2012-01-13 22:20:01 +01:00
FrozenCow 58f8a34b49 Made use of Jetty's file handling. Reworked some classes. 2012-01-13 22:20:01 +01:00
Mike Primm 9c49054c89 Merge remote branch 'upstream/jetty' 2012-01-11 20:45:31 -06:00
Mike Primm 4a042e9fd1 Update to 0.30 again... 2012-01-11 00:59:23 -06:00
Mike Primm a34ba56716 0.29.2 - Fix config caching 2012-01-11 14:09:11 +08:00
Mike Primm d7a7ee9c5d Centralize World class dependencies in DynmapWorld 2012-01-11 14:09:11 +08:00
Mike Primm aa2270ae76 Fix issue with render settings on /dynmap reload 2012-01-11 14:09:11 +08:00
FrozenCow d3cd322d5f Reformatted pom.xml. 2012-01-10 20:39:57 +01:00
FrozenCow 3c4a88a874 Replaced webserver with Jetty. 2012-01-10 20:38:46 +01:00
Mike Primm db3ab5a437 Switch touch queue to concurrent map - remove synchronize 2012-01-10 14:49:18 +08:00
Mike Primm 530eb0ae9e Shift most of touch processing off server main thread 2012-01-10 12:39:26 +08:00
Mike Primm 02091acd45 Fix problem in UI when layer control disabled (showlayercontrol=false) 2012-01-10 08:54:45 +08:00
Mike Primm 9c32d7168e Bump back to 0.30 2012-01-08 22:38:30 -06:00
Mike Primm 478542418c v0.29.1 - Made render improvements default on only for fresh installs: add 'correct-water-lighting', 'correct-biome-shading', 'use-generated-textures' settings to allow enable on existing installs 2012-01-09 12:28:40 +08:00
Mike Primm a172074efc Bump to 0.30 2012-01-08 17:58:48 -06:00
Mike Primm 3484816325 Add 'hidechat=true' URL parameter to hide all chat input/output 2012-01-09 01:54:10 +08:00
Mike Primm ed7cccb2d2 Move link component to lower-left, shift chat slightly right 2012-01-09 01:41:53 +08:00
Mike Primm 3db079f90f More porting prep, tune up invalidates and touches 2012-01-09 01:02:53 +08:00
Mike Primm 42418edf1f Start isolating Bukkit dependencies, prep code for ports 2012-01-08 01:47:11 -06:00
Mike Primm 6cfeee152c Add block-banned-player-chat to block chat from banned players matching IPs known to go with player 2012-01-08 09:10:00 +08:00
Mike Primm 4a80b71a12 Update examples in worlds.txt to HDMap based maps 2012-01-07 15:20:02 +08:00
Mike Primm 55972a4d16 Add better-grass setting, to allow option to render using BetterGrass style rendering of grass and snow block sides 2012-01-07 15:13:53 +08:00
FrozenCow 25edd46e36 Made the sidebar use clicking instead of hovering for mobile devices. 2012-01-07 01:06:13 +01:00
Mike Primm 7d98afc44d Merge remote branch 'upstream/master' 2012-01-06 03:12:13 -06:00
Mike Primm 9cc9d63c26 Add customization/translation for "Players" and "Map Types" UI labels 2012-01-06 17:11:00 +08:00
Mike Primm b66008c262 Add support for 'link' component - button to get hard link to current view 2012-01-06 03:09:53 -06:00
Mike Primm 5a0983d867 Add customization/translation for "Players" and "Map Types" UI labels 2012-01-06 01:02:56 -06:00
Mike Primm a71b96fd67 Fix handling of double question marks in chat messages (weird jQuery tricks) 2012-01-06 14:33:13 +08:00
Mike Primm 42365ca563 Fix handling of double question marks in chat messages (weird jQuery tricks) 2012-01-06 00:30:04 -06:00
Mike Primm 8207559a5f Merge remote branch 'upstream/master' 2012-01-04 23:39:33 -06:00
Mike Primm fde86f1170 Add hideifsneaking option for hiding players that are sneaking/crouching 2012-01-05 13:37:16 +08:00
Mike Primm 08fc4145b1 Add support for optional spawn-bed layer (show player's spawn beds) 2012-01-04 23:34:32 -06:00
Mike Primm a8c1558e3c Add hideifsneaking option for hiding players that are sneaking/crouching 2012-01-04 21:59:18 -06:00
Mike Primm 98a1f32e0f Add support for lily pad orientation calculation 2012-01-04 14:26:16 +08:00
Mike Primm a5bc33e1e9 Add 'followmap' and 'followzoom' to allow setting of map and zoom when starting to follow a player 2012-01-03 15:24:31 +08:00
Mike Primm 204b54155a Add texture generators for fire, lava, water; fix water lighting and biome shading to match MC client; fix lily, birch, pine leaf shading to match client 2012-01-03 13:26:14 +08:00
Mike Primm a9b9a7c5c6 Improve browser cache behavior with tiles (cache more often) 2012-01-03 05:08:51 +08:00
Mike Primm bb40f9b281 Add RedPowerMachines2 support 2012-01-02 10:13:29 -06:00
Mike Primm b2535bf469 Add RedPower2Array, drop obsolete (conflicting) BuildCraft pipe IDs 2012-01-02 01:08:29 -06:00
Mike Primm 9acaa523e6 Add RedPower2Lighting 2012-01-01 23:22:38 -06:00
Mike Primm 964b3246e1 Add RedPower2Logic (basic - orientation can't be done right yet) 2012-01-01 22:54:14 -06:00
Mike Primm 3a11277907 Merge remote branch 'upstream/master' 2012-01-01 21:35:24 -06:00
Mike Primm 950727057d Start RedPower2 support - RedPower2Core and RedPower2World 2012-01-01 21:31:54 -06:00
Mike Primm 20730d23e8 Prevent caching of configuration URL on JSON file mode 2012-01-02 08:19:40 +08:00
Mike Primm f24e460cd6 Prevent caching of configuration URL on JSON file mode 2012-01-01 18:18:13 -06:00
Mike Primm 446c52e933 Fix exception during rejected chat message 2012-01-02 05:51:35 +08:00
Mike Primm 514e96605b Add 'pinned' choice for showlayercontrol: setting - show expanded layer control 2011-12-31 08:27:56 +08:00
Mike Primm dc7efc2642 Fix duplicate IDs in ids-for-ip list 2011-12-31 05:05:06 +08:00
Mike Primm 87be292538 Add /dynmap add-id-by-ip and /dynmap del-id-by-ip to allow manual adding and removing of IP to ID mappings 2011-12-31 05:05:05 +08:00
Mike Primm 3c1c8ec8dc Make 2D outlines support Y coordinates other than y=64 2011-12-30 23:52:33 +08:00
Mike Primm a743524318 Reconnect active command output to player after restart, logoff/logon 2011-12-30 16:03:18 +08:00
Mike Primm 8c9733b73f Add /dynmap updaterender command - renders starting at selected location until map edge hit OR until rendered tiles match existing tiles (i.e. no changes) 2011-12-30 15:39:29 +08:00
Mike Primm cefcae2437 Add 'blockfromto' and 'blockphysics' triggers - needed for lava and water flow, as well as falling sand and gravel 2011-12-30 08:47:22 +08:00
Mike Primm 17fd2c1efe Use replace() instead of replaceAll(), where possible 2011-12-29 14:32:13 +08:00
Mike Primm e009aefb18 Add support for 'use-player-login-ip', 'require-player-login-ip' - map player login IP addresses to web chat addresses 2011-12-29 14:32:13 +08:00
Mike Primm 09fbf312ac Add support for substitution variables in model and texture files - update BuildCraft and IndustrialCraft2 support files to use them (so that custom block ID mappings cna be handled by adding configuration.txt settings) 2011-12-29 14:32:13 +08:00
Mike Primm ac6b3a072e Bump to 0.29 2011-12-28 09:37:53 -06:00
Mike Primm babc8cd073 Fix accumulation of weak reference keys (mem leak) in snapshot cache 2011-12-28 14:38:26 +08:00
Mike Primm bd92cc37bf Switch chat name URL parm to 'chatname', add 'playername' URL part for initial player follow selection 2011-12-26 13:11:46 +08:00
Mike Primm ca00a84dc5 Fix cleanup of area outlines with minzoom when switching maps 2011-12-24 22:09:18 -06:00
Mike Primm 1af56db030 Fix minzoom handling for area markers 2011-12-23 14:11:02 +08:00
Mike Primm 93613404ba Adjust handling of transparent biome shading files (grass, foliage), as used in Painter's texture pack 2011-12-23 13:32:27 +08:00
Mike Primm cd067adfdc Fix issue with white blank tiles at edge of JPG rendered maps 2011-12-23 13:32:27 +08:00
Mike Primm b872aa039e Handle Essentials-style nickname color coding (&0-&f) in player nicknames 2011-12-23 07:20:48 +08:00
Mike Primm eafbe62c46 Add support for minzoom attribute on marker sets - hide markers below configurable zoom for each marker set 2011-12-23 04:31:10 +08:00
Mike Primm 7373de85a2 Add support for updating stock shaders.txt, perspectives.txt, lightings.txt with additional defaults. 2011-12-23 04:31:09 +08:00
Mike Primm 44106a799a Add 'allowurlname' setting for 'chat' - permits web name set with playername= parameter 2011-12-23 04:31:09 +08:00
Mike Primm 756202affd Bump to 0.28 2011-12-17 00:00:27 -06:00
Mike Primm 5dedf1d6e8 Add /dynmap radiusrender <world> <x> <z> <radius> - console usable radiusrender 2011-12-17 13:18:43 +08:00
Mike Primm 96e4742bfe Dial the ticklist workaround to align with proposed numbers in CraftBukkit-Bleeding fix 2011-12-17 07:43:06 +08:00
Mike Primm 9c0f33bd3d Adjust ticklist workaround to handle nether's tendancy to have ticklist processed events beget new ticklist events, more or less constantly.... 2011-12-17 07:26:31 +08:00
Mike Primm 4a3e95a118 Remove marker label field if label for marker is blank ("") 2011-12-16 01:26:13 +08:00
Mike Primm 3c849b9d66 Add 'grayplayerswhenhidden' option to allow disable of graying of players in player list when not visible on current map 2011-12-16 01:26:13 +08:00
Mike Primm 5af670de61 Add extra topographical shader, TerraNetworkOrgTopo - thanks to TerraNetworkOrg! 2011-12-16 00:09:48 +08:00
Mike Primm 708f0b3c80 Make it so that blank label ("") on area marker disables popup on area 2011-12-15 23:54:45 +08:00
Mike Primm 102012aa91 Detect scaled models that yield full blocks, and optimize to solid 2011-12-15 15:04:17 +08:00
Mike Primm ba2c3eac1c Add support for cleanup of stale tiles (off edge of map) 2011-12-15 13:26:09 +08:00
Mike Primm 8f66d34752 Make water blocks full blocks - big performance boost 2011-12-15 13:26:09 +08:00
Mike Primm 03b280fe2d Add 'usenormalthreadpriority' setting (makes renders on Windows use normal priority) 2011-12-15 00:35:00 +08:00
Mike Primm f7dedff413 Add 'showlayercontrol' config setting and URL parameter, to allow hide of layer control 2011-12-15 00:02:37 +08:00
Mike Primm d5e1bc1b4d Fix size/layout of player faces in chatbox 2011-12-12 02:20:32 +08:00
Mike Primm ef16a13cd5 Bump to 0.27 2011-12-11 01:22:13 -06:00
Mike Primm 14ecd5f778 Fix rare boundary condition error 2011-12-11 13:54:38 +08:00
Mike Primm 05aa0960f2 Various performance and concurrency optimizations 2011-12-10 14:15:54 +08:00
Mike Primm fd887b47b4 Add tiles-rendered-at-once setting, control update tile concurrency 2011-12-10 11:34:02 +08:00
Mike Primm 9bdf13e460 Add TopoHDShader for generating altitude based topology maps 2011-12-10 08:22:24 +08:00
Mike Primm 1b8fe6bba8 Scrub obsolete events from update queue (reduce traffic) 2011-12-09 13:23:16 +08:00
Mike Primm aea2d29c98 Fix config hashcode inconsistency on world loads (UI reload loop in JSON mode) 2011-12-09 12:22:29 +08:00
Mike Primm 6a86b81417 Start optimize of update event handling 2011-12-08 16:14:51 +08:00
Mike Primm 6ee141cada Revert to older Leaflet until zoom problem is worked out 2011-12-07 15:33:42 +08:00
Mike Primm 36b81768cd Add tick list monitoring - deal with 1.0.0 getting behind when rendering 2011-12-07 15:33:42 +08:00
Mike Primm 3e4bc59834 Retire regions components (Residence, Towny, WorldGuard, Factions) 2011-12-05 14:58:17 +08:00
Mike Primm 4f2f968353 Move DynmapWebChatEvent to API 2011-12-05 14:17:04 +08:00
Mike Primm b936e67a88 Add APIs for hide/show player and for player-oriented web chat input 2011-12-05 14:17:04 +08:00
Mike Primm 710f5eaa7d Update leaflet - improves zoom in panning problem (better, not perfect) 2011-12-04 00:32:25 +08:00
Mike Primm 19f9733aab Add 'fullrenderplayerlimit' - pause fullrender when number of active players reaches optional limit, resumes after 2011-12-03 13:17:26 +08:00
Mike Primm de6b90784f Add '/dynmap pause' command to pause/unpause full/radius and update rendering 2011-12-03 06:20:57 +08:00
Mike Primm 8f6982265a Support checking banned IPs from external server proxied requests 2011-12-03 05:32:43 +08:00
Mike Primm 82318346c2 Add 'hidey' option to 'coord' component - option to show just X,Z 2011-12-03 04:32:25 +08:00
Mike Primm 893117d638 Work player marker layout - center icon on player location 2011-12-03 04:13:51 +08:00
Mike Primm 348a37af87 Add support for 8x8 and 32x32 marker icons (default still 16x16) 2011-12-01 15:24:19 +08:00
Mike Primm 52a09d41b4 Add more performance measurements 2011-12-01 15:24:19 +08:00
Mike Primm edcf1cfd10 Make web UI reload when configuration changes, server restarts 2011-11-30 12:34:13 +08:00
Mike Primm 4af95f57df Fix problem with hashfile code handling dots/periods in world names 2011-11-30 12:12:00 +08:00
Mike Primm 3ad67483ae Turn off smoothing factor on area markers 2011-11-29 21:58:02 +08:00
Mike Primm ba0d197e78 Merge remote branch 'upstream/master' 2011-11-28 20:53:38 -06:00
Mike Primm 047897d0b0 Make compass rose smaller on mobile device browsers 2011-11-29 10:52:15 +08:00
Mike Primm a4056bc502 Bump to 0.26 2011-11-29 10:52:15 +08:00
FrozenCow f13e91ad2b Set worldCopyJump to false, just to be sure of future Leaflet updates. 2011-11-29 10:52:15 +08:00
FrozenCow 6d39aba001 Fixed locked on Y-axis (non continuous world). 2011-11-29 10:52:14 +08:00
Mike Primm 2781f47463 Merge remote branch 'origin/master' 2011-11-28 20:51:09 -06:00
Mike Primm 4992e92aab Make compass rose smaller on mobile device browsers 2011-11-28 20:50:42 -06:00
Mike Primm dc2dc578e9 Bump to 0.26 2011-11-28 20:50:13 -06:00
Mike Primm 176dbcf99f Merge remote branch 'org.eclipse.jgit.transport.RemoteConfig@4424f1a9/leafletupdate' 2011-11-28 18:55:06 -06:00
Mike Primm 7c109f25c6 Make sure format of version-buildnum matches 2011-11-28 09:42:36 +08:00
Mike Primm 65a2a5670e Add build number to version.js too 2011-11-28 09:36:39 +08:00
Mike Primm e77c36c6f3 Make sure format of version-buildnum matches 2011-11-27 19:35:49 -06:00
Mike Primm 1472e96104 Add build number to version.js too 2011-11-27 19:30:57 -06:00
Mike Primm 98fd361398 Try inserting build number into version 2011-11-28 07:23:07 +08:00
Mike Primm ecf01547cd Try inserting build number into version 2011-11-27 17:21:23 -06:00
Mike Primm b317ae58da Switch maven dependencies to ranges 2011-11-28 07:03:00 +08:00
Mike Primm 97998892ba Merge remote branch 'upstream/master' 2011-11-27 17:01:25 -06:00
Mike Primm 236ba68cae Switch maven dependencies to ranges 2011-11-27 16:37:43 -06:00
Mike Primm ed4ea80f5e Switch maven shader from exclude to include - keep idiot maven from pulling in PEX from shared build server.... 2011-11-28 05:49:00 +08:00
Mike Primm e0925dfc98 Switch maven shader from exclude to include - keep idiot maven from pulling in PEX from shared build server.... 2011-11-27 15:47:51 -06:00
FrozenCow 5e33afd361 Removed redundant declaration. 2011-11-28 01:38:48 +08:00
Mike Primm 6dd4018011 Try another update to see if PEX is appeased 2011-11-28 01:31:39 +08:00
Mike Primm 91fa58584e Try another update to see if PEX is appeased 2011-11-27 11:25:22 -06:00
FrozenCow 164f6f275c Set worldCopyJump to false, just to be sure of future Leaflet updates. 2011-11-28 00:13:12 +08:00
Mike Primm bd03b36c0e Delay asking for PermissionHandler - might help PEX not freak out 2011-11-28 00:07:27 +08:00
Mike Primm 48c43c5abb Delay asking for PermissionHandler - might help PEX not freak out 2011-11-27 10:06:23 -06:00
FrozenCow 37a6b2932a Fixed locked on Y-axis (non continuous world). 2011-11-27 23:32:09 +08:00
Mike Primm 97f5d0c715 Merge remote branch 'upstream/master' 2011-11-26 16:57:38 -06:00
Mike Primm 609d0e5c60 Fix texture rotation for redstone repeater 2011-11-27 06:55:36 +08:00
Mike Primm e566a8eae7 Clean up web texture mapping 2011-11-27 06:55:36 +08:00
Mike Primm ddfcb26686 Set to 0.25.1 2011-11-26 16:54:31 -06:00
Mike Primm cfa54d9a53 Add softdepends for various security managers - make them load first 2011-11-26 16:52:27 -06:00
Mike Primm a06ed92f36 Fix texture rotation for redstone repeater 2011-11-26 14:22:24 -06:00
Mike Primm f547913508 Clean up web texture mapping 2011-11-26 13:59:54 -06:00
Mike Primm 4268515089 Drop default from wildcard dynmap.* permission - don't know if its a problem, but.... 2011-11-27 02:56:36 +08:00
Mike Primm 5a96317a34 Drop default from wildcard dynmap.* permission - don't know if its a problem, but.... 2011-11-26 11:58:27 -06:00
Mike Primm 0025bd62fb Start leaflet update... 2011-11-25 19:59:01 -06:00
Mike Primm 265019146e Bump version to 0.26 2011-11-25 03:21:10 +08:00
Mike Primm e2ea48ed1b Merge remote branch 'upstream/master' 2011-11-24 10:30:41 -06:00
Mike Primm 73b249cf96 Rework biome color schemes, support new 1.0.0 biomes 2011-11-24 10:30:01 -06:00
Mike Primm 7e094ee0e8 Merge remote branch 'upstream/master' 2011-11-24 01:44:48 -06:00
Mike Primm 910a2269a8 Don't add <br/> on sign markers when not needed 2011-11-24 01:40:07 -06:00
Mike Primm 6fedc7169e Reduce unneeded multiple saves for persistent marker updates 2011-11-24 01:32:10 -06:00
Mike Primm ca9d26ef99 Batch up rewrites of marker JSON files - reduce rewriting during rapid updating 2011-11-24 01:09:14 -06:00
Mike Primm 8a3c9694a8 Switch configuration default for compass-mode to 'newnorth' (1.0.0 optimal) 2011-11-24 13:24:59 +08:00
Mike Primm 3d8381e621 Switch configuration default for compass-mode to 'newnorth' (1.0.0 optimal) 2011-11-23 23:23:55 -06:00
Mike Primm ec5712ab56 Add reflection-based support for sky-light level support for hideifundercover 2011-11-24 13:19:38 +08:00
Mike Primm 3f8814dfbc Make corrections to texture mappings on rails - cleans up transparent parts 2011-11-24 10:49:19 +08:00
Mike Primm 54589cd358 Depcrecate the regions plugins (add warnings, disable when replacement plugins are active). Remove example configuration.txt entries. 2011-11-24 07:49:10 +08:00
Mike Primm 0a790b6014 Fix typo 2011-11-23 02:07:07 +08:00
Mike Primm 36653a3187 Add triggered render statistics, new /dynmap triggerstats command 2011-11-23 01:03:03 +08:00
Mike Primm f886fbc614 Handle special case slab and double-slab renders, invisible stairs 2011-11-22 11:45:27 +08:00
Mike Primm db88f4b9ff Merge remote branch 'upstream/master' 2011-11-21 19:27:11 -06:00
Mike Primm fc824013b7 Add support and templates for "The End" 2011-11-21 19:25:11 -06:00
Mike Primm 0e118af51e Add support for 'webpage-title' setting, default title to server-name 2011-11-22 02:07:16 +08:00
Mike Primm f1c04f6198 Merge remote branch 'upstream/master' 2011-11-21 12:02:15 -06:00
Mike Primm 7f7b8c7fcb Add support for 'webpage-title' setting, default title to server-name 2011-11-21 11:36:44 -06:00
Mike Primm 43b7f22285 Switch to new Bukkit versioning - 1.0.0-R1-SNAPSHOT 2011-11-21 13:52:47 +08:00
Mike Primm 7f631379aa Fix area markers being left around after world changes 2011-11-21 12:39:00 +08:00
Mike Primm 1d85fdd75c Fix reporting of label markup and description in update events 2011-11-21 00:04:22 +08:00
Mike Primm 4db2d81fc1 Fix reporting of label markup and description in update events 2011-11-20 10:02:42 -06:00
Mike Primm e986ab4bfb Fix update notice for area markers - missing description 2011-11-20 13:09:58 +08:00
mikeprimm f6a93634fa Merge pull request #489 from Salax-/master
Minor Grammar Fix
2011-11-16 13:47:46 -08:00
Mike Primm 59abfff6d0 Fix order of packaging plugins 2011-11-16 14:34:26 +08:00
Mike Primm 7830c6a1c2 Use maven-shade to merge API jar into dynmap.jar 2011-11-16 14:24:20 +08:00
Mike Primm 040a604e0c Migrate API code to dynmap-api 2011-11-16 13:43:31 +08:00
Salax- 616f46ba26 Fixed minor grammar errors in /dynmap show and /dynmap show player commands. 2011-11-16 13:43:13 +08:00
Salax- 6c15321034 Fixed minor grammar errors in /dynmap show and /dynmap show player commands. 2011-11-15 20:11:57 -09:00
Mike Primm bbb5db3524 Add cyrillic-support option for cyrillic codepage hack 2011-11-14 14:21:24 +08:00
Mike Primm e696988e34 Update default textures to RC2, add dragon egg model 2011-11-13 23:24:43 -06:00
Mike Primm e0c0729d08 Make hidden players not reported when joining/quitting server 2011-11-13 22:54:41 -06:00
FrozenCow 7cee034fbb Changed version to 0.25. 2011-11-13 16:55:39 +01:00
Mike Primm 8be7e8f68a Add 'webmsgformat' setting, deprecate 'webprefix' and 'websuffix' 2011-11-06 12:05:26 +08:00
Mike Primm 957f6a8dce Preserve map center when changing between worlds 2011-11-06 11:04:45 +08:00
Mike Primm de94712fbd Add scrolling support for world list 2011-11-06 10:31:39 +08:00
Mike Primm ab963fca70 Add vlowres HD as default template set 2011-11-06 06:14:27 +08:00
Mike Primm 34fbe34ce6 Support rendering trapdoors in open and closed states 2011-11-04 13:13:34 +08:00
Mike Primm 1d06fef52b Add initial BuildCraft support 2011-11-03 00:05:10 -05:00
Mike Primm 40e28749b8 Fix off-by-one error on WG regions 2011-11-02 23:25:34 -05:00
Mike Primm 7ba72941dc Fix 'defaultworld' setting (didn't work previously) 2011-11-01 20:52:44 +08:00
Mike Primm c953097403 Add /dynmap purgequeue to purge tile update queue 2011-10-30 23:05:33 +08:00
Mike Primm 079f9dc8cd More corrections to texture scale handling with transparent textures 2011-10-30 13:04:35 +08:00
Mike Primm 05511f0495 Add support for config option (ic2-support) for enable of Industrial Craft 2011-10-30 11:58:55 +08:00
Mike Primm baf29dfa7c Fix scaling of transparencies in textures 2011-10-30 11:58:55 +08:00
Mike Primm ca62003e06 Defend against trap if renderdata/ directory doesn't exist (deleted by user) 2011-10-29 22:26:14 +08:00
Mike Primm 2eb6d47d87 Update IC2 wire model 2011-10-29 01:29:12 -05:00
Mike Primm 90ef8a4faf Update texture pack to 1.9-pre5 2011-10-29 00:47:42 -05:00
Mike Primm 4a6d30f8a2 Add basic wire support rendering for IC2 2011-10-29 00:47:24 -05:00
Mike Primm 827b172bed Add remainder of IC2 block textures 2011-10-25 22:53:59 -05:00
Mike Primm 14cc26a0f5 Start of Industrial Craft 2 texture support 2011-10-24 23:44:38 -05:00
Mike Primm e9dc82402f Fix caching issue in standalone 2011-10-23 22:51:04 -05:00
Mike Primm 655c0732b7 Fix IE chatballon popups 2011-10-23 22:50:26 -05:00
Mike Primm d032909412 Add 'hideifshadow' and 'hideifundercover' option for client update: hides player position/health if they are at location below given light level (hideifshadow) or not under open sky (hideifundercover) 2011-10-23 12:59:27 -05:00
Mike Primm 8a05456703 Merge remote branch 'upstream/master' 2011-10-23 11:18:28 -05:00
Mike Primm 3767b0d9ba Add support for hiding individual subzones on Residence 2011-10-23 07:39:55 +08:00
Mike Primm bd0ddb160b Add support for hiding individual subzones on Residence 2011-10-22 18:38:50 -05:00
Mike Primm f4a8f3ab03 Merge remote branch 'upstream/master' 2011-10-22 17:36:32 -05:00
Mike Primm 3455a8a3d4 Add API for other plugins to trigger map renders due to updated volumes 2011-10-23 06:06:54 +08:00
Mike Primm 2338c48f02 Add API for other plugins to trigger map renders due to updated volumes 2011-10-22 17:05:21 -05:00
Mike Primm 36d8a701e0 Add /dynmap sendtoweb command, and published API for sending web messages 2011-10-23 05:53:53 +08:00
Mike Primm 23ba798951 Add /dynmap sendtoweb command, and published API for sending web messages 2011-10-22 16:53:15 -05:00
Mike Primm f80cfee32c Complete area marker API, command line and UI support 2011-10-23 05:06:25 +08:00
Mike Primm 9579896f30 Add helper methods for area markers 2011-10-23 05:06:25 +08:00
Mike Primm 975cfdef99 Add command-line for adding/updating/deleting/listing area markers 2011-10-23 05:06:25 +08:00
Mike Primm c0309fb36a Add area marker API implementation 2011-10-23 05:06:25 +08:00
Mike Primm 804fa769a2 Complete area marker API, command line and UI support 2011-10-22 16:02:41 -05:00
Mike Primm 4ff0819230 Add helper methods for area markers 2011-10-21 22:51:31 -05:00
Mike Primm 5ee681b972 Add command-line for adding/updating/deleting/listing area markers 2011-10-21 22:31:20 -05:00
Mike Primm 22119defdb Add area marker API implementation 2011-10-19 22:43:07 -05:00
Mike Primm d70ea37b31 Tighten up file closing on exceptions 2011-10-19 12:22:41 +08:00
Mike Primm 5c064eab2b Add support for 'compass-mode' - handle 1.9 change of proper north 2011-10-13 23:54:52 -05:00
Mike Primm d6b93868a7 Add new/updated blocks for 1.9-pre4 (white-stone, air portal) 2011-10-13 22:57:33 -05:00
Mike Primm 2c3ec9e001 Improve cave render - finish 'onlyiflit' support 2011-10-13 21:04:32 +08:00
Mike Primm 96a2978548 Add 'onlyiflit' setting to Kzed cave renderer 2011-10-13 10:15:42 +08:00
Mike Primm 820bd3993e Add 'onlyiflit' setting for HD cave shader 2011-10-13 10:15:42 +08:00
Mike Primm e3501142cd Add 'setDescription()' for markers (HTML popup for clicked marker) 2011-10-13 08:28:20 +08:00
Mike Primm 978a203aa9 Fix off-server-thread calls to get player list 2011-10-12 13:19:32 +08:00
Mike Primm 1253ac2e6a Clean up shutdown of async queue 2011-10-08 12:24:59 +08:00
Mike Primm f335641eab Fix broken air portal frame model 2011-10-08 12:24:59 +08:00
Mike Primm 11d5e29a9f Allow (N+1)/2 update tiles for N cores to be active 2011-10-07 18:29:38 -05:00
Mike Primm a2df443aeb Tighten up update queue concurrency limits - don't stomp fullrender/radiusrender 2011-10-07 18:19:38 -05:00
Mike Primm e67bfad65a Work on managing update tile queue better 2011-10-07 15:18:34 -05:00
Mike Primm 0385de578d Merge remote branch 'upstream/master' 2011-10-07 10:56:26 -05:00
Mike Primm 7bf9d02cba Add 90 degree perspectives for east and west 2011-10-07 10:54:41 -05:00
Mike Primm 9e55509e62 Restore biome data loading for non-normal (Bukkit is fixed), fix trap 2011-10-07 23:53:02 +08:00
Mike Primm b5fed110ec Restore biome data loading for non-normal (Bukkit is fixed), fix trap 2011-10-07 10:34:59 -05:00
Mike Primm abf909e047 Add support for new 1.9-pre3 blocks (cauldron,air portal, brewing stand, enchantment table) 2011-10-06 23:23:01 -05:00
Mike Primm c3f6c38f49 Update texturepack for 1.9-pre3 2011-10-06 22:18:36 -05:00
Mike Primm ded2fa815c Add 'waterbiomeshaded' option to control water biome shading 2011-10-04 22:05:47 -05:00
Mike Primm e0752eba5b Fix orientation of from-NE compass rose 2011-10-04 21:43:35 -05:00
Mike Primm c857a1d002 Fix problem with not replacing non-blank tiles with newly blank ones 2011-10-04 12:26:46 +08:00
Mike Primm c5287b8427 Add 'fetchskins' and 'refreshskins' settings to control server face/skin loading and updating 2011-10-03 05:59:52 +08:00
FrozenCow 3e2d518ed5 Changed version to 0.24. 2011-10-02 20:02:26 +02:00
FrozenCow 37edf2296c Added (forgotten) logourl to logo-component configuration. 2011-10-02 15:49:35 +02:00
FrozenCow f05dfac0a4 Added inactive component, which checks for inactivity of the user. 2011-10-02 15:49:35 +02:00
Mike Primm 68cb59997e Fix trap on biome fix on map render without biome data 2011-10-02 13:18:52 +08:00
Mike Primm 3f2ee0fc76 Add URL 'nopanel' option to remove sidebar, remove layer control if no layers 2011-10-02 10:33:33 +08:00
Mike Primm b98ccb8c94 Add settings for offline player layer to configuration.txt 2011-10-02 08:57:29 +08:00
Mike Primm 99c38f0ee7 Add support for optional 'offline players' marker layer 2011-10-01 19:19:52 -05:00
Mike Primm 150f3ae6f4 Add 'includehiddenplayers' for client component (shows online status only) 2011-10-01 17:38:31 -05:00
Mike Primm 0cb9a2c2fe Better performance for Biome data workaround, only use if needed 2011-10-01 12:58:53 +08:00
Mike Primm 0a093ad245 Improve plant models and texture mappings 2011-10-01 11:32:00 +08:00
Mike Primm 66f647db31 Add handling for water and lava levels 2011-10-01 10:41:24 +08:00
Mike Primm 573c03b896 Add 'fence-to-block-join' example to configuration.txt 2011-10-01 07:58:36 +08:00
Mike Primm bd182ef9df Add 'fence-to-block-join' flag to enable 1.9+ fence rendering behavior 2011-10-01 07:54:52 +08:00
Mike Primm 842d255c07 Adjust nethershadows lighting 2011-09-30 11:16:13 -05:00
Mike Primm aa74abe4b6 Add 'nethershadows' lighting (accurate for more gradual light dropoff
in nether)
2011-09-30 10:47:13 -05:00
Mike Primm 6c2e7cecfe Fix support for Towny outposts 2011-09-30 12:24:39 +08:00
Mike Primm b26dfa8c2f Make marker sign support allow multiple text lines (use markup label API) 2011-09-30 11:29:08 +08:00
Mike Primm 79856bd93e Add support for HTML-markup-encoded marker labels, with associated API 2011-09-30 11:29:07 +08:00
Mike Primm 5f6f453dc8 Change chat 'scrollback' setting to be consistent with existing defaults. 2011-09-29 11:17:53 +08:00
Mark Riedesel 954a64c93d changed the object config path, because I derped 2011-09-29 10:54:07 +08:00
Mark Riedesel 8cb615e291 Added scrollback option to webchat.
New configuration option "scrollback". false or 0 to disable, any
numeric >0 value to enable/set the maximum scrollback length.

Doesn't show chat messages prior to the user loading the map page,
but at least it allows users to scroll back and view messages they
may have missed while not paying full attention ot the map.
2011-09-29 10:54:07 +08:00
Mike Primm 515b2f4afc Add 'hideores' option to make ore blocks look like plain stone 2011-09-29 10:48:40 +08:00
Mike Primm 560fe3c539 Switch default center point for maps to spawn point 2011-09-29 10:48:40 +08:00
Mike Primm dd4d448fc5 Update support for new Residence configuration file layout 2011-09-29 10:48:40 +08:00
Mike Primm 7d79301293 Fix translucent tiles being dropped (water edges), improve biome workaround 2011-09-27 01:27:51 -05:00
Mike Primm 6348fbe789 Remove API reference for too-new API - too soon to be using it 2011-09-26 23:50:30 -05:00
Mike Primm 0d97a93100 Fix encoding for saved tile flags 2011-09-26 23:32:23 -05:00
Mike Primm e897b5dbef Add save/resume support for fullrender/radiusrender jobs 2011-09-26 22:21:59 -05:00
Mike Primm 8fe802f114 Avoid trap when region data not loaded and processing visible/hidden
regions
2011-09-26 09:09:44 -05:00
Mike Primm df81b096d7 Fix vines to use foliagecolor shading, fix global default handling for swampshaded 2011-09-25 23:23:17 -05:00
Mike Primm 658a4aba3f Add 'swampshaded' optional setting 2011-09-25 22:47:52 -05:00
Mike Primm 9b0faa1325 Add 1.9 swamp biome shading, workaround chunk snapshot biome bug 2011-09-25 22:35:53 -05:00
mikeprimm 336d4e7535 Fix missing data= attribute for lily pad 2011-09-23 15:16:18 -05:00
FrozenCow fa2e80a916 Fixed styles to make marker-hovering work in Chrome. 2011-09-23 19:43:08 +02:00
Mike Primm 085e06eb43 Add support for 1.9 blocks and textures 2011-09-22 22:55:48 -05:00
Mike Primm ad6f6f4316 Merge remote branch 'upstream/master' 2011-09-22 22:00:20 -05:00
Mike Primm 0704413829 Add support for saving/restoring of pending tile updates on server stops/start 2011-09-22 12:20:53 +08:00
Mike Primm 1548ae72d6 Add support for saving/restoring of pending tile updates on server stops/start 2011-09-21 23:18:23 -05:00
Mike Primm 0627e2675f Make redstone torches redder, fix jack-o-lantern orientation for 1.8 2011-09-22 02:07:41 +08:00
Mike Primm 9fae2440b8 Fix for chunk level tile invalidate (jagged map edge on HD chunk generate) 2011-09-20 13:30:07 +08:00
Mike Primm da44b9b00b Fix sign models and textures 2011-09-19 13:36:05 -05:00
Mike Primm dd81d8f989 Fix farmland textures 2011-09-19 12:43:28 -05:00
Mike Primm 25bf6806be Remove bogus warning message 2011-09-19 20:14:49 +08:00
Mike Primm 886248e115 Remove workaround for missing Bukkit biome data (fix integrated), add spawn point to fullrender seed list 2011-09-18 23:38:34 +08:00
Mike Primm bc17045196 Workaround explosion in getSnapshot in Bukkit when biome data requested on nether in 1.8 Bukkit 2011-09-17 13:52:09 +08:00
Mike Primm 7cf9f2f1e4 Code temporary fix to workaround Bukkit 1.8 raw biome issue (pending accept of pull CraftBukkit 457) 2011-09-17 11:57:09 +08:00
Mike Primm 7d89fe094a Fix bogus warning message on markers component 2011-09-17 06:54:12 +08:00
Mike Primm 8524eecad5 Make cactus semi-transparent (subtle lighting issues) 2011-09-16 23:49:13 +08:00
Mike Primm bee5da8e9f Wood color updates (Thanks Flobi!!) 2011-09-16 21:12:37 +08:00
Mike Primm e15d3cd8cc Add new biomes to colorschemes 2011-09-15 10:09:37 +08:00
Mike Primm 33add48697 Extend chunk load/generate fault in volume 2011-09-15 08:17:24 +08:00
Mike Primm 98d18260c4 Fix typo in flames.txt 2011-09-14 17:08:22 -05:00
Mike Primm 910be17c42 Add silverfish block data handling (stone, cobblestone, stone bricks) 2011-09-14 11:43:35 -05:00
Mike Primm 6299deee82 Swap red and brown mushrooms (had it right in HD - wiki is wrong) 2011-09-15 00:26:39 +08:00
Mike Primm ff57c9e183 Add 1.8 blocks to old colorschemes 2011-09-14 22:53:49 +08:00
Mike Primm ea5f9a8a96 Add control of label for playermarkers layer (label attribute) 2011-09-14 13:27:08 +08:00
Mike Primm afc6f429f0 Add sorting and ordering controls for layer control (layerprio attribute) 2011-09-14 13:02:02 +08:00
Mike Primm 36ea3c20ca Change background on layer control 2011-09-14 13:02:02 +08:00
Mike Primm aacdd77f3e Add support for spaces in world names via double-quotes on commands 2011-09-13 12:04:05 +08:00
Mike Primm a369f02083 Add /dmarker updateicon, /dmarker deleteicon - add APIs for updating icon file and deleting icons 2011-09-13 11:34:54 +08:00
Mike Primm 09637f293e Make marker API stay loaded across /dynmap reload (screws up API users otherwise) 2011-09-13 11:34:54 +08:00
Mike Primm e81564c1ae Fix lighting quirks with stairs and slabs 2011-09-13 06:51:38 +08:00
Mike Primm ebfe2a004b Add bukkit bug workaround (http://leaky.bukkit.org/issues/1227) - piston exceptions 2011-09-12 10:31:16 +08:00
Mike Primm 3076b28c24 Add workaround for bogus Bukkit piston events (http://leaky.bukkit.org/issues/1227) 2011-09-12 10:31:16 +08:00
Mike Primm e2746b7cbc Add open models for fence gates 2011-09-12 10:31:15 +08:00
Mike Primm 62bc4f2cd0 Merge remote branch 'upstream/master' 2011-09-11 18:33:01 -05:00
Mike Primm fd14f9bc84 Add 'portal' and 'minecart' standard icons for Markers 2011-09-11 18:31:04 -05:00
Mike Primm f824a17704 Add 'coord' client component - show world coords of mouse pointer 2011-09-12 06:49:22 +08:00
Mike Primm ba98145086 Add 'coord' client component - show world coords of mouse pointer 2011-09-11 17:48:04 -05:00
Mike Primm 571c2acfc3 Fix new stair and stem transparency 2011-09-12 03:56:48 +08:00
Mike Primm cab056ef5c Add pumpkin and melon stems 2011-09-12 03:56:46 +08:00
Mike Primm 8c4315be40 Fix new stair and stem transparency 2011-09-11 13:31:09 -05:00
Mike Primm c808ddcc45 Merge remote branch 'upstream/master' 2011-09-11 13:27:36 -05:00
Mike Primm d5153a6f4c Improve fence gate model 2011-09-12 02:25:39 +08:00
Mike Primm 352d1843e0 Add pumpkin and melon stems 2011-09-11 13:24:01 -05:00
Mike Primm 0f986b4c87 Improve fence gate model 2011-09-11 12:28:28 -05:00
Mike Primm b55989f696 Add full mushroom texture maps (exterior vs interior, stems) 2011-09-11 23:44:48 +08:00
Mike Primm b0227d5ce7 Add full mushroom texture maps (exterior vs interior, stems) 2011-09-11 10:40:27 -05:00
mikeprimm 32ccbf4792 Merge pull request #432 from mikeprimm/master
Add 1.8 textures and models
2011-09-10 23:22:34 -07:00
Mike Primm df3027dc8a Fix glass pane tops 2011-09-10 23:42:21 -05:00
Mike Primm d53ef57ae1 More 1.8 block support - gates, glass panes, iron fences, vines 2011-09-10 23:15:57 -05:00
Mike Primm 00f16304a4 Start 1.8 block textures and models 2011-09-10 15:53:38 -05:00
Mike Primm 3f19c1ab3a Merge remote branch 'upstream/master' 2011-09-10 00:24:19 -05:00
FrozenCow 9570f03ec6 Changed version to 0.23. 2011-09-09 21:02:40 +02:00
FrozenCow 03f62bd8f6 Made the different version numbers refer to version in pom.xml. 2011-09-09 20:35:22 +02:00
Mike Primm 6d2193d597 Add hide-by-default attribute to marker sets, /dmarker updateset 2011-09-09 11:05:00 +08:00
Mike Primm 3d868d4700 Add hide-by-default attribute to marker sets, /dmarker updateset 2011-09-08 22:02:32 -05:00
Mike Primm 4c50bd502c Fix typo in setMarkerSetLabel() API 2011-09-09 01:01:02 +08:00
Mike Primm e54c1fa7d8 Fix typo in setMarkerSetLabel() API 2011-09-08 11:59:56 -05:00
Mike Primm d6b5524aca Merge remote branch 'upstream/master' 2011-09-07 23:07:17 -05:00
Mike Primm 996343c5a3 Add /dmarker addicon command 2011-09-08 11:42:28 +08:00
Mike Primm 8a4e1ebfc2 Add /dmarker addicon command 2011-09-07 22:40:09 -05:00
Mike Primm 2f53b72779 Update jquery to 1.6.3 2011-09-08 11:06:20 +08:00
Mike Primm 009c3a9429 Update jquery to 1.6.3 2011-09-07 22:05:20 -05:00
Mike Primm cfa5f187e6 Add error handling for missing component javascript files 2011-09-08 10:46:33 +08:00
Mike Primm 91bc59d7f8 Fix message for version mismatch, and abort UI if it fails 2011-09-08 10:46:33 +08:00
Mike Primm a77f002054 Add error handling for missing component javascript files 2011-09-07 21:44:11 -05:00
Mike Primm 402d7f9542 Fix message for version mismatch, and abort UI if it fails 2011-09-07 21:07:30 -05:00
Mike Primm 6181aa8ba9 Add version check for javascript files versus plugin version 2011-09-08 09:47:00 +08:00
Mike Primm 9322c5426d Add support for showing spawn points as map markers 2011-09-08 09:47:00 +08:00
Mike Primm 6de49f89d6 Add version check for javascript files versus plugin version 2011-09-07 20:44:21 -05:00
Mike Primm 5adbe6bd5e Add support for showing spawn points as map markers 2011-09-07 20:30:53 -05:00
Mike Primm 9da159f842 Add 'hidebydefault' option for Markers layers 2011-09-08 00:23:38 +08:00
Mike Primm 89f63a9db2 Add 'hidebydefault' option for Markers layers 2011-09-07 11:22:44 -05:00
Mike Primm 771059bf5a Fix background colors when rendering zoomout with JPEG format 2011-09-06 14:19:49 +08:00
Mike Primm e7f30153b8 Add marker set commands - addset, deleteset, listsets 2011-09-06 14:19:49 +08:00
Mike Primm 21c68fa1b2 Fix background colors when rendering zoomout with JPEG format 2011-09-06 01:15:07 -05:00
Mike Primm 37a9809f67 Add marker set commands - addset, deleteset, listsets 2011-09-06 01:13:37 -05:00
Mike Primm 7bee1dcae5 Fix markers being left on world changes 2011-09-06 09:05:25 +08:00
Mike Primm dcb3e8e2ff Fix markers being left on world changes 2011-09-05 20:03:30 -05:00
Mike Primm 2f7890a40b Remove debug messages, adjust sign ID mapping 2011-09-06 07:53:49 +08:00
Mike Primm 36d983ba28 Add support for using signs to define markers 2011-09-06 07:53:48 +08:00
Mike Primm 20e409b71f Start sign support 2011-09-06 07:53:48 +08:00
Mike Primm 34ae7d21fd Remove debug messages, adjust sign ID mapping 2011-09-05 18:47:27 -05:00
Mike Primm 25f7dbb312 Add support for using signs to define markers 2011-09-05 18:36:43 -05:00
Mike Primm 7d2d0b4d87 Start sign support 2011-09-05 17:17:46 -05:00
Mike Primm e0fcca4b7f Fix single map render message on single map render of day/night worlds 2011-09-06 04:41:08 +08:00
Mike Primm b51da5d401 Fix single map render message on single map render of day/night worlds 2011-09-05 15:39:53 -05:00
Mike Primm 754bc6c51e Merge remote branch 'upstream/master' 2011-09-05 15:24:19 -05:00
Mike Primm f99700d863 Fix double-quoted strings in parameters 2011-09-06 02:36:37 +08:00
Mike Primm 270f64c594 Fix double-quoted strings in parameters 2011-09-05 13:35:12 -05:00
Mike Primm e86aa352df Make all /dmarker command match-on-label as well as id:<id> 2011-09-05 14:35:29 +08:00
Mike Primm f950fb4d85 Make all /dmarker command match-on-label as well as id:<id> 2011-09-05 01:34:31 -05:00
Mike Primm f0db205eb9 Complete first drop of /dmarker commands and client support 2011-09-04 23:40:00 -05:00
Mike Primm 9f8ab5da03 Add icons on to map display, and marker update logic 2011-09-04 14:11:48 -05:00
Mike Primm c034a10951 Finish revert 2011-09-04 02:07:15 -05:00
Mike Primm 6b301b2208 Merge remote branch 'origin/master' 2011-09-04 02:05:58 -05:00
Mike Primm 83642a6291 Put it back - not sure other fix did anything 2011-09-04 02:03:52 -05:00
Mike Primm cbe4ca0377 Fix player faces in sidebar, while still preserving load cache 2011-09-04 14:35:41 +08:00
Mike Primm eee6476d6a Fix player faces in sidebar, while still preserving load cache 2011-09-04 01:35:02 -05:00
Mike Primm 8bdce005c3 Merge remote branch 'upstream/master' 2011-09-04 01:31:46 -05:00
Mike Primm 3f585c84b7 Put markers in a component, add generic component update messages 2011-09-03 16:49:18 -05:00
Mike Primm dd8a84165b Add marker update/delete events for client 2011-09-03 01:06:00 -05:00
Mike Primm c486c42de8 Add default marker set 2011-09-02 23:02:23 -05:00
Mike Primm cdffc5824f Fix texture rotation for NE and SW rail corners 2011-09-03 03:23:34 +08:00
Mike Primm f6a4f3e619 Fix texture rotation for NE and SW rail corners 2011-09-02 14:22:13 -05:00
Mike Primm dcdcdd88aa Prevent trap if townBlocks is undefined in towny town file 2011-09-03 00:11:35 +08:00
Mike Primm a476b66c2f Prevent trap if townBlocks is undefined in towny town file 2011-09-02 09:19:27 -05:00
Mike Primm fba69e3d19 Frame out API and data handling for markers support 2011-09-01 01:01:51 -05:00
Mike Primm 0bd55b76d8 Yet another face fix - hopefully got the rules on accessories right
this time...
2011-08-31 07:15:44 +08:00
Mike Primm 704fc7fb32 Yet another face fix - hopefully got the rules on accessories right
this time...
2011-08-30 18:13:59 -05:00
FrozenCow d88763f179 Fixed playerfaces not showing in sidebar. 2011-08-30 21:46:22 +02:00
Mike Primm 56faab71e2 Handle Towny 0.74.0 configuration format 2011-08-30 13:29:36 +08:00
Mike Primm 9da3180e38 Handle Towny 0.74.0 configuration format 2011-08-30 00:28:28 -05:00
Mike Primm 85a564aa45 Handle Factions on worlds with no faction data properly 2011-08-30 13:04:54 +08:00
Mike Primm b9170db1c1 Support applying background color to JPG tiles (since no transparency) 2011-08-30 13:04:54 +08:00
Mike Primm 0e1158c77b Handle Factions on worlds with no faction data properly 2011-08-30 00:03:37 -05:00
Mike Primm 8ac000abec Support applying background color to JPG tiles (since no transparency) 2011-08-30 00:02:52 -05:00
Mike Primm f371cff011 Add support for 'http-reponse-headers' attribute to add custom response headers 2011-08-30 10:34:58 +08:00
Mike Primm 5088adb7eb Add support for 'http-reponse-headers' attribute to add custom response headers 2011-08-29 21:33:41 -05:00
Mike Primm d1ff472bda Add 'sidebaropened: pinned' option to allow sidebar to be pre-pinned but support unpinning 2011-08-30 10:01:07 +08:00
Mike Primm 7e37817b86 Add 'sidebaropened: pinned' option to allow sidebar to be pre-pinned but support unpinning 2011-08-29 21:00:05 -05:00
Mike Primm 611a935232 Fix multi-map KzedMap rendering (default cave not rendered issue) 2011-08-30 04:56:21 +08:00
Mike Primm 974cd33853 Fix multi-map KzedMap rendering (default cave not rendered issue) 2011-08-29 15:53:48 -05:00
Mike Primm fc1fec4af8 Split renderdata (generated data) from normal block data - to help
with custom block work
2011-08-30 03:23:11 +08:00
Mike Primm 13bf8d7733 Split renderdata (generated data) from normal block data - to help
with custom block work
2011-08-29 14:21:39 -05:00
Mike Primm f4de63e85e Add first pass of Factions support 2011-08-29 10:37:22 +08:00
Mike Primm af1f47df23 Add first pass of Factions support 2011-08-28 21:31:04 -05:00
Mike Primm 0755dd3377 Merge remote branch 'upstream/master' 2011-08-28 18:29:18 -05:00
Mike Primm f20c4a25a9 Merge remote branch 'origin/master' 2011-08-28 18:28:13 -05:00
Mike Primm cfc758fe7d Fix handling of non-standard town_block_size values 2011-08-28 23:12:47 +08:00
Mike Primm b20b9e1436 Fix handling of non-standard town_block_size values 2011-08-28 10:12:04 -05:00
Mike Primm 0c292dde12 Fix Towny support to handle 0.75.x and 0.74.x 2011-08-28 08:14:08 +08:00
Mike Primm ac650656b4 Fix Towny support to handle 0.75.x and 0.74.x 2011-08-27 19:13:34 -05:00
FrozenCow a3573c7a64 Added support for Towny Advanced 0.75 2011-08-27 20:51:47 +02:00
FrozenCow 069d4c0ce5 Changed version to 0.22. 2011-08-27 17:13:56 +02:00
Mike Primm f62d46cfbd Add hidebydefault setting to playermarkers component too 2011-08-26 14:23:32 +08:00
Mike Primm 3d385106e9 Add hidebydefault setting to playermarkers component too 2011-08-26 01:22:03 -05:00
Mike Primm bc357dd188 Handle multiple instances of same component type (regions) 2011-08-26 13:57:05 +08:00
Mike Primm c353d9aae6 Add hidebydefault option for regions layers 2011-08-26 13:57:05 +08:00
Mike Primm ace7fbf838 Handle multiple instances of same component type (regions) 2011-08-26 00:55:53 -05:00
Mike Primm aee7ea2d49 Add hidebydefault option for regions layers 2011-08-26 00:13:03 -05:00
Mike Primm c6cccf6899 Merge remote branch 'upstream/master' 2011-08-25 23:33:57 -05:00
Mike Primm 106e470898 Add playermarkers to hide/show-able layer group 2011-08-26 06:34:37 +08:00
Mike Primm 59b095628d Add control for hide/show of component layers (only regions for now) 2011-08-26 06:34:37 +08:00
Mike Primm 1a128a6d74 Add playermarkers to hide/show-able layer group 2011-08-25 17:31:34 -05:00
Mike Primm bfb12e4f81 Add control for hide/show of component layers (only regions for now) 2011-08-25 17:07:00 -05:00
Mike Primm d9ad51edd6 Use towns list in Towny worlds/* files to get valid towns (old towns
still in towns/* directory)
2011-08-26 03:59:35 +08:00
Mike Primm 316440a4e0 Disable IOImage cache use for image loads 2011-08-26 03:59:35 +08:00
Mike Primm 625b62fa36 Use towns list in Towny worlds/* files to get valid towns (old towns
still in towns/* directory)
2011-08-25 14:49:32 -05:00
Mike Primm c65b17d80b Disable IOImage cache use for image loads 2011-08-25 14:48:42 -05:00
Mike Primm 04cc6aba43 Towny fixes - multiple areas on multiple worlds per town 2011-08-25 11:15:26 +08:00
Mike Primm 627cef720c Towny fixes - multiple areas on multiple worlds per town 2011-08-24 22:11:31 -05:00
Mike Primm ff4b036c6a Fix accessory face mixing 2011-08-24 14:25:42 +08:00
Mike Primm 586c41d23c Fix accessory face mixing 2011-08-24 01:23:05 -05:00
Mike Primm 76c8bc861d Merge remote branch 'upstream/master' 2011-08-24 01:02:47 -05:00
Mike Primm da32c2f0bd Add server-side generation of faces : fixes face accessory issues, IE8 2011-08-24 00:51:54 -05:00
Mike Primm 9564bd8a89 Add customstyle settings for per-region style, nation style for Towny, lots for Residence 2011-08-23 11:17:40 +08:00
Mike Primm 074952265f Add customstyle settings for per-region style, nation style for Towny, lots for Residence 2011-08-22 22:16:38 -05:00
Mike Primm 669d52f01b Merge remote branch 'upstream/master' 2011-08-22 20:34:34 -05:00
Mike Primm c37680b62c Add support for superperms/PermissionsBukkit/whatever-you-wanna-call-it 2011-08-23 08:21:38 +08:00
Mike Primm fae27f4cea Add support for superperms/PermissionsBukkit/whatever-you-wanna-call-it 2011-08-22 19:21:03 -05:00
Mike Primm 3b7fcc67ad Fix regionstyle attributes for region outlines and fill 2011-08-22 23:32:19 +08:00
Mike Primm 75d7068fbf Fix regionstyle attributes for region outlines and fill 2011-08-22 10:31:27 -05:00
Mike Primm 0ebabf5b61 First pass of Towny region support 2011-08-22 14:19:54 +08:00
Mike Primm d349a76660 First pass of Towny region support 2011-08-22 01:17:28 -05:00
Mike Primm 7e12574bd8 Add support in regions component for 'hiddenregions' (blacklist for regions) 2011-08-22 08:19:38 +08:00
Mike Primm 1284a8a6ed Merge remote branch 'upstream/master' 2011-08-21 19:00:14 -05:00
Mike Primm 8e22e40c16 Add support in regions component for 'hiddenregions' (blacklist for regions) 2011-08-21 18:58:38 -05:00
Mike Primm 929ca8911e Fix naming on Residence regions, make infowindow setting control popup content again 2011-08-22 04:58:21 +08:00
Mike Primm 82b0f2c4cd Fix naming on Residence regions, make infowindow setting control popup content again 2011-08-21 15:57:21 -05:00
Mike Primm 6e5482466d Switch chunkgenerate to onChunkPopulate event: chunk is better "cooked" by then 2011-08-21 10:33:09 +08:00
Mike Primm 45369006c3 Switch chunkgenerate to onChunkPopulate event: chunk is better "cooked" by then 2011-08-20 21:31:14 -05:00
Mike Primm 58d359fc1d Add setting for progressloginterval 2011-08-21 05:46:05 +08:00
Mike Primm c5c136a30d Add setting for progressloginterval 2011-08-20 16:45:21 -05:00
Mike Primm c327b98b97 Add progressloginterval setting - control how often progress messages done 2011-08-21 05:43:43 +08:00
Mike Primm 3f3ccf5344 Add progressloginterval setting - control how often progress messages done 2011-08-20 16:43:18 -05:00
Mike Primm 9b191bb3ab Add 'explosion' update trigger, add updated tile queue accelerator (to speed up processing if queue gets above a given threshold) 2011-08-21 05:31:07 +08:00
Mike Primm 43df59a88c Make sure we can clean up event listeners during reload (make /dynmap reload work) 2011-08-21 05:30:52 +08:00
Mike Primm 972d9b2ab7 Add 'explosion' update trigger, add updated tile queue accelerator (to speed up processing if queue gets above a given threshold) 2011-08-20 16:28:37 -05:00
Mike Primm 5ed6cf830b Make sure we can clean up event listeners during reload (make /dynmap reload work) 2011-08-20 15:21:39 -05:00
Mike Primm e8e4aa67ce Fix boundary condition that was causing some missed tiles on chunk triggers 2011-08-20 11:38:55 +08:00
Mike Primm e643292a7e Fix boundary condition that was causing some missed tiles on chunk triggers 2011-08-19 22:38:08 -05:00
Mike Primm f0a8300632 Merge remote branch 'upstream/master' 2011-08-19 21:36:35 -05:00
Mike Primm f24141587f Fix Residence region output in JSON mode 2011-08-20 00:29:55 +08:00
Mike Primm e2616c9159 Fix Residence region output in JSON mode 2011-08-19 11:27:38 -05:00
Mike Primm 83a9ff80d0 Add 'parallelrendercnt' - multi-core fullrender support (experimental) 2011-08-18 12:14:56 +08:00
Mike Primm fd2085b511 Add 'parallelrendercnt' - multi-core fullrender support (experimental) 2011-08-17 23:14:05 -05:00
Mike Primm ae9d1fde90 Turn off using temp file in ImageIO - our images are too small to do that 2011-08-17 10:26:07 +08:00
Mike Primm 7fd2d5bf10 Turn off using temp file in ImageIO - our images are too small to do that 2011-08-16 21:25:16 -05:00
Mike Primm e479d04c85 Merge remote branch 'origin/master' 2011-08-16 18:19:43 -05:00
Mike Primm 55dc6397e1 Fix logic on scroll buttons 2011-08-17 01:00:32 +08:00
Mike Primm d5d01cf5af Fix logic on scroll buttons 2011-08-16 11:59:08 -05:00
Mike Primm 98b3bdfde3 Add triggered update queue length to /dynmap stats 2011-08-16 13:48:00 +08:00
Mike Primm 4be423cfb8 Add triggered update queue length to /dynmap stats 2011-08-16 00:46:41 -05:00
Mike Primm 477a7d13de Add multiple quality levels for JPG encoding - adjust default to 0.85 2011-08-16 12:32:01 +08:00
Mike Primm 4616f6a5be Fix window resize exception - Leaflet expects 'map' at top level... 2011-08-16 08:08:59 +08:00
Mike Primm 829e1339a8 Change console fullrender to seed from world's center setting, vs 0,0,0 2011-08-15 21:10:44 +08:00
Mike Primm c9494a312d Fix exception if initial update has stale logoff for player+chat 2011-08-15 21:10:44 +08:00
Mike Primm 5b7ad0f4c9 Fix IE exceptions from debug code, canvas calls 2011-08-15 10:10:08 +08:00
Mike Primm 55720cfd4d Avoid exception try-catch on nominal path 2011-08-15 07:25:18 +08:00
Mike Primm 4cb5b9a956 Fix initial zoomout processing (unnecessary updates), extra tile invalidates 2011-08-15 07:25:17 +08:00
Mike Primm 6860d8952f More invalidate tightening up 2011-08-15 04:49:58 +08:00
Mike Primm 1aa3d07e6a Fix break in namedTile during integrate of updated Leaflet 2011-08-15 04:49:42 +08:00
Mike Primm 0c9cfedb6e Handle tile invalidates better for bigger-than-one-block cases (chunks) 2011-08-15 04:49:42 +08:00
Mike Primm 042544f22e Reapply updated Leaflet patch 2011-08-14 14:59:53 +08:00
Mike Primm f5d5171f86 Improve scaling of memory use with large numbers of tiles, prep for suspend/resume support 2011-08-14 14:27:20 +08:00
Mike Primm fb366ce36b Update rail and ladder models - work better with non-default textures 2011-08-14 13:13:24 +08:00
Mike Primm 9f4df9a76e Switch to using continuousWorld option in newer Leaflet - saves on override 2011-08-14 13:12:58 +08:00
Mike Primm 0bc760230f Update Leaflet (lots of fixes) 2011-08-14 13:12:58 +08:00
Mike Primm c524c39901 Add pistonmoved event handling, full rendering for piston and extension 2011-08-14 10:36:47 +08:00
Mike Primm 3da03c978b Add model for redstone repeater 2011-08-13 12:32:09 +08:00
Mike Primm 4316e1f3e4 Add support for single map render via /dynmap fullrender world:map, /dynmap radiusrender radius mapname 2011-08-13 11:48:26 +08:00
Mike Primm b800984e3f Fix alpha-blending on scaled textures, and mask textures 2011-08-13 11:03:16 +08:00
Mike Primm 17c2072b82 Fix armor calculation - bring in line with funky method used in MC UI 2011-08-13 05:36:48 +08:00
Mike Primm d008548306 Add support for JPEG encoding option for HDMaps 2011-08-12 14:48:52 +08:00
mikeprimm 49b38c10b7 Merge pull request #401 from mikeprimm/master
Fix typo in 'sendposition' setting - allow both 'sendposition' and 'sendpositon' in case someone worked around it
2011-08-10 20:38:52 -07:00
Mike Primm 053bd0e561 Fix typo in 'sendposition' setting - allow both 'sendposition' and 'sendpositon' in case someone worked around it 2011-08-10 22:37:41 -05:00
mikeprimm 4d3931709b Merge pull request #400 from mikeprimm/master
Add support for selectively hiding portions of worlds (opposite of visibilitylimits)
2011-08-10 20:18:20 -07:00
Mike Primm 166a5272fb Add support for selectively hiding portions of world (hiddenlimits) 2011-08-10 22:15:18 -05:00
mikeprimm 7e8e0411d9 Merge pull request #399 from mikeprimm/master
Add poly2d region support back to WorldGuard support
2011-08-10 18:48:36 -07:00
Mike Primm 6616b3eae5 Add poly2d region support back to WorldGuard 2011-08-10 20:47:14 -05:00
mikeprimm 0c99a6e7f4 Merge pull request #398 from mikeprimm/master
IE8 doesn't have indexOf, if you can believe that....
2011-08-10 16:10:35 -07:00
Mike Primm a5e3f36d97 Fix IE8 - missing indexOf(), if you can believe that.... fix is per
https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/IndexOf
2011-08-10 18:07:59 -05:00
FrozenCow f5f9c3bb31 Use shift, not pop, for queue. 2011-08-10 23:32:33 +02:00
FrozenCow 91b9b456b5 Added tile queueing. 2011-08-10 22:39:57 +02:00
mikeprimm 0a60c35be0 Merge pull request #395 from mikeprimm/master
Handle texture packs that do not include all required files
2011-08-10 12:58:30 -07:00
Mike Primm 641406a68e Merge remote branch 'upstream/master' 2011-08-10 14:55:07 -05:00
Mike Primm 334f3d983a Add handling for texture packs that don't provide all needed files -
fall through to standard pack when needed
2011-08-10 14:54:25 -05:00
FrozenCow 04c3a432e1 Added extra configuration for maven-assembly to fix directory-permissions. 2011-08-10 15:54:19 +02:00
FrozenCow fdbce8df36 Only handle cuboid regions. 2011-08-10 15:14:48 +02:00
mikeprimm 81d68d5ac9 Merge pull request #391 from mikeprimm/master
Add permissions info to plugin.yml
2011-08-09 22:55:24 -07:00
Mike Primm 6383a7ef22 Add permissions info to plugin.yml 2011-08-10 00:52:55 -05:00
mikeprimm 1fcef60768 Merge pull request #390 from mikeprimm/master
Model for cactus - fix seams on edges, since cactus aren't quite full block
2011-08-09 18:46:19 -07:00
Mike Primm 3a38b44e79 Make model for cactus - they aren't quite full block 2011-08-09 20:45:08 -05:00
mikeprimm 82b7a87a7c Merge pull request #389 from mikeprimm/master
Check for raw biome lookup overflows - prevent array exceptions on some worlds
2011-08-08 22:20:06 -07:00
Mike Primm 48ba43aae5 Check for overflow on biome lookup - prevent exceptions on some worlds 2011-08-09 00:18:38 -05:00
Mike Primm 89525c38d5 Merge remote branch 'origin/master' 2011-08-08 23:41:15 -05:00
mikeprimm d468abe5a1 Merge pull request #387 from mikeprimm/master
Add id=3 leaves: apparently, alpha-map leaves migrated to this value
2011-08-08 07:21:27 -07:00
Mike Primm 9c44843884 Add leaves id=3: apparently alpha-map leaves migrated to this? 2011-08-08 09:20:10 -05:00
mikeprimm 2b26bdd5a4 Merge pull request #384 from mikeprimm/master
Add leafid + 12 values - not sure if needed, but no harm in it (for 0.20.1)
2011-08-07 21:01:13 -07:00
Mike Primm a76a734e16 Add mappings for leaves for +12 - not sure if needed, but can't hurt 2011-08-07 22:58:51 -05:00
mikeprimm 4fd3382493 Merge pull request #383 from mikeprimm/master
Fix subblock rendering of scaled down models (esp flat ones like rails, redstone) (for 0.20.1)
2011-08-07 20:12:43 -07:00
Mike Primm 4209a2c54d Fix subblock rendering of flat, scaled-down models (for 0.20.1) 2011-08-07 22:11:00 -05:00
mikeprimm 154057adcc Merge pull request #381 from mikeprimm/master
Handle leaf fade processing flag values in texture mapping
2011-08-07 08:35:17 -07:00
Mike Primm a641d2d831 Handle fade-processing bit values on leaves (N, N+4, N+8) 2011-08-07 10:29:54 -05:00
FrozenCow cd7e04fec3 Added another data-value (8) for leaves that occurs in parts of the trees in Skylands. 2011-08-07 16:55:22 +02:00
FrozenCow 4381d5838c Changed version to 0.21. 2011-08-06 20:04:53 +02:00
243 changed files with 2686 additions and 21379 deletions
-60
View File
@@ -1,60 +0,0 @@
<project name="dynmap" default="dist" basedir=".">
<property name="bukkit.jar" location="C:\Users\Bob\Desktop\minecraft_server\bukkit-0.0.1-SNAPSHOT.jar"/>
<property name="minecraft" location="C:\Users\Bob\Desktop\minecraft_server"/>
<property name="plugins" location="${minecraft}/plugins/"/>
<property name="http_root" location="/srv/http/dynmap/"/>
<property name="pluginname" value="dynmap"/>
<property name="src" location="src"/>
<property name="bin" location="bin"/>
<property name="dist" location="dist"/>
<target name="init">
<mkdir dir="${bin}"/>
</target>
<target name="compile" depends="init">
<javac srcdir="${src}/main/java" destdir="${bin}" classpath="${bukkit.jar}" debug="on" includeantruntime="false" />
</target>
<target name="dist" depends="compile">
<mkdir dir="${dist}"/>
<jar jarfile="${dist}/${pluginname}.jar">
<fileset dir="${bin}"/>
<fileset file="${src}/main/resources/plugin.yml"/>
<fileset file="${src}/main/resources/configuration.txt"/>
<fileset file="${src}/main/resources/custom-lightings.txt"/>
<fileset file="${src}/main/resources/custom-perspectives.txt"/>
<fileset file="${src}/main/resources/custom-shaders.txt"/>
<fileset file="${src}/main/resources/lightings.txt"/>
<fileset file="${src}/main/resources/models.txt"/>
<fileset file="${src}/main/resources/perspectives.txt"/>
<fileset file="${src}/main/resources/texture.txt"/>
<fileset file="${src}/main/resources/worlds.txt"/>
<zipfileset file="${src}/main/resources/colors.txt"/>
</jar>
</target>
<target name="deploy" depends="dist">
<copy file="${dist}/${pluginname}.jar" todir="${plugins}"/>
<copy todir="${http_root}">
<fileset dir="web"/>
</copy>
</target>
<target name="release" depends="dist">
<delete file="${pluginname}.zip"/>
<zip destfile="${pluginname}.zip">
<zipfileset dir="." includes="README.md" fullpath="readme.txt"/>
<zipfileset dir="." includes="build.xml"/>
<zipfileset dir="${dist}" includes="*.jar"/>
<zipfileset dir="${src}" includes="*.java" prefix="src/"/>
<zipfileset dir="${web}" includes="**" prefix="web/"/>
</zip>
</target>
<target name="clean">
<delete dir="${bin}"/>
<delete dir="${dist}"/>
</target>
</project>
-6
View File
@@ -1,6 +0,0 @@
<project name="dynmap_parameters" basedir=".">
<property name="bukkit.jar" location="../../bukkit.jar"/>
<property name="minecraft" location="../../"/>
<property name="plugins" location="${minecraft}/plugins/"/>
<property name="http_root" location="/srv/http/dynmap/"/>
</project>
-269
View File
@@ -1,269 +0,0 @@
Stone
1 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Grass
2 117 176 73 255 93 140 58 255 58 88 36 255 46 70 29 255
Dirt
3 134 96 67 255 107 76 53 255 67 48 33 255 53 38 26 255
Cobblestone
4 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wooden Plank
5 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Sapling
6 120 120 120 0 96 96 96 0 60 60 60 0 48 48 48 0
Bedrock
7 84 84 84 255 67 67 67 255 42 42 42 255 33 33 33 255
Water
8 38 92 255 51 30 73 204 51 19 46 127 51 15 36 102 51
Stationary Water
9 38 92 255 51 30 73 204 51 19 46 127 51 15 36 102 51
Lava
10 255 90 0 255 204 72 0 255 127 45 0 255 102 36 0 255
Stationary Lava
11 255 90 0 255 204 72 0 255 127 45 0 255 102 36 0 255
Sand
12 218 210 158 255 174 168 126 255 109 105 79 255 87 84 63 255
Gravel
13 136 126 126 255 108 100 100 255 68 63 63 255 54 50 50 255
Gold Ore
14 143 140 125 255 114 112 100 255 71 70 62 255 57 56 50 255
Iron Ore
15 136 130 127 255 108 104 101 255 68 65 63 255 54 52 50 255
Coal Ore
16 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wood
17 102 81 51 255 81 64 40 255 51 40 25 255 40 32 20 255
Leaves
18 60 192 41 100 48 153 32 100 30 96 20 100 24 76 16 100
Sponge
19 193 193 65 255 174 174 47 255 97 97 5 255 76 76 20 255
Glass
20 255 255 255 64 204 204 204 64 127 127 127 64 102 102 102 64
Lapis Lazuli Ore
21 23 68 196 255 18 56 158 255 14 43 122 255 14 43 78 255
Lapis Lazuli Block
22 23 68 196 255 18 56 158 255 14 43 122 255 14 43 78 255
Dispenser
23 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Sandstone
24 218 210 158 255 174 168 126 255 109 105 79 255 87 84 63 255
Note Block
25 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Bed
26 200 20 20 255 160 16 16 255 100 10 10 255 80 8 8 255
Powered Rail
27 150 134 102 180 120 107 81 180 75 67 51 180 60 53 40 180
Detector Rail
28 150 134 102 180 120 107 81 180 75 67 51 180 60 53 40 180
Sticky Piston
29 157 128 79 255 96 96 96 255 78 64 39 255 48 48 48 255
Cobweb
30 138 145 145 255 110 115 115 255 69 72 72 255 55 57 57 255
Tall Grass
31 97 156 53 255 73 120 38 255 38 68 16 255 26 50 9 255
Dead Shrubs
32 75 44 24 255 60 35 19 255 37 22 12 255 30 18 10 255
Piston
33 157 128 79 255 96 96 96 255 78 64 39 255 48 48 48 255
Piston Head
34 157 128 79 255 96 96 96 255 78 64 39 255 48 48 48 255
Wool
35 222 222 222 255 177 177 177 255 111 111 111 255 88 88 88 255
35:0 222 222 222 255 177 177 177 255 111 111 111 255 88 88 88 255
Wool - Orange
35:1 204 111 48 255 162 89 38 255 102 56 24 255 81 44 19 255
Wool - Magenta
35:2 166 66 175 255 133 53 140 255 83 33 87 255 66 26 69 255
Wool - Light Blue
35:3 91 121 185 255 73 96 147 255 46 61 92 255 36 48 73 255
Wool - Yellow
35:4 170 158 24 255 135 126 19 255 85 79 12 255 67 62 10 255
Wool - Light Green
35:5 51 165 42 255 41 131 33 255 26 82 21 255 20 65 17 255
Wool - Pink
35:6 190 115 135 255 151 92 108 255 95 57 67 255 75 46 53 255
Wool - Gray
35:7 58 58 58 255 47 47 47 255 29 29 29 255 23 23 23 255
Wool - Light Gray
35:8 138 145 145 255 110 115 115 255 69 72 72 255 55 57 57 255
Wool - Cyan
35:9 34 102 131 255 27 81 104 255 17 51 65 255 13 40 52 255
Wool - Purple
35:10 113 47 171 255 90 37 136 255 57 24 85 255 45 19 68 255
Wool - Blue
35:11 34 44 134 255 27 35 107 255 17 22 67 255 13 18 53 255
Wool - Brown
35:12 75 44 24 255 60 35 19 255 37 22 12 255 30 18 10 255
Wool - Dark Green
35:13 49 67 21 255 39 53 17 255 24 34 10 255 19 27 8 255
Wool - Red
35:14 143 39 36 255 114 31 28 255 71 20 18 255 57 16 14 255
Wool - Black
35:15 24 20 20 255 19 16 16 255 12 10 10 255 9 8 8 255
Yellow Flower
37 255 255 0 255 204 204 0 255 127 127 0 255 102 102 0 255
Red Rose
38 255 0 0 255 204 0 0 255 127 0 0 255 102 0 0 255
Brown Mushroom
39 204 153 120 32 145 109 85 32 114 86 67 32 73 64 58 32
Red Mushroom
40 255 43 43 32 196 29 38 32 186 105 109 32 124 64 64 32
Gold Block
41 232 245 46 255 185 196 36 255 116 122 23 255 92 98 18 255
Iron Block
42 191 191 191 255 152 152 152 255 95 95 95 255 76 76 76 255
Double Stone Slab
43 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
43:0 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
Double Stone Slab - Sandstone
43:1 218 210 158 255 174 168 126 255 109 105 79 255 87 84 63 255
Double Stone Slab - Wood
43:2 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Double Stone Slab - Cobblestone
43:3 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Stone Slab
44 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
44:0 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
Stone Slab - Sandstone
44:1 218 210 158 255 174 168 126 255 109 105 79 255 87 84 63 255
Stone Slab - Wood
44:2 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Stone Slab - Cobblestone
44:3 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Brick
45 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
TNT
46 160 83 65 255 128 66 52 255 80 41 32 255 64 33 26 255
Bookshelf
47 125 91 38 192 100 72 30 192 62 45 19 192 50 36 15 192
Moss Stone
48 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Obsidian
49 26 11 43 255 20 8 34 255 13 5 21 255 10 4 17 255
Torch
50 159 127 80 255 98 88 20 0 245 220 50 255 196 176 40 0
Fire
51 255 170 30 200 204 136 24 200 127 85 15 200 102 68 12 200
Monster Spawner
52 0 150 110 196 0 150 130 196 0 150 110 196 0 150 130 196
Wooden Stair
53 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Chest
54 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Redstone Wire
55 240 30 30 64 160 20 20 64 120 15 15 64 100 12 12 64
Diamond Ore
56 129 140 143 255 103 112 114 255 64 70 71 255 51 56 57 255
Diamond Block
57 45 166 152 255 36 132 121 255 22 83 76 255 18 66 60 255
Workbench
58 114 88 56 255 91 70 44 255 57 44 28 255 45 35 22 255
Crops
59 146 192 0 255 116 153 0 255 73 96 0 255 58 76 0 255
Farmland
60 95 58 30 255 76 46 24 255 47 29 15 255 38 23 12 255
Furnace
61 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Burning Furnace
62 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Sign Post
63 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Wooden Door
64 136 109 67 255 108 87 53 255 68 54 33 255 54 43 26 255
Ladder
65 181 140 64 32 144 112 51 32 90 70 32 32 72 56 25 32
Minecart Tracks
66 150 134 102 180 120 107 81 180 75 67 51 180 60 53 40 180
Cobblestone Stairs
67 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wall Sign
68 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Lever
69 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Stone Pressure Plate
70 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Iron Door
71 191 191 191 255 152 152 152 255 95 95 95 255 76 76 76 255
Wooden Pressure Plate
72 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Redstone Ore
73 131 107 107 255 104 85 85 255 65 53 53 255 52 42 42 255
Glowing Redstone Ore
74 131 107 107 255 104 85 85 255 65 53 53 255 52 42 42 255
Redstone Torch off
75 159 127 80 255 72 56 25 0 181 140 64 255 144 112 51 0
Redstone Torch on
76 159 127 80 255 102 0 0 0 255 0 0 255 204 0 0 0
Stone Button
77 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Snow
78 255 255 255 255 204 204 204 255 127 127 127 255 102 102 102 255
Ice
79 83 113 163 51 66 90 130 51 41 56 81 51 33 45 65 51
Snow Block
80 250 250 250 255 200 200 200 255 125 125 125 255 100 100 100 255
Cactus
81 25 120 25 255 20 96 20 255 12 60 12 255 10 48 10 255
Clay
82 151 157 169 255 120 125 135 255 75 78 84 255 60 62 67 255
Sugar Cane
83 193 234 150 255 154 187 120 255 96 117 75 255 77 93 60 255
Jukebox
84 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Fence
85 127 98 49 96 95 72 33 96 48 34 9 96 32 21 21 96
Pumpkin
86 255 115 0 200 204 92 0 200 126 57 0 200 102 46 0 200
Netherrack
87 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
Soulsand
88 133 109 94 255 121 97 82 255 90 70 57 255 79 59 46 255
Glowstone
89 249 212 156 255 255 188 94 255 192 143 70 255 122 91 44 255
Portal
90 140 0 196 128 120 0 196 128 140 0 196 128 120 0 196 128
Jack-o-lantern
91 255 115 0 255 204 92 0 255 126 57 0 255 102 46 0 255
Cake Block
92 234 234 234 255 210 210 210 255 203 203 203 255 190 190 190 255
Redstone Repeater off
93 159 127 80 255 72 56 25 0 181 140 64 255 144 112 51 0
Redstone Repeater on
94 159 127 80 255 102 0 0 0 255 0 0 255 204 0 0 0
Locked Chest
95 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Trap Door
96 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Biome Rainforest - Dark Green
[RAINFOREST] 49 67 21 255 39 53 17 255 24 34 10 255 19 27 8 255
Biome Swampland - Brown
[SWAMPLAND] 75 44 24 255 60 35 19 255 37 22 12 255 30 18 10 255
Biome Seasonal Forest - Light Green
[SEASONAL_FOREST] 51 165 42 255 41 131 33 255 26 82 21 255 20 65 17 255
Biome Forest - Light Gray
[FOREST] 138 145 145 255 110 115 115 255 69 72 72 255 55 57 57 255
Biome Savanna - Dark Gray
[SAVANNA] 58 58 58 255 47 47 47 255 29 29 29 255 23 23 23 255
Biome Shrubland - Yellow
[SHRUBLAND] 170 158 24 255 135 126 19 255 85 79 12 255 67 62 10 255
Biome Taiga - Cyan
[TAIGA] 34 102 131 255 27 81 104 255 17 51 65 255 13 40 52 255
Biome Desert - Orange
[DESERT] 204 111 48 255 162 89 38 255 102 56 24 255 81 44 19 255
Biome Plains - Magenta
[PLAINS] 166 66 175 255 133 53 140 255 83 33 87 255 66 26 69 255
Biome Ice Desert - Dark Blue
[ICE_DESERT] 26 33 103 255 20 26 80 255 13 17 50 255 9 14 40 255
Biome Tundra - White
[TUNDRA] 222 222 222 255 177 177 177 255 111 111 111 255 88 88 88 255
Biome Hell - Pink
[HELL] 190 115 135 255 151 92 108 255 95 57 67 255 75 46 53 255
Biome Sky - Blue
[SKY] 34 44 134 255 27 35 107 255 17 22 67 255 13 18 53 255
[RAINFALL-0.0] 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
[RAINFALL-1.0] 38 92 255 255 30 73 204 255 19 46 127 255 15 36 102 255
[TEMPERATURE-0.0] 38 92 255 255 30 73 204 255 19 46 127 255 15 36 102 255
[TEMPERATURE-0.5] 91 121 185 255 73 96 147 255 46 61 92 255 36 48 73 255
[TEMPERATURE-0.8] 51 165 42 255 41 131 33 255 26 82 21 255 20 65 17 255
[TEMPERATURE-0.9] 170 158 24 255 135 126 19 255 85 79 12 255 67 62 10 255
[TEMPERATURE-0.95] 204 111 48 255 162 89 38 255 102 56 24 255 81 44 19 255
[TEMPERATURE-1.0] 143 39 36 255 114 31 28 255 71 20 18 255 57 16 14 255
-269
View File
@@ -1,269 +0,0 @@
Stone
1 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Grass
2 60 113 17 255 50 94 14 255 42 79 12 255 50 94 14 255
Dirt
3 134 96 67 255 107 76 53 255 67 48 33 255 53 38 26 255
Cobblestone
4 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wooden Plank
5 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Sapling
6 120 120 120 0 96 96 96 0 60 60 60 0 48 48 48 0
Bedrock
7 84 84 84 255 67 67 67 255 42 42 42 255 33 33 33 255
Water
8 38 92 255 51 30 73 204 51 19 46 127 51 15 36 102 51
Stationary Water
9 38 92 255 51 30 73 204 51 19 46 127 51 15 36 102 51
Lava
10 255 90 0 255 204 72 0 255 127 45 0 255 102 36 0 255
Stationary Lava
11 255 90 0 255 204 72 0 255 127 45 0 255 102 36 0 255
Sand
12 218 210 158 255 174 168 126 255 109 105 79 255 87 84 63 255
Gravel
13 136 126 126 255 108 100 100 255 68 63 63 255 54 50 50 255
Gold Ore
14 143 140 125 255 114 112 100 255 71 70 62 255 57 56 50 255
Iron Ore
15 136 130 127 255 108 104 101 255 68 65 63 255 54 52 50 255
Coal Ore
16 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wood
17 102 81 51 255 81 64 40 255 51 40 25 255 40 32 20 255
Leaves
18 27 69 37 180 22 57 31 180 19 48 25 180 22 57 31 180
Sponge
19 193 193 65 255 174 174 47 255 97 97 5 255 76 76 20 255
Glass
20 255 255 255 64 204 204 204 64 127 127 127 64 102 102 102 64
Lapis Lazuli Ore
21 23 68 196 255 18 56 158 255 14 43 122 255 14 43 78 255
Lapis Lazuli Block
22 23 68 196 255 18 56 158 255 14 43 122 255 14 43 78 255
Dispenser
23 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Sandstone
24 192 178 110 255 160 148 92 255 134 124 77 255 160 148 92 255
Note Block
25 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Bed
26 200 20 20 255 160 16 16 255 100 10 10 255 80 8 8 255
Powered Rail
27 150 134 102 180 120 107 81 180 75 67 51 180 60 53 40 180
Detector Rail
28 150 134 102 180 120 107 81 180 75 67 51 180 60 53 40 180
Sticky Piston
29 157 128 79 255 96 96 96 255 78 64 39 255 48 48 48 255
Cobweb
30 138 145 145 255 110 115 115 255 69 72 72 255 55 57 57 255
Tall Grass
31 97 156 53 255 73 120 38 255 38 68 16 255 26 50 9 255
Dead Shrubs
32 75 44 24 255 60 35 19 255 37 22 12 255 30 18 10 255
Piston
33 157 128 79 255 96 96 96 255 78 64 39 255 48 48 48 255
Piston Head
34 157 128 79 255 96 96 96 255 78 64 39 255 48 48 48 255
Wool
35 247 255 239 255 244 251 236 255 204 210 197 255 244 251 236 255
35:0 247 255 239 255 244 251 236 255 204 210 197 255 244 251 236 255
Wool - Orange
35:1 227 128 52 255 224 126 51 255 187 105 42 255 224 126 51 255
Wool - Magenta
35:2 185 76 188 255 183 75 186 255 153 63 155 255 183 75 186 255
Wool - Light Blue
35:3 102 139 199 255 100 137 196 255 84 114 164 255 100 137 196 255
Wool - Yellow
35:4 189 181 26 255 187 178 26 255 156 149 22 255 187 178 26 255
Wool - Light Green
35:5 57 189 45 255 56 186 44 255 47 156 37 255 56 186 44 255
Wool - Pink
35:6 211 132 145 255 209 130 143 255 174 109 120 255 209 130 143 255
Wool - Gray
35:7 65 67 63 255 64 66 62 255 54 55 52 255 64 66 62 255
Wool - Light Gray
35:8 154 166 156 255 152 163 154 255 127 137 128 255 152 163 154 255
Wool - Cyan
35:9 38 117 141 255 37 115 139 255 31 96 116 255 37 115 139 255
Wool - Purple
35:10 126 54 184 255 124 53 181 255 104 44 151 255 124 53 181 255
Wool - Blue
35:11 38 51 144 255 37 50 143 255 31 42 119 255 37 50 143 255
Wool - Brown
35:12 83 51 26 255 82 50 26 255 69 42 22 255 82 50 26 255
Wool - Dark Green
35:13 54 77 22 255 54 76 22 255 45 63 19 255 54 76 22 255
Wool - Red
35:14 159 45 38 255 157 44 38 255 131 37 32 255 157 44 38 255
Wool - Black
35:15 26 23 22 255 26 23 21 255 22 19 18 255 26 23 21 255
Yellow Flower
37 255 255 0 255 204 204 0 255 127 127 0 255 102 102 0 255
Red Rose
38 255 0 0 255 204 0 0 255 127 0 0 255 102 0 0 255
Brown Mushroom
39 204 153 120 32 145 109 85 32 114 86 67 32 73 64 58 32
Red Mushroom
40 255 43 43 32 196 29 38 32 186 105 109 32 124 64 64 32
Gold Block
41 232 245 46 255 185 196 36 255 116 122 23 255 92 98 18 255
Iron Block
42 191 191 191 255 152 152 152 255 95 95 95 255 76 76 76 255
Double Stone Slab
43 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
43:0 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
Double Stone Slab - Sandstone
43:1 192 178 110 255 160 148 92 255 134 124 77 255 160 148 92 255
Double Stone Slab - Wood
43:2 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Double Stone Slab - Cobblestone
43:3 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Stone Slab
44 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
44:0 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
Stone Slab - Sandstone
44:1 192 178 110 255 160 148 92 255 134 124 77 255 160 148 92 255
Stone Slab - Wood
44:2 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Stone Slab - Cobblestone
44:3 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Brick
45 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
TNT
46 160 83 65 255 128 66 52 255 80 41 32 255 64 33 26 255
Bookshelf
47 125 91 38 192 100 72 30 192 62 45 19 192 50 36 15 192
Moss Stone
48 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Obsidian
49 26 11 43 255 20 8 34 255 13 5 21 255 10 4 17 255
Torch
50 159 127 80 255 98 88 20 0 245 220 50 255 196 176 40 0
Fire
51 255 170 30 200 204 136 24 200 127 85 15 200 102 68 12 200
Monster Spawner
52 0 150 110 196 0 150 130 196 0 150 110 196 0 150 130 196
Wooden Stair
53 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Chest
54 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Redstone Wire
55 240 30 30 64 160 20 20 64 120 15 15 64 100 12 12 64
Diamond Ore
56 129 140 143 255 103 112 114 255 64 70 71 255 51 56 57 255
Diamond Block
57 45 166 152 255 36 132 121 255 22 83 76 255 18 66 60 255
Workbench
58 114 88 56 255 91 70 44 255 57 44 28 255 45 35 22 255
Crops
59 146 192 0 255 116 153 0 255 73 96 0 255 58 76 0 255
Farmland
60 95 58 30 255 76 46 24 255 47 29 15 255 38 23 12 255
Furnace
61 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Burning Furnace
62 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Sign Post
63 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Wooden Door
64 136 109 67 255 108 87 53 255 68 54 33 255 54 43 26 255
Ladder
65 181 140 64 32 144 112 51 32 90 70 32 32 72 56 25 32
Minecart Tracks
66 150 134 102 180 120 107 81 180 75 67 51 180 60 53 40 180
Cobblestone Stairs
67 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wall Sign
68 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Lever
69 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Stone Pressure Plate
70 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Iron Door
71 191 191 191 255 152 152 152 255 95 95 95 255 76 76 76 255
Wooden Pressure Plate
72 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Redstone Ore
73 131 107 107 255 104 85 85 255 65 53 53 255 52 42 42 255
Glowing Redstone Ore
74 131 107 107 255 104 85 85 255 65 53 53 255 52 42 42 255
Redstone Torch off
75 159 127 80 255 72 56 25 0 181 140 64 255 144 112 51 0
Redstone Torch on
76 159 127 80 255 102 0 0 0 255 0 0 255 204 0 0 0
Stone Button
77 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Snow
78 255 255 255 255 204 204 204 255 127 127 127 255 102 102 102 255
Ice
79 83 113 163 51 66 90 130 51 41 56 81 51 33 45 65 51
Snow Block
80 250 250 250 255 200 200 200 255 125 125 125 255 100 100 100 255
Cactus
81 25 120 25 255 20 96 20 255 12 60 12 255 10 48 10 255
Clay
82 151 157 169 255 120 125 135 255 75 78 84 255 60 62 67 255
Sugar Cane
83 193 234 150 255 154 187 120 255 96 117 75 255 77 93 60 255
Jukebox
84 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Fence
85 127 98 49 96 95 72 33 96 48 34 9 96 32 21 21 96
Pumpkin
86 255 115 0 200 204 92 0 200 126 57 0 200 102 46 0 200
Netherrack
87 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
Soulsand
88 133 109 94 255 121 97 82 255 90 70 57 255 79 59 46 255
Glowstone
89 249 212 156 255 255 188 94 255 192 143 70 255 122 91 44 255
Portal
90 140 0 196 128 120 0 196 128 140 0 196 128 120 0 196 128
Jack-o-lantern
91 255 115 0 255 204 92 0 255 126 57 0 255 102 46 0 255
Cake Block
92 234 234 234 255 210 210 210 255 203 203 203 255 190 190 190 255
Redstone Repeater off
93 159 127 80 255 72 56 25 0 181 140 64 255 144 112 51 0
Redstone Repeater on
94 159 127 80 255 102 0 0 0 255 0 0 255 204 0 0 0
Locked Chest
95 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Trap Door
96 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Biome Rainforest - Dark Green
[RAINFOREST] 49 67 21 255 39 53 17 255 24 34 10 255 19 27 8 255
Biome Swampland - Brown
[SWAMPLAND] 75 44 24 255 60 35 19 255 37 22 12 255 30 18 10 255
Biome Seasonal Forest - Light Green
[SEASONAL_FOREST] 51 165 42 255 41 131 33 255 26 82 21 255 20 65 17 255
Biome Forest - Light Gray
[FOREST] 138 145 145 255 110 115 115 255 69 72 72 255 55 57 57 255
Biome Savanna - Dark Gray
[SAVANNA] 58 58 58 255 47 47 47 255 29 29 29 255 23 23 23 255
Biome Shrubland - Yellow
[SHRUBLAND] 170 158 24 255 135 126 19 255 85 79 12 255 67 62 10 255
Biome Taiga - Cyan
[TAIGA] 34 102 131 255 27 81 104 255 17 51 65 255 13 40 52 255
Biome Desert - Orange
[DESERT] 204 111 48 255 162 89 38 255 102 56 24 255 81 44 19 255
Biome Plains - Magenta
[PLAINS] 166 66 175 255 133 53 140 255 83 33 87 255 66 26 69 255
Biome Ice Desert - Dark Blue
[ICE_DESERT] 26 33 103 255 20 26 80 255 13 17 50 255 9 14 40 255
Biome Tundra - White
[TUNDRA] 222 222 222 255 177 177 177 255 111 111 111 255 88 88 88 255
Biome Hell - Pink
[HELL] 190 115 135 255 151 92 108 255 95 57 67 255 75 46 53 255
Biome Sky - Blue
[SKY] 34 44 134 255 27 35 107 255 17 22 67 255 13 18 53 255
[RAINFALL-0.0] 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
[RAINFALL-1.0] 38 92 255 255 30 73 204 255 19 46 127 255 15 36 102 255
[TEMPERATURE-0.0] 38 92 255 255 30 73 204 255 19 46 127 255 15 36 102 255
[TEMPERATURE-0.5] 91 121 185 255 73 96 147 255 46 61 92 255 36 48 73 255
[TEMPERATURE-0.8] 51 165 42 255 41 131 33 255 26 82 21 255 20 65 17 255
[TEMPERATURE-0.9] 170 158 24 255 135 126 19 255 85 79 12 255 67 62 10 255
[TEMPERATURE-0.95] 204 111 48 255 162 89 38 255 102 56 24 255 81 44 19 255
[TEMPERATURE-1.0] 143 39 36 255 114 31 28 255 71 20 18 255 57 16 14 255
-269
View File
@@ -1,269 +0,0 @@
Stone
1 149 145 138 255 125 122 116 255 114 111 105 255 88 85 81 255
Grass
2 111 185 79 255 86 158 53 255 65 131 40 255 57 105 21 255
Dirt
3 174 133 106 255 152 113 82 255 136 102 74 255 93 73 57 255
Cobblestone
4 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wooden Plank
5 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Sappling
6 120 120 120 0 96 96 96 0 60 60 60 0 48 48 48 0
Bedrock
7 84 84 84 255 67 67 67 255 42 42 42 255 33 33 33 255
Water
8 47 116 160 80 40 100 138 80 33 92 129 80 26 74 103 80
Stationary Water
9 47 116 160 80 40 100 138 80 33 92 129 80 26 74 103 80
Lava
10 255 90 0 255 204 72 0 255 127 45 0 255 102 36 0 255
Stationary Lava
11 255 90 0 255 204 72 0 255 127 45 0 255 102 36 0 255
Sand
12 251 240 193 255 251 223 157 255 237 202 135 255 200 168 107 255
Gravel
13 136 126 126 255 108 100 100 255 68 63 63 255 54 50 50 255
Gold Ore
14 143 140 125 255 114 112 100 255 71 70 62 255 57 56 50 255
Iron Ore
15 136 130 127 255 108 104 101 255 68 65 63 255 54 52 50 255
Coal Ore
16 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wood
17 102 81 51 255 81 64 40 255 51 40 25 255 40 32 20 255
Leaves
18 47 99 32 255 34 86 20 255 24 66 14 255 23 57 13 255
Sponge
19 193 193 65 255 174 174 47 255 97 97 5 255 76 76 20 255
Glass
20 255 255 255 64 204 204 204 64 127 127 127 64 102 102 102 64
Lapis Lazuli Ore
21 23 68 196 255 18 56 158 255 14 43 122 255 14 43 78 255
Lapis Lazuli Block
22 23 68 196 255 18 56 158 255 14 43 122 255 14 43 78 255
Dispenser
23 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Sandstone
24 251 240 193 255 251 223 157 255 237 202 135 255 200 168 107 255
Note Block
25 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Bed
26 200 20 20 255 160 16 16 255 100 10 10 255 80 8 8 255
Powered Rail
27 150 134 102 180 120 107 81 180 75 67 51 180 60 53 40 180
Detector Rail
28 150 134 102 180 120 107 81 180 75 67 51 180 60 53 40 180
Sticky Piston
29 157 128 79 255 125 122 116 255 78 64 39 255 88 85 81 255
Cobweb
30 138 145 145 255 110 115 115 255 69 72 72 255 55 57 57 255
Tall Grass
31 111 185 79 255 86 158 53 255 65 131 40 255 57 105 21 255
Dead Shrubs
32 75 44 24 255 60 35 19 255 37 22 12 255 30 18 10 255
Piston
33 157 128 79 255 125 122 116 255 78 64 39 255 88 85 81 255
Piston Head
34 157 128 79 255 125 122 116 255 78 64 39 255 88 85 81 255
Wool
35 222 222 222 255 177 177 177 255 111 111 111 255 88 88 88 255
35:0 222 222 222 255 177 177 177 255 111 111 111 255 88 88 88 255
Wool - Orange
35:1 204 111 48 255 162 89 38 255 102 56 24 255 81 44 19 255
Wool - Magenta
35:2 166 66 175 255 133 53 140 255 83 33 87 255 66 26 69 255
Wool - Light Blue
35:3 91 121 185 255 73 96 147 255 46 61 92 255 36 48 73 255
Wool - Yellow
35:4 170 158 24 255 135 126 19 255 85 79 12 255 67 62 10 255
Wool - Light Green
35:5 51 165 42 255 41 131 33 255 26 82 21 255 20 65 17 255
Wool - Pink
35:6 190 115 135 255 151 92 108 255 95 57 67 255 75 46 53 255
Wool - Gray
35:7 58 58 58 255 47 47 47 255 29 29 29 255 23 23 23 255
Wool - Light Gray
35:8 138 145 145 255 110 115 115 255 69 72 72 255 55 57 57 255
Wool - Cyan
35:9 34 102 131 255 27 81 104 255 17 51 65 255 13 40 52 255
Wool - Purple
35:10 113 47 171 255 90 37 136 255 57 24 85 255 45 19 68 255
Wool - Blue
35:11 34 44 134 255 27 35 107 255 17 22 67 255 13 18 53 255
Wool - Brown
35:12 75 44 24 255 60 35 19 255 37 22 12 255 30 18 10 255
Wool - Dark Green
35:13 49 67 21 255 39 53 17 255 24 34 10 255 19 27 8 255
Wool - Red
35:14 143 39 36 255 114 31 28 255 71 20 18 255 57 16 14 255
Wool - Black
35:15 24 20 20 255 19 16 16 255 12 10 10 255 9 8 8 255
Yellow Flower
37 255 255 0 255 204 204 0 255 127 127 0 255 102 102 0 255
Red Rose
38 255 0 0 255 204 0 0 255 127 0 0 255 102 0 0 255
Brown Mushroom
39 204 153 120 32 145 109 85 32 114 86 67 32 73 64 58 32
Red Mushroom
40 255 43 43 32 196 29 38 32 186 105 109 32 124 64 64 32
Gold Block
41 232 245 46 255 185 196 36 255 116 122 23 255 92 98 18 255
Iron Block
42 191 191 191 255 152 152 152 255 95 95 95 255 76 76 76 255
Double Stone Slab
43 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
43:0 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
Double Stone Slab - Sandstone
43:1 218 210 158 255 174 168 126 255 109 105 79 255 87 84 63 255
Double Stone Slab - Wood
43:2 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Double Stone Slab - Cobblestone
43:3 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Stone Slab
44 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
44:0 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
Stone Slab - Sandstone
44:1 218 210 158 255 174 168 126 255 109 105 79 255 87 84 63 255
Stone Slab - Wood
44:2 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Stone Slab - Cobblestone
44:3 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Brick
45 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
TNT
46 160 83 65 255 128 66 52 255 80 41 32 255 64 33 26 255
Bookshelf
47 125 91 38 192 100 72 30 192 62 45 19 192 50 36 15 192
Moss Stone
48 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Obsidian
49 26 11 43 255 20 8 34 255 13 5 21 255 10 4 17 255
Torch
50 103 80 45 255 98 88 20 0 255 249 79 255 196 176 40 0
Fire
51 255 170 30 200 204 136 24 200 127 85 15 200 102 68 12 200
Monster Spawner
52 0 150 110 196 0 150 130 196 0 150 110 196 0 150 130 196
Wooden Stair
53 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Chest
54 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Redstone Wire
55 240 30 30 64 160 20 20 64 120 15 15 64 100 12 12 64
Diamond Ore
56 129 140 143 255 103 112 114 255 64 70 71 255 51 56 57 255
Diamond Block
57 45 166 152 255 36 132 121 255 22 83 76 255 18 66 60 255
Workbench
58 114 88 56 255 91 70 44 255 57 44 28 255 45 35 22 255
Crops
59 146 192 0 255 116 153 0 255 73 96 0 255 58 76 0 255
Farmland
60 95 58 30 255 76 46 24 255 47 29 15 255 38 23 12 255
Furnace
61 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Burning Furnace
62 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Sign Post
63 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Wooden Door
64 136 109 67 255 108 87 53 255 68 54 33 255 54 43 26 255
Ladder
65 181 140 64 32 144 112 51 32 90 70 32 32 72 56 25 32
Minecart Tracks
66 150 134 102 180 120 107 81 180 75 67 51 180 60 53 40 180
Cobblestone Stairs
67 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wall Sign
68 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Lever
69 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Stone Pressure Plate
70 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Iron Door
71 191 191 191 255 152 152 152 255 95 95 95 255 76 76 76 255
Wooden Pressure Plate
72 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Redstone Ore
73 131 107 107 255 104 85 85 255 65 53 53 255 52 42 42 255
Glowing Redstone Ore
74 131 107 107 255 104 85 85 255 65 53 53 255 52 42 42 255
Redstone Torch off
75 159 127 80 255 72 56 25 0 181 140 64 255 144 112 51 0
Redstone Torch on
76 159 127 80 255 102 0 0 0 255 0 0 255 204 0 0 0
Stone Button
77 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Snow
78 255 255 255 255 252 253 253 255 198 220 225 255 129 179 190 255
Ice
79 182 211 235 150 164 189 211 150 138 177 211 150 128 165 196 150
Snow Block
80 250 250 250 255 200 200 200 255 125 125 125 255 100 100 100 255
Cactus
81 25 120 25 255 20 96 20 255 12 60 12 255 10 48 10 255
Clay
82 151 157 169 255 120 125 135 255 75 78 84 255 60 62 67 255
Sugar Cane
83 193 234 150 255 154 187 120 255 96 117 75 255 77 93 60 255
Jukebox
84 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Fence
85 127 98 49 96 95 72 33 96 48 34 9 96 32 21 21 96
Pumpkin
86 255 115 0 200 204 92 0 200 126 57 0 200 102 46 0 200
Netherrack
87 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
Soulsand
88 133 109 94 255 121 97 82 255 90 70 57 255 79 59 46 255
Glowstone
89 249 212 156 255 255 188 94 255 192 143 70 255 122 91 44 255
Portal
90 140 0 196 128 120 0 196 128 140 0 196 128 120 0 196 128
Jack-o-lantern
91 255 115 0 255 204 92 0 255 126 57 0 255 102 46 0 255
Cake Block
92 234 234 234 255 210 210 210 255 203 203 203 255 190 190 190 255
Redstone Repeater off
93 159 127 80 255 72 56 25 0 181 140 64 255 144 112 51 0
Redstone Repeater on
94 159 127 80 255 102 0 0 0 255 0 0 255 204 0 0 0
Locked Chest
95 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Trap Door
96 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Biome Rainforest - Dark Green
[RAINFOREST] 49 67 21 255 39 53 17 255 24 34 10 255 19 27 8 255
Biome Swampland - Brown
[SWAMPLAND] 75 44 24 255 60 35 19 255 37 22 12 255 30 18 10 255
Biome Seasonal Forest - Light Green
[SEASONAL_FOREST] 51 165 42 255 41 131 33 255 26 82 21 255 20 65 17 255
Biome Forest - Light Gray
[FOREST] 138 145 145 255 110 115 115 255 69 72 72 255 55 57 57 255
Biome Savanna - Dark Gray
[SAVANNA] 58 58 58 255 47 47 47 255 29 29 29 255 23 23 23 255
Biome Shrubland - Yellow
[SHRUBLAND] 170 158 24 255 135 126 19 255 85 79 12 255 67 62 10 255
Biome Taiga - Cyan
[TAIGA] 34 102 131 255 27 81 104 255 17 51 65 255 13 40 52 255
Biome Desert - Orange
[DESERT] 204 111 48 255 162 89 38 255 102 56 24 255 81 44 19 255
Biome Plains - Magenta
[PLAINS] 166 66 175 255 133 53 140 255 83 33 87 255 66 26 69 255
Biome Ice Desert - Dark Blue
[ICE_DESERT] 26 33 103 255 20 26 80 255 13 17 50 255 9 14 40 255
Biome Tundra - White
[TUNDRA] 222 222 222 255 177 177 177 255 111 111 111 255 88 88 88 255
Biome Hell - Pink
[HELL] 190 115 135 255 151 92 108 255 95 57 67 255 75 46 53 255
Biome Sky - Blue
[SKY] 34 44 134 255 27 35 107 255 17 22 67 255 13 18 53 255
[RAINFALL-0.0] 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
[RAINFALL-1.0] 38 92 255 255 30 73 204 255 19 46 127 255 15 36 102 255
[TEMPERATURE-0.0] 38 92 255 255 30 73 204 255 19 46 127 255 15 36 102 255
[TEMPERATURE-0.5] 91 121 185 255 73 96 147 255 46 61 92 255 36 48 73 255
[TEMPERATURE-0.8] 51 165 42 255 41 131 33 255 26 82 21 255 20 65 17 255
[TEMPERATURE-0.9] 170 158 24 255 135 126 19 255 85 79 12 255 67 62 10 255
[TEMPERATURE-0.95] 204 111 48 255 162 89 38 255 102 56 24 255 81 44 19 255
[TEMPERATURE-1.0] 143 39 36 255 114 31 28 255 71 20 18 255 57 16 14 255
-152
View File
@@ -1,152 +0,0 @@
1 133 129 118 255 111 108 98 255 93 90 82 255 111 108 98 255
2 60 113 17 255 50 94 14 255 42 79 12 255 50 94 14 255
3 103 83 51 255 86 69 43 255 72 58 36 255 86 69 43 255
4 118 112 96 255 98 93 80 255 82 78 67 255 98 93 80 255
5 109 80 60 255 91 67 50 255 76 56 41 255 91 67 50 255
7 79 79 82 255 66 66 68 255 55 55 57 255 66 66 68 255
8 94 170 255 51 82 148 223 51 69 124 186 51 82 148 223 51
9 94 170 255 51 82 148 223 51 69 124 186 51 82 148 223 51
10 255 164 41 255 255 164 41 255 212 137 34 255 255 164 41 255
11 255 164 41 255 255 164 41 255 212 137 34 255 255 164 41 255
12 192 178 110 255 160 148 92 255 134 124 77 255 160 148 92 255
13 120 105 79 255 100 87 66 255 84 73 55 255 100 87 66 255
14 255 181 38 255 255 181 38 255 212 151 31 255 255 181 38 255
15 231 174 113 255 193 145 94 255 161 121 79 255 193 145 94 255
16 56 60 70 255 46 50 58 255 39 42 49 255 46 50 58 255
17 119 97 74 255 99 81 62 255 83 68 52 255 99 81 62 255
18 27 69 37 180 22 57 31 180 19 48 25 180 22 57 31 180
19 193 193 65 255 174 174 47 255 97 97 5 255 76 76 20 255
20 178 217 223 90 148 181 186 90 124 151 155 90 148 181 186 90
21 23 68 196 255 18 56 158 255 14 43 122 255 14 43 78 255
22 23 68 196 255 18 56 158 255 14 43 122 255 14 43 78 255
23 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
24 192 178 110 255 160 148 92 255 134 124 77 255 160 148 92 255
25 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
26 200 20 20 255 160 16 16 255 100 10 10 255 80 8 8 255
27 150 134 102 180 120 107 81 180 75 67 51 180 60 53 40 180
28 150 134 102 180 120 107 81 180 75 67 51 180 60 53 40 180
29 109 80 60 255 111 108 98 255 76 56 41 255 111 108 98 255
30 138 145 145 255 110 115 115 255 69 72 72 255 55 57 57 255
31 97 156 53 255 73 120 38 255 38 68 16 255 26 50 9 255
32 75 44 24 255 60 35 19 255 37 22 12 255 30 18 10 255
33 109 80 60 255 111 108 98 255 76 56 41 255 111 108 98 255
34 109 80 60 255 111 108 98 255 76 56 41 255 111 108 98 255
35 247 255 239 255 244 251 236 255 204 210 197 255 244 251 236 255
35:0 247 255 239 255 244 251 236 255 204 210 197 255 244 251 236 255
35:1 227 128 52 255 224 126 51 255 187 105 42 255 224 126 51 255
35:2 185 76 188 255 183 75 186 255 153 63 155 255 183 75 186 255
35:3 102 139 199 255 100 137 196 255 84 114 164 255 100 137 196 255
35:4 189 181 26 255 187 178 26 255 156 149 22 255 187 178 26 255
35:5 57 189 45 255 56 186 44 255 47 156 37 255 56 186 44 255
35:6 211 132 145 255 209 130 143 255 174 109 120 255 209 130 143 255
35:7 65 67 63 255 64 66 62 255 54 55 52 255 64 66 62 255
35:8 154 166 156 255 152 163 154 255 127 137 128 255 152 163 154 255
35:9 38 117 141 255 37 115 139 255 31 96 116 255 37 115 139 255
35:10 126 54 184 255 124 53 181 255 104 44 151 255 124 53 181 255
35:11 38 51 144 255 37 50 143 255 31 42 119 255 37 50 143 255
35:12 83 51 26 255 82 50 26 255 69 42 22 255 82 50 26 255
35:13 54 77 22 255 54 76 22 255 45 63 19 255 54 76 22 255
35:14 159 45 38 255 157 44 38 255 131 37 32 255 157 44 38 255
35:15 26 23 22 255 26 23 21 255 22 19 18 255 26 23 21 255
37 73 108 60 254 61 90 50 254 51 75 42 254 61 90 50 254
38 84 139 187 254 70 116 155 254 59 97 130 254 70 116 155 254
39 184 144 0 254 153 119 0 254 128 100 0 254 153 119 0 254
40 201 17 17 254 168 14 14 254 140 12 12 254 168 14 14 254
41 247 255 239 255 244 251 236 255 204 210 197 255 244 251 236 255
42 249 249 249 255 207 207 207 255 173 173 173 255 207 207 207 255
43 122 112 99 255 101 93 82 255 85 78 69 255 101 93 82 255
43:0 122 112 99 255 101 93 82 255 85 78 69 255 101 93 82 255
43:1 192 178 110 255 160 148 92 255 134 124 77 255 160 148 92 255
43:2 109 80 60 255 91 67 50 255 76 56 41 255 91 67 50 255
43:3 118 112 96 255 98 93 80 255 82 78 67 255 98 93 80 255
44 122 112 99 254 101 93 82 254 85 78 69 254 101 93 82 254
44:0 122 112 99 254 101 93 82 254 85 78 69 254 101 93 82 254
44:1 192 178 110 255 160 148 92 255 134 124 77 255 160 148 92 255
44:2 109 80 60 255 91 67 50 255 76 56 41 255 91 67 50 255
44:3 118 112 96 255 98 93 80 255 82 78 67 255 98 93 80 255
45 230 103 73 255 192 86 61 255 160 71 50 255 192 86 61 255
46 255 79 30 255 231 72 27 255 193 60 22 255 231 72 27 255
47 125 91 38 192 100 72 30 192 62 45 19 192 50 36 15 192
48 96 108 70 255 80 90 58 255 67 75 49 255 80 90 58 255
49 83 67 83 255 69 56 69 255 58 47 58 255 69 56 69 255
50 255 203 58 200 255 203 58 200 212 169 48 200 255 203 58 200
51 255 170 30 200 255 170 30 200 212 141 25 200 255 170 30 200
52 255 228 52 255 255 228 52 255 212 190 43 255 255 228 52 255
53 145 109 80 255 121 91 67 255 101 76 56 255 121 91 67 255
54 165 132 100 255 138 110 84 255 115 92 70 255 138 110 84 255
55 116 21 21 255 97 18 18 255 81 15 15 255 97 18 18 255
56 115 230 255 255 105 210 232 255 88 175 194 255 105 210 232 255
57 164 217 237 255 136 181 198 255 114 151 165 255 136 181 198 255
58 171 138 99 255 142 115 82 255 118 96 68 255 142 115 82 255
59 136 152 21 255 114 127 17 255 95 106 14 255 114 127 17 255
60 123 82 51 255 103 68 43 255 86 57 36 255 103 68 43 255
61 158 128 73 255 132 106 61 255 110 89 51 255 132 106 61 255
62 158 128 73 255 132 106 61 255 110 89 51 255 132 106 61 255
63 60 112 17 255 50 93 14 255 42 78 12 255 50 93 14 255
64 129 97 69 255 108 81 57 255 90 68 47 255 108 81 57 255
65 144 128 99 32 120 106 82 32 100 89 69 32 120 106 82 32
66 113 109 102 180 94 91 85 180 79 76 71 180 94 91 85 180
67 115 107 93 255 96 89 78 255 80 75 65 255 96 89 78 255
68 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
69 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
70 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
71 255 255 255 255 229 229 229 255 191 191 191 255 229 229 229 255
72 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
73 174 107 107 255 145 89 89 255 121 75 75 255 145 89 89 255
74 174 107 107 255 145 89 89 255 121 75 75 255 145 89 89 255
75 255 140 61 254 217 119 52 254 181 99 43 254 217 119 52 254
76 255 0 0 254 255 0 0 254 212 0 0 254 255 0 0 254
77 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
78 237 248 255 254 237 248 255 254 198 207 212 254 237 248 255 254
79 166 222 255 55 166 222 255 55 139 185 212 55 166 222 255 55
80 237 248 255 255 237 248 255 255 198 207 212 255 237 248 255 255
81 116 167 80 255 97 139 67 255 81 116 56 255 97 139 67 255
82 234 240 255 255 216 221 235 255 180 185 196 255 216 221 235 255
83 136 167 74 255 114 139 62 255 95 116 52 255 114 139 62 255
84 116 97 80 255 97 81 67 255 81 68 55 255 97 81 67 255
85 115 99 63 255 96 82 52 255 80 69 44 255 96 82 52 255
86 255 115 0 200 204 92 0 200 126 57 0 200 102 46 0 200
87 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
88 133 109 94 255 121 97 82 255 90 70 57 255 79 59 46 255
89 249 212 156 255 255 188 94 255 192 143 70 255 122 91 44 255
90 140 0 196 128 120 0 196 128 140 0 196 128 120 0 196 128
91 255 115 0 255 204 92 0 255 126 57 0 255 102 46 0 255
92 234 234 234 255 210 210 210 255 203 203 203 255 190 190 190 255
93 159 127 80 255 72 56 25 0 181 140 64 255 144 112 51 0
94 159 127 80 255 102 0 0 0 255 0 0 255 204 0 0 0
95 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
96 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Biome Rainforest - Dark Green
[RAINFOREST] 49 67 21 255 39 53 17 255 24 34 10 255 19 27 8 255
Biome Swampland - Brown
[SWAMPLAND] 75 44 24 255 60 35 19 255 37 22 12 255 30 18 10 255
Biome Seasonal Forest - Light Green
[SEASONAL_FOREST] 51 165 42 255 41 131 33 255 26 82 21 255 20 65 17 255
Biome Forest - Light Gray
[FOREST] 138 145 145 255 110 115 115 255 69 72 72 255 55 57 57 255
Biome Savanna - Dark Gray
[SAVANNA] 58 58 58 255 47 47 47 255 29 29 29 255 23 23 23 255
Biome Shrubland - Yellow
[SHRUBLAND] 170 158 24 255 135 126 19 255 85 79 12 255 67 62 10 255
Biome Taiga - Cyan
[TAIGA] 34 102 131 255 27 81 104 255 17 51 65 255 13 40 52 255
Biome Desert - Orange
[DESERT] 204 111 48 255 162 89 38 255 102 56 24 255 81 44 19 255
Biome Plains - Magenta
[PLAINS] 166 66 175 255 133 53 140 255 83 33 87 255 66 26 69 255
Biome Ice Desert - Dark Blue
[ICE_DESERT] 26 33 103 255 20 26 80 255 13 17 50 255 9 14 40 255
Biome Tundra - White
[TUNDRA] 222 222 222 255 177 177 177 255 111 111 111 255 88 88 88 255
Biome Hell - Pink
[HELL] 190 115 135 255 151 92 108 255 95 57 67 255 75 46 53 255
Biome Sky - Blue
[SKY] 34 44 134 255 27 35 107 255 17 22 67 255 13 18 53 255
[RAINFALL-0.0] 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
[RAINFALL-1.0] 38 92 255 255 30 73 204 255 19 46 127 255 15 36 102 255
[TEMPERATURE-0.0] 38 92 255 255 30 73 204 255 19 46 127 255 15 36 102 255
[TEMPERATURE-0.5] 91 121 185 255 73 96 147 255 46 61 92 255 36 48 73 255
[TEMPERATURE-0.8] 51 165 42 255 41 131 33 255 26 82 21 255 20 65 17 255
[TEMPERATURE-0.9] 170 158 24 255 135 126 19 255 85 79 12 255 67 62 10 255
[TEMPERATURE-0.95] 204 111 48 255 162 89 38 255 102 56 24 255 81 44 19 255
[TEMPERATURE-1.0] 143 39 36 255 114 31 28 255 71 20 18 255 57 16 14 255
+170 -52
View File
@@ -1,59 +1,177 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.dynmap</groupId>
<artifactId>dynmap</artifactId>
<version>0.20</version>
<name>dynmap</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<url>http://github.com/FrozenCow/dynmap/</url>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/FrozenCow/dynmap/issues</url>
</issueManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<modelVersion>4.0.0</modelVersion>
<groupId>org.dynmap</groupId>
<artifactId>dynmap</artifactId>
<version>0.30.1</version>
<name>dynmap</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<BUILD_NUMBER>dev</BUILD_NUMBER>
</properties>
<url>http://github.com/webbukkit/dynmap/</url>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/webbukkit/dynmap/issues</url>
</issueManagement>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>*.yml</include>
<include>*.txt</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>*.yml</exclude>
<exclude>*.txt</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/package.xml</descriptor>
</descriptors>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>build</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
<execution>
<id>unpack</id>
<phase>package</phase>
<goals><goal>unpack</goal></goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.dynmap</groupId>
<artifactId>DynmapCore</artifactId>
<version>${project.version}</version>
<classifier>bin</classifier>
<type>zip</type>
<outputDirectory>${project.build.directory}/core</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.nijikokun.bukkit</groupId>
<artifactId>Permissions</artifactId>
<version>[2.5.4,)</version>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>0.0.1-SNAPSHOT</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
</dependencies>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>org.dynmap:dynmap-api:jar:*</include>
<include>org.dynmap:DynmapCore:jar:*</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/package.xml</descriptor>
</descriptors>
<!-- Hack for bug in maven-assembly: http://jira.codehaus.org/browse/MASSEMBLY-449 -->
<archiverConfig>
<fileMode>420</fileMode> <!-- 420(dec) = 644(oct) -->
<directoryMode>493</directoryMode> <!-- 493(dec) = 755(oct) -->
<defaultDirectoryMode>493</defaultDirectoryMode>
</archiverConfig>
</configuration>
<executions>
<execution>
<id>build</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<releases>
</releases>
<snapshots>
</snapshots>
<id>spout-repo</id>
<url>http://repo.spout.org</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.nijikokun.bukkit</groupId>
<artifactId>Permissions</artifactId>
<version>[2.5.4,)</version>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>[1.1-R1-SNAPSHOT,)</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.dynmap</groupId>
<artifactId>dynmap-api</artifactId>
<version>${project.version}</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>8.0.1.v20110908</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<version>8.0.1.v20110908</version>
</dependency>
<dependency>
<groupId>org.dynmap</groupId>
<artifactId>DynmapCore</artifactId>
<version>${project.version}</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.getspout</groupId>
<artifactId>spoutpluginapi</artifactId>
<version>dev-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
+14 -25
View File
@@ -6,33 +6,22 @@
</formats>
<fileSets>
<fileSet>
<directory>${project.basedir}</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>README*</include>
<include>LICENSE*</include>
<include>NOTICE*</include>
<include>CHANGELOG*</include>
</includes>
</fileSet>
<directory>${project.build.directory}/core</directory>
<outputDirectory>/dynmap</outputDirectory>
<excludes>
<exclude>web/version.js</exclude></excludes></fileSet>
<fileSet>
<directory>${project.basedir}/web</directory>
<outputDirectory>/dynmap/web</outputDirectory>
</fileSet>
<fileSet>
<directory>${project.basedir}/colorschemes</directory>
<outputDirectory>/dynmap/colorschemes</outputDirectory>
</fileSet>
<fileSet>
<directory>${project.basedir}/texturepacks</directory>
<outputDirectory>/dynmap/texturepacks</outputDirectory></fileSet>
<fileSet>
<directory>${project.basedir}/renderdata</directory>
<outputDirectory>/dynmap/renderdata</outputDirectory></fileSet>
<directory>${project.build.directory}/core/web</directory>
<outputDirectory>/dynmap/web</outputDirectory>
<includes>
<include>version.js</include></includes>
<filtered>true</filtered></fileSet>
</fileSets>
<files>
<file>
<source>${project.build.directory}/${artifactId}-${version}.jar</source>
<outputDirectory>/</outputDirectory>
<destName>dynmap.jar</destName></file></files>
<source>${project.build.directory}/${artifactId}-${version}.jar</source>
<outputDirectory>/</outputDirectory>
<destName>dynmap.jar</destName>
</file>
</files>
</assembly>
-36
View File
@@ -1,36 +0,0 @@
package org.dynmap;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.Material;
public class Armor {
/**
* http://www.minecraftwiki.net/wiki/Item_Durability#Armor_durability
* We rely on getArmorContents() to return 4 armor pieces in the order
* of: boots, pants, chest, helmet
*/
private static final double armorPoints[] = {1.5, 3.0, 4.0, 1.5};
public static final int getArmorPoints(Player player) {
int currentDurability = 0;
int baseDurability = 0;
double baseArmorPoints = 0;
ItemStack inventory[] = player.getInventory().getArmorContents();
for(int i=0;i<inventory.length;i++) {
if(inventory[i] == null)
continue;
Material m = inventory[i].getType();
if(m == null)
continue;
final short maxDurability = m.getMaxDurability();
if(maxDurability < 0)
continue;
final short durability = inventory[i].getDurability();
baseDurability += maxDurability;
currentDurability += maxDurability - durability;
baseArmorPoints += armorPoints[i];
}
return (int)Math.round(2*baseArmorPoints*currentDurability/baseDurability);
}
}
@@ -1,107 +0,0 @@
package org.dynmap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.NoSuchElementException;
import java.util.Set;
public class AsynchronousQueue<T> {
private Object lock = new Object();
private Thread thread;
private LinkedList<T> queue = new LinkedList<T>();
private Set<T> set = new HashSet<T>();
private Handler<T> handler;
private int dequeueTime;
public AsynchronousQueue(Handler<T> handler, int dequeueTime) {
this.handler = handler;
this.dequeueTime = dequeueTime;
}
public boolean push(T t) {
synchronized (lock) {
if (set.add(t)) {
queue.addLast(t);
return true;
}
return false;
}
}
private T pop() {
synchronized (lock) {
try {
T t = queue.removeFirst();
if (!set.remove(t)) {
// This should never happen.
}
return t;
} catch (NoSuchElementException e) {
return null;
}
}
}
public int size() {
return set.size();
}
public void start() {
synchronized (lock) {
thread = new Thread(new Runnable() {
@Override
public void run() {
running();
}
});
thread.start();
try {
thread.setPriority(Thread.MIN_PRIORITY);
} catch (SecurityException e) {
Log.info("Failed to set minimum priority for worker thread!");
}
}
}
public void stop() {
synchronized (lock) {
if (thread == null)
return;
Thread oldThread = thread;
thread = null;
Log.info("Stopping map renderer...");
oldThread.interrupt();
try {
oldThread.join(1000);
} catch (InterruptedException e) {
Log.info("Waiting for map renderer to stop is interrupted");
}
}
}
private void running() {
try {
while (Thread.currentThread() == thread) {
T t = pop();
if (t != null) {
handler.handle(t);
}
sleep(dequeueTime);
}
} catch (Exception ex) {
Log.severe("Exception on rendering-thread", ex);
}
}
private boolean sleep(int time) {
try {
Thread.sleep(time);
} catch (InterruptedException e) {
return false;
}
return true;
}
}
-12
View File
@@ -1,12 +0,0 @@
package org.dynmap;
public class ChatEvent {
public String source;
public String name;
public String message;
public ChatEvent(String source, String name, String message) {
this.source = source;
this.name = name;
this.message = message;
}
}
-80
View File
@@ -1,80 +0,0 @@
package org.dynmap;
import java.io.IOException;
import java.io.Writer;
import org.bukkit.ChatColor;
import org.json.simple.JSONAware;
import org.json.simple.JSONStreamAware;
public class Client {
public static class Update implements JSONAware, JSONStreamAware {
public long timestamp = System.currentTimeMillis();
@Override
public String toJSONString() {
return org.dynmap.web.Json.stringifyJson(this);
}
@Override
public void writeJSONString(Writer w) throws IOException {
// TODO: This isn't the best...
w.write(toJSONString());
}
}
public static class ChatMessage extends Update {
public String type = "chat";
public String source;
public String playerName;
public String message;
public String account;
public String channel;
public ChatMessage(String source, String channel, String playerName, String message, String playeraccount) {
this.source = source;
this.playerName = ChatColor.stripColor(playerName);
this.message = ChatColor.stripColor(message);
this.account = playeraccount;
this.channel = channel;
}
}
public static class PlayerJoinMessage extends Update {
public String type = "playerjoin";
public String playerName;
public String account;
public PlayerJoinMessage(String playerName, String playeraccount) {
this.playerName = ChatColor.stripColor(playerName);
this.account = playeraccount;
}
}
public static class PlayerQuitMessage extends Update {
public String type = "playerquit";
public String playerName;
public String account;
public PlayerQuitMessage(String playerName, String playeraccount) {
this.playerName = ChatColor.stripColor(playerName);
this.account = playeraccount;
}
}
public static class Tile extends Update {
public String type = "tile";
public String name;
public Tile(String name) {
this.name = name;
}
}
public static class DayNight extends Update {
public String type = "daynight";
public boolean isday;
public DayNight(boolean isday) {
this.isday = isday;
}
}
}
@@ -1,61 +0,0 @@
package org.dynmap;
import static org.dynmap.JSONUtils.a;
import static org.dynmap.JSONUtils.s;
import java.util.List;
import java.util.Map;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
public class ClientComponent extends Component {
public ClientComponent(final DynmapPlugin plugin, final ConfigurationNode configuration) {
super(plugin, configuration);
plugin.events.addListener("buildclientconfiguration", new Event.Listener<JSONObject>() {
@Override
public void triggered(JSONObject root) {
buildClientConfiguration(root);
}
});
}
protected void buildClientConfiguration(JSONObject root) {
JSONObject o = createClientConfiguration();
a(root, "components", o);
}
protected JSONObject createClientConfiguration() {
JSONObject o = convertMap(configuration);
o.remove("class");
return o;
}
protected static final JSONObject convertMap(Map<String, ?> m) {
JSONObject o = new JSONObject();
for(Map.Entry<String, ?> entry : m.entrySet()) {
s(o, entry.getKey(), convert(entry.getValue()));
}
return o;
}
@SuppressWarnings("unchecked")
protected static final JSONArray convertList(List<?> l) {
JSONArray o = new JSONArray();
for(Object entry : l) {
o.add(convert(entry));
}
return o;
}
@SuppressWarnings("unchecked")
protected static final Object convert(Object o) {
if (o instanceof Map<?, ?>) {
return convertMap((Map<String, ?>)o);
} else if (o instanceof List<?>) {
return convertList((List<?>)o);
}
return o;
}
}
@@ -1,51 +0,0 @@
package org.dynmap;
import static org.dynmap.JSONUtils.a;
import static org.dynmap.JSONUtils.s;
import org.dynmap.Event.Listener;
import org.json.simple.JSONObject;
public class ClientConfigurationComponent extends Component {
public ClientConfigurationComponent(final DynmapPlugin plugin, ConfigurationNode configuration) {
super(plugin, configuration);
plugin.events.<JSONObject>addListener("buildclientconfiguration", new Listener<JSONObject>() {
@Override
public void triggered(JSONObject t) {
ConfigurationNode c = plugin.configuration;
s(t, "updaterate", c.getFloat("updaterate", 1.0f));
s(t, "showplayerfacesinmenu", c.getBoolean("showplayerfacesinmenu", true));
s(t, "joinmessage", c.getString("joinmessage", "%playername% joined"));
s(t, "quitmessage", c.getString("quitmessage", "%playername% quit"));
s(t, "spammessage", c.getString("spammessage", "You may only chat once every %interval% seconds."));
s(t, "webprefix", unescapeString(c.getString("webprefix", "[WEB] ")));
s(t, "defaultzoom", c.getInteger("defaultzoom", 0));
s(t, "sidebaropened", c.getBoolean("sidebaropened", false));
DynmapWorld defaultWorld = null;
String defmap = null;
for(DynmapWorld world : plugin.mapManager.getWorlds()) {
if (defaultWorld == null) defaultWorld = world;
ConfigurationNode wn = world.configuration;
JSONObject wo = new JSONObject();
s(wo, "name", wn.getString("name"));
s(wo, "title", wn.getString("title"));
s(wo, "center/x", wn.getFloat("center/x", 0.0f));
s(wo, "center/y", wn.getFloat("center/y", 64.0f));
s(wo, "center/z", wn.getFloat("center/z", 0.0f));
s(wo, "bigworld", world.bigworld);
s(wo, "extrazoomout", world.getExtraZoomOutLevels());
a(t, "worlds", wo);
for(MapType mt : world.maps) {
mt.buildClientConfiguration(wo, world);
if(defmap == null) defmap = mt.getName();
}
}
s(t, "defaultworld", c.getString("defaultworld", defaultWorld == null ? "world" : defaultWorld.world.getName()));
s(t, "defaultmap", c.getString("defaultmap", defmap == null ? "surface" : defmap));
}
});
}
}
@@ -1,75 +0,0 @@
package org.dynmap;
import static org.dynmap.JSONUtils.a;
import static org.dynmap.JSONUtils.s;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.entity.Player;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
public class ClientUpdateComponent extends Component {
public ClientUpdateComponent(final DynmapPlugin plugin, ConfigurationNode configuration) {
super(plugin, configuration);
plugin.events.addListener("buildclientupdate", new Event.Listener<ClientUpdateEvent>() {
@Override
public void triggered(ClientUpdateEvent e) {
buildClientUpdate(e);
}
});
}
protected void buildClientUpdate(ClientUpdateEvent e) {
World world = e.world.world;
JSONObject u = e.update;
long since = e.timestamp;
String worldName = world.getName();
s(u, "servertime", world.getTime() % 24000);
s(u, "hasStorm", world.hasStorm());
s(u, "isThundering", world.isThundering());
s(u, "players", new JSONArray());
Player[] players = plugin.playerList.getVisiblePlayers();
for(int i=0;i<players.length;i++) {
Player p = players[i];
Location pl = p.getLocation();
JSONObject jp = new JSONObject();
s(jp, "type", "player");
s(jp, "name", ChatColor.stripColor(p.getDisplayName()));
s(jp, "account", p.getName());
/* Don't leak player location for world not visible on maps, or if sendposition disbaled */
DynmapWorld pworld = MapManager.mapman.worldsLookup.get(p.getWorld().getName());
if(configuration.getBoolean("sendpositon", true) && (pworld != null) && pworld.sendposition) {
s(jp, "world", p.getWorld().getName());
s(jp, "x", pl.getX());
s(jp, "y", pl.getY());
s(jp, "z", pl.getZ());
}
else {
s(jp, "world", "-some-other-bogus-world-");
s(jp, "x", 0.0);
s(jp, "y", 64.0);
s(jp, "z", 0.0);
}
/* Only send health if enabled AND we're on visible world */
if (configuration.getBoolean("sendhealth", false) && (pworld != null) && pworld.sendhealth) {
s(jp, "health", p.getHealth());
s(jp, "armor", Armor.getArmorPoints(p));
}
else {
s(jp, "health", 0);
s(jp, "armor", 0);
}
a(u, "players", jp);
}
s(u, "updates", new JSONArray());
for(Object update : plugin.mapManager.getWorldUpdates(worldName, since)) {
a(u, "updates", (Client.Update)update);
}
}
}
@@ -1,15 +0,0 @@
package org.dynmap;
import org.json.simple.JSONObject;
public class ClientUpdateEvent {
public long timestamp;
public DynmapWorld world;
public JSONObject update;
public ClientUpdateEvent(long timestamp, DynmapWorld world, JSONObject update) {
this.timestamp = timestamp;
this.world = world;
this.update = update;
}
}
-74
View File
@@ -1,74 +0,0 @@
package org.dynmap;
/**
* Simple replacement for java.awt.Color for dynmap - it's not an invariant, so we don't make millions
* of them during rendering
*/
public class Color {
/* ARGB value */
private int val;
public static final int TRANSPARENT = 0;
public Color(int red, int green, int blue, int alpha) {
setRGBA(red, green, blue, alpha);
}
public Color(int red, int green, int blue) {
setRGBA(red, green, blue, 0xFF);
}
public Color() {
setTransparent();
}
public final int getRed() {
return (val >> 16) & 0xFF;
}
public final int getGreen() {
return (val >> 8) & 0xFF;
}
public final int getBlue() {
return val & 0xFF;
}
public final int getAlpha() {
return ((val >> 24) & 0xFF);
}
public final boolean isTransparent() {
return ((val & 0xFF000000) == TRANSPARENT);
}
public final void setTransparent() {
val = TRANSPARENT;
}
public final void setColor(Color c) {
val = c.val;
}
public final void setRGBA(int red, int green, int blue, int alpha) {
val = ((alpha & 0xFF) << 24) | ((red & 0xFF) << 16) | ((green & 0xFF) << 8) | (blue & 0xFF);
}
public final int getARGB() {
return val;
}
public final void setARGB(int c) {
val = c;
}
public final int getComponent(int idx) {
return 0xFF & (val >> ((3-idx)*8));
}
public final void setAlpha(int v) {
val = (val & 0x00FFFFFF) | (v << 24);
}
/**
* Scale each color component, based on the corresponding component
*/
public final void blendColor(Color c) {
blendColor(c.val);
}
/**
* Scale each color component, based on the corresponding component
*/
public final void blendColor(int argb) {
int nval = (((((val >> 24) & 0xFF) * ((argb >> 24) & 0xFF)) / 255) << 24);
nval = nval | (((((val >> 16) & 0xFF) * ((argb >> 16) & 0xFF)) / 255) << 16);
nval = nval | (((((val >> 8) & 0xFF) * ((argb >> 8) & 0xFF)) / 255) << 8);
nval = nval | (((val & 0xFF) * (argb & 0xFF)) / 255);
val = nval;
}
}
-241
View File
@@ -1,241 +0,0 @@
package org.dynmap;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Scanner;
import org.dynmap.debug.Debug;
import org.bukkit.block.Biome;
public class ColorScheme {
private static final HashMap<String, ColorScheme> cache = new HashMap<String, ColorScheme>();
public String name;
/* Switch to arrays - faster than map */
public final Color[][] colors; /* [blk-type][step] */
public final Color[][][] datacolors; /* [bkt-type][blk-dat][step] */
public final Color[][] biomecolors; /* [Biome.ordinal][step] */
public final Color[][] raincolors; /* [rain * 63][step] */
public final Color[][] tempcolors; /* [temp * 63][step] */
public ColorScheme(String name, Color[][] colors, Color[][][] datacolors, Color[][] biomecolors, Color[][] raincolors, Color[][] tempcolors) {
this.name = name;
this.colors = colors;
this.datacolors = datacolors;
this.biomecolors = biomecolors;
this.raincolors = raincolors;
this.tempcolors = tempcolors;
}
private static File getColorSchemeDirectory() {
return new File(DynmapPlugin.dataDirectory, "colorschemes");
}
public static ColorScheme getScheme(String name) {
if (name == null)
name = "default";
ColorScheme scheme = cache.get(name);
if (scheme == null) {
scheme = loadScheme(name);
cache.put(name, scheme);
}
return scheme;
}
public static ColorScheme loadScheme(String name) {
File colorSchemeFile = new File(getColorSchemeDirectory(), name + ".txt");
Color[][] colors = new Color[256][];
Color[][][] datacolors = new Color[256][][];
Color[][] biomecolors = new Color[Biome.values().length][];
Color[][] raincolors = new Color[64][];
Color[][] tempcolors = new Color[64][];
InputStream stream;
try {
Debug.debug("Loading colors from '" + colorSchemeFile + "'...");
stream = new FileInputStream(colorSchemeFile);
Scanner scanner = new Scanner(stream);
int nc = 0;
while (scanner.hasNextLine()) {
String line = scanner.nextLine();
if (line.startsWith("#") || line.equals("")) {
continue;
}
/* Make parser less pedantic - tabs or spaces should be fine */
String[] split = line.split("[\t ]");
int cnt = 0;
for(String s: split) { if(s.length() > 0) cnt++; }
String[] nsplit = new String[cnt];
cnt = 0;
for(String s: split) { if(s.length() > 0) { nsplit[cnt] = s; cnt++; } }
split = nsplit;
if (split.length < 17) {
continue;
}
Integer id;
Integer dat = null;
boolean isbiome = false;
boolean istemp = false;
boolean israin = false;
int idx = split[0].indexOf(':');
if(idx > 0) { /* ID:data - data color */
id = new Integer(split[0].substring(0, idx));
dat = new Integer(split[0].substring(idx+1));
}
else if(split[0].charAt(0) == '[') { /* Biome color data */
String bio = split[0].substring(1);
idx = bio.indexOf(']');
if(idx >= 0) bio = bio.substring(0, idx);
isbiome = true;
id = -1;
for(Biome b : Biome.values()) {
if(b.toString().equalsIgnoreCase(bio)) {
id = b.ordinal();
break;
}
}
if(id < 0) { /* Not biome - check for rain or temp */
if(bio.startsWith("RAINFALL-")) {
try {
double v = Double.parseDouble(bio.substring(9));
if((v >= 0) && (v <= 1.00)) {
id = (int)(v * 63.0);
israin = true;
}
} catch (NumberFormatException nfx) {
}
}
else if(bio.startsWith("TEMPERATURE-")) {
try {
double v = Double.parseDouble(bio.substring(12));
if((v >= 0) && (v <= 1.00)) {
id = (int)(v * 63.0);
istemp = true;
}
} catch (NumberFormatException nfx) {
}
}
}
}
else {
id = new Integer(split[0]);
}
Color[] c = new Color[5];
/* store colors by raycast sequence number */
c[0] = new Color(Integer.parseInt(split[1]), Integer.parseInt(split[2]), Integer.parseInt(split[3]), Integer.parseInt(split[4]));
c[3] = new Color(Integer.parseInt(split[5]), Integer.parseInt(split[6]), Integer.parseInt(split[7]), Integer.parseInt(split[8]));
c[1] = new Color(Integer.parseInt(split[9]), Integer.parseInt(split[10]), Integer.parseInt(split[11]), Integer.parseInt(split[12]));
c[2] = new Color(Integer.parseInt(split[13]), Integer.parseInt(split[14]), Integer.parseInt(split[15]), Integer.parseInt(split[16]));
/* Blended color - for 'smooth' option on flat map */
c[4] = new Color((c[1].getRed()+c[3].getRed())/2, (c[1].getGreen()+c[3].getGreen())/2, (c[1].getBlue()+c[3].getBlue())/2, (c[1].getAlpha()+c[3].getAlpha())/2);
if(isbiome) {
if(istemp) {
tempcolors[id] = c;
}
else if(israin) {
raincolors[id] = c;
}
else if((id >= 0) && (id < biomecolors.length))
biomecolors[id] = c;
}
else if(dat != null) {
Color[][] dcolor = datacolors[id]; /* Existing list? */
if(dcolor == null) {
dcolor = new Color[16][]; /* Make 16 index long list */
datacolors[id] = dcolor;
}
if((dat >= 0) && (dat < 16)) { /* Add color to list */
dcolor[dat] = c;
}
if(dat == 0) { /* Index zero is base color too */
colors[id] = c;
}
}
else {
colors[id] = c;
}
nc += 1;
}
scanner.close();
/* Last, push base color into any open slots in data colors list */
for(int k = 0; k < 256; k++) {
Color[][] dc = datacolors[k]; /* see if data colors too */
if(dc != null) {
Color[] c = colors[k];
for(int i = 0; i < 16; i++) {
if(dc[i] == null)
dc[i] = c;
}
}
}
/* And interpolate any missing rain and temperature colors */
interpolateColorTable(tempcolors);
interpolateColorTable(raincolors);
} catch (RuntimeException e) {
Log.severe("Could not load colors '" + name + "' ('" + colorSchemeFile + "').", e);
return null;
} catch (FileNotFoundException e) {
Log.severe("Could not load colors '" + name + "' ('" + colorSchemeFile + "'): File not found.", e);
}
return new ColorScheme(name, colors, datacolors, biomecolors, raincolors, tempcolors);
}
public static void interpolateColorTable(Color[][] c) {
int idx = -1;
for(int k = 0; k < c.length; k++) {
if(c[k] == null) { /* Missing? */
if((idx >= 0) && (k == (c.length-1))) { /* We're last - so fill forward from last color */
for(int kk = idx+1; kk <= k; kk++) {
c[kk] = c[idx];
}
}
/* Skip - will backfill when we find next color */
}
else if(idx == -1) { /* No previous color, just backfill this color */
for(int kk = 0; kk < k; kk++) {
c[kk] = c[k];
}
idx = k; /* This is now last defined color */
}
else { /* Else, interpolate between last idx and this one */
int cnt = c[k].length;
for(int kk = idx+1; kk < k; kk++) {
double interp = (double)(kk-idx)/(double)(k-idx);
Color[] cc = new Color[cnt];
for(int jj = 0; jj < cnt; jj++) {
cc[jj] = new Color(
(int)((1.0-interp)*c[idx][jj].getRed() + interp*c[k][jj].getRed()),
(int)((1.0-interp)*c[idx][jj].getGreen() + interp*c[k][jj].getGreen()),
(int)((1.0-interp)*c[idx][jj].getBlue() + interp*c[k][jj].getBlue()),
(int)((1.0-interp)*c[idx][jj].getAlpha() + interp*c[k][jj].getAlpha()));
}
c[kk] = cc;
}
idx = k;
}
}
}
public Color[] getRainColor(double rain) {
int idx = (int)(rain * 63.0);
if((idx >= 0) && (idx < raincolors.length))
return raincolors[idx];
else
return null;
}
public Color[] getTempColor(double temp) {
int idx = (int)(temp * 63.0);
if((idx >= 0) && (idx < tempcolors.length))
return tempcolors[idx];
else
return null;
}
public static void reset() {
cache.clear();
}
}
-21
View File
@@ -1,21 +0,0 @@
package org.dynmap;
public abstract class Component {
protected DynmapPlugin plugin;
protected ConfigurationNode configuration;
public Component(DynmapPlugin plugin, ConfigurationNode configuration) {
this.plugin = plugin;
this.configuration = configuration;
}
public void dispose() {
}
/* Substitute proper values for escape sequences */
public static String unescapeString(String v) {
/* Replace color code &color; */
v = v.replaceAll("&color;", "\u00A7");
return v;
}
}
@@ -1,47 +0,0 @@
package org.dynmap;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
public class ComponentManager {
public Set<Component> components = new HashSet<Component>();
public Map<String, List<Component>> componentLookup = new HashMap<String, List<Component>>();
public void add(Component c) {
if (components.add(c)) {
String key = c.getClass().toString();
List<Component> clist = componentLookup.get(key);
if (clist == null) {
clist = new ArrayList<Component>();
componentLookup.put(key, clist);
}
clist.add(c);
}
}
public void remove(Component c) {
if (components.remove(c)) {
String key = c.getClass().toString();
List<Component> clist = componentLookup.get(key);
if (clist != null) {
clist.remove(c);
}
}
}
public void clear() {
componentLookup.clear();
components.clear();
}
public Iterable<Component> getComponents(Class<Component> c) {
List<Component> list = componentLookup.get(c.toString());
if (list == null)
return new ArrayList<Component>();
return list;
}
}

Some files were not shown because too many files have changed in this diff Show More