Compare commits

...

794 Commits

Author SHA1 Message Date
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
mikeprimm 1cb79e41cb Merge pull request #375 from mikeprimm/master
Add maximumheight and minimumheight attributes for IsoHDPerspective
2011-08-03 22:27:50 -07:00
Mike Primm d95189a7c1 Add maximumheight and minimumheight options to IsoHDPerspective 2011-08-04 00:26:08 -05:00
mikeprimm 42c95012ef Merge pull request #374 from mikeprimm/master
Fix detection of new blockspread, blockform, blockfaded triggers
2011-08-03 21:43:45 -07:00
Mike Primm 571c66a189 Fix detection of blockformed, blockfaded, blockspread 2011-08-03 23:40:25 -05:00
mikeprimm 2f7e7ad87b Merge pull request #373 from mikeprimm/master
Fix armor calculation - round vs truncate
2011-08-03 20:46:09 -07:00
Mike Primm ba9e27f451 Fix armor calculation - round vs truncate 2011-08-03 22:45:18 -05:00
mikeprimm 8d5233befd Merge pull request #372 from mikeprimm/master
Remove default Leaflet attribution
2011-08-03 19:34:52 -07:00
Mike Primm c865ecb673 Remove default leaflet attribute 2011-08-03 21:33:53 -05:00
mikeprimm bb2f21b44c Merge pull request #371 from mikeprimm/master
Handle Leaflet freak-out on removed layers during tile load, clean up panning
2011-08-03 19:20:34 -07:00
Mike Primm 132bfc539b Handle Leaflet freak-out on removed layers during tile load, clean up panning 2011-08-03 21:14:15 -05:00
mikeprimm 852df86ad1 Merge pull request #370 from mikeprimm/master
Make Kzed setting for mapzoomout match existing behavior (2 levels below native, not 3)
2011-08-03 13:10:50 -07:00
Mike Primm 612cdf0c98 Make mapzoomin for Kzed consistent with previous versions (2 below
native)
2011-08-03 15:09:28 -05:00
mikeprimm d6388aab31 Merge pull request #368 from mikeprimm/master
Go back to pixel by pixel blit - makes webkit browsers less fuzzy
2011-08-03 11:19:53 -07:00
Mike Primm bffc56dd20 Fix blit back to original - stop fuzzy webkit browsers 2011-08-03 13:18:53 -05:00
mikeprimm bb279d7e2f Merge pull request #367 from mikeprimm/master
Fix map center consistency between map changes, add fromLatLngToLocation to Projection
2011-08-03 08:26:57 -07:00
Mike Primm 64bd846115 Fix map center consistency on map changes 2011-08-03 10:21:29 -05:00
mikeprimm db0fadc5de Merge pull request #366 from mikeprimm/master
Fix defaultzoom: 0 not working
2011-08-03 06:14:53 -07:00
Mike Primm 1d0b28c069 Fix defaultzoom: 0 not working 2011-08-03 08:13:59 -05:00
mikeprimm e6e07bf421 Merge pull request #365 from mikeprimm/master
Don't include face accessory overlay on faces for now - causes 'white face'
2011-08-02 22:49:12 -07:00
Mike Primm 091752aaae Drop accessory face overlay - hardly seems used and causes white faces 2011-08-03 00:40:53 -05:00
mikeprimm 6d75c9ea44 Merge pull request #364 from mikeprimm/master
Fix zoom range and marker position calculation on Kzed and Flat
2011-08-02 19:54:06 -07:00
Mike Primm ee790f86ed Fix marker position logic and zoom range calculation on Kzed and Flat 2011-08-02 21:51:00 -05:00
mikeprimm 4bf9f9a978 Merge pull request #363 from mikeprimm/master
And another KzedMap Zoom fix - for non-bigworld this time
2011-08-02 14:11:12 -07:00
Mike Primm 257b1c37f1 Fix zoom on KzedMap when bigworld=false 2011-08-02 16:10:04 -05:00
mikeprimm 8cef3fb478 Merge pull request #361 from mikeprimm/master
Fix flat and kzed 'bigworld' support
2011-08-02 08:48:45 -07:00
Mike Primm 40e2b1eb4d Fix bigworld on kzed and flat 2011-08-02 10:48:04 -05:00
mikeprimm 49978e3ac5 Merge pull request #358 from mikeprimm/master
Fix background color support, fix junk on map switches
2011-08-01 22:08:23 -07:00
Mike Primm e08a2d4407 Fix background color support, provide blank tile to fix refresh junk 2011-08-02 00:07:17 -05:00
mikeprimm b0a7a6b748 Merge pull request #357 from mikeprimm/master
Update leaflet, lots of little fixes to make IE sane
2011-08-01 21:25:26 -07:00
Mike Primm 0bbcf6510e Make IE sane 2011-08-01 23:21:36 -05:00
Mike Primm 37c9d4b9cd Update leaflet 2011-08-01 21:03:43 -05:00
mikeprimm 9cc51e4cc0 Merge pull request #356 from mikeprimm/master
Band-aid for playermarkers on IE8 - avoid lack of canvas support
2011-08-01 16:32:17 -07:00
Mike Primm 17af53ee1f Band-aid playermarkers on IE8 2011-08-01 18:31:04 -05:00
mikeprimm f592f5a3bf Merge pull request #355 from mikeprimm/master
Force 'z-order' in 'map' style to zero to make sure components don't wind up behind it
2011-08-01 07:13:05 -07:00
Mike Primm 2fa68b2992 Force z-order for map to prevent components winding up behind it 2011-08-01 09:11:58 -05:00
mikeprimm fdbd4ab2d1 Merge pull request #354 from mikeprimm/master
Fix zoomout processing problem on kzedmaps due to inconsistent use of name vs prefix
2011-07-31 20:46:47 -07:00
Mike Primm d845ed207d Get name and prefix use consistent 2011-07-31 22:40:18 -05:00
Mike Primm 4d285b475a Fix zoom out processing for kzed maps - used name not prefix 2011-07-31 22:30:02 -05:00
FrozenCow 05f09f7bb4 Fixed image of popup close button. 2011-07-31 22:24:28 +02:00
mikeprimm fea152a914 Merge pull request #353 from mikeprimm/master
Clean up player icon transitions to/from visible map
2011-07-31 10:44:24 -07:00
Mike Primm 95c9520cc9 Clean up player marker transitions to/from visible map 2011-07-31 12:41:01 -05:00
mikeprimm e792bcc7a1 Merge pull request #351 from mikeprimm/master
Avoid trap in regions when 'basenode' in region file cannot be found or is bad
2011-07-31 09:16:47 -07:00
Mike Primm 58df3a8441 Fix trap when bad basenode in region component 2011-07-31 11:14:36 -05:00
mikeprimm 98dee3b404 Merge pull request #350 from mikeprimm/master
Fix biome shading on normal worlds
2011-07-31 08:40:23 -07:00
Mike Primm 2ee49fd82e Merge remote branch 'origin/master' 2011-07-31 10:37:09 -05:00
Mike Primm c2fe0f772c Fix bug with not doing biome shading on normal worlds 2011-07-31 10:36:43 -05:00
mikeprimm 65f20df60c Merge pull request #349 from mikeprimm/master
Make JSON unicode encoding more thorough - don't assume anything outside ASCII should not be escaped
2011-07-30 00:16:24 -07:00
Mike Primm b4ce28fd9a Make JSON unicode encoding more thorough - don't assume anything outside ASCII should not be escaped 2011-07-30 02:13:45 -05:00
mikeprimm 5a39ba5d5a Merge pull request #348 from mikeprimm/master
Improve rendering of textures for redstone wire
2011-07-29 23:41:38 -07:00
Mike Primm 6c42b399f4 Improve texture rendering for redstone wire 2011-07-30 01:22:05 -05:00
mikeprimm f9958fbff8 Merge pull request #346 from mikeprimm/master
Fix autopan on chatballoons - always was on
2011-07-29 12:30:49 -07:00
Mike Primm 29e42137c9 Fix autopan on chatbaloons - can be off now :) 2011-07-29 14:28:29 -05:00
mikeprimm 181e3dccbd Merge pull request #345 from mikeprimm/master
Fix nesting on residence subzones
2011-07-29 08:32:09 -07:00
Mike Primm 95128df6b9 Fix nesting - iterating over areas versus residences 2011-07-29 10:30:59 -05:00
FrozenCow 5bf8010bbb Fixed styling and owner/member texts of regions. 2011-07-29 17:16:27 +02:00
mikeprimm 6259da4e0f Merge pull request #344 from mikeprimm/master
Add subzones for Residence regions support
2011-07-29 07:52:14 -07:00
Mike Primm 47194defca Add support for Subzones (1 tier) 2011-07-29 09:50:50 -05:00
mikeprimm f8f1e77153 Merge pull request #342 from mikeprimm/master
Fix zoom range to match selected map
2011-07-28 21:53:13 -07:00
Mike Primm 4824388c6b Update zoom range to match selected map 2011-07-28 23:51:53 -05:00
mikeprimm ee0ad7c3d5 Merge pull request #341 from mikeprimm/master
Fix skylands premature-end-of-render issue
2011-07-28 08:15:30 -07:00
Mike Primm 4622b42aed Fix map edge detection to only use lack-of-chunks: fix skylands
premature end-of-render issue
2011-07-28 10:11:34 -05:00
mikeprimm bec6b0aec5 Merge pull request #340 from mikeprimm/master
Retire 'snowform' trigger, add 'blockformed', 'blockfaded', 'blockspread' triggers
2011-07-28 08:04:03 -07:00
Mike Primm 8957ab7c31 Fix message - blockform -> blockformed 2011-07-28 10:01:54 -05:00
Mike Primm b1272d18f8 Retired 'snowformed' event, added 'blockformed', 'blockfaded', 'blockspread' 2011-07-28 08:08:08 -05:00
mikeprimm 832a79eb1f Merge pull request #337 from mikeprimm/master
Fix compass rose on new UI
2011-07-27 22:44:22 -07:00
Mike Primm 6d66d45d43 Fix compass with new UI 2011-07-28 00:43:13 -05:00
mikeprimm 1a24217a98 Merge pull request #336 from mikeprimm/master
Fix Residence support with new web UI
2011-07-27 20:44:02 -07:00
Mike Primm d483eb1e6f Fix Residence support in updated UI 2011-07-27 22:42:55 -05:00
mikeprimm f13b0b6c46 Merge pull request #335 from mikeprimm/master
Fix various new map issues
2011-07-27 19:30:11 -07:00
Mike Primm 08192df906 Various map update fixes (keeping zoom, center on map change, repaint) 2011-07-27 21:27:35 -05:00
FrozenCow 5aa961388d Removed unnecessary !important from css. 2011-07-27 19:49:43 +02:00
FrozenCow bea269e8df Fixed zoomin/out icons again. 2011-07-27 19:34:42 +02:00
FrozenCow 0abc944c6e Added logo-component. 2011-07-27 18:51:26 +02:00
FrozenCow e90087390a Fixed flatmap. 2011-07-27 17:07:28 +02:00
FrozenCow ce00242253 Made use of mapzoomout+mapzoomin on all maptypes + simplified the client code of the individual maps. 2011-07-27 16:49:49 +02:00
FrozenCow 4f75bf691a Fixed nightday and making use of options.mapzoomin and options.mapzoomout. 2011-07-27 16:49:49 +02:00
FrozenCow 9f19ccf50c Removed old comments. 2011-07-27 16:49:49 +02:00
FrozenCow 2242c0643b Added/upgraded jquery as a local file and moved js and css to their directories. 2011-07-27 16:49:49 +02:00
FrozenCow 31b849683a Upgraded leaflet to latest version. 2011-07-27 16:49:48 +02:00
FrozenCow 5a5fa147d3 Removed some debug messages. 2011-07-27 16:49:48 +02:00
FrozenCow b944b3b729 Fixed previous maptype/layer being visible in the background. 2011-07-27 16:49:48 +02:00
FrozenCow 90acf73976 Added regions-compatiblity with old configuration. 2011-07-27 16:49:48 +02:00
FrozenCow 51457464c2 Made zoom-in/out for changing tilesizes look better. 2011-07-27 16:49:48 +02:00
FrozenCow 369317ea45 Added styling to regions (thereby also changing the configuration a bit, editing HTML in configuration is not possible anymore) 2011-07-27 16:49:48 +02:00
FrozenCow 0fb56c95bb Reworked Residence to work with Leaflet (and new regions-structure). 2011-07-27 15:50:08 +02:00
FrozenCow fd542d2b33 Fixed chatballoons for Leaflet. 2011-07-27 15:39:22 +02:00
FrozenCow 8ba8bcfc59 Added worldguard support for Leaflet. 2011-07-27 15:39:22 +02:00
FrozenCow 48683b972a Removed comment. 2011-07-27 15:39:22 +02:00
FrozenCow eaf6ecde26 Fixed tabs. 2011-07-27 15:39:22 +02:00
FrozenCow cce30da6be Removed old commented code. 2011-07-27 15:39:22 +02:00
FrozenCow fc3c5be36c Removed debug. 2011-07-27 15:39:22 +02:00
FrozenCow 8b40a9761b Fixed hdmap tiling and LocationToLatLng 2011-07-27 15:39:22 +02:00
FrozenCow 674b92003c Added (proper) initial Leaflet support. 2011-07-27 15:39:22 +02:00
mikeprimm b9225b3ed3 Merge pull request #332 from mikeprimm/master
Add help text for new commands
2011-07-27 06:20:58 -07:00
Mike Primm d862d1aa70 Add new commands to help text 2011-07-27 08:18:12 -05:00
mikeprimm 9005b68fdb Merge pull request #331 from mikeprimm/master
Tighten up cleanup during /reload or shutdown
2011-07-27 06:07:40 -07:00
Mike Primm df9d3494c3 Tighten up shutdown of zoom file processing during reload 2011-07-27 08:04:53 -05:00
mikeprimm 8bac8b0d23 Merge pull request #329 from mikeprimm/master
Add updated regions support for current Residence (2.3.x)
2011-07-26 21:08:52 -07:00
Mike Primm c135a669a8 Add updated Residence support (2.3.z) 2011-07-26 23:07:20 -05:00
mikeprimm 1465795f97 Merge pull request #327 from mikeprimm/master
Make "server update failed" red banner happen after 3rd consecutive read fail,not first
2011-07-26 14:27:47 -07:00
Mike Primm e1160f623f Add retry count to updates request - don't show red until 3rd miss 2011-07-26 16:24:04 -05:00
mikeprimm 7e0124e849 Merge pull request #325 from mikeprimm/master
Add cancelrender command
2011-07-26 13:16:59 -07:00
Mike Primm 096d2fe72e Add cancelrender command 2011-07-26 10:29:50 -05:00
mikeprimm ef59612dad Merge pull request #324 from mikeprimm/master
Flesh out comments on selecting template sets, and which files are used for each
2011-07-25 20:05:52 -07:00
Mike Primm f9393d70ea Flesh out comments on selecting template sets, and which files are used for each 2011-07-25 22:04:53 -05:00
mikeprimm 5762340238 Merge pull request #323 from mikeprimm/master
Add support for 'defaultmap' setting in configuration.txt
2011-07-25 19:29:12 -07:00
Mike Primm beb3165bbe Make default consistent with existing behaviors 2011-07-25 21:26:01 -05:00
mikeprimm 1e9cfe3bc7 Merge pull request #322 from mikeprimm/master
Add max-sessions setting to configuration.txt - limits concurrent threads and sessions on internal web server
2011-07-25 19:22:34 -07:00
Mike Primm 5a9c28ae27 Add support for 'defaultmap' setting in configuration.txt 2011-07-25 21:16:42 -05:00
Mike Primm aa29ddf141 Add max-sessions setting to configuration.txt - limits concurrent threads and sessions on internal web server 2011-07-25 20:34:37 -05:00
mikeprimm 641ce05767 Merge pull request #320 from mikeprimm/master
Render and shader performance tuning
2011-07-25 00:41:53 -07:00
Mike Primm 42132328cd Shader fine tuning 2011-07-25 02:38:30 -05:00
Mike Primm 9e7e333cc5 Tune render performance 2011-07-25 02:16:00 -05:00
mikeprimm 23db0c62fc Merge pull request #319 from mikeprimm/master
Use memory buffer for ImageIO encoding - avoid re-encoding when lock retry needed
2011-07-24 22:14:27 -07:00
Mike Primm cf08f243d0 Modify ImageIO use to avoid re-encoding on retry, do better buffering 2011-07-25 00:12:07 -05:00
mikeprimm 31623a0676 Merge pull request #318 from mikeprimm/master
Tighten up cleanup during /reload or shutdown
2011-07-24 21:27:09 -07:00
Mike Primm 737bcb98d9 Improve handling of /reload, clean up dead code 2011-07-24 23:23:24 -05:00
mikeprimm e0ddbcd27d Merge pull request #317 from mikeprimm/master
Make HDMap fall back to default perspective, shader or lighting as needed if unable to find configured preset
2011-07-24 18:37:58 -07:00
Mike Primm 3ddce85f89 Make HDMap fall back to default perspective, shader or lighting as needed if unable to find configured preset. 2011-07-24 20:34:39 -05:00
mikeprimm 4cacc3f92c Merge pull request #316 from mikeprimm/master
Add escape sequence '&color;' support for webprefix/websuffix - avoid frequent editor code page problems
2011-07-24 18:32:45 -07:00
Mike Primm abd7c25d80 Add escape sequence '&color;' support for webprefix/websuffix - avoid frequent editor code page problems. 2011-07-24 20:31:12 -05:00
mikeprimm 39a6bee3ca Merge pull request #315 from mikeprimm/master
Add shader option to disable biome shading, disable biome shading on non-normal worlds
2011-07-24 15:17:03 -07:00
Mike Primm 78f571a68b Add shader option to disable biome shading, disable biome shading on non-normal worlds 2011-07-24 17:14:45 -05:00
mikeprimm a65fd601ac Merge pull request #313 from mikeprimm/master
Add 'dynmap radiusrender <radius>' command to allow player-initiated render in radius from position
2011-07-23 22:04:26 -07:00
Mike Primm 62b42aa302 Add 'radiusrender' command to allow limited render by player in radius 2011-07-24 00:00:32 -05:00
mikeprimm c7e176b56d Merge pull request #312 from mikeprimm/master
Fix for bedrock texture (thanks to Graloth)
2011-07-23 20:54:37 -07:00
Mike Primm a07c03081d Fix bedrock texture (thanks, Graloth!) 2011-07-23 22:53:12 -05:00
mikeprimm 60f7773e76 Merge pull request #310 from mikeprimm/master
Sweep default files into JAR, extract as defaults when needed - prevent unneeded stomping of user customized configuration
2011-07-23 13:37:53 -07:00
Mike Primm ddeded3e9c Package more of default data/config in JAR, lay down when needed, to avoid stomping customized configuration when unneeded 2011-07-23 15:29:47 -05:00
mikeprimm e601a2c661 Merge pull request #309 from mikeprimm/master
Put model and texture data into own subdirectory (renderdata)
2011-07-23 07:34:26 -07:00
Mike Primm 357e46280c Merge remote branch 'origin/master' 2011-07-23 09:30:57 -05:00
Mike Primm 9992aa7628 Shift models and texture data into 'renderdata' directory 2011-07-23 09:30:22 -05:00
mikeprimm 869d6a701f Merge pull request #308 from mikeprimm/master
Add single/double chest type support, single chest orientation detection
2011-07-22 22:51:02 -07:00
Mike Primm 4be9ccb1b2 Add single chest orientation calculation 2011-07-23 00:49:09 -05:00
Mike Primm 1c6ececd62 Detect chest type (double, single) and base orientation 2011-07-22 23:20:58 -05:00
mikeprimm d746102963 Merge pull request #307 from mikeprimm/hdrender
Split templates.txt into multiple files in templates directory, support loading templates from directory
2011-07-22 19:52:59 -07:00
Mike Primm 6e1768f544 Drop mapzoomin on flat maps 2011-07-22 21:36:17 -05:00
Mike Primm 9bb9012f9c Make the hires surface maps from 30 degrees - might as well go pretty! 2011-07-22 21:31:14 -05:00
Mike Primm 0fba601063 Switch flat maps in hires template set to lowres - seems excessive 2011-07-22 21:28:39 -05:00
Mike Primm ec13742c85 Restructure templates into template directory, multiple files 2011-07-22 21:18:02 -05:00
mikeprimm 2c1d078272 Merge pull request #306 from mikeprimm/hdrender
Add support for enforcing banned-ips.txt on internal web server
2011-07-22 15:01:27 -07:00
Mike Primm e613fb14d7 Add support for enforcing banned-ips.txt on internal web server 2011-07-22 16:56:08 -05:00
mikeprimm 0e6dfc1adf Merge pull request #305 from mikeprimm/hdrender
Make subblock rendering of scaled down models more accurate (esp for torches, small stuff)
2011-07-22 12:49:39 -07:00
Mike Primm 436fac707f Improve handling of scaled down models in subblock renderer 2011-07-22 13:11:03 -05:00
Mike Primm 0ee5c3db04 Avoid overflows during model scale down 2011-07-22 08:49:50 -05:00
mikeprimm 9c1a744431 Merge pull request #304 from mikeprimm/hdrender
Add smallplayerfaces option for playermarkers component
2011-07-22 00:35:21 -07:00
Mike Primm 5ad9d7bf90 Add smallplayerfaces option for playermarkers component 2011-07-22 02:34:35 -05:00
mikeprimm ce76cfd695 Merge pull request #303 from mikeprimm/hdrender
Improve progress messages, make sure HDMaps that share render only render
2011-07-21 23:47:17 -07:00
Mike Primm a878ce7cd1 Improve progress messages, make sure HDMaps that share render only render once 2011-07-22 01:42:10 -05:00
mikeprimm 9197290910 Merge pull request #302 from mikeprimm/hdrender
Add mapzoomin attribute, to adjust zoom in levels beyond native tile reso
2011-07-21 21:28:48 -07:00
Mike Primm 559f251d50 Add mapzoomin attribute, to adjust zoom in levels beyond native tile resolution 2011-07-21 23:25:59 -05:00
mikeprimm 43dba33db9 Merge pull request #301 from mikeprimm/hdrender
Make incremental update zoom processing more disk I/O efficient
2011-07-21 16:38:14 -07:00
Mike Primm 8c134edce3 Make incremental update zoom processing more disk I/O efficient 2011-07-21 18:33:04 -05:00
mikeprimm 2e96cf88e2 Merge pull request #300 from mikeprimm/hdrender
Stop using Bukkit scheduler - isn't working reliably
2011-07-21 13:36:27 -07:00
Mike Primm da566cdecc Stop using Bukkit scheduler - isn't working reliably 2011-07-21 15:33:38 -05:00
mikeprimm 1115963ab7 Merge pull request #299 from mikeprimm/hdrender
Add support for compass rose in all 8 cardinal directions
2011-07-21 00:51:27 -07:00
Mike Primm ee3f07c6cd Add support for compass rose in all 8 cardinal directions 2011-07-21 02:50:29 -05:00
mikeprimm edc97fe399 Merge pull request #298 from mikeprimm/hdrender
Start restructure of configuration.txt, but without breaking folks - and stop stomping user configuration
2011-07-20 22:10:56 -07:00
Mike Primm b9882955af start move to break up configuration.txt, stop stomping user configurations on upgrade 2011-07-20 23:55:05 -05:00
Mike Primm bf4f8a84f0 Add support for custom-perspectives.txt, custom-shaders.txt, custom-lightings.txt 2011-07-20 21:52:43 -05:00
mikeprimm 2935080bdf Merge pull request #296 from mikeprimm/hdrender
Add proper Connection response to keep-alive handling
2011-07-19 23:54:17 -07:00
Mike Primm 4987ac3fe1 Add proper Connection response to keep-alive handling 2011-07-20 01:37:31 -05:00
mikeprimm a1536d03cd Merge pull request #295 from mikeprimm/hdrender
Add block transparency attributes to improve lighting accuracy
2011-07-19 21:35:26 -07:00
Mike Primm 644c8d0213 Add block transparency attributes to improve lighting accuracy 2011-07-19 23:34:01 -05:00
mikeprimm b277663705 Merge pull request #294 from mikeprimm/hdrender
Handle snow lighting special case
2011-07-19 15:45:59 -07:00
Mike Primm 913a92a010 Handle snow lighting special case 2011-07-19 17:45:05 -05:00
mikeprimm 976f8cd334 Merge pull request #293 from mikeprimm/hdrender
Undo bad fix - broke some models
2011-07-19 14:43:34 -07:00
Mike Primm 3ef3f6cb61 Undo bad fix - broke some models 2011-07-19 16:39:09 -05:00
mikeprimm b212908a13 Merge pull request #292 from mikeprimm/hdrender
Add nether support to HDMap
2011-07-19 14:20:05 -07:00
Mike Primm 537c6d3f25 Add nether support to HDMap 2011-07-19 15:11:44 -05:00
mikeprimm 06b7a5dd57 Merge pull request #289 from mikeprimm/hdrender
Fix wool coloring in texture support
2011-07-18 23:48:36 -07:00
Mike Primm f58092167f Fix wool coloring in texture support 2011-07-19 01:47:46 -05:00
mikeprimm 71a8195fc2 Merge pull request #288 from mikeprimm/hdrender
Performance tuning
2011-07-18 23:03:34 -07:00
Mike Primm 73825b4558 Merge remote branch 'upstream/master' into HEAD 2011-07-19 00:53:02 -05:00
Mike Primm 2c16c800e9 Performance tuning, improve workaround for bukkit scheduler bugs 2011-07-19 00:52:05 -05:00
FrozenCow 929a34656b Added webchat-interval for JsonFileClientUpdateComponent (which should fix sendmessage.php) 2011-07-18 13:13:02 +02:00
mikeprimm 910b963fcd Merge pull request #286 from mikeprimm/hdrender
Add handling for custom_still_water, custom_still_lava, etc
2011-07-17 19:24:27 -07:00
Mike Primm b51bb22b9e Add handling for custom_still_water, custom_still_lava, etc 2011-07-17 20:51:51 -05:00
mikeprimm 1adbe45c27 Merge pull request #285 from mikeprimm/hdrender
Fix texture pack scaling support, remove assumption that watercolor.png is present
2011-07-17 16:14:47 -07:00
Mike Primm ff07b6f343 Fix texture pack scaling support 2011-07-17 18:13:03 -05:00
Mike Primm c74dd49f67 Make workaround for adaptive - be faster when bukkit isn't tripping up 2011-07-17 16:32:34 -05:00
Mike Primm 1862dc918c Different Bukkit schedule spin workaround, that isn't so slow
Generalize texture image loading
2011-07-17 16:19:24 -05:00
mikeprimm d4ecd05af9 Merge pull request #283 from mikeprimm/hdrender
Add texture pack shader support
2011-07-17 09:38:37 -07:00
Mike Primm 4e810fc9d8 Woraround bukkit schedule spin, add custom-models.txt, custom-texture.txt 2011-07-17 11:02:22 -05:00
Mike Primm 4bc3030637 Correct wood grain orientation from top 2011-07-17 02:42:35 -05:00
Mike Primm 9133d03489 Finish first pass of texture mapping 2011-07-17 02:20:13 -05:00
Mike Primm d21d640eae First pass functional texture pack shader :) 2011-07-16 16:51:46 -05:00
Mike Primm edac2e5cd9 Start on texture pack shader 2011-07-15 23:19:05 -05:00
Mike Primm 0323c98938 More texture pack work 2011-07-15 17:37:54 -05:00
Mike Primm a91060dc95 Fix non-power-of-two scaling on models and textures 2011-07-15 09:29:27 -05:00
Mike Primm c958da0ae0 Start on texture pack loader/scaler 2011-07-15 08:28:09 -05:00
mikeprimm 862c219d7d Merge pull request #281 from mikeprimm/hdrender
Add weakref based chunk snapshot cache
2011-07-13 23:10:20 -07:00
Mike Primm 66ca5199e3 Add weak reference based cache for chunk snapshots 2011-07-14 01:08:28 -05:00
Mike Primm eb87231926 Fix scroll buttons in player list 2011-07-13 16:05:08 -05:00
mikeprimm b4d7568e61 Merge pull request #278 from mikeprimm/hdrender
More models (doors, levers)
2011-07-12 23:06:14 -07:00
Mike Primm e4edb91f3d More models (doors, levers) 2011-07-13 01:05:20 -05:00
mikeprimm 281005f1f8 Merge pull request #277 from mikeprimm/hdrender
More models (beds, etc), proper fence support, lighting fixes for steps and slabs
2011-07-12 21:44:42 -07:00
Mike Primm c81c8cbaa6 More models (beds, etc), proper fence support, lighting fixes for steps and slabs 2011-07-12 23:32:18 -05:00
mikeprimm d764598bde Merge pull request #276 from mikeprimm/hdrender
More models, fixes to make HD shader defaults more consistent with Kzed shader
2011-07-12 16:23:28 -07:00
Mike Primm 9c1479b922 Add models for flowers, mushrooms, fire 2011-07-12 18:22:12 -05:00
Mike Primm bd69a69aff Make default shader more consistent with Kzed shader 2011-07-12 18:02:01 -05:00
mikeprimm 8df180313e Merge pull request #273 from mikeprimm/hdrender
Add models.txt, and code to load models from it, and lots of models
2011-07-12 00:21:32 -07:00
Mike Primm de2cdf5411 Add models.txt, and code to load models from it, and lots of models 2011-07-12 02:08:48 -05:00
mikeprimm 2db0d76950 Merge pull request #270 from mikeprimm/hdrender
Fix biome rendering
2011-07-11 07:39:29 -07:00
Mike Primm 57ea6aefd6 Fix biome rendering 2011-07-11 09:37:03 -05:00
mikeprimm 2cb8d9e3a1 Merge pull request #269 from mikeprimm/hdrender
Add support for non-cube block models, subblock tracing for them
2011-07-11 00:19:13 -07:00
Mike Primm b72cc2063a Add support for non-cube block models, subblock tracing for them 2011-07-11 02:14:55 -05:00
mikeprimm d8052d4196 Merge pull request #268 from mikeprimm/hdrender
Fix worldtomap conversion (y coordinate off by 1 tile)
2011-07-10 21:14:20 -07:00
Mike Primm c5c699ae61 Fix worldtomap conversion 2011-07-10 23:12:24 -05:00
mikeprimm 86e5b0c4f8 Merge pull request #267 from mikeprimm/hdrender
Fix orientation of sample flat maps to be north-top (view from south)
2011-07-10 19:13:57 -07:00
Mike Primm 9faad7397b Fix orientation of sample flat maps to be north-top (view from south) 2011-07-10 21:12:11 -05:00
mikeprimm 20028096c7 Merge pull request #266 from mikeprimm/hdrender
Add configuration.txt.sample-hd as sample of HD render with existing defa
2011-07-10 12:44:26 -07:00
Mike Primm 0f0fb22074 Add configuration.txt.sample-hd as sample of HD render with existing default map structure 2011-07-10 14:42:36 -05:00
mikeprimm b85e8f9151 Merge pull request #265 from mikeprimm/hdrender
Add cancelable custom event for reporting of messages received from web
2011-07-09 19:42:39 -07:00
Mike Primm f4e9b8ffce Add cancelable custom event for reporting of messages received from web 2011-07-09 21:39:49 -05:00
mikeprimm 88fde1fcd6 Merge pull request #264 from mikeprimm/hdrender
First drop of HD Renderer
2011-07-09 16:43:43 -07:00
Mike Primm e9c72e1cd9 Merge remote branch 'upstream/master' into HEAD 2011-07-09 18:18:26 -05:00
mikeprimm dcca317b2f Merge pull request #263 from mikeprimm/master
Cleanup event synchronize, so that web config request is more parallel
2011-07-09 16:17:08 -07:00
Mike Primm 874bf9da8d Fix marker/player world-to-map coordinate transform in hdmap.js 2011-07-09 18:04:42 -05:00
Mike Primm 02329673b2 Add adaptive zoomout levels for HDMaps, change zoomout processing to handle it properly 2011-07-09 17:01:40 -05:00
Mike Primm 898f4a6740 Handle bigmap versus bigworld, allows HDMap to be big-map-style independent of bigworld setting. Add bigmap setting on KzedMap and FlatMap too. 2011-07-09 15:51:32 -05:00
Mike Primm 02fa9384ac Add HD cave shader 2011-07-09 02:19:56 -05:00
Mike Primm a3c00a1026 Split lighting and shading - add lightings.txt 2011-07-09 01:26:47 -05:00
Mike Primm 69baafe597 Refactor HDMap configuration - add shaders, perspectives 2011-07-08 22:40:40 -05:00
Mike Primm 7e5865a899 Merge remote branch 'origin/hdrender' into HEAD 2011-07-08 01:36:19 -05:00
Mike Primm 52f23f5e2d Start structuring for shaders and perspectives 2011-07-08 01:34:22 -05:00
Mike Primm ae190b3c57 Merge branch 'master' into HEAD 2011-07-08 00:41:39 -05:00
Mike Primm 137b6af6d5 Fix tile render timmes, split out utility class 2011-07-08 00:40:52 -05:00
Mike Primm 56e5f6fbb3 Split perspective state out, to let shaders better interact with it 2011-07-07 08:41:31 -05:00
Mike Primm 4f73d2cbd6 Clean up HDMap dither, fix tile update events 2011-07-07 00:35:59 -05:00
Mike Primm ee8718d083 Merge remote branch 'upstream/master' into HEAD 2011-07-06 09:44:13 -05:00
Mike Primm 225b348154 Get day/night workding with HDMap 2011-07-05 23:24:25 -05:00
Mike Primm 1f2722b249 Get full existing shader function working on HDMap 2011-07-05 22:17:22 -05:00
FrozenCow 9afe25b449 Changed version to 0.20. 2011-07-05 09:59:17 +02:00
Mike Primm f3f871df3c Finish correction of zoom file coordinate correction for HDMap 2011-07-04 22:34:30 -05:00
Mike Primm 961eb17536 Fix zoom-out coordinate consistency on HDMaps 2011-07-04 10:18:05 -05:00
Mike Primm e2244ddda5 Merge remote branch 'upstream/master' into HEAD 2011-07-04 09:30:04 -05:00
Mike Primm 4086291ce2 Merge remote branch 'origin/master' into HEAD 2011-07-04 09:29:02 -05:00
Mike Primm 630759c87b HD renderer prototype 2011-07-04 09:28:06 -05:00
mikeprimm bf1f8a8f65 Merge pull request #258 from mikeprimm/master
Setting to 0.19.2 for support release for 1.7 related issues
2011-07-03 16:07:24 -07:00
Mike Primm 4152337568 Set to 0.19.2 for bug-fix release for 1.7 items 2011-07-03 18:03:04 -05:00
mikeprimm 9942327531 Merge pull request #257 from mikeprimm/master
Workaround for CB953 furnace freak-out
2011-07-03 10:06:42 -07:00
Mike Primm c393eec159 Workaround for CB 953 furnace freakout (fixed in CB955) 2011-07-03 12:03:06 -05:00
mikeprimm 9b9320f9c0 Merge pull request #256 from mikeprimm/master
More 1.7 stuff: add sticky piston to colorschemes, fix spurrious read lock timeouts on web
2011-07-03 09:36:53 -07:00
Mike Primm e724a7bccb Fix premature timeouts on tile read waits, causing missed tile loads 2011-07-03 11:30:48 -05:00
Mike Primm 97ff6a2c2d Add sticky piston block, too 2011-07-03 11:28:09 -05:00
mikeprimm e8aab6e257 Merge pull request #255 from mikeprimm/master
Add color definitions to schemas for pistons and piston-heads
2011-06-30 13:30:33 -07:00
Mike Primm 33206e089f Add piston and piston-head block color definitions 2011-06-30 15:29:47 -05:00
FrozenCow cb4f6aaf82 Changed version to 0.20. 2011-06-30 12:38:02 +02:00
mikeprimm c978d87fef Merge pull request #254 from mikeprimm/master
Set head branch back to 0.19.1 - need bug fix build
2011-06-29 19:11:58 -07:00
Mike Primm 1c32aebff9 Set to 0.19.1 - need bug fix release 2011-06-29 21:10:43 -05:00
Mike Primm 00a660d019 Don't throw exception on bogus absolute path (http://xxx//blah) 2011-06-30 03:19:04 +08:00
Mike Primm 1102c08b3e Don't throw exception on bogus absolute path (http://xxx//blah) 2011-06-29 14:16:12 -05:00
mikeprimm 3875486fbf Merge pull request #253 from mikeprimm/master
Add better URI path normalization, option to allow symlinks in web path
2011-06-29 11:44:58 -07:00
Mike Primm e6a8e54172 Add better URI path normalization, option to allow symlinks in web
path
2011-06-29 13:40:02 -05:00
mikeprimm e0f9a2f1e2 Merge pull request #251 from mikeprimm/master
Add some cleanup to help avoid exceptions on /reload and shutdown/disable
2011-06-28 23:38:04 -07:00
Mike Primm e2b55c3b54 Add some cleanup to help avoid exceptions on /reload and shutdown/disable 2011-06-29 01:37:09 -05:00
mikeprimm be983825ab Merge pull request #250 from mikeprimm/master
Fix WorldGuard regions code to handle polygon regions (WG5)
2011-06-28 22:45:15 -07:00
Mike Primm faceab68f1 Fix WorldGuard regions support to include WG5 polygon support 2011-06-29 00:43:39 -05:00
mikeprimm aa796deeff Merge pull request #249 from mikeprimm/master
Tighten up logic for assuring unlock of locked files during exceptions, fix version number display
2011-06-28 20:39:00 -07:00
Mike Primm 2863dd0acc Put timeout on read lock used by web server - make sure it can't be indefinite 2011-06-28 22:33:11 -05:00
Mike Primm 48fea32500 Tighten up lock release logic on I/O and other exceptions
Make version in plugin.yml string so that 0.20 isn't 0.2
2011-06-28 22:13:42 -05:00
mikeprimm b4b11329c2 Merge pull request #248 from mikeprimm/master
Fix 'visibleregions' option on JSON implementation of WorldGuard regions
2011-06-28 09:07:28 -07:00
Mike Primm f118ada39e Fix 'visibleregions' option on JSON (gotta kill those parallel code
paths at some point....)
2011-06-28 11:00:05 -05:00
mikeprimm 1a23f24b81 Merge pull request #247 from mikeprimm/master
Fix break in processing center: coordinates due to mistake in url-parameter code
2011-06-27 18:49:40 -07:00
Mike Primm edf898ae1a Fix "center" processing - broke it with URL args change :< 2011-06-27 20:38:26 -05:00
FrozenCow bf29c09522 Changed version to 0.20. 2011-06-27 21:44:12 +02:00
Jason Booth d3b621f90b Fix Security Exploit 2011-06-27 21:27:23 +02:00
FrozenCow 47620fe79e Revert "Disallow .. in file path. Also logging, imports"
This reverts commit 1bc275ea46.
2011-06-27 21:26:52 +02:00
zeeZ 1bc275ea46 Disallow .. in file path. Also logging, imports 2011-06-27 22:48:39 +08:00
mikeprimm d4f0161e14 Merge pull request #245 from mikeprimm/master
Add icon for Biome maps, and color mapping for SKY biome
2011-06-26 22:08:35 -07:00
Mike Primm d59c8f1506 Add SKY biome mappings 2011-06-27 00:07:00 -05:00
Mike Primm 752a076236 Add default icon for Biome maps 2011-06-26 22:36:17 -05:00
mikeprimm 8089e75ab2 Merge pull request #244 from mikeprimm/master
Add support for URL-based parameter overrides for selecting world, map, zoom, and center coordinates
2011-06-26 20:12:49 -07:00
Mike Primm 3720c2adf7 Add support for URL-based parameter to override initial world, map, zoom, and center coordinate settings 2011-06-26 22:05:43 -05:00
mikeprimm dbbff3d04f Merge pull request #243 from mikeprimm/master
Add verbose: false option to make dynmap much less chatty during startup
2011-06-26 12:33:55 -07:00
Mike Primm b937c4bf38 Add option to have Dynmap STFU during start (verbose: false)
Add softdep, authors, stats commands to plugin.yml
2011-06-26 14:31:40 -05:00
mikeprimm 54f5de4c2c Merge pull request #241 from mikeprimm/master
Change autogenerate-to-visbilitylimits to have 3 options: none, map-only, permanent
2011-06-25 14:07:57 -07:00
Mike Primm 39281188bc Change autogenerate-to-visibilitylimits to have options for map-only (temporary generated chunks) versus permanent (world growing)
Fix exception catching code in thread pool
2011-06-25 16:01:06 -05:00
mikeprimm 4678c53a48 Merge pull request #240 from mikeprimm/master
Add option to use visibilitylimits to define area to automatically prime chunk generation
2011-06-24 23:23:06 -07:00
Mike Primm 6dac7f0689 Add autogenerate-to-visibilitylimits option to allow automatic priming/generating of chunks within defined visibility area
Avoid rendering tiles with nothing but empty chunks
Limit size of hash-file cache, and move hash files to world-specific tile directories
2011-06-25 01:13:40 -05:00
mikeprimm 3310e07c9b Merge pull request #239 from mikeprimm/master
Add support for 'chunkgenerated' render trigger, now that CB has functional chunk generate events
2011-06-24 17:14:16 -07:00
Mike Primm 3674ba3786 Add support for now-functional chunk generate detection
(chunkgenerated render trigger)
2011-06-24 19:10:10 -05:00
mikeprimm f81dc8cdac Merge pull request #238 from mikeprimm/master
Fix bigworld+iso-maps+zoom-out issue with directory name logic inconsistency
2011-06-24 12:20:23 -07:00
Mike Primm f3ac3d9be4 Another bigworld+isomaps+zoom-out fix - directory name inconsistency 2011-06-24 14:18:21 -05:00
mikeprimm fcb865ea28 Merge pull request #237 from mikeprimm/master
Fix occasional broken zoom-out tiles due to hash code calculation error
2011-06-24 10:06:27 -07:00
Mike Primm 5bb3249dfe Fix hash code problem with zoomed-out tiles - caused incomplete
updates
2011-06-24 11:44:21 -05:00
mikeprimm eb12834ee3 Merge pull request #236 from mikeprimm/master
Add invalidate events to zoom out processing - avoids problems with linux file time resolution
2011-06-24 06:32:20 -07:00
Mike Primm 214fec208d Add queued update triggers for zoom-out updates - deals with file time
resolution issues on Linux (1 second is too long to be reliable)
2011-06-24 08:25:26 -05:00
mikeprimm ec948f980e Merge pull request #235 from mikeprimm/master
Add file hashing to reduce zoom-out tile recalc, fix bigworld support
2011-06-24 00:50:05 -07:00
Mike Primm d63db655d8 More tuning on zoom-out, fix zoomout on bigworld on iso-maps 2011-06-24 02:46:16 -05:00
mikeprimm 2ab7339381 Merge pull request #234 from mikeprimm/master
Per request, add 'trustclientname' option to sendMessage on InternalClientUpdaeComponent
2011-06-23 14:40:26 -07:00
Mike Primm c2ee0ebd42 Add requestion option to trust client-provided name in sendMessage for
internal web server
2011-06-23 16:35:17 -05:00
mikeprimm 654769af1e Merge pull request #233 from mikeprimm/master
Fix reported trap in Armor calculation when player has incomplete set of armor
2011-06-23 06:13:32 -07:00
Mike Primm 244419d686 Fix reported traps in Armor calculation when armor is incomplete - not
sure how this didn't happen more - possibly bukkit behavior change?
2011-06-23 08:08:33 -05:00
mikeprimm 6d6a5f4db0 Merge pull request #232 from mikeprimm/master
Add support for configurable extra zoom out levels on each world - generates more tiers of zoomed images
2011-06-22 23:10:35 -07:00
Mike Primm f722c6fdc8 Finish zoom out on normal and 'bigworld' mode, fix marker coordinates 2011-06-23 00:53:56 -05:00
Mike Primm 9db23444db Fix problem with coordinate offsets due to negative coordinate walk on
kzedmaps
2011-06-22 17:24:12 -05:00
Mike Primm 8e102446fe First pass UI support for extra zoom out levels 2011-06-22 16:43:41 -05:00
Mike Primm e7e4406e77 Finish rest of zoom out core logic - still need to finish web UI 2011-06-22 13:56:21 -05:00
Mike Primm bec1108fa1 Settable zoom out code - incomplete prototype 2011-06-22 08:27:21 -05:00
mikeprimm 42f4d4e4a6 Merge pull request #230 from mikeprimm/master
Add support for optional 'visibleregions' list attribute for regions component, to limit visible region population
2011-06-20 16:50:48 -07:00
Mike Primm a7c6a20dcc Add support for visibleregions list for regions component - limit
which regions are shown
2011-06-20 18:48:23 -05:00
mikeprimm 90bff11417 Merge pull request #229 from mikeprimm/master
Fix reading of webpath by regions component - load from top-level setting, instead of component local config
2011-06-20 15:36:18 -07:00
Mike Primm 2c3e8fbdc0 Fix reading of 'webpath' by Regions component - was reading its own
config instead of top-level one
2011-06-20 17:33:01 -05:00
mikeprimm 690be9d80a Merge pull request #228 from mikeprimm/master
Add delay-retry on image file writes, to recover from locked file exceptions from external web servers
2011-06-20 15:01:08 -07:00
Mike Primm e584e3202b Add delay-retry loop for handling temporarily locked image file writes 2011-06-20 16:58:07 -05:00
mikeprimm 427249b5a9 Merge pull request #226 from mikeprimm/master
Add support for biome-data-based shading on surface map renderer
2011-06-20 14:11:42 -07:00
Mike Primm 6efbf3a3df Update biomecolored to support biome-type-based,
biome-temperature-based and biome-rainfail-based shading
2011-06-20 16:00:28 -05:00
Mike Primm edf7d4f5c8 Add biome-based coloring option for surface map 2011-06-20 00:09:22 -05:00
mikeprimm 287d3cbe63 Merge pull request #225 from mikeprimm/master
Add support for throttling chunk load rate, splitting tile loads across multiple server ticks if needed
2011-06-18 17:50:26 -07:00
Mike Primm 2bc9b410a6 Add support for throttling chunk load rate, spreading over ticks 2011-06-18 19:43:47 -05:00
mikeprimm 6ecb271576 Merge pull request #224 from mikeprimm/master
Alter 'textured' setting on flat map to have 'none'/'smooth'/'dither' choices
2011-06-18 14:11:00 -07:00
Mike Primm 8b35f4d3b7 Alter 'textured' setting for flat map to have none/smooth/dither opts 2011-06-18 16:05:47 -05:00
mikeprimm 4a9eb76944 Merge pull request #220 from mikeprimm/master
Add 'textured' option to Flat render - when set, causes color dither to match surface map (looks more consistent)
2011-06-16 22:14:43 -07:00
Mike Primm e18ab1a880 Add 'textured' option for Flat - matches color scheme tone better 2011-06-17 00:08:13 -05:00
mikeprimm fa34aafabe Merge pull request #219 from mikeprimm/master
Support defining visibility limits on each world, and selectiong methods for how to present hidden areas
2011-06-16 21:45:22 -07:00
Mike Primm ffc08173b4 Add support for limiting visible areas on each world, selective fill
of hidden areas (air, stone, ocean)
2011-06-16 23:37:28 -05:00
mikeprimm 4fdcc0bf92 Merge pull request #218 from mikeprimm/master
Report output from fullrender to command sender, not log
2011-06-16 00:01:10 -07:00
Mike Primm 81dbb8483f Merge remote branch 'upstream/master' 2011-06-16 01:58:38 -05:00
Mike Primm fa33977469 Log fullrender messages to commandsender, versus just log 2011-06-16 01:58:12 -05:00
mikeprimm 5bd7c64c97 Merge pull request #217 from mikeprimm/master
MAKE IE SUCK LESS!
2011-06-15 11:50:07 -07:00
mikeprimm 095f7b5338 Make IE happy (or, at least, suck much less) by providing a valid background color! 2011-06-15 11:45:59 -07:00
mikeprimm 0b735eba40 Merge pull request #216 from mikeprimm/master
Support new Bukkit ChunkSnapshot API, maintain legacy chunksnapshot support
2011-06-14 23:42:57 -07:00
Mike Primm 0b7bd72231 Merge remote branch 'upstream/master' 2011-06-15 01:40:42 -05:00
Mike Primm b1d1075dfe Add support for ChunkSnapshot API (CB860), maintain legacy support too 2011-06-15 01:27:59 -05:00
mikeprimm 8b730dc543 Merge pull request #215 from mikeprimm/master
Prevent chat balloons being shown when speaking player is not on currently shown world
2011-06-14 15:59:15 -07:00
Mike Primm dc74901638 Clean up linefeed changes... 2011-06-14 17:57:51 -05:00
mikeprimm 5115c587ff Merge pull request #214 from mikeprimm/master
Add support for new render triggers - snowform, blockburn, leavesdecay
2011-06-13 21:22:42 -07:00
Mike Primm 9286cfff66 Add blockburn, snowform, leavesdecay render events 2011-06-13 23:19:02 -05:00
mikeprimm 2c66044550 Merge pull request #213 from mikeprimm/master
Clean up random compile warnings
2011-06-13 20:08:20 -07:00
Mike Primm 2f22560f3d Clean up warnings 2011-06-13 22:05:14 -05:00
mikeprimm 1eb9789780 Merge pull request #212 from mikeprimm/master
Add support for alternate tile directory structure, to better support huge worlds
2011-06-13 19:50:53 -07:00
Mike Primm 0cf7b4be9b Add alternate directory structure to better support huge worlds 2011-06-13 21:43:02 -05:00
FrozenCow b19d8f8745 Fixed urls for php and aspx proxies. 2011-06-13 23:37:35 +02:00
FrozenCow 864d815bc4 Changed version to 0.19. 2011-06-13 21:12:35 +02:00
280 changed files with 23645 additions and 2950 deletions
+9
View File
@@ -22,6 +22,15 @@
<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>
+108 -2
View File
@@ -30,8 +30,13 @@ 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
Wood - Normal
17 102 81 51 255 125 102 63 255 78 64 39 255 40 32 20 255
17:0 102 81 51 255 125 102 63 255 78 64 39 255 40 32 20 255
Wood - Spruce (Red/dark wood)
17:1 75 44 24 255 125 102 63 255 78 64 39 255 30 18 10 255
Wood - Birch (light wood)
17:2 191 191 191 255 125 102 63 255 78 64 39 255 76 76 76 255
Leaves
18 60 192 41 100 48 153 32 100 30 96 20 100 24 76 16 100
Sponge
@@ -54,12 +59,18 @@ 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
@@ -108,21 +119,31 @@ Iron Block
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
43:6 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
Double Stone Slab - Brick
43:4 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
Double Stone Slab - Stone Brick
43:5 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 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
44:6 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
Stone Slab - Brick
44:4 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
Stone Slab - Stone Brick
44:5 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
Brick
45 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
TNT
@@ -141,6 +162,7 @@ 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
53:4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Chest
54 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Redstone Wire
@@ -227,3 +249,87 @@ 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
Stone - Sliverfish
97 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Stone Brick
98 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Huge Brown Mushroom
99 204 153 120 255 145 109 85 255 114 86 67 255 73 64 58 255
Huge Red Mushroom
100 255 43 43 255 196 29 38 255 186 105 109 255 124 64 64 255
Iron Bars
101 191 191 191 96 152 152 152 96 95 95 95 96 76 76 76 96
Glass Pane
102 255 255 255 64 204 204 204 64 127 127 127 64 102 102 102 64
Melon
103 193 193 65 255 174 174 47 255 97 97 5 255 76 76 20 255
Pumpkin Stem
104 146 192 0 255 116 153 0 255 73 96 0 255 58 76 0 255
Melon Stem
105 146 192 0 255 116 153 0 255 73 96 0 255 58 76 0 255
Vines
106 60 192 41 100 48 153 32 100 30 96 20 100 24 76 16 100
Fence Gate
107 127 98 49 96 95 72 33 96 48 34 9 96 32 21 21 96
Brick Stairs
108 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
Stone Stairs
109 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Mycelium
110 110 98 104 255 88 78 83 255 55 49 52 255 44 39 42 255
Lilly pad
111 117 176 73 255 93 140 58 255 58 88 36 255 46 70 29 255
Nether brick
112 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
Nether brick fence
113 166 89 89 96 141 80 62 96 135 15 15 96 96 6 6 96
Nether brick stairs
114 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
Nether Wart
115 142 19 21 96 113 15 17 96 71 10 10 96 57 7 8 96
Enchantment table
116 88 23 22 255 29 10 16 255 17 7 10 255 15 5 8 255
Brewing stand
117 114 114 114 96 91 91 91 96 67 67 67 96 46 46 46 96
Cauldron
118 74 74 74 255 59 59 59 255 37 37 37 255 30 30 30 255
Air portal
119 26 11 43 255 20 8 34 255 13 5 21 255 10 4 17 255
Air portal frame
120 113 133 104 255 90 106 83 255 56 66 52 255 45 54 42 255
White stone
121 224 226 169 255 179 180 135 255 112 113 85 255 90 90 66 255
Dragon Egg
122 26 11 43 255 20 8 34 255 13 5 21 255 10 4 17 255
Biome Mapping
[RAINFOREST] 49 67 21 255 39 54 17 255 25 34 11 255 20 27 8 255
[SWAMPLAND] 64 128 0 255 51 102 0 255 32 64 0 255 26 51 0 255
[SEASONAL_FOREST] 51 165 42 255 41 132 34 255 26 83 21 255 20 66 17 255
[FOREST] 0 128 64 255 0 102 51 255 0 64 32 255 0 51 26 255
[SAVANNA] 58 58 58 255 46 46 46 255 29 29 29 255 23 23 23 255
[SHRUBLAND] 170 158 24 255 136 126 19 255 85 79 12 255 68 63 10 255
[TAIGA] 204 255 102 255 163 204 82 255 102 128 51 255 82 102 41 255
[DESERT] 255 255 102 255 204 204 82 255 128 128 51 255 102 102 41 255
[PLAINS] 255 204 102 255 204 163 82 255 128 102 51 255 102 82 41 255
[ICE_DESERT] 26 33 103 255 21 26 82 255 13 17 52 255 10 13 41 255
[TUNDRA] 222 222 222 255 178 178 178 255 111 111 111 255 89 89 89 255
[HELL] 255 0 0 255 204 0 0 255 128 0 0 255 102 0 0 255
[SKY] 102 204 255 255 82 163 204 255 51 102 128 255 41 82 102 255
[OCEAN] 0 0 255 255 0 0 204 255 0 0 128 255 0 0 102 255
[RIVER] 0 128 255 255 0 102 204 255 0 64 128 255 0 51 102 255
[EXTREME_HILLS] 128 64 0 255 102 51 0 255 64 32 0 255 51 26 0 255
[FROZEN_OCEAN] 102 255 204 255 82 204 163 255 51 128 102 255 41 102 82 255
[FROZEN_RIVER] 102 102 255 255 82 82 204 255 51 51 128 255 41 41 102 255
[ICE_PLAINS] 102 255 255 255 82 204 204 255 51 128 128 255 41 102 102 255
[ICE_MOUNTAINS] 255 255 255 255 204 204 204 255 128 128 128 255 102 102 102 255
[MUSHROOM_ISLAND] 255 111 207 255 204 89 166 255 128 56 104 255 102 44 83 255
[MUSHROOM_SHORE] 255 0 128 255 204 0 102 255 128 0 64 255 102 0 51 255
Rainfall/Temperature Mapping
[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
+108 -2
View File
@@ -30,8 +30,13 @@ 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
Wood - Normal
17 102 81 51 255 125 102 63 255 78 64 39 255 40 32 20 255
17:0 102 81 51 255 125 102 63 255 78 64 39 255 40 32 20 255
Wood - Spruce (Red/dark wood)
17:1 75 44 24 255 125 102 63 255 78 64 39 255 30 18 10 255
Wood - Birch (light wood)
17:2 191 191 191 255 125 102 63 255 78 64 39 255 76 76 76 255
Leaves
18 27 69 37 180 22 57 31 180 19 48 25 180 22 57 31 180
Sponge
@@ -54,12 +59,18 @@ 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
@@ -108,21 +119,31 @@ Iron Block
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
43:6 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
Double Stone Slab - Brick
43:4 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
Double Stone Slab - Stone Brick
43:5 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 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
44:6 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
Stone Slab - Brick
44:4 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
Stone Slab - Stone Brick
44:5 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
Brick
45 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
TNT
@@ -141,6 +162,7 @@ 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
53:4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Chest
54 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Redstone Wire
@@ -227,3 +249,87 @@ 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
Stone - Sliverfish
97 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Stone Brick
98 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Huge Brown Mushroom
99 204 153 120 255 145 109 85 255 114 86 67 255 73 64 58 255
Huge Red Mushroom
100 255 43 43 255 196 29 38 255 186 105 109 255 124 64 64 255
Iron Bars
101 191 191 191 96 152 152 152 96 95 95 95 96 76 76 76 96
Glass Pane
102 255 255 255 64 204 204 204 64 127 127 127 64 102 102 102 64
Melon
103 193 193 65 255 174 174 47 255 97 97 5 255 76 76 20 255
Pumpkin Stem
104 146 192 0 255 116 153 0 255 73 96 0 255 58 76 0 255
Melon Stem
105 146 192 0 255 116 153 0 255 73 96 0 255 58 76 0 255
Vines
106 60 192 41 100 48 153 32 100 30 96 20 100 24 76 16 100
Fence Gate
107 127 98 49 96 95 72 33 96 48 34 9 96 32 21 21 96
Brick Stairs
108 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
Stone Stairs
109 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Mycelium
110 110 98 104 255 88 78 83 255 55 49 52 255 44 39 42 255
Lilly pad
111 117 176 73 255 93 140 58 255 58 88 36 255 46 70 29 255
Nether brick
112 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
Nether brick fence
113 166 89 89 96 141 80 62 96 135 15 15 96 96 6 6 96
Nether brick stairs
114 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
Nether Wart
115 142 19 21 96 113 15 17 96 71 10 10 96 57 7 8 96
Enchantment table
116 88 23 22 255 29 10 16 255 17 7 10 255 15 5 8 255
Brewing stand
117 114 114 114 96 91 91 91 96 67 67 67 96 46 46 46 96
Cauldron
118 74 74 74 255 59 59 59 255 37 37 37 255 30 30 30 255
Air portal
119 26 11 43 255 20 8 34 255 13 5 21 255 10 4 17 255
Air portal frame
120 113 133 104 255 90 106 83 255 56 66 52 255 45 54 42 255
White stone
121 224 226 169 255 179 180 135 255 112 113 85 255 90 90 66 255
Dragon Egg
122 26 11 43 255 20 8 34 255 13 5 21 255 10 4 17 255
Biome Mapping
[RAINFOREST] 49 67 21 255 39 54 17 255 25 34 11 255 20 27 8 255
[SWAMPLAND] 64 128 0 255 51 102 0 255 32 64 0 255 26 51 0 255
[SEASONAL_FOREST] 51 165 42 255 41 132 34 255 26 83 21 255 20 66 17 255
[FOREST] 0 128 64 255 0 102 51 255 0 64 32 255 0 51 26 255
[SAVANNA] 58 58 58 255 46 46 46 255 29 29 29 255 23 23 23 255
[SHRUBLAND] 170 158 24 255 136 126 19 255 85 79 12 255 68 63 10 255
[TAIGA] 204 255 102 255 163 204 82 255 102 128 51 255 82 102 41 255
[DESERT] 255 255 102 255 204 204 82 255 128 128 51 255 102 102 41 255
[PLAINS] 255 204 102 255 204 163 82 255 128 102 51 255 102 82 41 255
[ICE_DESERT] 26 33 103 255 21 26 82 255 13 17 52 255 10 13 41 255
[TUNDRA] 222 222 222 255 178 178 178 255 111 111 111 255 89 89 89 255
[HELL] 255 0 0 255 204 0 0 255 128 0 0 255 102 0 0 255
[SKY] 102 204 255 255 82 163 204 255 51 102 128 255 41 82 102 255
[OCEAN] 0 0 255 255 0 0 204 255 0 0 128 255 0 0 102 255
[RIVER] 0 128 255 255 0 102 204 255 0 64 128 255 0 51 102 255
[EXTREME_HILLS] 128 64 0 255 102 51 0 255 64 32 0 255 51 26 0 255
[FROZEN_OCEAN] 102 255 204 255 82 204 163 255 51 128 102 255 41 102 82 255
[FROZEN_RIVER] 102 102 255 255 82 82 204 255 51 51 128 255 41 41 102 255
[ICE_PLAINS] 102 255 255 255 82 204 204 255 51 128 128 255 41 102 102 255
[ICE_MOUNTAINS] 255 255 255 255 204 204 204 255 128 128 128 255 102 102 102 255
[MUSHROOM_ISLAND] 255 111 207 255 204 89 166 255 128 56 104 255 102 44 83 255
[MUSHROOM_SHORE] 255 0 128 255 204 0 102 255 128 0 64 255 102 0 51 255
Rainfall/Temperature Mapping
[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
+108 -3
View File
@@ -30,8 +30,13 @@ 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
Wood - Normal
17 102 81 51 255 125 102 63 255 78 64 39 255 40 32 20 255
17:0 102 81 51 255 125 102 63 255 78 64 39 255 40 32 20 255
Wood - Spruce (Red/dark wood)
17:1 75 44 24 255 125 102 63 255 78 64 39 255 30 18 10 255
Wood - Birch (light wood)
17:2 191 191 191 255 125 102 63 255 78 64 39 255 76 76 76 255
Leaves
18 47 99 32 255 34 86 20 255 24 66 14 255 23 57 13 255
Sponge
@@ -54,12 +59,18 @@ 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
@@ -108,21 +119,31 @@ Iron Block
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
43:6 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
Double Stone Slab - Brick
43:4 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
Double Stone Slab - Stone Brick
43:5 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 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
44:6 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
Stone Slab - Brick
44:4 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
Stone Slab - Stone Brick
44:5 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
Brick
45 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
TNT
@@ -141,6 +162,7 @@ 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
53:4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Chest
54 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Redstone Wire
@@ -227,4 +249,87 @@ 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
Stone - Sliverfish
97 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Stone Brick
98 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Huge Brown Mushroom
99 204 153 120 255 145 109 85 255 114 86 67 255 73 64 58 255
Huge Red Mushroom
100 255 43 43 255 196 29 38 255 186 105 109 255 124 64 64 255
Iron Bars
101 191 191 191 96 152 152 152 96 95 95 95 96 76 76 76 96
Glass Pane
102 255 255 255 64 204 204 204 64 127 127 127 64 102 102 102 64
Melon
103 193 193 65 255 174 174 47 255 97 97 5 255 76 76 20 255
Pumpkin Stem
104 146 192 0 255 116 153 0 255 73 96 0 255 58 76 0 255
Melon Stem
105 146 192 0 255 116 153 0 255 73 96 0 255 58 76 0 255
Vines
106 60 192 41 100 48 153 32 100 30 96 20 100 24 76 16 100
Fence Gate
107 127 98 49 96 95 72 33 96 48 34 9 96 32 21 21 96
Brick Stairs
108 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
Stone Stairs
109 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Mycelium
110 110 98 104 255 88 78 83 255 55 49 52 255 44 39 42 255
Lilly pad
111 117 176 73 255 93 140 58 255 58 88 36 255 46 70 29 255
Nether brick
112 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
Nether brick fence
113 166 89 89 96 141 80 62 96 135 15 15 96 96 6 6 96
Nether brick stairs
114 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
Nether Wart
115 142 19 21 96 113 15 17 96 71 10 10 96 57 7 8 96
Enchantment table
116 88 23 22 255 29 10 16 255 17 7 10 255 15 5 8 255
Brewing stand
117 114 114 114 96 91 91 91 96 67 67 67 96 46 46 46 96
Cauldron
118 74 74 74 255 59 59 59 255 37 37 37 255 30 30 30 255
Air portal
119 26 11 43 255 20 8 34 255 13 5 21 255 10 4 17 255
Air portal frame
120 113 133 104 255 90 106 83 255 56 66 52 255 45 54 42 255
White stone
121 224 226 169 255 179 180 135 255 112 113 85 255 90 90 66 255
Dragon Egg
122 26 11 43 255 20 8 34 255 13 5 21 255 10 4 17 255
Biome Mapping
[RAINFOREST] 49 67 21 255 39 54 17 255 25 34 11 255 20 27 8 255
[SWAMPLAND] 64 128 0 255 51 102 0 255 32 64 0 255 26 51 0 255
[SEASONAL_FOREST] 51 165 42 255 41 132 34 255 26 83 21 255 20 66 17 255
[FOREST] 0 128 64 255 0 102 51 255 0 64 32 255 0 51 26 255
[SAVANNA] 58 58 58 255 46 46 46 255 29 29 29 255 23 23 23 255
[SHRUBLAND] 170 158 24 255 136 126 19 255 85 79 12 255 68 63 10 255
[TAIGA] 204 255 102 255 163 204 82 255 102 128 51 255 82 102 41 255
[DESERT] 255 255 102 255 204 204 82 255 128 128 51 255 102 102 41 255
[PLAINS] 255 204 102 255 204 163 82 255 128 102 51 255 102 82 41 255
[ICE_DESERT] 26 33 103 255 21 26 82 255 13 17 52 255 10 13 41 255
[TUNDRA] 222 222 222 255 178 178 178 255 111 111 111 255 89 89 89 255
[HELL] 255 0 0 255 204 0 0 255 128 0 0 255 102 0 0 255
[SKY] 102 204 255 255 82 163 204 255 51 102 128 255 41 82 102 255
[OCEAN] 0 0 255 255 0 0 204 255 0 0 128 255 0 0 102 255
[RIVER] 0 128 255 255 0 102 204 255 0 64 128 255 0 51 102 255
[EXTREME_HILLS] 128 64 0 255 102 51 0 255 64 32 0 255 51 26 0 255
[FROZEN_OCEAN] 102 255 204 255 82 204 163 255 51 128 102 255 41 102 82 255
[FROZEN_RIVER] 102 102 255 255 82 82 204 255 51 51 128 255 41 41 102 255
[ICE_PLAINS] 102 255 255 255 82 204 204 255 51 128 128 255 41 102 102 255
[ICE_MOUNTAINS] 255 255 255 255 204 204 204 255 128 128 128 255 102 102 102 255
[MUSHROOM_ISLAND] 255 111 207 255 204 89 166 255 128 56 104 255 102 44 83 255
[MUSHROOM_SHORE] 255 0 128 255 204 0 102 255 128 0 64 255 102 0 51 255
Rainfall/Temperature Mapping
[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
+72 -1
View File
@@ -14,6 +14,9 @@
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
17:0 119 97 74 255 99 81 62 255 83 68 52 255 99 81 62 255
17:1 75 44 24 255 125 102 63 255 78 64 39 255 30 18 10 255
17:2 191 191 191 255 125 102 63 255 78 64 39 255 76 76 76 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
@@ -25,9 +28,12 @@
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
@@ -56,11 +62,17 @@
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
43:4 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
43:5 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
43:6 122 112 99 255 101 93 82 255 85 78 69 255 101 93 82 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
44:4 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
44:5 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
44:6 122 112 99 254 101 93 82 254 85 78 69 254 101 93 82 254
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
@@ -70,6 +82,7 @@
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
53:4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
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
@@ -112,4 +125,62 @@
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
96 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
97 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
98 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
99 204 153 120 255 145 109 85 255 114 86 67 255 73 64 58 255
100 255 43 43 255 196 29 38 255 186 105 109 255 124 64 64 255
101 191 191 191 96 152 152 152 96 95 95 95 96 76 76 76 96
102 255 255 255 64 204 204 204 64 127 127 127 64 102 102 102 64
103 193 193 65 255 174 174 47 255 97 97 5 255 76 76 20 255
104 146 192 0 255 116 153 0 255 73 96 0 255 58 76 0 255
105 146 192 0 255 116 153 0 255 73 96 0 255 58 76 0 255
106 60 192 41 100 48 153 32 100 30 96 20 100 24 76 16 100
107 127 98 49 96 95 72 33 96 48 34 9 96 32 21 21 96
108 170 86 62 255 136 68 49 255 85 43 31 255 68 34 24 255
109 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
110 110 98 104 255 88 78 83 255 55 49 52 255 44 39 42 255
111 117 176 73 255 93 140 58 255 58 88 36 255 46 70 29 255
112 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
113 166 89 89 96 141 80 62 96 135 15 15 96 96 6 6 96
114 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
115 142 19 21 96 113 15 17 96 71 10 10 96 57 7 8 96
116 88 23 22 255 29 10 16 255 17 7 10 255 15 5 8 255
117 114 114 114 96 91 91 91 96 67 67 67 96 46 46 46 96
118 74 74 74 255 59 59 59 255 37 37 37 255 30 30 30 255
119 26 11 43 255 20 8 34 255 13 5 21 255 10 4 17 255
120 113 133 104 255 90 106 83 255 56 66 52 255 45 54 42 255
121 224 226 169 255 179 180 135 255 112 113 85 255 90 90 66 255
122 26 11 43 255 20 8 34 255 13 5 21 255 10 4 17 255
Biome Mapping
[RAINFOREST] 49 67 21 255 39 54 17 255 25 34 11 255 20 27 8 255
[SWAMPLAND] 64 128 0 255 51 102 0 255 32 64 0 255 26 51 0 255
[SEASONAL_FOREST] 51 165 42 255 41 132 34 255 26 83 21 255 20 66 17 255
[FOREST] 0 128 64 255 0 102 51 255 0 64 32 255 0 51 26 255
[SAVANNA] 58 58 58 255 46 46 46 255 29 29 29 255 23 23 23 255
[SHRUBLAND] 170 158 24 255 136 126 19 255 85 79 12 255 68 63 10 255
[TAIGA] 204 255 102 255 163 204 82 255 102 128 51 255 82 102 41 255
[DESERT] 255 255 102 255 204 204 82 255 128 128 51 255 102 102 41 255
[PLAINS] 255 204 102 255 204 163 82 255 128 102 51 255 102 82 41 255
[ICE_DESERT] 26 33 103 255 21 26 82 255 13 17 52 255 10 13 41 255
[TUNDRA] 222 222 222 255 178 178 178 255 111 111 111 255 89 89 89 255
[HELL] 255 0 0 255 204 0 0 255 128 0 0 255 102 0 0 255
[SKY] 102 204 255 255 82 163 204 255 51 102 128 255 41 82 102 255
[OCEAN] 0 0 255 255 0 0 204 255 0 0 128 255 0 0 102 255
[RIVER] 0 128 255 255 0 102 204 255 0 64 128 255 0 51 102 255
[EXTREME_HILLS] 128 64 0 255 102 51 0 255 64 32 0 255 51 26 0 255
[FROZEN_OCEAN] 102 255 204 255 82 204 163 255 51 128 102 255 41 102 82 255
[FROZEN_RIVER] 102 102 255 255 82 82 204 255 51 51 128 255 41 41 102 255
[ICE_PLAINS] 102 255 255 255 82 204 204 255 51 128 128 255 41 102 102 255
[ICE_MOUNTAINS] 255 255 255 255 204 204 204 255 128 128 128 255 102 102 102 255
[MUSHROOM_ISLAND] 255 111 207 255 204 89 166 255 128 56 104 255 102 44 83 255
[MUSHROOM_SHORE] 255 0 128 255 204 0 102 255 128 0 64 255 102 0 51 255
Rainfall/Temperature Mapping
[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
-354
View File
@@ -1,354 +0,0 @@
# All paths in this configuration file are relative to Dynmap's data-folder: minecraft_server/plugins/dynmap/
components:
- class: org.dynmap.ClientConfigurationComponent
- class: org.dynmap.InternalClientUpdateComponent
sendhealth: true
sendposition: true
allowwebchat: true
webchat-interval: 5
hidewebchatip: false
#- class: org.dynmap.JsonFileClientUpdateComponent
# writeinterval: 1
# sendhealth: true
# sendposition: true
# allowwebchat: false
# hidewebchatip: false
- class: org.dynmap.SimpleWebChatComponent
allowchat: true
#- class: org.dynmap.herochat.HeroWebChatComponent
# # Control which HeroChat channel messages from web are directed to
# herochatwebchannel: Global
# # Control which channels are monitored and reported to the web
# herochatchannels:
# - Global
# #- Trade
# #- Haggle
- class: org.dynmap.ClientComponent
type: chat
- class: org.dynmap.ClientComponent
type: chatballoon
focuschatballoons: false
- class: org.dynmap.ClientComponent
type: chatbox
showplayerfaces: true
messagettl: 5
- class: org.dynmap.ClientComponent
type: playermarkers
showplayerfaces: true
showplayerhealth: true
#- class: org.dynmap.ClientComponent
# type: digitalclock
- class: org.dynmap.ClientComponent
type: timeofdayclock
showdigitalclock: true
#showweather: true
#- class: org.dynmap.regions.RegionsComponent
# type: regions
# name: WorldGuard
# useworldpath: true
# filename: regions.yml
# basenode: regions
# use3dregions: true
# infowindow: '<div class="infowindow"><span style="font-size:120%;">%regionname% - %priority% (%parent%)</span><br /> Owners <span style="font-weight:bold;">%playerowners% %groupowners%</span><br />Members <span style="font-weight:bold;">%playermembers% %groupmembers%</span><br />Flags<br /><span style="font-weight:bold;">%flags%</span></div>'
# regionstyle:
# strokeColor: "#FF0000"
# strokeOpacity: 0.8
# strokeWeight: 3
# fillColor: "#FF0000"
# fillOpacity: 0.35
#- class: org.dynmap.TestComponent
# stuff: "This is some configuration-value"
# Treat hiddenplayers.txt as a whitelist for players to be shown on the map? (Default false)
display-whitelist: false
# How often a tile gets rendered (in seconds).
renderinterval: 1
# Tile hashing is used to minimize tile file updates when no changes have occurred - set to false to disable
enabletilehash: true
render-triggers:
# - chunkloaded
# - playermove
# - playerjoin
- blockplaced
- blockbreak
# The path where the tile-files are placed.
tilespath: web/tiles
# The path where the web-files are located.
webpath: web
# The network-interface the webserver will bind to (0.0.0.0 for all interfaces, 127.0.0.1 for only local access).
webserver-bindaddress: 0.0.0.0
# The TCP-port the webserver will listen on.
webserver-port: 8123
# Disables Webserver portion of Dynmap (Advanced users only)
disable-webserver: false
# Period between tile renders for fullrender, in seconds (non-zero to pace fullrenders, lessen CPU load)
timesliceinterval: 0.0
# Interval the browser should poll for updates.
updaterate: 2000
showplayerfacesinmenu: true
# Set sidebaropened: true to pin menu sidebar opened
#sidebaropened: true
joinmessage: "%playername% joined"
quitmessage: "%playername% quit"
spammessage: "You may only chat once every %interval% seconds."
webprefix: "§2[WEB] "
websuffix: "§f"
defaultzoom: 0
defaultworld: world
# template world - this is used for worlds that exist but aren't defined in the worlds section.
# Also, it supplies the "maps" section for worlds lacking a maps section, and the "center"
# for worlds lacking a "center" section.
templates:
# Template for normal world
normal:
enabled: true
center:
x: 0
y: 64
z: 0
maps:
- class: org.dynmap.flat.FlatMap
name: flat
title: "Flat"
prefix: flat
colorscheme: default
# To render a world as a "night view", set shadowstrength and ambientlight
# shadowstrength: 1.0
# ambientlight: 4
# To render both night and day versions of tiles (when ambientlight is set), set true
# night-and-day: true
# Option to turn on transparency support (off by default) - slows render
# transparency: true
# Background color for map during the day
# backgroundday: "#153E7E"
# Background color for map during the night
# backgroundnight: "#000000"
# Backgrounc color for map (independent of night/day)
# background: "#000000"
- class: org.dynmap.kzedmap.KzedMap
renderers:
- class: org.dynmap.kzedmap.DefaultTileRenderer
name: surface
title: "Surface"
prefix: t
maximumheight: 127
colorscheme: default
# Add shadows to world (based on top-down shadows from chunk data)
# shadowstrength: 1.0
# To render a world as a "night view", set shadowstrength and ambientlight
# ambientlight: 4
# To render both night and day versions of tiles (when ambientlight is set), set true
# night-and-day: true
# Option to turn off transparency support (on by default) - speeds render
# transparency: false
# Background color for map during the day
# backgroundday: "#153E7E"
# Background color for map during the night
# backgroundnight: "#000000"
# Backgrounc color for map (independent of night/day)
# background: "#000000"
# Sets the icon to 'images/block_custom.png'
# icon: custom
#- class: org.dynmap.kzedmap.HighlightTileRenderer
# prefix: ht
# maximumheight: 127
# colorscheme: default
# highlight: # For highlighting multiple block-types.
# - 56 # Highlight diamond-ore
# - 66 # Highlight minecart track
# highlight: 56 # For highlighting a single block-type.
- class: org.dynmap.kzedmap.CaveTileRenderer
name: cave
title: "Cave"
prefix: ct
maximumheight: 127
# Nether world template
nether:
enabled: true
center:
x: 0
y: 64
z: 0
maps:
- class: org.dynmap.flat.FlatMap
name: flat
title: "Flat"
prefix: flat
colorscheme: default
# Map background color (day or night)
background: "#300806"
- class: org.dynmap.kzedmap.KzedMap
renderers:
- class: org.dynmap.kzedmap.DefaultTileRenderer
name: nether
title: "Surface"
prefix: nt
maximumheight: 127
colorscheme: default
# Map background color (day or night)
background: "#300806"
# Skylands world template
skylands:
enabled: true
center:
x: 0
y: 64
z: 0
maps:
- class: org.dynmap.flat.FlatMap
name: flat
title: "Flat"
prefix: flat
colorscheme: default
# Background color for map during the day
backgroundday: "#153E7E"
# Background color for map during the night
backgroundnight: "#000000"
- class: org.dynmap.kzedmap.KzedMap
renderers:
- class: org.dynmap.kzedmap.DefaultTileRenderer
name: skylands
title: "Surface"
prefix: st
maximumheight: 127
colorscheme: default
# Background color for map during the day
backgroundday: "#153E7E"
# Background color for map during the night
backgroundnight: "#000000"
night-and-day: true
shadowstrength: 1.0
ambientlight: 4
# The maptypes Dynmap will use to render.
worlds:
# Worlds can be handled by templates, based on world type
# You can override the properties of the template by specifying them in this section
# for example 'Title: "My Awesome World"'
#- name: world
# title: "World"
# Use 'enabled: false' to disable a certain world.
# enabled: false
# Use sendposition: false to prevent player positions from showing when on this world (if sendposition is globally enabled)
# sendposition: false
# Use sendhealth: false ot prevent player health from showing when on this world (if sendhealth is globally enabled)
# sendhealth: false
# # If world isn't contiguous chunks (due to teleporting, for example), fullrender needs to be given other locations to scan for tiles on each patch of chunks
# fullrenderlocations:
# - x: 10000
# y: 64
# z: 20000
# - x: -15000
# y: 64
# z: -5000
# Use 'template: mycustomtemplate' to use the properties specified in the template 'mycustomtemplate' to this world. Default it is set to the environment-name (normal or nether).
# template: mycustomtemplate
# Rest of comes from template - uncomment to tailor for world specifically
# center:
# x: 0
# y: 64
# z: 0
# maps:
# - class: org.dynmap.flat.FlatMap
# name: flat
# title: "Flat"
# prefix: flat
# colorscheme: default
# # To render a world as a "night view", set shadowstrength and ambientlight
# # shadowstrength: 1.0
# # ambientlight: 4
# # To render both night and day versions of tiles (when ambientlight is set), set true
# # night-and-day: true
# # Option to turn on transparency support (off by default) - slows render
# # transparency: true
# # Background color for map during the day
# # backgroundday: "#153E7E"
# # Background color for map during the night
# # backgroundnight: "#000000"
# # Backgrounc color for map (independent of night/day)
# # background: "#000000"
# - class: org.dynmap.kzedmap.KzedMap
# renderers:
# - class: org.dynmap.kzedmap.DefaultTileRenderer
# name: surface
# title: "Surface"
# prefix: t
# maximumheight: 127
# colorscheme: default
# # Add shadows to world (based on top-down shadows from chunk data)
# # shadowstrength: 1.0
# # To render a world as a "night view", set shadowstrength and ambientlight
# # ambientlight: 4
# # To render both night and day versions of tiles (when ambientlight is set), set true
# # night-and-day: true
# # Option to turn off transparency support (on by default) - speeds render
# # transparency: false
# # Background color for map during the day
# # backgroundday: "#153E7E"
# # Background color for map during the night
# # backgroundnight: "#000000"
# # Backgrounc color for map (independent of night/day)
# # background: "#000000"
# # Sets the icon to 'images/block_custom.png'
# # icon: custom
# #- class: org.dynmap.kzedmap.HighlightTileRenderer
# # prefix: ht
# # maximumheight: 127
# # colorscheme: default
# # highlight: # For highlighting multiple block-types.
# # - 56 # Highlight diamond-ore
# # - 66 # Highlight minecart track
# # highlight: 56 # For highlighting a single block-type.
# - class: org.dynmap.kzedmap.CaveTileRenderer
# name: cave
# title: "Cave"
# prefix: ct
# maximumheight: 127
#
# To just label world, and inherit rest from template, just provide name and title
#- name: world2
# title: "Second World"
#
#- name: nether
# title: "Nether"
# center:
# x: 0
# y: 64
# z: 0
# maps:
# - class: org.dynmap.flat.FlatMap
# name: flat
# title: "Flat"
# prefix: flat
# colorscheme: default
# - class: org.dynmap.kzedmap.KzedMap
# renderers:
# - class: org.dynmap.kzedmap.DefaultTileRenderer
# name: nether
# title: "Surface"
# prefix: nt
# maximumheight: 127
# colorscheme: default
# Enables debugging.
#debuggers:
# - class: org.dynmap.debug.LogDebugger
+57 -5
View File
@@ -2,17 +2,36 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.dynmap</groupId>
<artifactId>dynmap</artifactId>
<version>0.18</version>
<version>0.28</version>
<name>dynmap</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<BUILD_NUMBER>dev</BUILD_NUMBER>
</properties>
<url>http://github.com/FrozenCow/dynmap/</url>
<url>http://github.com/webbukkit/dynmap/</url>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/FrozenCow/dynmap/issues</url>
<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>
@@ -23,12 +42,38 @@
<target>1.6</target>
</configuration>
</plugin>
<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>
</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>
@@ -40,7 +85,7 @@
</execution>
</executions>
</plugin>
</plugins>
</plugins>
</build>
<dependencies>
<dependency>
@@ -51,9 +96,16 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>[1.0.0-R1-SNAPSHOT,)</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.dynmap</groupId>
<artifactId>dynmap-api</artifactId>
<version>[0.25,)</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
+259
View File
@@ -0,0 +1,259 @@
# BuildCraft Block mapping
# define buildcraft-support: true in configuration.txt to enable
enabled:buildcraft-support
# Pipe - set render alg
linkmap:id=145,linkalg=5,linkid=146,linkid=147,linkid=148,linkid=149,linkid=156,linkid=159,linkid=166
linkmap:id=146,linkalg=5,linkid=145,linkid=146,linkid=147,linkid=148,linkid=149,linkid=156,linkid=159,linkid=166
linkmap:id=147,linkalg=5,linkid=145,linkid=146,linkid=147,linkid=148,linkid=149,linkid=156,linkid=159,linkid=166
linkmap:id=148,linkalg=5,linkid=145,linkid=146,linkid=147,linkid=149,linkid=156,linkid=159,linkid=166
linkmap:id=149,linkalg=5,linkid=145,linkid=146,linkid=147,linkid=148,linkid=149,linkid=156,linkid=159,linkid=166
linkmap:id=156,linkalg=5,linkid=145,linkid=146,linkid=147,linkid=148,linkid=149,linkid=159,linkid=166
linkmap:id=159,linkalg=5,linkid=145,linkid=146,linkid=147,linkid=148,linkid=149,linkid=156,linkid=159,linkid=166
linkmap:id=166,linkalg=5,linkid=145,linkid=146,linkid=147,linkid=148,linkid=149,linkid=156,linkid=159,linkid=166
# Frame
linkmap:id=160,linkalg=5,linkid=160
# Pipe - (data is faked: 1=north,2=east,4=south,8=west)
# Pipe - no neighbors
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=0,scale=4
layer:1,2
----
-**-
-**-
----
# Pipe - just north neighbor
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=1,scale=4
layer:1,2
-**-
-**-
-**-
----
# Pipe - just east neighbor
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=2,scale=4
rotate:id=145,data=1,rot=90
# Pipe - just south neighbor
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=4,scale=4
rotate:id=145,data=1,rot=180
# Pipe - just south neighbor
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=8,scale=4
rotate:id=145,data=1,rot=270
# Pipe - north and east neighbor
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=3,scale=4
layer:1,2
-**-
-***
-***
----
# Pipe - east and south neighbor
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=6,scale=4
rotate:id=145,data=3,rot=90
# Pipe - south and west neighbor
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=12,scale=4
rotate:id=145,data=3,rot=180
# Pipe - west and north neighbor
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=9,scale=4
rotate:id=145,data=3,rot=270
# Pipe - north and south neighbor
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=5,scale=4
layer:1,2
-**-
-**-
-**-
-**-
# Pipe - east and west neighbor
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=10,scale=4
rotate:id=145,data=5,rot=90
# Pipe - north, east and south neighbor
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=7,scale=4
layer:1,2
-**-
-***
-***
-**-
# Pipe - east, south and west neighbor
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=14,scale=4
rotate:id=145,data=7,rot=90
# Pipe - south, west and north neighbor
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=13,scale=4
rotate:id=145,data=7,rot=180
# Pipe - west, north and east neighbor
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=11,scale=4
rotate:id=145,data=7,rot=270
# Pipe - north, south, east, west neightbors
# Frame
block:id=145,id=146,id=147,id=148,id=149,id=156,id=159,id=166,id=160,data=15,scale=4
layer:1,2
-**-
****
****
-**-
# Drill - set render alg
linkmap:id=151,linkalg=5
# Drill - (data is faked: 1=north,2=east,4=south,8=west)
# Drill - no neighbors
block:id=151,data=0,scale=4
layer:0,1,2,3
----
-**-
-**-
----
# Drill - just north neighbor
block:id=151,data=1,scale=4
layer:0,3
----
-**-
-**-
----
layer:1,2
-**-
-**-
-**-
----
# Drill - just east neighbor
block:id=151,data=2,scale=4
rotate:id=151,data=1,rot=90
# Drill - just south neighbor
block:id=151,data=4,scale=4
rotate:id=151,data=1,rot=180
# Drill - just south neighbor
block:id=151,data=8,scale=4
rotate:id=151,data=1,rot=270
# Drill - north and east neighbor
block:id=151,data=3,scale=4
layer:0,3
----
-**-
-**-
----
layer:1,2
-**-
-***
-***
----
# Drill - east and south neighbor
block:id=151,data=6,scale=4
rotate:id=151,data=3,rot=90
# Drill - south and west neighbor
block:id=151,data=12,scale=4
rotate:id=151,data=3,rot=180
# Drill - west and north neighbor
block:id=151,data=9,scale=4
rotate:id=151,data=3,rot=270
# Drill - north and south neighbor
block:id=151,data=5,scale=4
layer:0,3
----
-**-
-**-
----
layer:1,2
-**-
-**-
-**-
-**-
# Drill - east and west neighbor
block:id=151,data=10,scale=4
rotate:id=151,data=5,rot=90
# Drill - north, east and south neighbor
block:id=151,data=7,scale=4
layer:0,3
----
-**-
-**-
----
layer:1,2
-**-
-***
-***
-**-
# Drill - east, south and west neighbor
block:id=151,data=14,scale=4
rotate:id=151,data=7,rot=90
# Drill - south, west and north neighbor
block:id=151,data=13,scale=4
rotate:id=151,data=7,rot=180
# Drill - west, north and east neighbor
block:id=151,data=11,scale=4
rotate:id=151,data=7,rot=270
# Drill - north, south, east, west neightbors
block:id=151,data=15,scale=4
layer:0,3
----
-**-
-**-
----
layer:1,2
-**-
****
****
-**-
# Marker
block:id=154,data=*,scale=8
layer:0,1,2,3,4,5,6,7
--------
--------
---**---
--****--
--****--
---**---
--------
--------
# Engine
block:id=161,data=*,scale=8
layer:2,3
********
********
********
********
********
********
********
********
layer:4,5,6,7
--------
--------
--****--
--****--
--****--
--****--
--------
--------
# Oil, flowing
block:id=162,data=*,scale=4
layer:0
****
****
****
****
# Oil
block:id=163,data=*,scale=4
layer:0,1
****
****
****
****
# Tank
block:id=165,data=*,scale=8
layer:0,1,2,3,4,5,6,7
--------
-******-
-******-
-******-
-******-
-******-
-******-
--------
+69
View File
@@ -0,0 +1,69 @@
# BuildCraft Block mapping
# define buildcraft-support: true in configuration.txt to enable
enabled:buildcraft-support
# Files
texturefile:id=blk,filename=buildcraft/block_textures.png,xcount=16,ycount=16
texturefile:id=wood,filename=buildcraft/base_wood.png,xcount=4,ycount=2
texturefile:id=iron,filename=buildcraft/base_iron.png,xcount=4,ycount=2
texturefile:id=stone,filename=buildcraft/base_stone.png,xcount=4,ycount=2
# WOODEN_PIPE_ID = 145
block:id=145,data=*,allfaces=16,txtid=blk,transparency=TRANSPARENT
# STONE_PIPE_ID = 146
block:id=146,data=*,allfaces=29,txtid=blk,transparency=TRANSPARENT
# IRON_PIPE_ID = 147
block:id=147,data=*,allfaces=19,txtid=blk,transparency=TRANSPARENT
# GOLDEN_PIPE_ID = 148
block:id=148,data=*,allfaces=20,txtid=blk,transparency=TRANSPARENT
# DIAMOND_PIPE_ID = 149
block:id=149,data=*,allfaces=21,txtid=blk,transparency=TRANSPARENT
# MINING_WELL_ID = 150
block:id=150,data=2,east=35,top=4036,north=37,south=37,west=38,bottom=38,txtid=blk
block:id=150,data=3,west=35,top=4036,north=37,south=37,east=38,bottom=38,txtid=blk
block:id=150,data=4,north=35,top=4036,east=37,west=37,south=38,bottom=38,txtid=blk
block:id=150,data=5,south=35,top=4036,east=37,west=37,north=38,bottom=38,txtid=blk
# DRILL_ID = 151
block:id=151,data=*,allfaces=32,txtid=blk,transparency=TRANSPARENT
# AUTO_WORKBENCH_ID = 152
block:id=152,data=*,allsides=44,topbottom=4043
# QUARRY_ID = 153
block:id=153,data=2,east=39,top=4040,north=38,south=38,west=38,bottom=38,txtid=blk
block:id=153,data=3,west=39,top=4040,north=38,south=38,east=38,bottom=38,txtid=blk
block:id=153,data=4,north=39,top=4040,east=38,west=38,south=38,bottom=38,txtid=blk
block:id=153,data=5,south=39,top=4040,east=38,west=38,north=38,bottom=38,txtid=blk
# MARKER_ID = 154
block:id=154,data=*,allsides=57,txtid=blk,transparency=TRANSPARENT
# FILLER_ID = 155
block:id=155,data=*,allsides=66,topbottom=4065,txtid=blk
# OBSIDIAN_PIPE_ID = 156
block:id=156,data=*,allfaces=28,txtid=blk,transparency=TRANSPARENT
# BUILDER_ID = 157
block:id=157,data=2,east=55,top=4054,north=3,south=3,west=3,bottom=3,txtid=blk
block:id=157,data=3,west=55,top=4054,north=3,south=3,east=3,bottom=3,txtid=blk
block:id=157,data=4,north=55,top=4054,east=3,west=3,south=3,bottom=3,txtid=blk
block:id=157,data=5,south=55,top=4054,east=3,west=3,north=3,bottom=3,txtid=blk
# TEMPLATE_ID = 158
block:id=158,data=2,east=52,top=4050,north=48,south=48,west=48,bottom=48,txtid=blk
block:id=158,data=3,west=52,top=4050,north=48,south=48,east=48,bottom=48,txtid=blk
block:id=158,data=4,north=52,top=4050,east=48,west=48,south=48,bottom=48,txtid=blk
block:id=158,data=5,south=52,top=4050,east=48,west=48,north=48,bottom=48,txtid=blk
# COBBLESTONE_PIPE_ID = 159
block:id=159,data=*,allfaces=17,txtid=blk,transparency=TRANSPARENT
# FRAME_ID = 160
block:id=160,data=*,allfaces=34,txtid=blk,transparency=TRANSPARENT
# ENGINE_ID = 161
block:id=161,data=0,north=8004,east=8005,south=8006,west=8007,top=1,bottom=2,txtid=wood
block:id=161,data=1,north=8004,east=8005,south=8006,west=8007,top=1,bottom=2,txtid=stone
block:id=161,data=2,north=8004,east=8005,south=8006,west=8007,top=1,bottom=2,txtid=iron
# OIL_MOVING_ID = 162
block:id=162,data=*,allfaces=223,txtid=blk
# OIL_STILL_ID = 163
block:id=163,data=*,allfaces=223,txtid=blk
# PUMP_ID = 164
block:id=164,data=*,allsides=99,top=4064,bottom=100,txtid=blk
# TANK_ID = 165
block:id=165,data=*,allsides=96,topbottom=98,txtid=blk,transparency=TRANSPARENT
# GENERIC_PIPE_ID = 166 : entity data based, so we can't handle it yet: just map to one type (iron)
block:id=166,data=*,allfaces=18,txtid=blk,transparency=TRANSPARENT
# REFINERY_ID = 167 - funky texture mapping - just do tank for now
block:id=167,data=*,allsides=96,topbottom=98,txtid=blk,transparency=TRANSPARENT
# DOCKING_STATION_ID = 168
+201
View File
@@ -0,0 +1,201 @@
# Industrial Craft 2 Texture mapping
# define ic2-support: true in configuration.txt to enable
enabled:ic2-support
# Wire - set render alg
linkmap:id=228,linkalg=5,linkid=223,linkid=225,linkid=226,linkid=227,linkid=228,linkid=233,linkid=237,linkid=246,linkid=250
# Wire - (data is faked: 1=north,2=east,4=south,8=west)
# Wire - no neighbors
block:id=228,data=0,scale=16
layer:5,6,7,8,9,10
----------------
----------------
----------------
----------------
----------------
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
----------------
----------------
----------------
----------------
----------------
# Wire - just north neighbor
block:id=228,data=1,scale=16
layer:5,6,7,8,9,10
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
----------------
----------------
----------------
----------------
----------------
# Wire - just east neighbor
block:id=228,data=2,scale=16
rotate:id=228,data=1,rot=90
# Wire - just south neighbor
block:id=228,id=113,data=4,scale=16
rotate:id=228,data=1,rot=180
# Wire - just south neighbor
block:id=228,data=8,scale=16
rotate:id=228,data=1,rot=270
# Wire - north and east neighbor
block:id=228,data=3,scale=16
layer:5,6,7,8,9,10
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----***********
-----***********
-----***********
-----***********
-----***********
----------------
----------------
----------------
----------------
----------------
# Wire - east and south neighbor
block:id=228,data=6,scale=16
rotate:id=228,data=3,rot=90
# Wire - south and west neighbor
block:id=228,data=12,scale=16
rotate:id=228,data=3,rot=180
# Wire - west and north neighbor
block:id=228,data=9,scale=16
rotate:id=228,data=3,rot=270
# Wire - north and south neighbor
block:id=228,data=5,scale=16
layer:5,6,7,8,9,10
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
# Wire - east and west neighbor
block:id=228,data=10,scale=16
rotate:id=228,data=5,rot=90
# Wire - north, east and south neighbor
block:id=228,data=7,scale=16
layer:5,6,7,8,9,10
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
-----***********
-----***********
-----***********
-----***********
-----***********
-----***********
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
# Wire - east, south and west neighbor
block:id=228,data=14,scale=16
rotate:id=228,data=7,rot=90
# Wire - south, west and north neighbor
block:id=228,data=13,scale=16
rotate:id=228,data=7,rot=180
# Wire - west, north and east neighbor
block:id=228,data=11,scale=16
rotate:id=228,data=7,rot=270
# Wire - north, south, east, west neightbors
block:id=228,data=15,scale=16
layer:5,6,7,8,9,10
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
****************
****************
****************
****************
****************
****************
-----******-----
-----******-----
-----******-----
-----******-----
-----******-----
# Iron Fence - set render algorithm
linkmap:id=232,linkalg=1
# Iron Fence - (data is faked: 1=north,2=east,4=south,8=west)
# Iron Fence - no neighbors
block:id=232,data=0,scale=16
rotate:id=85,data=0,rot=0
# Iron Fence - just north neighbor
block:id=232,data=1,scale=16
rotate:id=85,data=1,rot=0
# Iron Fence - just east neighbor
block:id=232,data=2,scale=16
rotate:id=232,data=1,rot=90
# Iron Fence - just south neighbor
block:id=232,data=4,scale=16
rotate:id=232,data=1,rot=180
# Iron Fence - just south neighbor
block:id=232,data=8,scale=16
rotate:id=232,data=1,rot=270
# Iron Fence - north and east neighbor
block:id=232,data=3,scale=16
rotate:id=85,data=3,rot=0
# Iron Fence - east and south neighbor
block:id=232,data=6,scale=16
rotate:id=232,data=3,rot=90
# Iron Fence - south and west neighbor
block:id=232,data=12,scale=16
rotate:id=85,data=3,rot=180
# Iron Fence - west and north neighbor
block:id=232,data=9,scale=16
rotate:id=85,data=3,rot=270
# Iron Fence - north and south neighbor
block:id=232,data=5,scale=16
rotate:id=85,data=5,rot=0
# Iron Fence - east and west neighbor
block:id=232,id=113,data=10,scale=16
rotate:id=232,data=5,rot=90
# Iron Fence - north, east and south neighbor
block:id=232,data=7,scale=16
rotate:id=85,data=7,rot=0
# Iron Fence - east, south and west neighbor
block:id=232,data=14,scale=16
rotate:id=232,data=7,rot=90
# Iron Fence - south, west and north neighbor
block:id=232,data=13,scale=16
rotate:id=232,data=7,rot=180
# Iron Fence - west, north and east neighbor
block:id=232,data=11,scale=16
rotate:id=232,data=7,rot=270
# Iron Fence - north, south, east, west neightbors
block:id=232,data=15,scale=16
rotate:id=232,data=15,rot=0
+197
View File
@@ -0,0 +1,197 @@
# Industrial Craft 2 Block mapping
# define ic2-support: true in configuration.txt to enable
enabled:ic2-support
# Files
texturefile:id=blk0,filename=ic2/sprites/block_0.png,xcount=16,ycount=16
texturefile:id=cable,filename=ic2/sprites/block_cable.png,xcount=16,ycount=16
texturefile:id=elec,filename=ic2/sprites/block_electric.png,xcount=16,ycount=16
texturefile:id=gen,filename=ic2/sprites/block_generator.png,xcount=16,ycount=16
texturefile:id=mach,filename=ic2/sprites/block_machine.png,xcount=16,ycount=16
texturefile:id=mach2,filename=ic2/sprites/block_machine2.png,xcount=16,ycount=16
texturefile:id=pers,filename=ic2/sprites/block_personal.png,xcount=16,ycount=16
# Blocks
# blockScaffold=220
# data=*
block:id=220,data=*,allsides=116,topbottom=117,txtid=blk0
# data=2
block:id=220,data=2,allfaces=118,txtid=blk0
# blockWall=221
# data=0
block:id=221,data=0,allfaces=96,txtid=blk0
# data=1
block:id=221,data=1,allfaces=97,txtid=blk0
# data=2
block:id=221,data=2,allfaces=98,txtid=blk0
# data=3
block:id=221,data=3,allfaces=99,txtid=blk0
# data=4
block:id=221,data=4,allfaces=100,txtid=blk0
# data=5
block:id=221,data=5,allfaces=101,txtid=blk0
# data=6
block:id=221,data=6,allfaces=102,txtid=blk0
# data=7
block:id=221,data=7,allfaces=103,txtid=blk0
# data=8
block:id=221,data=8,allfaces=104,txtid=blk0
# data=9
block:id=221,data=9,allfaces=105,txtid=blk0
# data=10
block:id=221,data=10,allfaces=106,txtid=blk0
# data=11
block:id=221,data=11,allfaces=107,txtid=blk0
# data=12
block:id=221,data=12,allfaces=108,txtid=blk0
# data=13
block:id=221,data=13,allfaces=109,txtid=blk0
# data=14
block:id=221,data=14,allfaces=110,txtid=blk0
# data=15
block:id=221,data=15,allfaces=111,txtid=blk0
# blockFoam=222
block:id=222,data=*,allfaces=37
# blockMachine2=223
# data=0
block:id=223,data=0,top=0,bottom=16,north=32,south=48,east=64,west=80,txtid=mach2
# data=1
block:id=223,data=1,top=1,bottom=17,north=33,south=49,east=65,west=81,txtid=mach2
# blockMetal=224
# data=0 (copper)
block:id=224,data=0,allfaces=93,txtid=blk0
# data=1 (tin)
block:id=224,data=1,allfaces=94,txtid=blk0
# data=2 (bronze)
block:id=224,data=2,allfaces=78,txtid=blk0
# data=3 (uranium)
block:id=224,data=3,topbottom=79,allsides=95,txtid=blk0
# blockPersonal=225
# data=0
block:id=225,data=0,bottom=0,top=16,north=32,south=48,east=64,west=80,txtid=pers
# data=1
block:id=225,data=1,bottom=1,top=17,north=33,south=49,east=65,west=81,txtid=pers
# blockLuminator=226
block:id=226,data=*,allfaces=31,txtid=blk0
# blockElectric=227
# data=0
block:id=227,data=0,bottom=0,top=16,north=32,south=48,east=64,west=80,txtid=elec
# data=1
block:id=227,data=1,bottom=1,top=17,north=33,south=49,east=65,west=81,txtid=elec
# data=2
block:id=227,data=2,bottom=2,top=18,north=34,south=50,east=66,west=82,txtid=elec
# data=3
block:id=227,data=3,bottom=3,top=19,north=35,south=51,east=67,west=83,txtid=elec
# data=4
block:id=227,data=4,bottom=4,top=20,north=36,south=52,east=68,west=84,txtid=elec
# data=5
block:id=227,data=5,bottom=5,top=21,north=37,south=53,east=69,west=85,txtid=elec
# blockCable=228
# data=0
block:id=228,data=0,allfaces=0,txtid=cable
# data=1
block:id=228,data=1,allfaces=16,txtid=cable
# data=2
block:id=228,data=2,allfaces=32,txtid=cable
# data=3
block:id=228,data=3,allfaces=48,txtid=cable
# data=4
block:id=228,data=4,allfaces=64,txtid=cable
# data=5
block:id=228,data=5,allfaces=80,txtid=cable
# data=6
block:id=228,data=6,allfaces=96,txtid=cable
# data=7
block:id=228,data=7,allfaces=112,txtid=cable
# data=8
block:id=228,data=8,allfaces=128,txtid=cable
# data=9
block:id=228,data=9,allfaces=144,txtid=cable
# data=10
block:id=228,data=10,allfaces=160,txtid=cable
# blockDoorAlloy=229
# data=0-7 (bottom)
block:id=229,data=0,data=1,data=2,data=3,data=4,data=5,data=6,data=7,allsides=15,topbottom=12,transparency=TRANSPARENT,txtid=blk0
# data=8-15 (top)
block:id=229,data=8,data=9,data=10,data=11,data=12,data=13,data=14,data=15,allsides=14,topbottom=12,transparency=TRANSPARENT,txtid=blk0
# blockAlloyGlass=230
block:id=230,data=*,allfaces=13,txtid=blk0,transparency=TRANSPARENT
# blockAlloy=231
block:id=231,data=*,allfaces=12,txtid=blk0
# blockFenceIron=232
block:id=232,data=*,allfaces=1,txtid=blk0,transparency=TRANSPARENT
# blockReactorChamber=233
block:id=233,data=*,bottom=16,top=17,allsides=67,txtid=blk0
# blockRubber=234
block:id=234,data=*,allfaces=40,txtid=blk0
# blockDynamiteRemote=235
block:id=235,data=*,allsides=56,txtid=blk0
# blockDynamite=236
block:id=236,data=*,allsides=57,txtid=blk0
# blockNuke=237
block:id=237,data=*,bottom=61,top=62,allsides=63,txtid=blk0
# ?=238
# blockITNT=239
block:id=239,data=*,bottom=58,top=59,allsides=60,txtid=blk0
# blockHarz=240
block:id=240,data=*,allfaces=43,txtid=blk0
# blockRubSapling=241
block:id=241,data=*,allsides=2038,transparency=TRANSPARENT,txtid=blk0
# blockRubLeaves=242
block:id=242,data=*,allfaces=2040,transparency=TRANSPARENT,txtid=blk0
# blockRubWood=243
block:id=243,data=*,topbottom=47,allsides=44,txtid=blk0
# blockMiningTip=244
block:id=244,data=*,allfaces=36,txtid=blk0
# blockMiningPipe=245
block:id=245,data=*,allfaces=35,txtid=blk0
# blockGenerator=246
# data=0
block:id=246,data=0,bottom=0,top=16,north=32,south=48,east=64,west=80,txtid=gen
# data=1
block:id=246,data=1,bottom=1,top=17,north=33,south=49,east=65,west=81,txtid=gen
# data=2
block:id=246,data=2,bottom=2,top=18,north=34,south=50,east=66,west=82,txtid=gen
# data=3
block:id=246,data=3,bottom=3,top=19,north=35,south=51,east=67,west=83,txtid=gen
# data=4
block:id=246,data=4,bottom=4,top=20,north=36,south=52,east=68,west=84,txtid=gen
# data=5
block:id=246,data=5,bottom=5,top=21,north=37,south=53,east=69,west=85,txtid=gen
# blockOreUran=247
block:id=247,data=*,allfaces=34,txtid=blk0
# blockOreTin=248
block:id=248,data=*,allfaces=33,txtid=blk0
# blockOreCopper=249
block:id=249,data=*,allfaces=32,txtid=blk0
# blockMachine=250
# data=0
block:id=250,data=0,bottom=0,top=16,north=32,south=48,east=64,west=80,txtid=mach
# data=1
block:id=250,data=1,bottom=1,top=17,north=33,south=49,east=65,west=81,txtid=mach
# data=2
block:id=250,data=2,bottom=2,top=18,north=34,south=50,east=66,west=82,txtid=mach
# data=3
block:id=250,data=3,bottom=3,top=19,north=35,south=51,east=67,west=83,txtid=mach
# data=4
block:id=250,data=4,bottom=4,top=20,north=36,south=52,east=68,west=84,txtid=mach
# data=5
block:id=250,data=5,bottom=5,top=21,north=37,south=53,east=69,west=85,txtid=mach
# data=6
block:id=250,data=6,bottom=6,top=22,north=38,south=54,east=70,west=86,txtid=mach
# data=7
block:id=250,data=7,bottom=7,top=23,north=39,south=55,east=71,west=87,txtid=mach
# data=8
block:id=250,data=8,bottom=8,top=24,north=40,south=56,east=72,west=88,txtid=mach
# data=9
block:id=250,data=9,bottom=9,top=25,north=41,south=57,east=73,west=89,txtid=mach
# data=10
block:id=250,data=10,bottom=10,top=26,north=42,south=58,east=74,west=90,txtid=mach
# data=11
block:id=250,data=11,bottom=11,top=27,north=43,south=59,east=75,west=91,txtid=mach
# data=12
block:id=250,data=12,bottom=12,top=28,north=44,south=60,east=76,west=92,txtid=mach
# data=13
block:id=250,data=13,bottom=13,top=29,north=45,south=61,east=77,west=93,txtid=mach
# data=14
block:id=250,data=14,bottom=14,top=30,north=46,south=62,east=78,west=94,txtid=mach
# data=15
block:id=250,data=15,bottom=15,top=31,north=47,south=63,east=79,west=95,txtid=mach
+21 -7
View File
@@ -15,23 +15,37 @@
<include>CHANGELOG*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/web/</directory>
<outputDirectory>/dynmap/web/</outputDirectory>
<includes>
<include>version.js</include>
</includes>
<filtered>true</filtered>
</fileSet>
<fileSet>
<directory>${project.basedir}/web</directory>
<outputDirectory>/dynmap/web</outputDirectory>
<excludes>
<exclude>version.js</exclude>
</excludes>
</fileSet>
<fileSet>
<directory>${project.basedir}/colorschemes</directory>
<outputDirectory>/dynmap/colorschemes</outputDirectory>
</fileSet>
<fileSet>
<directory>${project.basedir}</directory>
<outputDirectory>/dynmap/</outputDirectory>
<includes>
<include>configuration.txt</include></includes></fileSet>
<directory>${project.basedir}/texturepacks</directory>
<outputDirectory>/dynmap/texturepacks</outputDirectory></fileSet>
<fileSet>
<directory>${project.basedir}/renderdata</directory>
<outputDirectory>/dynmap/renderdata</outputDirectory></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>
+26 -12
View File
@@ -2,6 +2,8 @@ package org.dynmap;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory;
import org.bukkit.Material;
public class Armor {
/**
@@ -9,22 +11,34 @@ public class Armor {
* 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};
private static final int armorPoints[] = {3, 6, 8, 3};
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++) {
final short maxDurability = inventory[i].getType().getMaxDurability();
if(maxDurability < 0)
continue;
final short durability = inventory[i].getDurability();
baseDurability += maxDurability;
currentDurability += maxDurability - durability;
baseArmorPoints += armorPoints[i];
int baseArmorPoints = 0;
ItemStack[] itm = new ItemStack[4];
PlayerInventory inv = player.getInventory();
itm[0] = inv.getBoots();
itm[1]= inv.getLeggings();
itm[2] = inv.getChestplate();
itm[3] = inv.getHelmet();
for(int i = 0; i < 4; i++) {
if(itm[i] == null) continue;
int dur = itm[i].getDurability();
int max = itm[i].getType().getMaxDurability();
if(max <= 0) continue;
if(i == 2)
max = max + 1; /* Always 1 too low for chestplate */
else
max = max - 3; /* Always 3 too high, versus how client calculates it */
baseDurability += max;
currentDurability += max - dur;
baseArmorPoints += armorPoints[i];
}
return (int)(2*baseArmorPoints*currentDurability/baseDurability);
int ap = 0;
if(baseDurability > 0)
ap = ((baseArmorPoints - 1) * currentDurability) / baseDurability + 1;
return ap;
}
}
+73 -19
View File
@@ -1,51 +1,80 @@
package org.dynmap;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.NoSuchElementException;
import java.util.List;
import java.util.Set;
import java.util.concurrent.LinkedBlockingQueue;
public class AsynchronousQueue<T> {
private Object lock = new Object();
private Thread thread;
private LinkedList<T> queue = new LinkedList<T>();
private LinkedBlockingQueue<T> queue = new LinkedBlockingQueue<T>();
private Set<T> set = new HashSet<T>();
private Handler<T> handler;
private int dequeueTime;
public AsynchronousQueue(Handler<T> handler, int dequeueTime) {
private int accelDequeueTime;
private int accelDequeueThresh;
private int pendingcnt;
private int pendinglimit;
private boolean normalprio;
public AsynchronousQueue(Handler<T> handler, int dequeueTime, int accelDequeueThresh, int accelDequeueTime, int pendinglimit, boolean normalprio) {
this.handler = handler;
this.dequeueTime = dequeueTime;
this.accelDequeueTime = accelDequeueTime;
this.accelDequeueThresh = accelDequeueThresh;
if(pendinglimit < 1) pendinglimit = 1;
this.pendinglimit = pendinglimit;
this.normalprio = normalprio;
}
public boolean push(T t) {
synchronized (lock) {
if (set.add(t)) {
queue.addLast(t);
return true;
if (!set.add(t)) {
return false;
}
return false;
}
queue.offer(t);
return true;
}
private T pop() {
try {
T t = queue.take();
synchronized (lock) {
set.remove(t);
}
return t;
} catch (InterruptedException ix) {
return null;
}
}
public boolean remove(T t) {
synchronized (lock) {
try {
T t = queue.removeFirst();
if (!set.remove(t)) {
// This should never happen.
}
return t;
} catch (NoSuchElementException e) {
return null;
if (set.remove(t)) {
queue.remove(t);
return true;
}
}
return false;
}
public int size() {
return set.size();
}
public List<T> popAll() {
List<T> s;
synchronized(lock) {
s = new ArrayList<T>(queue);
queue.clear();
set.clear();
}
return s;
}
public void start() {
synchronized (lock) {
thread = new Thread(new Runnable() {
@@ -56,7 +85,8 @@ public class AsynchronousQueue<T> {
});
thread.start();
try {
thread.setPriority(Thread.MIN_PRIORITY);
if(!normalprio)
thread.setPriority(Thread.MIN_PRIORITY);
} catch (SecurityException e) {
Log.info("Failed to set minimum priority for worker thread!");
}
@@ -84,11 +114,28 @@ public class AsynchronousQueue<T> {
private void running() {
try {
while (Thread.currentThread() == thread) {
synchronized(lock) {
while(pendingcnt >= pendinglimit) {
try {
lock.wait(accelDequeueTime);
} catch (InterruptedException ix) {
if(Thread.currentThread() != thread)
return;
throw ix;
}
}
}
T t = pop();
if (t != null) {
synchronized(lock) {
pendingcnt++;
}
handler.handle(t);
}
sleep(dequeueTime);
if(set.size() >= accelDequeueThresh)
sleep(accelDequeueTime);
else
sleep(dequeueTime);
}
} catch (Exception ex) {
@@ -104,4 +151,11 @@ public class AsynchronousQueue<T> {
}
return true;
}
public void done(T t) {
synchronized (lock) {
if(pendingcnt > 0) pendingcnt--;
lock.notifyAll();
}
}
}
-111
View File
@@ -1,111 +0,0 @@
package org.dynmap;
import java.util.HashMap;
public class Cache<K, V> {
private final int size;
private int len;
private CacheNode head;
private CacheNode tail;
private class CacheNode {
public CacheNode prev;
public CacheNode next;
public K key;
public V value;
public CacheNode(K key, V value) {
this.key = key;
this.value = value;
prev = null;
next = null;
}
public void unlink() {
if (prev == null) {
head = next;
} else {
prev.next = next;
}
if (next == null) {
tail = prev;
} else {
next.prev = prev;
}
prev = null;
next = null;
len--;
}
public void append() {
if (tail == null) {
head = this;
tail = this;
} else {
tail.next = this;
prev = tail;
tail = this;
}
len++;
}
}
private HashMap<K, CacheNode> map;
public Cache(int size) {
this.size = size;
len = 0;
head = null;
tail = null;
map = new HashMap<K, CacheNode>();
}
/*
* returns value for key, if key exists in the cache otherwise null
*/
public V get(K key) {
CacheNode n = map.get(key);
if (n == null)
return null;
return n.value;
}
/*
* puts a new key-value pair in the cache if the key existed already, the
* value is updated, and the old value is returned if the key didn't exist,
* it is added; the oldest value (now pushed out of the cache) may be
* returned, or null if the cache isn't yet full
*/
public V put(K key, V value) {
CacheNode n = map.get(key);
if (n == null) {
V ret = null;
if (len >= size) {
CacheNode first = head;
first.unlink();
map.remove(first.key);
ret = first.value;
}
CacheNode add = new CacheNode(key, value);
add.append();
map.put(key, add);
return ret;
} else {
n.unlink();
V old = n.value;
n.value = value;
n.append();
return old;
}
}
}
@@ -1,46 +0,0 @@
package org.dynmap;
/**
* Represents a static, thread-safe snapshot of chunk of blocks
* Purpose is to allow clean, efficient copy of a chunk data to be made, and then handed off for processing in another thread (e.g. map rendering)
*/
public interface ChunkSnapshot {
/**
* Get block type for block at corresponding coordinate in the chunk
*
* @param x 0-15
* @param y 0-127
* @param z 0-15
* @return 0-255
*/
public int getBlockTypeId(int x, int y, int z);
/**
* Get block data for block at corresponding coordinate in the chunk
*
* @param x 0-15
* @param y 0-127
* @param z 0-15
* @return 0-15
*/
public int getBlockData(int x, int y, int z);
/**
* Get sky light level for block at corresponding coordinate in the chunk
*
* @param x 0-15
* @param y 0-127
* @param z 0-15
* @return 0-15
*/
public int getBlockSkyLight(int x, int y, int z);
/**
* Get light level emitted by block at corresponding coordinate in the chunk
*
* @param x 0-15
* @param y 0-127
* @param z 0-15
* @return 0-15
*/
public int getBlockEmittedLight(int x, int y, int z);
public int getHighestBlockYAt(int x, int z);
}
+85 -3
View File
@@ -4,6 +4,8 @@ import java.io.IOException;
import java.io.Writer;
import org.bukkit.ChatColor;
import org.dynmap.markers.Marker;
import org.dynmap.markers.MarkerSet;
import org.json.simple.JSONAware;
import org.json.simple.JSONStreamAware;
@@ -32,11 +34,23 @@ public class Client {
public String channel;
public ChatMessage(String source, String channel, String playerName, String message, String playeraccount) {
this.source = source;
this.playerName = ChatColor.stripColor(playerName);
this.playerName = Client.stripColor(playerName);
this.message = ChatColor.stripColor(message);
this.account = playeraccount;
this.channel = channel;
}
@Override
public boolean equals(Object o) {
if(o instanceof ChatMessage) {
ChatMessage m = (ChatMessage)o;
return m.source.equals(source) && m.playerName.equals(playerName) && m.message.equals(message);
}
return false;
}
@Override
public int hashCode() {
return source.hashCode() ^ playerName.hashCode() ^ message.hashCode();
}
}
public static class PlayerJoinMessage extends Update {
@@ -44,9 +58,21 @@ public class Client {
public String playerName;
public String account;
public PlayerJoinMessage(String playerName, String playeraccount) {
this.playerName = ChatColor.stripColor(playerName);
this.playerName = Client.stripColor(playerName);
this.account = playeraccount;
}
@Override
public boolean equals(Object o) {
if(o instanceof PlayerJoinMessage) {
PlayerJoinMessage m = (PlayerJoinMessage)o;
return m.playerName.equals(playerName);
}
return false;
}
@Override
public int hashCode() {
return playerName.hashCode();
}
}
public static class PlayerQuitMessage extends Update {
@@ -54,9 +80,21 @@ public class Client {
public String playerName;
public String account;
public PlayerQuitMessage(String playerName, String playeraccount) {
this.playerName = ChatColor.stripColor(playerName);
this.playerName = Client.stripColor(playerName);
this.account = playeraccount;
}
@Override
public boolean equals(Object o) {
if(o instanceof PlayerQuitMessage) {
PlayerQuitMessage m = (PlayerQuitMessage)o;
return m.playerName.equals(playerName);
}
return false;
}
@Override
public int hashCode() {
return playerName.hashCode();
}
}
public static class Tile extends Update {
@@ -66,6 +104,18 @@ public class Client {
public Tile(String name) {
this.name = name;
}
@Override
public boolean equals(Object o) {
if(o instanceof Tile) {
Tile m = (Tile)o;
return m.name.equals(name);
}
return false;
}
@Override
public int hashCode() {
return name.hashCode();
}
}
public static class DayNight extends Update {
@@ -75,6 +125,38 @@ public class Client {
public DayNight(boolean isday) {
this.isday = isday;
}
@Override
public boolean equals(Object o) {
if(o instanceof DayNight) {
return true;
}
return false;
}
@Override
public int hashCode() {
return 12345;
}
}
public static class ComponentMessage extends Update {
public String type = "component";
/* Each subclass must provide 'ctype' string for component 'type' */
}
public static String stripColor(String s) {
s = ChatColor.stripColor(s); /* Strip standard color encoding */
/* Handle Essentials nickname encoding too */
int idx = 0;
while((idx = s.indexOf('&', idx)) >= 0) {
char c = s.charAt(idx+1); /* Get next character */
if(c == '&') { /* Another ampersand */
s = s.substring(0, idx) + s.substring(idx+1);
}
else {
s = s.substring(0, idx) + s.substring(idx+2);
}
idx++;
}
return s;
}
}
+10 -2
View File
@@ -9,17 +9,23 @@ import java.util.Map;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
public class ClientComponent extends Component {
private boolean disabled;
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);
if(!disabled)
buildClientConfiguration(root);
}
});
}
protected void disableComponent() {
disabled = true;
}
protected void buildClientConfiguration(JSONObject root) {
JSONObject o = createClientConfiguration();
a(root, "components", o);
@@ -39,6 +45,7 @@ public class ClientComponent extends Component {
return o;
}
@SuppressWarnings("unchecked")
protected static final JSONArray convertList(List<?> l) {
JSONArray o = new JSONArray();
for(Object entry : l) {
@@ -47,6 +54,7 @@ public class ClientComponent extends Component {
return o;
}
@SuppressWarnings("unchecked")
protected static final Object convert(Object o) {
if (o instanceof Map<?, ?>) {
return convertMap((Map<String, ?>)o);
@@ -1,9 +1,9 @@
package org.dynmap;
import static org.dynmap.JSONUtils.a;
import static org.dynmap.JSONUtils.l;
import static org.dynmap.JSONUtils.s;
import org.bukkit.Location;
import org.dynmap.Event.Listener;
import org.json.simple.JSONObject;
@@ -14,32 +14,47 @@ public class ClientConfigurationComponent extends Component {
@Override
public void triggered(JSONObject t) {
ConfigurationNode c = plugin.configuration;
s(t, "confighash", plugin.getConfigHashcode());
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", c.getString("webprefix", "[WEB] "));
s(t, "webprefix", unescapeString(c.getString("webprefix", "[WEB] ")));
s(t, "defaultzoom", c.getInteger("defaultzoom", 0));
s(t, "sidebaropened", c.getBoolean("sidebaropened", false));
s(t, "sidebaropened", c.getString("sidebaropened", "false"));
s(t, "dynmapversion", plugin.getDescription().getVersion());
s(t, "cyrillic", c.getBoolean("cyrillic-support", false));
s(t, "showlayercontrol", c.getBoolean("showlayercontrol", true));
s(t, "grayplayerswhenhidden", c.getBoolean("grayplayerswhenhidden", true));
String sn = plugin.getServer().getServerName();
if(sn.equals("Unknown Server"))
sn = "Minecraft Dynamic Map";
s(t, "title", c.getString("webpage-title", sn));
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));
Location spawn = world.world.getSpawnLocation();
s(wo, "center/x", wn.getDouble("center/x", spawn.getX()));
s(wo, "center/y", wn.getDouble("center/y", spawn.getY()));
s(wo, "center/z", wn.getDouble("center/z", spawn.getZ()));
s(wo, "bigworld", world.bigworld);
s(wo, "extrazoomout", world.getExtraZoomOutLevels());
a(t, "worlds", wo);
for(MapType mt : world.maps) {
mt.buildClientConfiguration(wo);
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));
}
});
}
@@ -3,14 +3,21 @@ package org.dynmap;
import static org.dynmap.JSONUtils.a;
import static org.dynmap.JSONUtils.s;
import java.util.Set;
import org.bukkit.ChatColor;
import org.bukkit.Chunk;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.dynmap.utils.BlockLightLevel;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
public class ClientUpdateComponent extends Component {
private BlockLightLevel bll = new BlockLightLevel();
public ClientUpdateComponent(final DynmapPlugin plugin, ConfigurationNode configuration) {
super(plugin, configuration);
plugin.events.addListener("buildclientupdate", new Event.Listener<ClientUpdateEvent>() {
@@ -26,7 +33,11 @@ public class ClientUpdateComponent extends Component {
JSONObject u = e.update;
long since = e.timestamp;
String worldName = world.getName();
int hideifshadow = configuration.getInteger("hideifshadow", 15);
int hideifunder = configuration.getInteger("hideifundercover", 15);
s(u, "confighash", plugin.getConfigHashcode());
s(u, "servertime", world.getTime() % 24000);
s(u, "hasStorm", world.hasStorm());
s(u, "isThundering", world.isThundering());
@@ -37,12 +48,31 @@ public class ClientUpdateComponent extends Component {
Player p = players[i];
Location pl = p.getLocation();
JSONObject jp = new JSONObject();
boolean hide = false;
s(jp, "type", "player");
s(jp, "name", ChatColor.stripColor(p.getDisplayName()));
s(jp, "name", Client.stripColor(p.getDisplayName()));
s(jp, "account", p.getName());
if(hideifshadow < 15) {
if(pl.getBlock().getLightLevel() <= hideifshadow)
hide = true;
}
if(hideifunder < 15) {
if(bll.isReady()) { /* If we can get real sky level */
if(bll.getSkyLightLevel(pl.getBlock()) <= hideifunder)
hide = true;
}
else {
if(pl.getWorld().getHighestBlockYAt(pl) > pl.getBlockY())
hide = true;
}
}
/* 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) {
/* Fix typo on 'sendpositon' to 'sendposition', keep bad one in case someone used it */
if(configuration.getBoolean("sendposition", true) && configuration.getBoolean("sendpositon", true) &&
(pworld != null) && pworld.sendposition && (!hide)) {
s(jp, "world", p.getWorld().getName());
s(jp, "x", pl.getX());
s(jp, "y", pl.getY());
@@ -55,7 +85,7 @@ public class ClientUpdateComponent extends Component {
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) {
if (configuration.getBoolean("sendhealth", false) && (pworld != null) && pworld.sendhealth && (!hide)) {
s(jp, "health", p.getHealth());
s(jp, "armor", Armor.getArmorPoints(p));
}
@@ -65,6 +95,22 @@ public class ClientUpdateComponent extends Component {
}
a(u, "players", jp);
}
if(configuration.getBoolean("includehiddenplayers", false)) {
Set<Player> hidden = plugin.playerList.getHiddenPlayers();
for(Player p : hidden) {
JSONObject jp = new JSONObject();
s(jp, "type", "player");
s(jp, "name", Client.stripColor(p.getDisplayName()));
s(jp, "account", p.getName());
s(jp, "world", "-hidden-player-");
s(jp, "x", 0.0);
s(jp, "y", 64.0);
s(jp, "z", 0.0);
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)) {

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