Compare commits

...

1151 Commits

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

Doesn't show chat messages prior to the user loading the map page,
but at least it allows users to scroll back and view messages they
may have missed while not paying full attention ot the map.
2011-09-29 10:54:07 +08:00
Mike Primm 515b2f4afc Add 'hideores' option to make ore blocks look like plain stone 2011-09-29 10:48:40 +08:00
Mike Primm 560fe3c539 Switch default center point for maps to spawn point 2011-09-29 10:48:40 +08:00
Mike Primm dd4d448fc5 Update support for new Residence configuration file layout 2011-09-29 10:48:40 +08:00
Mike Primm 7d79301293 Fix translucent tiles being dropped (water edges), improve biome workaround 2011-09-27 01:27:51 -05:00
Mike Primm 6348fbe789 Remove API reference for too-new API - too soon to be using it 2011-09-26 23:50:30 -05:00
Mike Primm 0d97a93100 Fix encoding for saved tile flags 2011-09-26 23:32:23 -05:00
Mike Primm e897b5dbef Add save/resume support for fullrender/radiusrender jobs 2011-09-26 22:21:59 -05:00
Mike Primm 8fe802f114 Avoid trap when region data not loaded and processing visible/hidden
regions
2011-09-26 09:09:44 -05:00
Mike Primm df81b096d7 Fix vines to use foliagecolor shading, fix global default handling for swampshaded 2011-09-25 23:23:17 -05:00
Mike Primm 658a4aba3f Add 'swampshaded' optional setting 2011-09-25 22:47:52 -05:00
Mike Primm 9b0faa1325 Add 1.9 swamp biome shading, workaround chunk snapshot biome bug 2011-09-25 22:35:53 -05:00
mikeprimm 336d4e7535 Fix missing data= attribute for lily pad 2011-09-23 15:16:18 -05:00
FrozenCow fa2e80a916 Fixed styles to make marker-hovering work in Chrome. 2011-09-23 19:43:08 +02:00
Mike Primm 085e06eb43 Add support for 1.9 blocks and textures 2011-09-22 22:55:48 -05:00
Mike Primm ad6f6f4316 Merge remote branch 'upstream/master' 2011-09-22 22:00:20 -05:00
Mike Primm 0704413829 Add support for saving/restoring of pending tile updates on server stops/start 2011-09-22 12:20:53 +08:00
Mike Primm 1548ae72d6 Add support for saving/restoring of pending tile updates on server stops/start 2011-09-21 23:18:23 -05:00
Mike Primm 0627e2675f Make redstone torches redder, fix jack-o-lantern orientation for 1.8 2011-09-22 02:07:41 +08:00
Mike Primm 9fae2440b8 Fix for chunk level tile invalidate (jagged map edge on HD chunk generate) 2011-09-20 13:30:07 +08:00
Mike Primm da44b9b00b Fix sign models and textures 2011-09-19 13:36:05 -05:00
Mike Primm dd81d8f989 Fix farmland textures 2011-09-19 12:43:28 -05:00
Mike Primm 25bf6806be Remove bogus warning message 2011-09-19 20:14:49 +08:00
Mike Primm 886248e115 Remove workaround for missing Bukkit biome data (fix integrated), add spawn point to fullrender seed list 2011-09-18 23:38:34 +08:00
Mike Primm bc17045196 Workaround explosion in getSnapshot in Bukkit when biome data requested on nether in 1.8 Bukkit 2011-09-17 13:52:09 +08:00
Mike Primm 7cf9f2f1e4 Code temporary fix to workaround Bukkit 1.8 raw biome issue (pending accept of pull CraftBukkit 457) 2011-09-17 11:57:09 +08:00
Mike Primm 7d89fe094a Fix bogus warning message on markers component 2011-09-17 06:54:12 +08:00
Mike Primm 8524eecad5 Make cactus semi-transparent (subtle lighting issues) 2011-09-16 23:49:13 +08:00
Mike Primm bee5da8e9f Wood color updates (Thanks Flobi!!) 2011-09-16 21:12:37 +08:00
Mike Primm e15d3cd8cc Add new biomes to colorschemes 2011-09-15 10:09:37 +08:00
Mike Primm 33add48697 Extend chunk load/generate fault in volume 2011-09-15 08:17:24 +08:00
Mike Primm 98d18260c4 Fix typo in flames.txt 2011-09-14 17:08:22 -05:00
Mike Primm 910be17c42 Add silverfish block data handling (stone, cobblestone, stone bricks) 2011-09-14 11:43:35 -05:00
Mike Primm 6299deee82 Swap red and brown mushrooms (had it right in HD - wiki is wrong) 2011-09-15 00:26:39 +08:00
Mike Primm ff57c9e183 Add 1.8 blocks to old colorschemes 2011-09-14 22:53:49 +08:00
Mike Primm ea5f9a8a96 Add control of label for playermarkers layer (label attribute) 2011-09-14 13:27:08 +08:00
Mike Primm afc6f429f0 Add sorting and ordering controls for layer control (layerprio attribute) 2011-09-14 13:02:02 +08:00
Mike Primm 36ea3c20ca Change background on layer control 2011-09-14 13:02:02 +08:00
Mike Primm aacdd77f3e Add support for spaces in world names via double-quotes on commands 2011-09-13 12:04:05 +08:00
Mike Primm a369f02083 Add /dmarker updateicon, /dmarker deleteicon - add APIs for updating icon file and deleting icons 2011-09-13 11:34:54 +08:00
Mike Primm 09637f293e Make marker API stay loaded across /dynmap reload (screws up API users otherwise) 2011-09-13 11:34:54 +08:00
Mike Primm e81564c1ae Fix lighting quirks with stairs and slabs 2011-09-13 06:51:38 +08:00
Mike Primm ebfe2a004b Add bukkit bug workaround (http://leaky.bukkit.org/issues/1227) - piston exceptions 2011-09-12 10:31:16 +08:00
Mike Primm 3076b28c24 Add workaround for bogus Bukkit piston events (http://leaky.bukkit.org/issues/1227) 2011-09-12 10:31:16 +08:00
Mike Primm e2746b7cbc Add open models for fence gates 2011-09-12 10:31:15 +08:00
Mike Primm 62bc4f2cd0 Merge remote branch 'upstream/master' 2011-09-11 18:33:01 -05:00
Mike Primm fd14f9bc84 Add 'portal' and 'minecart' standard icons for Markers 2011-09-11 18:31:04 -05:00
Mike Primm f824a17704 Add 'coord' client component - show world coords of mouse pointer 2011-09-12 06:49:22 +08:00
Mike Primm ba98145086 Add 'coord' client component - show world coords of mouse pointer 2011-09-11 17:48:04 -05:00
Mike Primm 571c2acfc3 Fix new stair and stem transparency 2011-09-12 03:56:48 +08:00
Mike Primm cab056ef5c Add pumpkin and melon stems 2011-09-12 03:56:46 +08:00
Mike Primm 8c4315be40 Fix new stair and stem transparency 2011-09-11 13:31:09 -05:00
Mike Primm c808ddcc45 Merge remote branch 'upstream/master' 2011-09-11 13:27:36 -05:00
Mike Primm d5153a6f4c Improve fence gate model 2011-09-12 02:25:39 +08:00
Mike Primm 352d1843e0 Add pumpkin and melon stems 2011-09-11 13:24:01 -05:00
Mike Primm 0f986b4c87 Improve fence gate model 2011-09-11 12:28:28 -05:00
Mike Primm b55989f696 Add full mushroom texture maps (exterior vs interior, stems) 2011-09-11 23:44:48 +08:00
Mike Primm b0227d5ce7 Add full mushroom texture maps (exterior vs interior, stems) 2011-09-11 10:40:27 -05:00
mikeprimm 32ccbf4792 Merge pull request #432 from mikeprimm/master
Add 1.8 textures and models
2011-09-10 23:22:34 -07:00
Mike Primm df3027dc8a Fix glass pane tops 2011-09-10 23:42:21 -05:00
Mike Primm d53ef57ae1 More 1.8 block support - gates, glass panes, iron fences, vines 2011-09-10 23:15:57 -05:00
Mike Primm 00f16304a4 Start 1.8 block textures and models 2011-09-10 15:53:38 -05:00
Mike Primm 3f19c1ab3a Merge remote branch 'upstream/master' 2011-09-10 00:24:19 -05:00
FrozenCow 9570f03ec6 Changed version to 0.23. 2011-09-09 21:02:40 +02:00
FrozenCow 03f62bd8f6 Made the different version numbers refer to version in pom.xml. 2011-09-09 20:35:22 +02:00
Mike Primm 6d2193d597 Add hide-by-default attribute to marker sets, /dmarker updateset 2011-09-09 11:05:00 +08:00
Mike Primm 3d868d4700 Add hide-by-default attribute to marker sets, /dmarker updateset 2011-09-08 22:02:32 -05:00
Mike Primm 4c50bd502c Fix typo in setMarkerSetLabel() API 2011-09-09 01:01:02 +08:00
Mike Primm e54c1fa7d8 Fix typo in setMarkerSetLabel() API 2011-09-08 11:59:56 -05:00
Mike Primm d6b5524aca Merge remote branch 'upstream/master' 2011-09-07 23:07:17 -05:00
Mike Primm 996343c5a3 Add /dmarker addicon command 2011-09-08 11:42:28 +08:00
Mike Primm 8a4e1ebfc2 Add /dmarker addicon command 2011-09-07 22:40:09 -05:00
Mike Primm 2f53b72779 Update jquery to 1.6.3 2011-09-08 11:06:20 +08:00
Mike Primm 009c3a9429 Update jquery to 1.6.3 2011-09-07 22:05:20 -05:00
Mike Primm cfa5f187e6 Add error handling for missing component javascript files 2011-09-08 10:46:33 +08:00
Mike Primm 91bc59d7f8 Fix message for version mismatch, and abort UI if it fails 2011-09-08 10:46:33 +08:00
Mike Primm a77f002054 Add error handling for missing component javascript files 2011-09-07 21:44:11 -05:00
Mike Primm 402d7f9542 Fix message for version mismatch, and abort UI if it fails 2011-09-07 21:07:30 -05:00
Mike Primm 6181aa8ba9 Add version check for javascript files versus plugin version 2011-09-08 09:47:00 +08:00
Mike Primm 9322c5426d Add support for showing spawn points as map markers 2011-09-08 09:47:00 +08:00
Mike Primm 6de49f89d6 Add version check for javascript files versus plugin version 2011-09-07 20:44:21 -05:00
Mike Primm 5adbe6bd5e Add support for showing spawn points as map markers 2011-09-07 20:30:53 -05:00
Mike Primm 9da159f842 Add 'hidebydefault' option for Markers layers 2011-09-08 00:23:38 +08:00
Mike Primm 89f63a9db2 Add 'hidebydefault' option for Markers layers 2011-09-07 11:22:44 -05:00
Mike Primm 771059bf5a Fix background colors when rendering zoomout with JPEG format 2011-09-06 14:19:49 +08:00
Mike Primm e7f30153b8 Add marker set commands - addset, deleteset, listsets 2011-09-06 14:19:49 +08:00
Mike Primm 21c68fa1b2 Fix background colors when rendering zoomout with JPEG format 2011-09-06 01:15:07 -05:00
Mike Primm 37a9809f67 Add marker set commands - addset, deleteset, listsets 2011-09-06 01:13:37 -05:00
Mike Primm 7bee1dcae5 Fix markers being left on world changes 2011-09-06 09:05:25 +08:00
Mike Primm dcb3e8e2ff Fix markers being left on world changes 2011-09-05 20:03:30 -05:00
Mike Primm 2f7890a40b Remove debug messages, adjust sign ID mapping 2011-09-06 07:53:49 +08:00
Mike Primm 36d983ba28 Add support for using signs to define markers 2011-09-06 07:53:48 +08:00
Mike Primm 20e409b71f Start sign support 2011-09-06 07:53:48 +08:00
Mike Primm 34ae7d21fd Remove debug messages, adjust sign ID mapping 2011-09-05 18:47:27 -05:00
Mike Primm 25f7dbb312 Add support for using signs to define markers 2011-09-05 18:36:43 -05:00
Mike Primm 7d2d0b4d87 Start sign support 2011-09-05 17:17:46 -05:00
Mike Primm e0fcca4b7f Fix single map render message on single map render of day/night worlds 2011-09-06 04:41:08 +08:00
Mike Primm b51da5d401 Fix single map render message on single map render of day/night worlds 2011-09-05 15:39:53 -05:00
Mike Primm 754bc6c51e Merge remote branch 'upstream/master' 2011-09-05 15:24:19 -05:00
Mike Primm f99700d863 Fix double-quoted strings in parameters 2011-09-06 02:36:37 +08:00
Mike Primm 270f64c594 Fix double-quoted strings in parameters 2011-09-05 13:35:12 -05:00
Mike Primm e86aa352df Make all /dmarker command match-on-label as well as id:<id> 2011-09-05 14:35:29 +08:00
Mike Primm f950fb4d85 Make all /dmarker command match-on-label as well as id:<id> 2011-09-05 01:34:31 -05:00
Mike Primm f0db205eb9 Complete first drop of /dmarker commands and client support 2011-09-04 23:40:00 -05:00
Mike Primm 9f8ab5da03 Add icons on to map display, and marker update logic 2011-09-04 14:11:48 -05:00
Mike Primm c034a10951 Finish revert 2011-09-04 02:07:15 -05:00
Mike Primm 6b301b2208 Merge remote branch 'origin/master' 2011-09-04 02:05:58 -05:00
Mike Primm 83642a6291 Put it back - not sure other fix did anything 2011-09-04 02:03:52 -05:00
Mike Primm cbe4ca0377 Fix player faces in sidebar, while still preserving load cache 2011-09-04 14:35:41 +08:00
Mike Primm eee6476d6a Fix player faces in sidebar, while still preserving load cache 2011-09-04 01:35:02 -05:00
Mike Primm 8bdce005c3 Merge remote branch 'upstream/master' 2011-09-04 01:31:46 -05:00
Mike Primm 3f585c84b7 Put markers in a component, add generic component update messages 2011-09-03 16:49:18 -05:00
Mike Primm dd8a84165b Add marker update/delete events for client 2011-09-03 01:06:00 -05:00
Mike Primm c486c42de8 Add default marker set 2011-09-02 23:02:23 -05:00
Mike Primm cdffc5824f Fix texture rotation for NE and SW rail corners 2011-09-03 03:23:34 +08:00
Mike Primm f6a4f3e619 Fix texture rotation for NE and SW rail corners 2011-09-02 14:22:13 -05:00
Mike Primm dcdcdd88aa Prevent trap if townBlocks is undefined in towny town file 2011-09-03 00:11:35 +08:00
Mike Primm a476b66c2f Prevent trap if townBlocks is undefined in towny town file 2011-09-02 09:19:27 -05:00
Mike Primm fba69e3d19 Frame out API and data handling for markers support 2011-09-01 01:01:51 -05:00
Mike Primm 0bd55b76d8 Yet another face fix - hopefully got the rules on accessories right
this time...
2011-08-31 07:15:44 +08:00
Mike Primm 704fc7fb32 Yet another face fix - hopefully got the rules on accessories right
this time...
2011-08-30 18:13:59 -05:00
FrozenCow d88763f179 Fixed playerfaces not showing in sidebar. 2011-08-30 21:46:22 +02:00
Mike Primm 56faab71e2 Handle Towny 0.74.0 configuration format 2011-08-30 13:29:36 +08:00
Mike Primm 9da3180e38 Handle Towny 0.74.0 configuration format 2011-08-30 00:28:28 -05:00
Mike Primm 85a564aa45 Handle Factions on worlds with no faction data properly 2011-08-30 13:04:54 +08:00
Mike Primm b9170db1c1 Support applying background color to JPG tiles (since no transparency) 2011-08-30 13:04:54 +08:00
Mike Primm 0e1158c77b Handle Factions on worlds with no faction data properly 2011-08-30 00:03:37 -05:00
Mike Primm 8ac000abec Support applying background color to JPG tiles (since no transparency) 2011-08-30 00:02:52 -05:00
Mike Primm f371cff011 Add support for 'http-reponse-headers' attribute to add custom response headers 2011-08-30 10:34:58 +08:00
Mike Primm 5088adb7eb Add support for 'http-reponse-headers' attribute to add custom response headers 2011-08-29 21:33:41 -05:00
Mike Primm d1ff472bda Add 'sidebaropened: pinned' option to allow sidebar to be pre-pinned but support unpinning 2011-08-30 10:01:07 +08:00
Mike Primm 7e37817b86 Add 'sidebaropened: pinned' option to allow sidebar to be pre-pinned but support unpinning 2011-08-29 21:00:05 -05:00
Mike Primm 611a935232 Fix multi-map KzedMap rendering (default cave not rendered issue) 2011-08-30 04:56:21 +08:00
Mike Primm 974cd33853 Fix multi-map KzedMap rendering (default cave not rendered issue) 2011-08-29 15:53:48 -05:00
Mike Primm fc1fec4af8 Split renderdata (generated data) from normal block data - to help
with custom block work
2011-08-30 03:23:11 +08:00
Mike Primm 13bf8d7733 Split renderdata (generated data) from normal block data - to help
with custom block work
2011-08-29 14:21:39 -05:00
Mike Primm f4de63e85e Add first pass of Factions support 2011-08-29 10:37:22 +08:00
Mike Primm af1f47df23 Add first pass of Factions support 2011-08-28 21:31:04 -05:00
Mike Primm 0755dd3377 Merge remote branch 'upstream/master' 2011-08-28 18:29:18 -05:00
Mike Primm f20c4a25a9 Merge remote branch 'origin/master' 2011-08-28 18:28:13 -05:00
Mike Primm cfc758fe7d Fix handling of non-standard town_block_size values 2011-08-28 23:12:47 +08:00
Mike Primm b20b9e1436 Fix handling of non-standard town_block_size values 2011-08-28 10:12:04 -05:00
Mike Primm 0c292dde12 Fix Towny support to handle 0.75.x and 0.74.x 2011-08-28 08:14:08 +08:00
Mike Primm ac650656b4 Fix Towny support to handle 0.75.x and 0.74.x 2011-08-27 19:13:34 -05:00
FrozenCow a3573c7a64 Added support for Towny Advanced 0.75 2011-08-27 20:51:47 +02:00
FrozenCow 069d4c0ce5 Changed version to 0.22. 2011-08-27 17:13:56 +02:00
Mike Primm f62d46cfbd Add hidebydefault setting to playermarkers component too 2011-08-26 14:23:32 +08:00
Mike Primm 3d385106e9 Add hidebydefault setting to playermarkers component too 2011-08-26 01:22:03 -05:00
Mike Primm bc357dd188 Handle multiple instances of same component type (regions) 2011-08-26 13:57:05 +08:00
Mike Primm c353d9aae6 Add hidebydefault option for regions layers 2011-08-26 13:57:05 +08:00
Mike Primm ace7fbf838 Handle multiple instances of same component type (regions) 2011-08-26 00:55:53 -05:00
Mike Primm aee7ea2d49 Add hidebydefault option for regions layers 2011-08-26 00:13:03 -05:00
Mike Primm c6cccf6899 Merge remote branch 'upstream/master' 2011-08-25 23:33:57 -05:00
Mike Primm 106e470898 Add playermarkers to hide/show-able layer group 2011-08-26 06:34:37 +08:00
Mike Primm 59b095628d Add control for hide/show of component layers (only regions for now) 2011-08-26 06:34:37 +08:00
Mike Primm 1a128a6d74 Add playermarkers to hide/show-able layer group 2011-08-25 17:31:34 -05:00
Mike Primm bfb12e4f81 Add control for hide/show of component layers (only regions for now) 2011-08-25 17:07:00 -05:00
Mike Primm d9ad51edd6 Use towns list in Towny worlds/* files to get valid towns (old towns
still in towns/* directory)
2011-08-26 03:59:35 +08:00
Mike Primm 316440a4e0 Disable IOImage cache use for image loads 2011-08-26 03:59:35 +08:00
Mike Primm 625b62fa36 Use towns list in Towny worlds/* files to get valid towns (old towns
still in towns/* directory)
2011-08-25 14:49:32 -05:00
Mike Primm c65b17d80b Disable IOImage cache use for image loads 2011-08-25 14:48:42 -05:00
Mike Primm 04cc6aba43 Towny fixes - multiple areas on multiple worlds per town 2011-08-25 11:15:26 +08:00
Mike Primm 627cef720c Towny fixes - multiple areas on multiple worlds per town 2011-08-24 22:11:31 -05:00
Mike Primm ff4b036c6a Fix accessory face mixing 2011-08-24 14:25:42 +08:00
Mike Primm 586c41d23c Fix accessory face mixing 2011-08-24 01:23:05 -05:00
Mike Primm 76c8bc861d Merge remote branch 'upstream/master' 2011-08-24 01:02:47 -05:00
Mike Primm da32c2f0bd Add server-side generation of faces : fixes face accessory issues, IE8 2011-08-24 00:51:54 -05:00
Mike Primm 9564bd8a89 Add customstyle settings for per-region style, nation style for Towny, lots for Residence 2011-08-23 11:17:40 +08:00
Mike Primm 074952265f Add customstyle settings for per-region style, nation style for Towny, lots for Residence 2011-08-22 22:16:38 -05:00
Mike Primm 669d52f01b Merge remote branch 'upstream/master' 2011-08-22 20:34:34 -05:00
Mike Primm c37680b62c Add support for superperms/PermissionsBukkit/whatever-you-wanna-call-it 2011-08-23 08:21:38 +08:00
Mike Primm fae27f4cea Add support for superperms/PermissionsBukkit/whatever-you-wanna-call-it 2011-08-22 19:21:03 -05:00
Mike Primm 3b7fcc67ad Fix regionstyle attributes for region outlines and fill 2011-08-22 23:32:19 +08:00
Mike Primm 75d7068fbf Fix regionstyle attributes for region outlines and fill 2011-08-22 10:31:27 -05:00
Mike Primm 0ebabf5b61 First pass of Towny region support 2011-08-22 14:19:54 +08:00
Mike Primm d349a76660 First pass of Towny region support 2011-08-22 01:17:28 -05:00
Mike Primm 7e12574bd8 Add support in regions component for 'hiddenregions' (blacklist for regions) 2011-08-22 08:19:38 +08:00
Mike Primm 1284a8a6ed Merge remote branch 'upstream/master' 2011-08-21 19:00:14 -05:00
Mike Primm 8e22e40c16 Add support in regions component for 'hiddenregions' (blacklist for regions) 2011-08-21 18:58:38 -05:00
Mike Primm 929ca8911e Fix naming on Residence regions, make infowindow setting control popup content again 2011-08-22 04:58:21 +08:00
Mike Primm 82b0f2c4cd Fix naming on Residence regions, make infowindow setting control popup content again 2011-08-21 15:57:21 -05:00
Mike Primm 6e5482466d Switch chunkgenerate to onChunkPopulate event: chunk is better "cooked" by then 2011-08-21 10:33:09 +08:00
Mike Primm 45369006c3 Switch chunkgenerate to onChunkPopulate event: chunk is better "cooked" by then 2011-08-20 21:31:14 -05:00
Mike Primm 58d359fc1d Add setting for progressloginterval 2011-08-21 05:46:05 +08:00
Mike Primm c5c136a30d Add setting for progressloginterval 2011-08-20 16:45:21 -05:00
Mike Primm c327b98b97 Add progressloginterval setting - control how often progress messages done 2011-08-21 05:43:43 +08:00
Mike Primm 3f3ccf5344 Add progressloginterval setting - control how often progress messages done 2011-08-20 16:43:18 -05:00
Mike Primm 9b191bb3ab Add 'explosion' update trigger, add updated tile queue accelerator (to speed up processing if queue gets above a given threshold) 2011-08-21 05:31:07 +08:00
Mike Primm 43df59a88c Make sure we can clean up event listeners during reload (make /dynmap reload work) 2011-08-21 05:30:52 +08:00
Mike Primm 972d9b2ab7 Add 'explosion' update trigger, add updated tile queue accelerator (to speed up processing if queue gets above a given threshold) 2011-08-20 16:28:37 -05:00
Mike Primm 5ed6cf830b Make sure we can clean up event listeners during reload (make /dynmap reload work) 2011-08-20 15:21:39 -05:00
Mike Primm e8e4aa67ce Fix boundary condition that was causing some missed tiles on chunk triggers 2011-08-20 11:38:55 +08:00
Mike Primm e643292a7e Fix boundary condition that was causing some missed tiles on chunk triggers 2011-08-19 22:38:08 -05:00
Mike Primm f0a8300632 Merge remote branch 'upstream/master' 2011-08-19 21:36:35 -05:00
Mike Primm f24141587f Fix Residence region output in JSON mode 2011-08-20 00:29:55 +08:00
Mike Primm e2616c9159 Fix Residence region output in JSON mode 2011-08-19 11:27:38 -05:00
Mike Primm 83a9ff80d0 Add 'parallelrendercnt' - multi-core fullrender support (experimental) 2011-08-18 12:14:56 +08:00
Mike Primm fd2085b511 Add 'parallelrendercnt' - multi-core fullrender support (experimental) 2011-08-17 23:14:05 -05:00
Mike Primm ae9d1fde90 Turn off using temp file in ImageIO - our images are too small to do that 2011-08-17 10:26:07 +08:00
Mike Primm 7fd2d5bf10 Turn off using temp file in ImageIO - our images are too small to do that 2011-08-16 21:25:16 -05:00
Mike Primm e479d04c85 Merge remote branch 'origin/master' 2011-08-16 18:19:43 -05:00
Mike Primm 55dc6397e1 Fix logic on scroll buttons 2011-08-17 01:00:32 +08:00
Mike Primm d5d01cf5af Fix logic on scroll buttons 2011-08-16 11:59:08 -05:00
Mike Primm 98b3bdfde3 Add triggered update queue length to /dynmap stats 2011-08-16 13:48:00 +08:00
Mike Primm 4be423cfb8 Add triggered update queue length to /dynmap stats 2011-08-16 00:46:41 -05:00
Mike Primm 477a7d13de Add multiple quality levels for JPG encoding - adjust default to 0.85 2011-08-16 12:32:01 +08:00
Mike Primm 4616f6a5be Fix window resize exception - Leaflet expects 'map' at top level... 2011-08-16 08:08:59 +08:00
Mike Primm 829e1339a8 Change console fullrender to seed from world's center setting, vs 0,0,0 2011-08-15 21:10:44 +08:00
Mike Primm c9494a312d Fix exception if initial update has stale logoff for player+chat 2011-08-15 21:10:44 +08:00
Mike Primm 5b7ad0f4c9 Fix IE exceptions from debug code, canvas calls 2011-08-15 10:10:08 +08:00
Mike Primm 55720cfd4d Avoid exception try-catch on nominal path 2011-08-15 07:25:18 +08:00
Mike Primm 4cb5b9a956 Fix initial zoomout processing (unnecessary updates), extra tile invalidates 2011-08-15 07:25:17 +08:00
Mike Primm 6860d8952f More invalidate tightening up 2011-08-15 04:49:58 +08:00
Mike Primm 1aa3d07e6a Fix break in namedTile during integrate of updated Leaflet 2011-08-15 04:49:42 +08:00
Mike Primm 0c9cfedb6e Handle tile invalidates better for bigger-than-one-block cases (chunks) 2011-08-15 04:49:42 +08:00
Mike Primm 042544f22e Reapply updated Leaflet patch 2011-08-14 14:59:53 +08:00
Mike Primm f5d5171f86 Improve scaling of memory use with large numbers of tiles, prep for suspend/resume support 2011-08-14 14:27:20 +08:00
Mike Primm fb366ce36b Update rail and ladder models - work better with non-default textures 2011-08-14 13:13:24 +08:00
Mike Primm 9f4df9a76e Switch to using continuousWorld option in newer Leaflet - saves on override 2011-08-14 13:12:58 +08:00
Mike Primm 0bc760230f Update Leaflet (lots of fixes) 2011-08-14 13:12:58 +08:00
Mike Primm c524c39901 Add pistonmoved event handling, full rendering for piston and extension 2011-08-14 10:36:47 +08:00
Mike Primm 3da03c978b Add model for redstone repeater 2011-08-13 12:32:09 +08:00
Mike Primm 4316e1f3e4 Add support for single map render via /dynmap fullrender world:map, /dynmap radiusrender radius mapname 2011-08-13 11:48:26 +08:00
Mike Primm b800984e3f Fix alpha-blending on scaled textures, and mask textures 2011-08-13 11:03:16 +08:00
Mike Primm 17c2072b82 Fix armor calculation - bring in line with funky method used in MC UI 2011-08-13 05:36:48 +08:00
Mike Primm d008548306 Add support for JPEG encoding option for HDMaps 2011-08-12 14:48:52 +08:00
mikeprimm 49b38c10b7 Merge pull request #401 from mikeprimm/master
Fix typo in 'sendposition' setting - allow both 'sendposition' and 'sendpositon' in case someone worked around it
2011-08-10 20:38:52 -07:00
Mike Primm 053bd0e561 Fix typo in 'sendposition' setting - allow both 'sendposition' and 'sendpositon' in case someone worked around it 2011-08-10 22:37:41 -05:00
mikeprimm 4d3931709b Merge pull request #400 from mikeprimm/master
Add support for selectively hiding portions of worlds (opposite of visibilitylimits)
2011-08-10 20:18:20 -07:00
Mike Primm 166a5272fb Add support for selectively hiding portions of world (hiddenlimits) 2011-08-10 22:15:18 -05:00
mikeprimm 7e8e0411d9 Merge pull request #399 from mikeprimm/master
Add poly2d region support back to WorldGuard support
2011-08-10 18:48:36 -07:00
Mike Primm 6616b3eae5 Add poly2d region support back to WorldGuard 2011-08-10 20:47:14 -05:00
mikeprimm 0c99a6e7f4 Merge pull request #398 from mikeprimm/master
IE8 doesn't have indexOf, if you can believe that....
2011-08-10 16:10:35 -07:00
Mike Primm a5e3f36d97 Fix IE8 - missing indexOf(), if you can believe that.... fix is per
https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/IndexOf
2011-08-10 18:07:59 -05:00
FrozenCow f5f9c3bb31 Use shift, not pop, for queue. 2011-08-10 23:32:33 +02:00
FrozenCow 91b9b456b5 Added tile queueing. 2011-08-10 22:39:57 +02:00
mikeprimm 0a60c35be0 Merge pull request #395 from mikeprimm/master
Handle texture packs that do not include all required files
2011-08-10 12:58:30 -07:00
Mike Primm 641406a68e Merge remote branch 'upstream/master' 2011-08-10 14:55:07 -05:00
Mike Primm 334f3d983a Add handling for texture packs that don't provide all needed files -
fall through to standard pack when needed
2011-08-10 14:54:25 -05:00
FrozenCow 04c3a432e1 Added extra configuration for maven-assembly to fix directory-permissions. 2011-08-10 15:54:19 +02:00
FrozenCow fdbce8df36 Only handle cuboid regions. 2011-08-10 15:14:48 +02:00
mikeprimm 81d68d5ac9 Merge pull request #391 from mikeprimm/master
Add permissions info to plugin.yml
2011-08-09 22:55:24 -07:00
Mike Primm 6383a7ef22 Add permissions info to plugin.yml 2011-08-10 00:52:55 -05:00
mikeprimm 1fcef60768 Merge pull request #390 from mikeprimm/master
Model for cactus - fix seams on edges, since cactus aren't quite full block
2011-08-09 18:46:19 -07:00
Mike Primm 3a38b44e79 Make model for cactus - they aren't quite full block 2011-08-09 20:45:08 -05:00
mikeprimm 82b7a87a7c Merge pull request #389 from mikeprimm/master
Check for raw biome lookup overflows - prevent array exceptions on some worlds
2011-08-08 22:20:06 -07:00
Mike Primm 48ba43aae5 Check for overflow on biome lookup - prevent exceptions on some worlds 2011-08-09 00:18:38 -05:00
Mike Primm 89525c38d5 Merge remote branch 'origin/master' 2011-08-08 23:41:15 -05:00
mikeprimm d468abe5a1 Merge pull request #387 from mikeprimm/master
Add id=3 leaves: apparently, alpha-map leaves migrated to this value
2011-08-08 07:21:27 -07:00
Mike Primm 9c44843884 Add leaves id=3: apparently alpha-map leaves migrated to this? 2011-08-08 09:20:10 -05:00
mikeprimm 2b26bdd5a4 Merge pull request #384 from mikeprimm/master
Add leafid + 12 values - not sure if needed, but no harm in it (for 0.20.1)
2011-08-07 21:01:13 -07:00
Mike Primm a76a734e16 Add mappings for leaves for +12 - not sure if needed, but can't hurt 2011-08-07 22:58:51 -05:00
mikeprimm 4fd3382493 Merge pull request #383 from mikeprimm/master
Fix subblock rendering of scaled down models (esp flat ones like rails, redstone) (for 0.20.1)
2011-08-07 20:12:43 -07:00
Mike Primm 4209a2c54d Fix subblock rendering of flat, scaled-down models (for 0.20.1) 2011-08-07 22:11:00 -05:00
mikeprimm 154057adcc Merge pull request #381 from mikeprimm/master
Handle leaf fade processing flag values in texture mapping
2011-08-07 08:35:17 -07:00
Mike Primm a641d2d831 Handle fade-processing bit values on leaves (N, N+4, N+8) 2011-08-07 10:29:54 -05:00
FrozenCow cd7e04fec3 Added another data-value (8) for leaves that occurs in parts of the trees in Skylands. 2011-08-07 16:55:22 +02:00
FrozenCow 4381d5838c Changed version to 0.21. 2011-08-06 20:04:53 +02:00
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
mikeprimm 5eacf530bd Merge pull request #209 from mikeprimm/master
Prevent bad JSON when http://jsonip.appspot.com/ is broken or overquota
2011-06-12 21:34:54 -07:00
Mike Primm f802c1d889 Prevent broken JSON when http://jsonip.appspot.com/ is over quote or
broken.
2011-06-12 21:33:36 -07:00
mikeprimm a827843365 Merge pull request #202 from MiLk/encoding
Use unicode hexadecimal for specials characters
2011-06-12 19:56:24 -07:00
mikeprimm d1f94fbf8e Merge pull request #208 from mikeprimm/master
Add better HTTP proxy support for webchat, add hidewebchatip option to alias web chat IP addresses
2011-06-12 19:40:54 -07:00
Mike Primm e8a6bf46cf Add support for hidewebchatip option, to replace webchat IP with alias 2011-06-12 19:35:53 -07:00
Mike Primm 40ee132277 Add support for using X-Forwarded-From for better proxy IP handling on
webchat
2011-06-12 18:50:41 -07:00
mikeprimm 790d0380c2 Merge pull request #207 from mikeprimm/master
Add default icon for skylands surface map
2011-06-12 17:40:17 -07:00
Mike Primm 397f97800c Add image for default skylands surface map 2011-06-12 17:36:06 -07:00
MiLk 7cea521e97 Use unicode hexadecimal for specials characters
Signed-off-by: MiLk <hello@emilienkenler.com>
2011-06-09 00:30:50 +02:00
zeeZ 274cddd9ff Don't wrap whitespace in player names 2011-06-08 22:49:35 +08:00
mikeprimm 65f93393e6 Merge pull request #198 from mikeprimm/master
Eliminate initial player position flicker
2011-06-03 07:56:14 -07:00
Mike Primm d54d26db69 Fix typo in example 2011-06-03 09:52:26 -05:00
Mike Primm 867c31573e Remove icon position flicker on first load/player add 2011-06-03 09:51:41 -05:00
Mike Primm 38163133cb Have per-world control of sending player position and health, prevent
player icon flicker on addplayer (even when not on world or position
is obfuscated)
2011-06-03 08:42:24 -05:00
mikeprimm c323ba5b11 Merge pull request #197 from mikeprimm/master
Add optional background color control per map, including day/night
2011-06-03 01:32:10 -07:00
Mike Primm 6a50b2ebcd Add background color support per map, add skylands template default 2011-06-03 03:24:21 -05:00
mikeprimm 684376889e Merge pull request #196 from mikeprimm/master
Fix player position security problems
2011-06-02 22:46:29 -07:00
Mike Primm 2d0b2ef63d Hide player positions when on disabled worlds, add sendposition flat
to ClientComponent to avoid leaking position data, even when markers
are off, fix problem with stale player marker positions during/right
after map changes
2011-06-03 00:39:21 -05:00
mikeprimm 83b971ed2b Merge pull request #194 from mikeprimm/master
Fix chat.js to work for web->server chat on standalone
2011-06-02 13:44:25 -07:00
Mike Primm 18896eeac0 Fix web to server chat on standalone - make chat.js use config.sendmessage 2011-06-02 15:41:09 -05:00
mikeprimm b2df79eb9c Merge pull request #193 from mikeprimm/master
Properly stringify chat inputs - prevents bad JSON input, potential security exposures
2011-06-02 13:21:26 -07:00
Mike Primm 7f662b2b1a Properly stringify chat input, so that we wind up with value JSON (doublequote, and others) 2011-06-02 15:15:46 -05:00
mikeprimm 07f16d1cfb Merge pull request #192 from mikeprimm/master
Replace "?0" in default image URLs with "?<currenttimemillis>" to prevent browser cache issues
2011-06-02 11:20:51 -07:00
Mike Primm d0e66d7e35 Replace "?0" with "?<currentmilliseconds" on default tile URLs to fix browser cache issues between reloads 2011-06-02 13:14:38 -05:00
mikeprimm 9a7c1f5751 Merge pull request #190 from mikeprimm/master
Make sure JSON/Web text communications are either escaped or UTF-8 encoded (non-Latin character set support)
2011-06-01 22:36:48 -07:00
Mike Primm 0fdeee5177 Make sure all JSON/web text interactions are escaped and/or UTF-8 2011-06-02 00:20:25 -05:00
mikeprimm 60d1a59d45 Merge pull request #189 from mikeprimm/master
Fix hash index calculation - kzed tile coords inconsistent with map
2011-06-01 17:33:04 -07:00
Mike Primm 3c793b5302 Merge remote branch 'origin/master' 2011-06-01 19:09:46 -05:00
Mike Primm cf71b38259 Fix tile coord calculation for tile hash on kzed render - too sparse
because not divided by tile dimensions (inconsistent with flat :<)
2011-06-01 19:08:53 -05:00
Mike Primm 364272fafe Incorporate ovocean's updates, plus fix for bad bookshelf ID 2011-06-02 03:36:50 +08:00
Mike Primm 28ccb2ae71 Incorporate ovocean's updates, plus fix for bad bookshelf ID 2011-06-01 14:18:24 -05:00
mikeprimm e6566f6cff Merge pull request #186 from mikeprimm/master
Update colorschemes with 1.6 block IDs, scrub obsolete alpha block IDs
2011-05-31 23:53:02 -07:00
Mike Primm 68a78023c8 Add new block IDs, remove obsolete ones from colorschemes 2011-06-01 01:50:57 -05:00
Mike Primm e46de59da5 Improve transparency processing on flat map 2011-06-01 13:14:47 +08:00
Mike Primm 4af247593d Improve transparency processing on flat map 2011-06-01 00:12:27 -05:00
mikeprimm 0f0af92c4b Merge pull request #185 from mikeprimm/master
Add transparency control option to Flat and Surface renderers, file lock fixes
2011-05-31 21:53:25 -07:00
Mike Primm 19984946ac Add transparency samples to configuration.txt 2011-05-31 23:49:04 -05:00
Mike Primm c4646dc299 Add transparency option on Flat and Surface map, fix file locks 2011-05-31 23:44:17 -05:00
mikeprimm c97b373fa5 Merge pull request #184 from mikeprimm/master
Add file access read/write locking to avoid conflicting tile updates, dirty reads by internal web server
2011-05-31 19:27:15 -07:00
Mike Primm c48d06eec1 Add file access synchronization to prevent conflicting tile updates 2011-05-31 21:20:23 -05:00
Arthur Mayer 5dbb69f2fe Merge pull request #183 from flames/master
fixed encoding (sorry)
2011-05-31 15:12:50 -07:00
Arthur Mayer 44cc1da227 fixed encoding (sorry) 2011-06-01 00:11:41 +02:00
Arthur Mayer 773ce4e3f0 Merge pull request #182 from flames/master
added configurable suffix for webchat
2011-05-31 14:54:32 -07:00
Arthur Mayer af51d8b7e0 added configurable suffix for webchat 2011-05-31 23:30:02 +02:00
Arthur Mayer cd02926fb0 made webchat prefix to configurable 2011-05-31 23:10:16 +02:00
Mike Primm aa7d80407f Fix chatfile - shouldn't have changed this with last fix 2011-06-01 03:33:01 +08:00
mikeprimm 852c185b0b Merge pull request #180 from mikeprimm/master
Make JSON file updates more transactional, to prevent reading of partially written files
2011-05-31 12:05:24 -07:00
Mike Primm cbbea34859 Make JSON file updates more transactional - fix problem with read
during updates (seen on flames server)
2011-05-31 14:01:12 -05:00
mikeprimm f6390581f4 Merge pull request #179 from mikeprimm/master
Add render statistics, support for tile hashcodes to reduce unneeded tile updates
2011-05-30 22:47:06 -07:00
Mike Primm d393ccf6e9 Add render statistics, support for tile hashcodes to stop non-updates 2011-05-31 00:33:54 -05:00
mikeprimm 4eec50a112 Merge pull request #178 from mikeprimm/master
Add meta tags for Apple mobile devices - puts page in full screen mode
2011-05-30 09:10:40 -07:00
Mike Primm 4b30fff8a7 Add meta tags for Apple mobile devices - full screen layout works nice 2011-05-30 11:05:21 -05:00
mikeprimm 74fb60718d Merge pull request #177 from mikeprimm/master
Avoid exception in JSON handling for web chat messages without timestanp
2011-05-30 08:52:06 -07:00
Mike Primm d0bee6f030 Handle trap in Json handling if timestamp not specified 2011-05-30 10:45:58 -05:00
mikeprimm 3e9e695087 Merge pull request #176 from mikeprimm/master
FIx snow rendering in flat map
2011-05-30 08:20:26 -07:00
Mike Primm 840854aef0 Fix snow rendering on flat map 2011-05-30 10:16:56 -05:00
mikeprimm d40bdf4638 Merge pull request #175 from mikeprimm/master
Add 'sidebaropened' option flat, to allow menu sidebar to be always opened
2011-05-30 07:58:35 -07:00
Mike Primm 09e1ebc972 Add 'sidebaropened' option to auto-pin sidebar 2011-05-30 09:56:10 -05:00
mikeprimm bdccd5daf0 Merge pull request #174 from mikeprimm/master
Add night-and-day option support in web interface - automatically synced to world time
2011-05-29 15:33:36 -07:00
Mike Primm c00bd077cb Add support in web UI for automatic day/night cycle when night-and-day
set for a given map.
2011-05-29 17:24:46 -05:00
Mike Primm 995f4c242a More memory tuning on BufferedImage handling, workaround bukkit leak 2011-05-29 22:54:32 +08:00
Mike Primm 544283a650 More memory tuning on BufferedImage handling, workaround bukkit leak 2011-05-29 09:33:51 -05:00
mikeprimm cf6a2f8f90 Merge pull request #172 from mikeprimm/master
Rework BufferedImage handling to improve CPU performance
2011-05-28 23:56:36 -07:00
Mike Primm a25fcc0001 Create BufferedImage using our own buffer - allows faster pixel
writing
2011-05-29 01:52:57 -05:00
mikeprimm 6596742bbe Merge pull request #171 from mikeprimm/master
Fix debugger loading, and handle height field boundary condition at zero
2011-05-28 01:27:03 -07:00
Mike Primm fc88dfad41 Fix boundary condition on height field - raw can be zero, function
return value must not be.  Also, fix debugger loading function.
2011-05-28 03:22:50 -05:00
mikeprimm 340da29e18 Merge pull request #170 from mikeprimm/master
Use height map from Chunk - better performance on flat map
2011-05-28 00:04:57 -07:00
Mike Primm 15fb1ec743 Fetch height map from Chunk - more performance 2011-05-28 01:59:02 -05:00
Mike Primm b0b1ab5926 Add night-and-day support for FlatMap 2011-05-28 01:16:54 -05:00
mikeprimm 611a12312a Merge pull request #169 from mikeprimm/master
Shift all rendering off server thread to async thread pool, minimize server thread load
2011-05-27 22:23:25 -07:00
Mike Primm e1a17ca79c Add night-and-day setting to drive night/day tile set generation 2011-05-28 00:11:26 -05:00
Mike Primm 9b12ebc025 Shift all rendering over to async thread pool, minimize server thread
load
2011-05-28 00:08:29 -05:00
mikeprimm b6c36f016f Merge pull request #168 from mikeprimm/master
Add support for emitted light, including support for "night view" in both Surface and Flat rendere
2011-05-26 22:59:49 -07:00
Mike Primm d2c947653d Add night view via ambientlight setting on Flat and Surface maps, add
night-and-day setting to generate both night (default) and day
(prefix+'_day') versions of tiles, and add transparency to generated
PNG files
2011-05-27 00:56:56 -05:00
FrozenCow 993b26beb4 Changed version to 0.18. 2011-05-26 23:57:42 +02:00
Mike Primm f9f615db2d Fix exception in world ordering code when world not in worlds list 2011-05-26 15:32:56 -05:00
FrozenCow bc6176f3e1 Fixed order of worlds in sidebar. 2011-05-26 19:05:16 +02:00
FrozenCow 0db2296e97 Reverted map-structure for worlds, so that worlds have an order again.
This reverts commit f0cdd5614b, fd0c430695 and cee491f610.
2011-05-26 18:06:17 +02:00
FrozenCow e4e0d68537 Formatted config.js. 2011-05-26 14:16:34 +02:00
FrozenCow d1a8c40248 Added ability to set each url individually. 2011-05-26 13:54:08 +02:00
FrozenCow f0cdd5614b Fix when leaving out the world: section. 2011-05-26 03:03:45 +02:00
FrozenCow fd0c430695 Fixed nether configuration. 2011-05-26 02:43:18 +02:00
FrozenCow cee491f610 Made configuration structure of worlds like templates (looks nicer :D). 2011-05-26 02:33:26 +02:00
Mike Primm 38dd39d75f Fix spacing on player markers to correct health/armor layout 2011-05-25 12:29:21 +08:00
FrozenCow 108e9d24c4 Changed the way templates and world-configuration are handled. 2011-05-24 02:13:43 +02:00
mikeprimm de0ad58344 Fix missing spaces on sample name-title only world definition 2011-05-23 16:43:37 -07:00
mikeprimm cf660f0c9a Merge pull request #162 from mikeprimm/master
FIx broken checkin
2011-05-23 08:17:45 -07:00
mikeprimm 015f898255 Screwed up merge 2011-05-23 08:16:35 -07:00
mikeprimm d75a0ea325 Merge pull request #161 from mikeprimm/master
Add hiddenworlds list to suppress templates on listed worlds
2011-05-23 08:10:18 -07:00
mikeprimm d0ab3b6fe5 Add sample hiddenworlds settings with harmless defaults 2011-05-23 08:08:06 -07:00
mikeprimm 7cf75873b8 Add hiddenworlds attribute to suppress templates on selected worlds 2011-05-23 08:06:08 -07:00
Mike Primm b89af6cca3 Fix handling of existing maps tag under world definitions 2011-05-23 08:23:28 +08:00
Mike Primm 23f5ec5a27 Fix handling of existing maps tag under world definitions 2011-05-22 19:21:27 -05:00
mikeprimm 3b7e81a729 Merge pull request #160 from mikeprimm/master
Add support for world-type-specific templates in configuration.txt - automatically configure worlds
2011-05-22 15:41:32 -07:00
Mike Primm 19fca36bac Add support world-type-specific templates, to allow automatic
initializing of worlds (make configuration.txt work unmodified for
most folks, while still supporting per-world customizations)
2011-05-22 17:28:12 -05:00
FrozenCow d44c3620cc Fixed errorous css with Opera (thanks Lycano!) 2011-05-22 22:04:43 +02:00
Mike Primm fe25cb6a0f Fix player faces when aliases being used, and strip color from player
display names sent to web UI
2011-05-23 03:23:11 +08:00
FrozenCow 2866eaa905 Added ability to reload (also using 'dynmap reload'). 2011-05-22 19:42:47 +02:00
FrozenCow ca9be50422 Another fix for chat. 2011-05-22 18:51:11 +02:00
FrozenCow f00e05f25e Fixed web-to-mc chat for JsonFile? 2011-05-22 18:24:09 +02:00
FrozenCow d6cce5ed48 Fixed client-updates for JsonFile. 2011-05-22 18:11:16 +02:00
FrozenCow 04d93d35fd Removed global chat related configuration-values from configuration.txt. 2011-05-22 17:49:26 +02:00
FrozenCow 15489833df Fixed allowwebchat for JsonFile. 2011-05-22 17:46:11 +02:00
FrozenCow d5c19703f6 Added map-icon to configuration. 2011-05-22 17:45:30 +02:00
FrozenCow fea84a45b2 Corrected JsonFile use of webpath. 2011-05-22 17:09:42 +02:00
FrozenCow 1622bb4408 Added center to configuration with default 0,64,0 like before. 2011-05-22 16:48:43 +02:00
zeeZ 3fd511a8d1 Added armor (merged from zeeZ). 2011-05-22 16:28:26 +02:00
FrozenCow 3b16a36b99 Made use of log.log instead of .info. 2011-05-22 16:28:19 +02:00
zeeZ 5ae837f911 Added log prefix to info logger. 2011-05-22 16:28:14 +02:00
FrozenCow 5f8c44ee6b Transfered chat/webchat functionality to their components. 2011-05-22 16:28:10 +02:00
FrozenCow e2f0307eeb Cleaned up depricated configuration. 2011-05-22 16:28:06 +02:00
FrozenCow d5b4f6c8c4 Transfered client-updates to two components (jsonfile and internal). 2011-05-22 16:28:01 +02:00
FrozenCow 9fa46597d1 Made use of org.json.simple for updates. 2011-05-22 16:27:57 +02:00
FrozenCow 987e6bcb54 Moved HeroChat code to HeroWebChatModule. 2011-05-22 16:27:53 +02:00
FrozenCow b2cb15b75c Moved regions-code to regions-component. 2011-05-22 16:27:49 +02:00
FrozenCow e57301b14e Added events for components and implemented 'buildclientconfiguration'-event in ClientConfigurationComponent. 2011-05-22 16:27:43 +02:00
FrozenCow 38c8254707 Added simple start for server-side components. 2011-05-22 16:27:37 +02:00
mikeprimm 5b5b217be2 Merge pull request #159 from mikeprimm/master
Fix player faces when nicknames used, partial fix for HeroChat
2011-05-22 00:05:09 -07:00
Mike Primm de73cd4028 Better fix for HeroChat - still need herochatwebchannel's channel to
be set to join-messages: true to allow web messages before first
player message in channel.
2011-05-22 01:53:48 -05:00
Mike Primm 06785be5f3 Fixes for alias/nicknames in web UI (esp handling player icons),
HeroChat fixes
2011-05-21 23:58:48 -05:00
Mike Primm b108cad2d3 Merge remote branch 'upstream/master' 2011-05-21 01:30:07 -05:00
mikeprimm cb010802db Merge pull request #156 from mikeprimm/master
Implement chunk snapshotting approach to drop memory use and CPU use significantly, add shadows option (via shadowstrength) on defaulttilerender, add fix for nicknamed players' skins
2011-05-20 23:03:35 -07:00
Mike Primm 4fb1ddf49a Fix for skins on players with nicknames - send up account name as well
as display name.
2011-05-21 00:59:08 -05:00
Mike Primm 325f069b46 Add BufferedImage cache 2011-05-21 00:30:42 -05:00
Mike Primm 024e7dc96c Tune shadow render, add to accept wait queue on web server 2011-05-20 23:26:46 -05:00
Mike Primm b56332eae8 Fix line feeds... 2011-05-20 20:59:39 -05:00
Mike Primm 992a905b0a Add shadowstrength attribute for surface renderer - enables shadows
based on top-down chunk sky light data
2011-05-20 20:52:34 -05:00
mikeprimm 920dea04ee Make sure boundary condition is respected - getHighestBlockY must return 1 or higher 2011-05-20 08:47:35 -07:00
mikeprimm 2ccf70d3fe Make sure boundary condition is right on getMaximumY - must be 1 or higher 2011-05-20 08:46:12 -07:00
Mike Primm 3365a96565 Prototype of chunk snapshot support - pre-Bukkit API (reflection
based, with fallback to existing APIs)
2011-05-20 01:38:49 -05:00
FrozenCow c3f0062862 Fixed ConfigurationNode. 2011-05-19 11:15:15 +02:00
mikeprimm 9dc81aa65a Merge pull request #154 from mikeprimm/master
Add support for WorldGuard on built-in server
2011-05-18 21:40:27 -07:00
Mike Primm 26f4f7d994 Add support for WorldGuard on built-in server, fix getNodes() on new
ConfigurationNode class
2011-05-18 23:29:33 -05:00
FrozenCow a7ba34065b Fixed arguments for createInstance. 2011-05-19 03:18:20 +02:00
zeeZ ecf415d9e4 Optional option is optional. 2011-05-19 01:53:22 +02:00
zeeZ 6bea667659 Optionally add player health bars to map markers. 2011-05-19 01:53:08 +02:00
zeeZ 728cd8304a Option to output player health in json for later web usage. 2011-05-19 01:52:38 +02:00
FrozenCow 7937a64f06 Cleaned up logging. 2011-05-19 01:36:14 +02:00
FrozenCow e28ee185b6 Cleaned up configuration handling and added new logging class. 2011-05-19 01:36:05 +02:00
zeeZ e5556d9138 herochatchannels like the rest of the config syntax, additional example channels 2011-05-19 01:35:10 +02:00
Mike Primm 084cf3f0f9 Missed one LOG_PREFIX 2011-05-19 01:35:10 +02:00
Mike Primm 28e98a617d Add basic progress messages on fullrender (end of each map, every 100
renders), and add dispose on Graphics2D to accelerate non-heap memory
recovery
2011-05-19 01:35:10 +02:00
zeeZ c2d596e433 Recenter map only on projection change. 2011-05-19 01:35:09 +02:00
Christian 32da02ffaa Merge pull request #149 from zeeZ/0caa6550
Default zoom to 0, option in config.
2011-05-17 04:37:49 -07:00
zeeZ 0caa655095 Default zoom in config or 0. 2011-05-17 13:34:54 +02:00
Christian 771b708959 Merge pull request #148 from zeeZ/master
Organize imports and output prefixing.
2011-05-17 02:45:29 -07:00
zeeZ d840b07960 Organize imports. 2011-05-17 11:30:06 +02:00
zeeZ b36821f3b4 Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/main/java/org/dynmap/MapManager.java
	src/main/java/org/dynmap/debug/LogDebugger.java
	src/main/java/org/dynmap/web/handlers/FileHandler.java
	src/main/java/org/dynmap/web/handlers/SendMessageHandler.java
2011-05-17 11:24:13 +02:00
mikeprimm 57f4f0030e Merge pull request #147 from mikeprimm/master
Fix problem with common buffer in re-entrant FileHandler
2011-05-16 20:05:49 -07:00
Mike Primm deef732129 Fix re-entrancy problem in FileHandler (shared buffer can cause
corrupted or exchanged tiles)
2011-05-16 21:11:28 -05:00
zeeZ 17ba0d4d00 Organize imports. 2011-05-17 02:43:25 +02:00
zeeZ ccbd6bf45e Prefix all (intentional) output properly. 2011-05-17 02:38:49 +02:00
zeeZ 9cdbf45062 Added chunkloaded trigger to config 2011-05-17 06:58:33 +08:00
zeeZ d915f7b14a Fix error if no render triggers are defined. 2011-05-17 06:58:32 +08:00
zeeZ 70dead3fb9 Added chunkloaded trigger to config 2011-05-17 00:53:31 +02:00
zeeZ b804aa72f8 Fix error if no render triggers are defined. 2011-05-17 00:38:26 +02:00
zeeZ 17f5f43772 Tabs and spaces. 2011-05-16 20:55:19 +08:00
zeeZ 5e107cccb9 Op always has permission 2011-05-16 20:55:19 +08:00
zeeZ 05f3ced64f Tabs and spaces. 2011-05-16 14:51:18 +02:00
zeeZ b01e0c8cdc Op always has permission 2011-05-16 14:28:18 +02:00
zeeZ 69b562a5bf Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/main/java/org/dynmap/flat/FlatMap.java
2011-05-16 14:20:56 +02:00
mikeprimm 4a17f87691 Merge pull request #146 from mikeprimm/master
Memory optimization for render
2011-05-15 22:46:22 -07:00
Mike Primm 04056572f8 Optimize the getRequiredChunks() to load only chunks that are needed -
reduces chunks needed by 42% versus current implementation.
2011-05-15 23:50:50 -05:00
Mike Primm 271990b87c Reduce heap memory allocation on render path (less heap junk) by
replacing java.awt.Color with work-alike, lightweight updatable
alternative.
2011-05-15 22:25:45 -05:00
mikeprimm cbfa26a5b3 Merge pull request #143 from mikeprimm/master
Remerged - nether render updates, and rest of HeroChat
2011-05-15 19:20:52 -07:00
Mike Primm 355d54842f One more with the tabs 2011-05-15 08:05:36 -05:00
Mike Primm e26ac97787 Clean up tabs 2011-05-15 08:02:45 -05:00
Mike Primm 03376dab52 Finish HeroChat support - handle directing web messages to selected
channel (versus spamming everyone)
2011-05-15 07:56:45 -05:00
Mike Primm 0ffc825b05 Re-merge the nether render support, and update race condition fixes 2011-05-14 23:25:59 -05:00
Mike Primm 600dd00bcd HeroChat support - reflection based binding to it 2011-05-15 01:18:20 +02:00
zeeZ fe93f64273 Added data value colored blocks to flat map 2011-05-14 21:28:21 +08:00
zeeZ d41422fc2c Added data value colored blocks to flat map 2011-05-14 15:20:10 +02:00
zeeZ 491e88f745 Fixed kzed map scrolling on higher zoom levels 2011-05-14 20:54:10 +08:00
zeeZ ecf6ae69a3 Fixed kzed map scrolling on higher zoom levels 2011-05-14 14:32:18 +02:00
zeeZ 4985c763cc Merge remote-tracking branch 'upstream/master' 2011-05-14 13:56:32 +02:00
zeeZ 7ff33f04a0 (Optionally) set map center in web config, automagically pan there on map change. 2011-05-14 12:40:59 +02:00
mikeprimm 31584804aa Fix zoom so that markers are placed properly 2011-05-14 12:40:26 +02:00
zeeZ 2b01db451d (Optionally) set map center in web config, automagically pan there on map change. 2011-05-14 01:16:26 +02:00
zeeZ c82a54fe7f Added data value colors for Stone Slabs and Double Stone Slabs to colorschemes, added Sandstone color as a copy of Sand color to sk89q.txt 2011-05-13 22:26:00 +08:00
zeeZ a1ccc876a3 Added data value colors for Stone Slabs and Double Stone Slabs to colorschemes, added Sandstone color as a copy of Sand color to sk89q.txt 2011-05-13 15:17:55 +02:00
FrozenCow e752ae3bd5 Changed version to 0.17. 2011-05-13 12:49:43 +02:00
Mike Primm 1e3ceed5d7 Add zooming to flat map (why not? :) ) 2011-05-13 10:59:06 +02:00
FrozenCow 88ff70ac48 Added formatting profile which is used for Dynmap. This should look a lot like the profile used in Bukkit. 2011-05-13 10:48:37 +02:00
FrozenCow 84d01c530a Replaced tabs with spaces to conform the Bukkit standards. 2011-05-13 10:41:02 +02:00
Mike Primm daa2d0f186 Pull debug message 2011-05-13 10:31:50 +02:00
Mike Primm 17644a5778 Add tile data coloring (aka colored wool support), combine rendering
of default tiles and their zoomed counterparts (saves reloading the
default tile, and keeps the scale levels of the map consistent during
a fullrender and otherwise)
2011-05-13 10:31:38 +02:00
Mike Primm 0a8f2a182a Shift all imageIO and file I/O to async thread
Minus the version change in plugin.yml.
2011-05-13 10:29:38 +02:00
zeeZ 619485212d First iteration of weather icons 2011-05-10 12:51:52 +02:00
zeeZ 7f5d3ab23d Consistency to make Kilandor happy :-). 2011-05-10 12:51:52 +02:00
zeeZ bb45cc10cb Added weather to json world output (hasStorm and isThundering) 2011-05-10 12:51:52 +02:00
zeeZ c0479bff05 Fixed NPE if using regionless config. 2011-05-10 12:51:52 +02:00
zeeZ cf1d6c414d Organize imports 2011-05-10 12:51:52 +02:00
zeeZ 9eab216525 Use Bukkit's way to strip colors. 2011-05-10 12:51:52 +02:00
FrozenCow b8fe65bc99 Partly reverted previous change to get back to zeeZ' getDisplayName. 2011-05-10 12:51:52 +02:00
FrozenCow 1a5ddeeda5 Removed generation of .tar.bz2. 2011-05-10 12:26:26 +02:00
Mike Primm 5f23afe608 Don't need additional delay - using AsycnQueue for that 2011-05-10 12:26:18 +02:00
Mike Primm 0a1de1b18e Add option to run incremental renders on sync thread, using same chunk
logic as timesliced full render, in order to handle cases where
assumption that all chunks needed for incremental render are already
resident (which can be false if player telepots, move quickly,
multiple players are active, etc).
2011-05-10 12:26:11 +02:00
Mike Primm 88db6445f9 Added timeslicing to configuration 2011-05-10 12:26:02 +02:00
Mike Primm 6c708d1b3a Add version log message - keep track builds easier 2011-05-10 12:25:56 +02:00
Mike Primm dcdfb3da5d Trap on bogus world names or player with bad current location 2011-05-10 12:25:48 +02:00
Mike Primm 95cc3ae869 Add "time-sliced" implementation of fullrender, which does one tile at
a time using the Bukkit scheduler while using a tunable interval
between tiles (0.5 second default), and avoids player timeouts and
blooming the chunk and entity population.
2011-05-10 12:25:34 +02:00
FrozenCow 106f95d8b6 Removed a println. 2011-05-08 21:15:44 +02:00
FrozenCow be60623719 Fixed tabs. 2011-05-07 22:11:41 +02:00
FrozenCow ff026e91b6 Disabled regions component by default. 2011-05-07 00:20:34 +02:00
FrozenCow b66be7a47c Merge remote-tracking branch 'kilandor/master' 2011-05-07 00:04:05 +02:00
FrozenCow 92e3ec5f08 Merge remote-tracking branch 'zeez/master' 2011-05-06 23:19:37 +02:00
FrozenCow c4e1362274 Added another way to specify configuration file. 2011-05-06 23:18:46 +02:00
zeeZ 63b9579fa5 Strip colors off chat, use getDisplayName instead of getName 2011-05-01 23:11:29 +02:00
zeeZ 5f32f8fb99 Added Google Maps API version selection to fix map changes 2011-04-28 16:58:30 +02:00
zeeZ ca9aa0727f Fix for worlds with weird names and URLDecode mumbo-jumbo 2011-04-28 16:34:50 +02:00
Jason Booth b3ccd203c8 Added some info
Fix for spam warning for php(Thanks for bug report flames)
2011-04-13 20:23:24 -05:00
Jason Booth 8e59f37995 Initial Support for Regions system on dynmap
Included Worldguard support(default)
Also residence support(incomplete)
2011-04-13 19:58:25 -05:00
zeeZ 91b60be572 Less config checks in loop, added newline at EOF 2011-04-11 23:57:10 +02:00
zeeZ 69fcc1706e Option to treat hiddenplayers.txt as a whitelist. 2011-04-11 04:10:47 +02:00
zeeZ ab6352a17d Hidden players stored in lowercase. 2011-04-11 02:40:03 +02:00
zeeZ 631f06d091 More detailed permissions 2011-04-11 02:27:56 +02:00
zeeZ 8d5f081cdf Compass style based on map type. Hacky because widgets have classes, not IDs 2011-04-09 08:24:52 +02:00
zeeZ 553a956949 Flipped flat map so North is up 2011-04-08 21:40:16 +02:00
FrozenCow d53b3bc340 Added HighlightTileRenderer (thanks in part to rockNme2349) 2011-04-07 15:46:50 +02:00
FrozenCow eb276dd59d Another attempt to make server conform http. 2011-04-06 00:54:48 +02:00
FrozenCow ad33ef79d9 Fixed up.php. 2011-04-05 23:25:11 +02:00
FrozenCow b47bbee4e8 Cleaned up join/quit messages (not being send as chat messages) 2011-04-05 22:58:46 +02:00
FrozenCow e1e13df4b2 Removed redundant configuration values and made use of customizable join/quit messages. 2011-04-05 22:30:43 +02:00
FrozenCow d4a2d2d32f Changed version to 0.16. 2011-04-05 01:05:51 +02:00
FrozenCow 445f37475a Added php proxy. 2011-04-03 17:15:19 +02:00
FrozenCow 0dca8d9cfe Fixed a incompatiblity with FF3 (and others). 2011-04-02 00:52:24 +02:00
FrozenCow 060f4641d4 Added option for digital clock to timeofday. 2011-03-31 16:00:47 +02:00
FrozenCow f93eb8dcbc Changed clocks to be components. 2011-03-31 15:53:42 +02:00
FrozenCow 1cda538eef Dynamically load javascript files of components. 2011-03-31 13:06:34 +02:00
FrozenCow 6622db1b2c Simplified component-creation, dropping IE8 compatibility. 2011-03-31 12:54:32 +02:00
FrozenCow 6eface57ae Separated playermarkers to a component. 2011-03-31 12:44:42 +02:00
FrozenCow 7464e5b809 Separated chatbox to a separate component (into different files). 2011-03-31 12:32:27 +02:00
FrozenCow 9a09cace54 Separated chat-balloon-code to a component. 2011-03-29 23:42:56 +02:00
alron fb825daa04 Force maven to treat everything as UTF-8. Removed a warning at compile time. 2011-03-29 12:22:54 -07:00
FrozenCow 0b421209a2 Small fix for invalid http response of updates. 2011-03-29 01:16:52 +02:00
FrozenCow 43bc625c08 Another fix for IndexOutOfBounds (by ignoring it...) 2011-03-29 00:59:10 +02:00
FrozenCow 43a652f15a Fixed IndexOutOfBoundsException (sortof?) 2011-03-28 18:32:29 +02:00
FrozenCow 649edfdc2d Changed events for the latest Bukkit changes. 2011-03-28 18:27:11 +02:00
FrozenCow 2a9b768e3f Removed onLoad again. 2011-03-27 13:14:35 +02:00
John Du Hart 064f911f5a Mised the maps API URL 2011-03-26 00:15:54 +01:00
John Du Hart 3c094ec87d Implemented protocol-relative URLs (this is tested) 2011-03-24 18:32:43 +01:00
FrozenCow 2be0cd3671 Added initial work for 'componentizing' client-side. 2011-03-21 20:46:53 +01:00
FrozenCow 15a8e03e9e Added client-side events to map. 2011-03-21 19:07:30 +01:00
FrozenCow 777b55f27b Changed version to 0.15. 2011-03-20 18:12:02 +01:00
FrozenCow 09568294f3 Removed getWorld. 2011-03-20 18:09:54 +01:00
139 changed files with 4018 additions and 6341 deletions
-51
View File
@@ -1,51 +0,0 @@
<project name="dynmap" default="dist" basedir=".">
<property name="bukkit.jar" location="C:\Users\Bob\Desktop\minecraft_server\bukkit-0.0.1-SNAPSHOT.jar"/>
<property name="minecraft" location="C:\Users\Bob\Desktop\minecraft_server"/>
<property name="plugins" location="${minecraft}/plugins/"/>
<property name="http_root" location="/srv/http/dynmap/"/>
<property name="pluginname" value="dynmap"/>
<property name="src" location="src"/>
<property name="bin" location="bin"/>
<property name="dist" location="dist"/>
<target name="init">
<mkdir dir="${bin}"/>
</target>
<target name="compile" depends="init">
<javac srcdir="${src}/main/java" destdir="${bin}" classpath="${bukkit.jar}" debug="on" includeantruntime="false" />
</target>
<target name="dist" depends="compile">
<mkdir dir="${dist}"/>
<jar jarfile="${dist}/${pluginname}.jar">
<fileset dir="${bin}"/>
<fileset file="${src}/main/resources/plugin.yml"/>
<zipfileset file="${src}/main/resources/colors.txt"/>
</jar>
</target>
<target name="deploy" depends="dist">
<copy file="${dist}/${pluginname}.jar" todir="${plugins}"/>
<copy todir="${http_root}">
<fileset dir="web"/>
</copy>
</target>
<target name="release" depends="dist">
<delete file="${pluginname}.zip"/>
<zip destfile="${pluginname}.zip">
<zipfileset dir="." includes="README.md" fullpath="readme.txt"/>
<zipfileset dir="." includes="build.xml"/>
<zipfileset dir="${dist}" includes="*.jar"/>
<zipfileset dir="${src}" includes="*.java" prefix="src/"/>
<zipfileset dir="${web}" includes="**" prefix="web/"/>
</zip>
</target>
<target name="clean">
<delete dir="${bin}"/>
<delete dir="${dist}"/>
</target>
</project>
-6
View File
@@ -1,6 +0,0 @@
<project name="dynmap_parameters" basedir=".">
<property name="bukkit.jar" location="../../bukkit.jar"/>
<property name="minecraft" location="../../"/>
<property name="plugins" location="${minecraft}/plugins/"/>
<property name="http_root" location="/srv/http/dynmap/"/>
</project>
-175
View File
@@ -1,175 +0,0 @@
Stone
1 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Grass
2 117 176 73 255 93 140 58 255 58 88 36 255 46 70 29 255
Dirt
3 134 96 67 255 107 76 53 255 67 48 33 255 53 38 26 255
Cobblestone
4 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wooden Plank
5 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Sappling
6 120 120 120 0 96 96 96 0 60 60 60 0 48 48 48 0
Bedrock
7 84 84 84 255 67 67 67 255 42 42 42 255 33 33 33 255
Water
8 38 92 255 51 30 73 204 51 19 46 127 51 15 36 102 51
Stationary Water
9 38 92 255 51 30 73 204 51 19 46 127 51 15 36 102 51
Lava
10 255 90 0 255 204 72 0 255 127 45 0 255 102 36 0 255
Stationary Lava
11 255 90 0 255 204 72 0 255 127 45 0 255 102 36 0 255
Sand
12 218 210 158 255 174 168 126 255 109 105 79 255 87 84 63 255
Gravel
13 136 126 126 255 108 100 100 255 68 63 63 255 54 50 50 255
Gold Ore
14 143 140 125 255 114 112 100 255 71 70 62 255 57 56 50 255
Iron Ore
15 136 130 127 255 108 104 101 255 68 65 63 255 54 52 50 255
Coal Ore
16 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wood
17 102 81 51 255 81 64 40 255 51 40 25 255 40 32 20 255
Leaves
18 60 192 41 100 48 153 32 100 30 96 20 100 24 76 16 100
Sponge
19 193 193 65 255 174 174 47 255 97 97 5 255 76 76 20 255
Glass
20 255 255 255 64 204 204 204 64 127 127 127 64 102 102 102 64
Lapis Lazuli Ore
21 23 68 196 255 18 56 158 255 14 43 122 255 14 43 78 255
Lapis Lazuli Block
22 23 68 196 255 18 56 158 255 14 43 122 255 14 43 78 255
Dispenser
23 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Sandstone
24 218 210 158 255 174 168 126 255 109 105 79 255 87 84 63 255
Note Block
25 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Aqua Green Cloth
26 43 192 117 255 38 168 101 255 34 150 90 255 29 130 78 255
Cyan Cloth
27 43 192 192 255 36 185 185 255 29 130 130 255 22 99 99 255
Blue Cloth
28 0 0 255 255 0 0 204 255 0 0 127 255 0 0 102 255
Purple Cloth
29 101 101 188 255 95 95 175 255 86 86 160 255 78 78 145 255
Indigo Cloth
30 113 41 186 255 99 38 165 255 85 32 142 255 72 27 119 255
Violet Cloth
31 156 65 198 255 132 55 168 255 112 47 142 255 84 35 107 255
Magenta Cloth
32 187 42 187 255 160 36 160 255 135 31 135 255 112 25 112 255
Pink Cloth
33 192 43 117 255 168 38 103 255 142 32 87 255 127 29 78 255
Black Cloth
34 0 0 0 255 0 0 0 255 0 0 0 255 0 0 0 255
Wool
35 222 222 222 255 177 177 177 255 111 111 111 255 88 88 88 255
Gray Cloth
36 125 125 125 255 114 114 114 255 104 104 104 255 86 86 86 255
Yellow Flower
37 255 255 0 255 204 204 0 255 127 127 0 255 102 102 0 255
Red Rose
38 255 0 0 255 204 0 0 255 127 0 0 255 102 0 0 255
Brown Mushroom
39 204 153 120 32 145 109 85 32 114 86 67 32 73 64 58 32
Red Mushroom
40 255 43 43 32 196 29 38 32 186 105 109 32 124 64 64 32
Gold Block
41 232 245 46 255 185 196 36 255 116 122 23 255 92 98 18 255
Iron Block
42 191 191 191 255 152 152 152 255 95 95 95 255 76 76 76 255
Double Stone Slab
43 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
Stone Slab
44 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
46 160 83 65 255 128 66 52 255 80 41 32 255 64 33 26 255
Bookshelf
54 125 91 38 192 100 72 30 192 62 45 19 192 50 36 15 192
Moss Stone
48 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Obsidian
49 26 11 43 255 20 8 34 255 13 5 21 255 10 4 17 255
Torch
50 159 127 80 255 98 88 20 0 245 220 50 255 196 176 40 0
Fire
51 255 170 30 200 204 136 24 200 127 85 15 200 102 68 12 200
Monster Spawner
52 0 150 110 196 0 150 130 196 0 150 110 196 0 150 130 196
Wooden Stair
53 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Chest
54 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Diamond Ore
56 129 140 143 255 103 112 114 255 64 70 71 255 51 56 57 255
Diamond Block
57 45 166 152 255 36 132 121 255 22 83 76 255 18 66 60 255
Workbench
58 114 88 56 255 91 70 44 255 57 44 28 255 45 35 22 255
Crops
59 146 192 0 255 116 153 0 255 73 96 0 255 58 76 0 255
Farmland
60 95 58 30 255 76 46 24 255 47 29 15 255 38 23 12 255
Furnace
61 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Burning Furnace
62 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Sign Post
63 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Wooden Door
64 136 109 67 255 108 87 53 255 68 54 33 255 54 43 26 255
Ladder
65 181 140 64 32 144 112 51 32 90 70 32 32 72 56 25 32
Minecart Tracks
66 150 134 102 180 120 107 81 180 75 67 51 180 60 53 40 180
Cobblestone Stairs
67 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Iron Door
71 191 191 191 255 152 152 152 255 95 95 95 255 76 76 76 255
Redstone Ore
73 131 107 107 255 104 85 85 255 65 53 53 255 52 42 42 255
Glowing Redstone Ore
74 131 107 107 255 104 85 85 255 65 53 53 255 52 42 42 255
Redstone Torch off
75 159 127 80 255 72 56 25 0 181 140 64 255 144 112 51 0
Redstone Torch on
76 159 127 80 255 102 0 0 0 255 0 0 255 204 0 0 0
Snow
78 255 255 255 255 204 204 204 255 127 127 127 255 102 102 102 255
Ice
79 83 113 163 51 66 90 130 51 41 56 81 51 33 45 65 51
Snow Block
80 250 250 250 255 200 200 200 255 125 125 125 255 100 100 100 255
Cactus
81 25 120 25 255 20 96 20 255 12 60 12 255 10 48 10 255
Clay
82 151 157 169 255 120 125 135 255 75 78 84 255 60 62 67 255
Sugar Cane
83 193 234 150 255 154 187 120 255 96 117 75 255 77 93 60 255
Jukebox
84 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Fence
85 127 98 49 96 95 72 33 96 48 34 9 96 32 21 21 96
Pumpkin
86 255 115 0 200 204 92 0 200 126 57 0 200 102 46 0 200
Netherrack
87 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
Soulsand
88 133 109 94 255 121 97 82 255 90 70 57 255 79 59 46 255
Glowstone
89 249 212 156 255 255 188 94 255 192 143 70 255 122 91 44 255
Portal
90 140 0 196 128 120 0 196 128 140 0 196 128 120 0 196 128
Jack-o-lantern
91 255 115 0 255 204 92 0 255 126 57 0 255 102 46 0 255
Cake Block
92 234 234 234 255 210 210 210 255 203 203 203 255 190 190 190 255
-175
View File
@@ -1,175 +0,0 @@
Stone
1 120 120 120 255 96 96 96 255 60 60 60 255 48 48 48 255
Grass
2 60 113 17 255 50 94 14 255 42 79 12 255 50 94 14 255
Dirt
3 134 96 67 255 107 76 53 255 67 48 33 255 53 38 26 255
Cobblestone
4 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wooden Plank
5 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Sappling
6 120 120 120 0 96 96 96 0 60 60 60 0 48 48 48 0
Bedrock
7 84 84 84 255 67 67 67 255 42 42 42 255 33 33 33 255
Water
8 38 92 255 51 30 73 204 51 19 46 127 51 15 36 102 51
Stationary Water
9 38 92 255 51 30 73 204 51 19 46 127 51 15 36 102 51
Lava
10 255 90 0 255 204 72 0 255 127 45 0 255 102 36 0 255
Stationary Lava
11 255 90 0 255 204 72 0 255 127 45 0 255 102 36 0 255
Sand
12 218 210 158 255 174 168 126 255 109 105 79 255 87 84 63 255
Gravel
13 136 126 126 255 108 100 100 255 68 63 63 255 54 50 50 255
Gold Ore
14 143 140 125 255 114 112 100 255 71 70 62 255 57 56 50 255
Iron Ore
15 136 130 127 255 108 104 101 255 68 65 63 255 54 52 50 255
Coal Ore
16 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wood
17 102 81 51 255 81 64 40 255 51 40 25 255 40 32 20 255
Leaves
18 27 69 37 180 22 57 31 180 19 48 25 180 22 57 31 180
Sponge
19 193 193 65 255 174 174 47 255 97 97 5 255 76 76 20 255
Glass
20 255 255 255 64 204 204 204 64 127 127 127 64 102 102 102 64
Lapis Lazuli Ore
21 23 68 196 255 18 56 158 255 14 43 122 255 14 43 78 255
Lapis Lazuli Block
22 23 68 196 255 18 56 158 255 14 43 122 255 14 43 78 255
Dispenser
23 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Sandstone
24 192 178 110 255 160 148 92 255 134 124 77 255 160 148 92 255
Note Block
25 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Aqua Green Cloth
26 43 192 117 255 38 168 101 255 34 150 90 255 29 130 78 255
Cyan Cloth
27 43 192 192 255 36 185 185 255 29 130 130 255 22 99 99 255
Blue Cloth
28 0 0 255 255 0 0 204 255 0 0 127 255 0 0 102 255
Purple Cloth
29 101 101 188 255 95 95 175 255 86 86 160 255 78 78 145 255
Indigo Cloth
30 113 41 186 255 99 38 165 255 85 32 142 255 72 27 119 255
Violet Cloth
31 156 65 198 255 132 55 168 255 112 47 142 255 84 35 107 255
Magenta Cloth
32 187 42 187 255 160 36 160 255 135 31 135 255 112 25 112 255
Pink Cloth
33 192 43 117 255 168 38 103 255 142 32 87 255 127 29 78 255
Black Cloth
34 0 0 0 255 0 0 0 255 0 0 0 255 0 0 0 255
Wool
35 247 255 239 255 244 251 236 255 204 210 197 255 244 251 236 255
Gray Cloth
36 125 125 125 255 114 114 114 255 104 104 104 255 86 86 86 255
Yellow Flower
37 255 255 0 255 204 204 0 255 127 127 0 255 102 102 0 255
Red Rose
38 255 0 0 255 204 0 0 255 127 0 0 255 102 0 0 255
Brown Mushroom
39 204 153 120 32 145 109 85 32 114 86 67 32 73 64 58 32
Red Mushroom
40 255 43 43 32 196 29 38 32 186 105 109 32 124 64 64 32
Gold Block
41 232 245 46 255 185 196 36 255 116 122 23 255 92 98 18 255
Iron Block
42 191 191 191 255 152 152 152 255 95 95 95 255 76 76 76 255
Double Stone Slab
43 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
Stone Slab
44 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
46 160 83 65 255 128 66 52 255 80 41 32 255 64 33 26 255
Bookshelf
54 125 91 38 192 100 72 30 192 62 45 19 192 50 36 15 192
Moss Stone
48 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Obsidian
49 26 11 43 255 20 8 34 255 13 5 21 255 10 4 17 255
Torch
50 159 127 80 255 98 88 20 0 245 220 50 255 196 176 40 0
Fire
51 255 170 30 200 204 136 24 200 127 85 15 200 102 68 12 200
Monster Spawner
52 0 150 110 196 0 150 130 196 0 150 110 196 0 150 130 196
Wooden Stair
53 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Chest
54 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Diamond Ore
56 129 140 143 255 103 112 114 255 64 70 71 255 51 56 57 255
Diamond Block
57 45 166 152 255 36 132 121 255 22 83 76 255 18 66 60 255
Workbench
58 114 88 56 255 91 70 44 255 57 44 28 255 45 35 22 255
Crops
59 146 192 0 255 116 153 0 255 73 96 0 255 58 76 0 255
Farmland
60 95 58 30 255 76 46 24 255 47 29 15 255 38 23 12 255
Furnace
61 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Burning Furnace
62 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Sign Post
63 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Wooden Door
64 136 109 67 255 108 87 53 255 68 54 33 255 54 43 26 255
Ladder
65 181 140 64 32 144 112 51 32 90 70 32 32 72 56 25 32
Minecart Tracks
66 150 134 102 180 120 107 81 180 75 67 51 180 60 53 40 180
Cobblestone Stairs
67 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Iron Door
71 191 191 191 255 152 152 152 255 95 95 95 255 76 76 76 255
Redstone Ore
73 131 107 107 255 104 85 85 255 65 53 53 255 52 42 42 255
Glowing Redstone Ore
74 131 107 107 255 104 85 85 255 65 53 53 255 52 42 42 255
Redstone Torch off
75 159 127 80 255 72 56 25 0 181 140 64 255 144 112 51 0
Redstone Torch on
76 159 127 80 255 102 0 0 0 255 0 0 255 204 0 0 0
Snow
78 255 255 255 255 204 204 204 255 127 127 127 255 102 102 102 255
Ice
79 83 113 163 51 66 90 130 51 41 56 81 51 33 45 65 51
Snow Block
80 250 250 250 255 200 200 200 255 125 125 125 255 100 100 100 255
Cactus
81 25 120 25 255 20 96 20 255 12 60 12 255 10 48 10 255
Clay
82 151 157 169 255 120 125 135 255 75 78 84 255 60 62 67 255
Sugar Cane
83 193 234 150 255 154 187 120 255 96 117 75 255 77 93 60 255
Jukebox
84 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Fence
85 127 98 49 96 95 72 33 96 48 34 9 96 32 21 21 96
Pumpkin
86 255 115 0 200 204 92 0 200 126 57 0 200 102 46 0 200
Netherrack
87 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
Soulsand
88 133 109 94 255 121 97 82 255 90 70 57 255 79 59 46 255
Glowstone
89 249 212 156 255 255 188 94 255 192 143 70 255 122 91 44 255
Portal
90 140 0 196 128 120 0 196 128 140 0 196 128 120 0 196 128
Jack-o-lantern
91 255 115 0 255 204 92 0 255 126 57 0 255 102 46 0 255
Cake Block
92 234 234 234 255 210 210 210 255 203 203 203 255 190 190 190 255
-175
View File
@@ -1,175 +0,0 @@
Stone
1 119 104 84 255 104 95 80 255 96 87 72 255 77 68 53 255
Grass
2 75 156 43 255 56 117 32 255 35 104 10 255 32 82 0 255
Dirt
3 134 96 67 255 107 76 53 255 67 48 33 255 68 49 33 255
Cobblestone
4 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wooden Plank
5 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Sappling
6 120 120 120 0 96 96 96 0 60 60 60 0 48 48 48 0
Bedrock
7 84 84 84 255 67 67 67 255 42 42 42 255 33 33 33 255
Water
8 21 88 125 80 7 70 117 80 6 68 115 80 5 53 90 80
Stationary Water
9 21 88 125 80 7 70 117 80 6 68 115 80 5 53 90 80
Lava
10 255 90 0 255 204 72 0 255 127 45 0 255 102 36 0 255
Stationary Lava
11 255 90 0 255 204 72 0 255 127 45 0 255 102 36 0 255
Sand
12 214 182 111 255 203 171 100 255 186 154 83 255 173 141 70 255
Gravel
13 136 126 126 255 108 100 100 255 68 63 63 255 54 50 50 255
Gold Ore
14 143 140 125 255 114 112 100 255 71 70 62 255 57 56 50 255
Iron Ore
15 136 130 127 255 108 104 101 255 68 65 63 255 54 52 50 255
Coal Ore
16 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Wood
17 102 81 51 255 81 64 40 255 51 40 25 255 40 32 20 255
Leaves
18 23 68 6 100 12 56 0 100 6 52 0 100 0 42 0 100
Sponge
19 193 193 65 255 174 174 47 255 97 97 5 255 76 76 20 255
Glass
20 255 255 255 64 204 204 204 64 127 127 127 64 102 102 102 64
Lapis Lazuli Ore
21 23 68 196 255 18 56 158 255 14 43 122 255 14 43 78 255
Lapis Lazuli Block
22 23 68 196 255 18 56 158 255 14 43 122 255 14 43 78 255
Dispenser
23 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Sandstone
24 214 182 111 255 203 171 100 255 186 154 83 255 173 141 70 255
Note Block
25 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Aqua Green Cloth
26 43 192 117 255 38 168 101 255 34 150 90 255 29 130 78 255
Cyan Cloth
27 43 192 192 255 36 185 185 255 29 130 130 255 22 99 99 255
Blue Cloth
28 0 0 255 255 0 0 204 255 0 0 127 255 0 0 102 255
Purple Cloth
29 101 101 188 255 95 95 175 255 86 86 160 255 78 78 145 255
Indigo Cloth
30 113 41 186 255 99 38 165 255 85 32 142 255 72 27 119 255
Violet Cloth
31 156 65 198 255 132 55 168 255 112 47 142 255 84 35 107 255
Magenta Cloth
32 187 42 187 255 160 36 160 255 135 31 135 255 112 25 112 255
Pink Cloth
33 192 43 117 255 168 38 103 255 142 32 87 255 127 29 78 255
Black Cloth
34 0 0 0 255 0 0 0 255 0 0 0 255 0 0 0 255
Wool
35 222 222 222 255 177 177 177 255 111 111 111 255 88 88 88 255
Gray Cloth
36 125 125 125 255 114 114 114 255 104 104 104 255 86 86 86 255
Yellow Flower
37 255 255 0 255 204 204 0 255 127 127 0 255 102 102 0 255
Red Rose
38 255 0 0 255 204 0 0 255 127 0 0 255 102 0 0 255
Brown Mushroom
39 204 153 120 32 145 109 85 32 114 86 67 32 73 64 58 32
Red Mushroom
40 255 43 43 32 196 29 38 32 186 105 109 32 124 64 64 32
Gold Block
41 232 245 46 255 185 196 36 255 116 122 23 255 92 98 18 255
Iron Block
42 191 191 191 255 152 152 152 255 95 95 95 255 76 76 76 255
Double Stone Slab
43 200 200 200 255 160 160 160 255 100 100 100 255 80 80 80 255
Stone Slab
44 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
46 160 83 65 255 128 66 52 255 80 41 32 255 64 33 26 255
Bookshelf
54 125 91 38 192 100 72 30 192 62 45 19 192 50 36 15 192
Moss Stone
48 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Obsidian
49 26 11 43 255 20 8 34 255 13 5 21 255 10 4 17 255
Torch
50 159 127 80 255 98 88 20 0 245 220 50 255 196 176 40 0
Fire
51 255 170 30 200 204 136 24 200 127 85 15 200 102 68 12 200
Monster Spawner
52 0 150 110 196 0 150 130 196 0 150 110 196 0 150 130 196
Wooden Stair
53 157 128 79 255 125 102 63 255 78 64 39 255 62 51 31 255
Chest
54 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Diamond Ore
56 129 140 143 255 103 112 114 255 64 70 71 255 51 56 57 255
Diamond Block
57 45 166 152 255 36 132 121 255 22 83 76 255 18 66 60 255
Workbench
58 114 88 56 255 91 70 44 255 57 44 28 255 45 35 22 255
Crops
59 146 192 0 255 116 153 0 255 73 96 0 255 58 76 0 255
Farmland
60 95 58 30 255 76 46 24 255 47 29 15 255 38 23 12 255
Furnace
61 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Burning Furnace
62 96 96 96 255 76 76 76 255 48 48 48 255 38 38 38 255
Sign Post
63 111 91 54 255 88 72 43 255 55 45 27 255 44 36 21 255
Wooden Door
64 136 109 67 255 108 87 53 255 68 54 33 255 54 43 26 255
Ladder
65 181 140 64 32 144 112 51 32 90 70 32 32 72 56 25 32
Minecart Tracks
66 150 134 102 180 120 107 81 180 75 67 51 180 60 53 40 180
Cobblestone Stairs
67 115 115 115 255 92 92 92 255 57 57 57 255 46 46 46 255
Iron Door
71 191 191 191 255 152 152 152 255 95 95 95 255 76 76 76 255
Redstone Ore
73 131 107 107 255 104 85 85 255 65 53 53 255 52 42 42 255
Glowing Redstone Ore
74 131 107 107 255 104 85 85 255 65 53 53 255 52 42 42 255
Redstone Torch off
75 159 127 80 255 72 56 25 0 181 140 64 255 144 112 51 0
Redstone Torch on
76 159 127 80 255 102 0 0 0 255 0 0 255 204 0 0 0
Snow
78 255 255 255 255 204 204 204 255 127 127 127 255 102 102 102 255
Ice
79 83 113 163 51 66 90 130 51 41 56 81 51 33 45 65 51
Snow Block
80 250 250 250 255 200 200 200 255 125 125 125 255 100 100 100 255
Cactus
81 25 120 25 255 20 96 20 255 12 60 12 255 10 48 10 255
Clay
82 151 157 169 255 120 125 135 255 75 78 84 255 60 62 67 255
Sugar Cane
83 193 234 150 255 154 187 120 255 96 117 75 255 77 93 60 255
Jukebox
84 125 91 38 255 100 72 30 255 62 45 19 255 50 36 15 255
Fence
85 127 98 49 96 95 72 33 96 48 34 9 96 32 21 21 96
Pumpkin
86 255 115 0 200 204 92 0 200 126 57 0 200 102 46 0 200
Netherrack
87 166 89 89 255 141 80 62 255 135 15 15 255 96 6 6 255
Soulsand
88 133 109 94 255 121 97 82 255 90 70 57 255 79 59 46 255
Glowstone
89 249 212 156 255 255 188 94 255 192 143 70 255 122 91 44 255
Portal
90 140 0 196 128 120 0 196 128 140 0 196 128 120 0 196 128
Jack-o-lantern
91 255 115 0 255 204 92 0 255 126 57 0 255 102 46 0 255
Cake Block
92 234 234 234 255 210 210 210 255 203 203 203 255 190 190 190 255
-63
View File
@@ -1,63 +0,0 @@
1 133 129 118 255 111 108 98 255 93 90 82 255 111 108 98 255
2 60 113 17 255 50 94 14 255 42 79 12 255 50 94 14 255
3 103 83 51 255 86 69 43 255 72 58 36 255 86 69 43 255
4 118 112 96 255 98 93 80 255 82 78 67 255 98 93 80 255
5 109 80 60 255 91 67 50 255 76 56 41 255 91 67 50 255
7 79 79 82 255 66 66 68 255 55 55 57 255 66 66 68 255
8 94 170 255 51 82 148 223 51 69 124 186 51 82 148 223 51
9 94 170 255 51 82 148 223 51 69 124 186 51 82 148 223 51
10 255 164 41 255 255 164 41 255 212 137 34 255 255 164 41 255
11 255 164 41 255 255 164 41 255 212 137 34 255 255 164 41 255
12 192 178 110 255 160 148 92 255 134 124 77 255 160 148 92 255
13 120 105 79 255 100 87 66 255 84 73 55 255 100 87 66 255
14 255 181 38 255 255 181 38 255 212 151 31 255 255 181 38 255
15 231 174 113 255 193 145 94 255 161 121 79 255 193 145 94 255
16 56 60 70 255 46 50 58 255 39 42 49 255 46 50 58 255
17 119 97 74 255 99 81 62 255 83 68 52 255 99 81 62 255
18 27 69 37 180 22 57 31 180 19 48 25 180 22 57 31 180
20 178 217 223 90 148 181 186 90 124 151 155 90 148 181 186 90
35 247 255 239 255 244 251 236 255 204 210 197 255 244 251 236 255
36 0 0 0 254 0 0 0 254 0 0 0 254 0 0 0 254
37 73 108 60 254 61 90 50 254 51 75 42 254 61 90 50 254
38 84 139 187 254 70 116 155 254 59 97 130 254 70 116 155 254
39 184 144 0 254 153 119 0 254 128 100 0 254 153 119 0 254
40 201 17 17 254 168 14 14 254 140 12 12 254 168 14 14 254
41 247 255 239 255 244 251 236 255 204 210 197 255 244 251 236 255
42 249 249 249 255 207 207 207 255 173 173 173 255 207 207 207 255
43 122 112 99 255 101 93 82 255 85 78 69 255 101 93 82 255
44 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
48 96 108 70 255 80 90 58 255 67 75 49 255 80 90 58 255
49 83 67 83 255 69 56 69 255 58 47 58 255 69 56 69 255
50 255 203 58 200 255 203 58 200 212 169 48 200 255 203 58 200
51 255 170 30 200 255 170 30 200 212 141 25 200 255 170 30 200
52 255 228 52 255 255 228 52 255 212 190 43 255 255 228 52 255
53 145 109 80 255 121 91 67 255 101 76 56 255 121 91 67 255
54 165 132 100 255 138 110 84 255 115 92 70 255 138 110 84 255
55 116 21 21 255 97 18 18 255 81 15 15 255 97 18 18 255
56 115 230 255 255 105 210 232 255 88 175 194 255 105 210 232 255
57 164 217 237 255 136 181 198 255 114 151 165 255 136 181 198 255
58 171 138 99 255 142 115 82 255 118 96 68 255 142 115 82 255
59 136 152 21 255 114 127 17 255 95 106 14 255 114 127 17 255
60 123 82 51 255 103 68 43 255 86 57 36 255 103 68 43 255
61 158 128 73 255 132 106 61 255 110 89 51 255 132 106 61 255
62 158 128 73 255 132 106 61 255 110 89 51 255 132 106 61 255
63 60 112 17 255 50 93 14 255 42 78 12 255 50 93 14 255
64 129 97 69 255 108 81 57 255 90 68 47 255 108 81 57 255
65 144 128 99 32 120 106 82 32 100 89 69 32 120 106 82 32
66 113 109 102 180 94 91 85 180 79 76 71 180 94 91 85 180
67 115 107 93 255 96 89 78 255 80 75 65 255 96 89 78 255
71 255 255 255 255 229 229 229 255 191 191 191 255 229 229 229 255
73 174 107 107 255 145 89 89 255 121 75 75 255 145 89 89 255
74 174 107 107 255 145 89 89 255 121 75 75 255 145 89 89 255
75 255 140 61 254 217 119 52 254 181 99 43 254 217 119 52 254
76 255 0 0 254 255 0 0 254 212 0 0 254 255 0 0 254
78 237 248 255 254 237 248 255 254 198 207 212 254 237 248 255 254
79 166 222 255 55 166 222 255 55 139 185 212 55 166 222 255 55
80 237 248 255 255 237 248 255 255 198 207 212 255 237 248 255 255
81 116 167 80 255 97 139 67 255 81 116 56 255 97 139 67 255
82 234 240 255 255 216 221 235 255 180 185 196 255 216 221 235 255
83 136 167 74 255 114 139 62 255 95 116 52 255 114 139 62 255
84 116 97 80 255 97 81 67 255 81 68 55 255 97 81 67 255
85 115 99 63 255 96 82 52 255 80 69 44 255 96 82 52 255
-127
View File
@@ -1,127 +0,0 @@
# All paths in this configuration file are relative to Dynmap's data-folder: minecraft_server/plugins/dynmap/
# How often a tile gets rendered (in seconds).
renderinterval: 1
render-triggers:
# - 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
# Writes JSON to file in the webpath
jsonfile: false
# How often the json file gets written to(in seconds)
jsonfile-interval: 1
# The maptypes Dynmap will use to render.
worlds:
- name: world
maps:
- class: org.dynmap.flat.FlatMap
prefix: flat
colorscheme: default
- class: org.dynmap.kzedmap.KzedMap
renderers:
- class: org.dynmap.kzedmap.DefaultTileRenderer
prefix: t
maximumheight: 127
colorscheme: default
- class: org.dynmap.kzedmap.CaveTileRenderer
prefix: ct
maximumheight: 127
- name: nether
maps:
- class: org.dynmap.flat.FlatMap
prefix: flat
colorscheme: default
- class: org.dynmap.kzedmap.KzedMap
renderers:
- class: org.dynmap.kzedmap.DefaultTileRenderer
prefix: nt
maximumheight: 64
colorscheme: default
web:
# Handles the clientside updates differently only enable if using jsonfile
jsonfile: false
# Interval the browser should poll for updates.
updaterate: 2000
showchatballoons: false
focuschatballoons: false
showchatwindow: true
allowwebchat: true
webchat-interval: 5
messagettl: 15
showplayerfacesonmap: true
showplayerfacesinmenu: true
joinmessage: "%playername% joined"
quitmessage: "%playername% quit"
spammessage: "You may only chat once every %interval% seconds."
defaultworld: world
worlds:
- title: World
name: world
maps:
- type: FlatMapType
title: Flat
name: flat
prefix: flat
- type: KzedMapType
title: Surface
name: surface
prefix: t
- type: KzedMapType
title: Cave
name: cave
prefix: ct
- title: Nether
name: nether
maps:
- type: FlatMapType
title: Flat
name: flat
prefix: flat
- type: KzedMapType
title: Surface
name: nether
prefix: nt
# Example:
#- title: Other World # With what name the world is displayed.
# name: world_other # The actual name of the world (equal to your directory-name).
# maps:
# - type: KzedMapType # The type (or perspective) of the map. At the moment, there are no others than KzedMapType.
# title: Surface # The name of the map that will be displayed.
# name: surface # The actual name of the map (should be unique for this world).
# prefix: t # The prefix of the tile-files that are generated.
# icon: images/block_other.png # Sets a custom icon for the map. (optional)
# - type: KzedMapType
# title: Cave
# name: cave
# prefix: ct
# Enables debugging.
#debuggers:
# - class: org.dynmap.debug.LogDebugger
+6
View File
@@ -0,0 +1,6 @@
dynmap.render # Render current chunk
dynmap.fullrender # Issue a full render
dynmap.hide.self # Hide self from map
dynmap.hide.others # Hide others from map
dynmap.show.self # Reveal self on map
dynmap.show.others # Reveal others on map
+170 -49
View File
@@ -1,56 +1,177 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.dynmap</groupId>
<artifactId>dynmap</artifactId>
<version>0.14</version>
<name>dynmap</name>
<url>http://github.com/FrozenCow/dynmap/</url>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/FrozenCow/dynmap/issues</url>
</issueManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<modelVersion>4.0.0</modelVersion>
<groupId>org.dynmap</groupId>
<artifactId>dynmap</artifactId>
<version>0.32</version>
<name>dynmap</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<BUILD_NUMBER>dev</BUILD_NUMBER>
</properties>
<url>http://github.com/webbukkit/dynmap/</url>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/webbukkit/dynmap/issues</url>
</issueManagement>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>*.yml</include>
<include>*.txt</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>*.yml</exclude>
<exclude>*.txt</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/package.xml</descriptor>
</descriptors>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>build</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
<execution>
<id>unpack</id>
<phase>package</phase>
<goals><goal>unpack</goal></goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.dynmap</groupId>
<artifactId>DynmapCore</artifactId>
<version>${project.version}</version>
<classifier>bin</classifier>
<type>zip</type>
<outputDirectory>${project.build.directory}/core</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.nijikokun.bukkit</groupId>
<artifactId>Permissions</artifactId>
<version>[2.5.4,)</version>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>0.0.1-SNAPSHOT</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
</dependencies>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>org.dynmap:dynmap-api:jar:*</include>
<include>org.dynmap:DynmapCore:jar:*</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/package.xml</descriptor>
</descriptors>
<!-- Hack for bug in maven-assembly: http://jira.codehaus.org/browse/MASSEMBLY-449 -->
<archiverConfig>
<fileMode>420</fileMode> <!-- 420(dec) = 644(oct) -->
<directoryMode>493</directoryMode> <!-- 493(dec) = 755(oct) -->
<defaultDirectoryMode>493</defaultDirectoryMode>
</archiverConfig>
</configuration>
<executions>
<execution>
<id>build</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<releases>
</releases>
<snapshots>
</snapshots>
<id>spout-repo</id>
<url>http://repo.spout.org</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.nijikokun.bukkit</groupId>
<artifactId>Permissions</artifactId>
<version>[2.5.4,)</version>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>[1.1-R1-SNAPSHOT,)</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.dynmap</groupId>
<artifactId>dynmap-api</artifactId>
<version>${project.version}</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>8.0.1.v20110908</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<version>8.0.1.v20110908</version>
</dependency>
<dependency>
<groupId>org.dynmap</groupId>
<artifactId>DynmapCore</artifactId>
<version>${project.version}</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.getspout</groupId>
<artifactId>spoutpluginapi</artifactId>
<version>dev-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
+13 -24
View File
@@ -2,37 +2,26 @@
<id>bin</id>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>tar.bz2</format>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>${project.basedir}</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>README*</include>
<include>LICENSE*</include>
<include>NOTICE*</include>
<include>CHANGELOG*</include>
</includes>
</fileSet>
<directory>${project.build.directory}/core</directory>
<outputDirectory>/dynmap</outputDirectory>
<excludes>
<exclude>web/version.js</exclude></excludes></fileSet>
<fileSet>
<directory>${project.basedir}/web</directory>
<outputDirectory>/dynmap/web</outputDirectory>
</fileSet>
<fileSet>
<directory>${project.basedir}/colorschemes</directory>
<outputDirectory>/dynmap/colorschemes</outputDirectory>
</fileSet>
<fileSet>
<directory>${project.basedir}</directory>
<outputDirectory>/dynmap/</outputDirectory>
<directory>${project.build.directory}/core/web</directory>
<outputDirectory>/dynmap/web</outputDirectory>
<includes>
<include>configuration.txt</include></includes></fileSet>
<include>version.js</include></includes>
<filtered>true</filtered></fileSet>
</fileSets>
<files>
<file>
<source>${project.build.directory}/${artifactId}-${version}.jar</source>
<outputDirectory>/</outputDirectory>
<destName>dynmap.jar</destName></file></files>
<source>${project.build.directory}/${artifactId}-${version}.jar</source>
<outputDirectory>/</outputDirectory>
<destName>dynmap.jar</destName>
</file>
</files>
</assembly>
@@ -1,111 +0,0 @@
package org.dynmap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.NoSuchElementException;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
public class AsynchronousQueue<T> {
protected static final Logger log = Logger.getLogger("Minecraft");
private Object lock = new Object();
private Thread thread;
private LinkedList<T> queue = new LinkedList<T>();
private Set<T> set = new HashSet<T>();
private Handler<T> handler;
private int dequeueTime;
public AsynchronousQueue(Handler<T> handler, int dequeueTime) {
this.handler = handler;
this.dequeueTime = dequeueTime;
}
public boolean push(T t) {
synchronized (lock) {
if (set.add(t)) {
queue.addLast(t);
return true;
}
return false;
}
}
private T pop() {
synchronized (lock) {
try {
T t = queue.removeFirst();
if (!set.remove(t)) {
// This should never happen.
}
return t;
} catch (NoSuchElementException e) {
return null;
}
}
}
public int size() {
return set.size();
}
public void start() {
synchronized (lock) {
thread = new Thread(new Runnable() {
@Override
public void run() {
running();
}
});
thread.start();
try {
thread.setPriority(Thread.MIN_PRIORITY);
} catch (SecurityException e) {
log.info("Failed to set minimum priority for worker thread!");
}
}
}
public void stop() {
synchronized (lock) {
if (thread == null)
return;
Thread oldThread = thread;
thread = null;
log.info("Stopping map renderer...");
oldThread.interrupt();
try {
oldThread.join(1000);
} catch (InterruptedException e) {
log.info("Waiting for map renderer to stop is interrupted");
}
}
}
private void running() {
try {
while (Thread.currentThread() == thread) {
T t = pop();
if (t != null) {
handler.handle(t);
}
sleep(dequeueTime);
}
} catch (Exception ex) {
log.log(Level.SEVERE, "Exception on rendering-thread", ex);
}
}
private boolean sleep(int time) {
try {
Thread.sleep(time);
} catch (InterruptedException e) {
return false;
}
return true;
}
}
-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;
}
}
}
-60
View File
@@ -1,60 +0,0 @@
package org.dynmap;
public class Client {
public static class Update {
public long timestamp;
public long servertime;
public Player[] players;
public Object[] updates;
}
public static class Player {
public String type = "player";
public String name;
public String world;
public double x, y, z;
public Player(String name, String world, double x, double y, double z) {
this.name = name;
this.world = world;
this.x = x;
this.y = y;
this.z = z;
}
}
public static class Stamped {
public long timestamp = System.currentTimeMillis();
}
public static class ChatMessage extends Stamped {
public String type = "chat";
public String playerName;
public String message;
public ChatMessage(String playerName, String message) {
this.playerName = playerName;
this.message = message;
}
}
public static class WebChatMessage extends Stamped {
public String type = "webchat";
public String playerName;
public String message;
public WebChatMessage(String playerName, String message) {
this.playerName = playerName;
this.message = message;
}
}
public static class Tile extends Stamped {
public String type = "tile";
public String name;
public Tile(String name) {
this.name = name;
}
}
}
-85
View File
@@ -1,85 +0,0 @@
package org.dynmap;
import java.awt.Color;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.dynmap.debug.Debug;
public class ColorScheme {
protected static final Logger log = Logger.getLogger("Minecraft");
private static final HashMap<String, ColorScheme> cache = new HashMap<String, ColorScheme>();
public String name;
public java.util.Map<Integer, Color[]> colors;
public ColorScheme(String name, java.util.Map<Integer, Color[]> colors) {
this.name = name;
this.colors = colors;
}
private static File getColorSchemeDirectory() {
return new File(DynmapPlugin.dataDirectory, "colorschemes");
}
public static ColorScheme getScheme(String name) {
if (name == null)
name = "default";
ColorScheme scheme = cache.get(name);
if (scheme == null) {
scheme = loadScheme(name);
cache.put(name, scheme);
}
return scheme;
}
public static ColorScheme loadScheme(String name) {
File colorSchemeFile = new File(getColorSchemeDirectory(), name + ".txt");
java.util.Map<Integer, Color[]> colors = new HashMap<Integer, Color[]>();
InputStream stream;
try {
Debug.debug("Loading colors from '" + colorSchemeFile + "'...");
stream = new FileInputStream(colorSchemeFile);
Scanner scanner = new Scanner(stream);
int nc = 0;
while (scanner.hasNextLine()) {
String line = scanner.nextLine();
if (line.startsWith("#") || line.equals("")) {
continue;
}
String[] split = line.split("\t");
if (split.length < 17) {
continue;
}
Integer id = new Integer(split[0]);
Color[] c = new Color[4];
/* store colors by raycast sequence number */
c[0] = new Color(Integer.parseInt(split[1]), Integer.parseInt(split[2]), Integer.parseInt(split[3]), Integer.parseInt(split[4]));
c[3] = new Color(Integer.parseInt(split[5]), Integer.parseInt(split[6]), Integer.parseInt(split[7]), Integer.parseInt(split[8]));
c[1] = new Color(Integer.parseInt(split[9]), Integer.parseInt(split[10]), Integer.parseInt(split[11]), Integer.parseInt(split[12]));
c[2] = new Color(Integer.parseInt(split[13]), Integer.parseInt(split[14]), Integer.parseInt(split[15]), Integer.parseInt(split[16]));
colors.put(id, c);
nc += 1;
}
scanner.close();
} catch (RuntimeException e) {
log.log(Level.SEVERE, "Could not load colors '" + name + "' ('" + colorSchemeFile + "').", e);
return null;
} catch (FileNotFoundException e) {
log.log(Level.SEVERE, "Could not load colors '" + name + "' ('" + colorSchemeFile + "'): File not found.", e);
}
return new ColorScheme(name, colors);
}
}
-10
View File
@@ -1,10 +0,0 @@
package org.dynmap;
public class DynmapChunk {
public int x, z;
public DynmapChunk(int x, int z) {
this.x = x;
this.z = z;
}
}
@@ -1,34 +0,0 @@
package org.dynmap;
import org.bukkit.event.player.PlayerChatEvent;
import org.bukkit.event.player.PlayerEvent;
import org.bukkit.event.player.PlayerListener;
public class DynmapPlayerChatListener extends PlayerListener {
DynmapPlugin plugin;
public DynmapPlayerChatListener(DynmapPlugin plugin) {
this.plugin = plugin;
}
@Override
public void onPlayerChat(PlayerChatEvent event) {
if(event.isCancelled()) return;
plugin.mapManager.pushUpdate(new Client.ChatMessage(event.getPlayer().getName(), event.getMessage()));
}
@Override
public void onPlayerJoin(PlayerEvent event) {
String joinMessage = plugin.configuration.getString("joinmessage", "%playername% joined");
joinMessage = joinMessage.replaceAll("%playername%", event.getPlayer().getName());
plugin.mapManager.pushUpdate(new Client.ChatMessage("Server", joinMessage));
}
@Override
public void onPlayerQuit(PlayerEvent event) {
String quitMessage = plugin.configuration.getString("quitmessage", "%playername% quit");
quitMessage = quitMessage.replaceAll("%playername%", event.getPlayer().getName());
plugin.mapManager.pushUpdate(new Client.ChatMessage("Server", quitMessage));
}
}
-397
View File
@@ -1,397 +0,0 @@
package org.dynmap;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.reflect.Constructor;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Timer;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.Event.Priority;
import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.event.block.BlockListener;
import org.bukkit.event.block.BlockPlaceEvent;
import org.bukkit.event.player.PlayerEvent;
import org.bukkit.event.player.PlayerListener;
import org.bukkit.event.player.PlayerMoveEvent;
import org.bukkit.event.world.ChunkLoadEvent;
import org.bukkit.event.world.WorldEvent;
import org.bukkit.event.world.WorldListener;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.util.config.Configuration;
import org.dynmap.Event.Listener;
import org.dynmap.debug.Debug;
import org.dynmap.debug.Debugger;
import org.dynmap.permissions.NijikokunPermissions;
import org.dynmap.permissions.OpPermissions;
import org.dynmap.permissions.PermissionProvider;
import org.dynmap.web.HttpServer;
import org.dynmap.web.Json;
import org.dynmap.web.handlers.ClientConfigurationHandler;
import org.dynmap.web.handlers.ClientUpdateHandler;
import org.dynmap.web.handlers.FilesystemHandler;
import org.dynmap.web.handlers.SendMessageHandler;
public class DynmapPlugin extends JavaPlugin {
protected static final Logger log = Logger.getLogger("Minecraft");
public HttpServer webServer = null;
public MapManager mapManager = null;
public PlayerList playerList;
public Configuration configuration;
public HashSet<String> enabledTriggers = new HashSet<String>();
public PermissionProvider permissions;
public Timer timer;
public static File dataDirectory;
public static File tilesDirectory;
public World getWorld() {
return getServer().getWorlds().get(0);
}
public MapManager getMapManager() {
return mapManager;
}
public HttpServer getWebServer() {
return webServer;
}
@Override
public void onLoad() {
}
public void onEnable() {
permissions = NijikokunPermissions.create(getServer(), "dynmap");
if (permissions == null)
permissions = new OpPermissions(new String[] { "fullrender" });
dataDirectory = this.getDataFolder();
configuration = new Configuration(new File(this.getDataFolder(), "configuration.txt"));
configuration.load();
loadDebuggers();
tilesDirectory = getFile(configuration.getString("tilespath", "web/tiles"));
if (!tilesDirectory.isDirectory() && !tilesDirectory.mkdirs()) {
log.warning("Could not create directory for tiles ('" + tilesDirectory + "').");
}
playerList = new PlayerList(getServer(), getFile("hiddenplayers.txt"));
playerList.load();
mapManager = new MapManager(this, configuration);
mapManager.startRendering();
if (!configuration.getBoolean("disable-webserver", false)) {
loadWebserver();
}
if (configuration.getBoolean("jsonfile", false)) {
jsonConfig();
int jsonInterval = configuration.getInt("jsonfile-interval", 1) * 1000;
timer = new Timer();
timer.scheduleAtFixedRate(new JsonTimerTask(this, configuration), jsonInterval, jsonInterval);
}
enabledTriggers.clear();
for (Object trigger : configuration.getList("render-triggers")) {
enabledTriggers.add((String) trigger);
}
registerEvents();
}
public void loadWebserver() {
InetAddress bindAddress;
{
String address = configuration.getString("webserver-bindaddress", "0.0.0.0");
try {
bindAddress = address.equals("0.0.0.0")
? null
: InetAddress.getByName(address);
} catch (UnknownHostException e) {
bindAddress = null;
}
}
int port = configuration.getInt("webserver-port", 8123);
webServer = new HttpServer(bindAddress, port);
webServer.handlers.put("/", new FilesystemHandler(getFile(configuration.getString("webpath", "web"))));
webServer.handlers.put("/tiles/", new FilesystemHandler(tilesDirectory));
webServer.handlers.put("/up/", new ClientUpdateHandler(mapManager, playerList, getServer()));
webServer.handlers.put("/up/configuration", new ClientConfigurationHandler((Map<?, ?>) configuration.getProperty("web")));
if (configuration.getNode("web").getBoolean("allowwebchat", false)) {
SendMessageHandler messageHandler = new SendMessageHandler() {{
maximumMessageInterval = (configuration.getNode("web").getInt("webchat-interval", 1) * 1000);
spamMessage = "\""+configuration.getNode("web").getString("spammessage", "You may only chat once every %interval% seconds.")+"\"";
onMessageReceived.addListener(new Listener<SendMessageHandler.Message>() {
@Override
public void triggered(Message t) {
webChat(t.name, t.message);
}
});
}};
webServer.handlers.put("/up/sendmessage", messageHandler);
}
try {
webServer.startServer();
} catch (IOException e) {
log.severe("Failed to start WebServer on " + bindAddress + ":" + port + "!");
}
}
public void onDisable() {
mapManager.stopRendering();
if (webServer != null) {
webServer.shutdown();
webServer = null;
}
if (timer != null) {
timer.cancel();
}
Debug.clearDebuggers();
}
public boolean isTrigger(String s) {
return enabledTriggers.contains(s);
}
public void registerEvents() {
final PluginManager pm = getServer().getPluginManager();
final MapManager mm = mapManager;
// To trigger rendering.
{
BlockListener renderTrigger = new BlockListener() {
@Override
public void onBlockPlace(BlockPlaceEvent event) {
mm.touch(event.getBlockPlaced().getLocation());
}
@Override
public void onBlockBreak(BlockBreakEvent event) {
mm.touch(event.getBlock().getLocation());
}
};
if (isTrigger("blockplaced"))
pm.registerEvent(Event.Type.BLOCK_PLACED, renderTrigger, Priority.Monitor, this);
if (isTrigger("blockbreak"))
pm.registerEvent(Event.Type.BLOCK_BREAK, renderTrigger, Priority.Monitor, this);
}
{
PlayerListener renderTrigger = new PlayerListener() {
@Override
public void onPlayerJoin(PlayerEvent event) {
mm.touch(event.getPlayer().getLocation());
}
@Override
public void onPlayerMove(PlayerMoveEvent event) {
mm.touch(event.getPlayer().getLocation());
}
};
if (isTrigger("playerjoin"))
pm.registerEvent(Event.Type.PLAYER_JOIN, renderTrigger, Priority.Monitor, this);
if (isTrigger("playermove"))
pm.registerEvent(Event.Type.PLAYER_MOVE, renderTrigger, Priority.Monitor, this);
}
{
WorldListener renderTrigger = new WorldListener() {
@Override
public void onChunkLoaded(ChunkLoadEvent event) {
int x = event.getChunk().getX() * 16 + 8;
int z = event.getChunk().getZ() * 16 + 8;
mm.touch(new Location(event.getWorld(), x, 127, z));
}
/*
* @Override public void onChunkGenerated(ChunkLoadEvent event)
* { int x = event.getChunk().getX() * 16 + 8; int z =
* event.getChunk().getZ() * 16 + 8; mm.touch(new
* Location(event.getWorld(), x, 127, z)); }
*/
};
if (isTrigger("chunkloaded"))
pm.registerEvent(Event.Type.CHUNK_LOADED, renderTrigger, Priority.Monitor, this);
//if (isTrigger("chunkgenerated")) pm.registerEvent(Event.Type.CHUNK_GENERATED, renderTrigger, Priority.Monitor, this);
}
// To announce when players have joined/quit/chatted.
if (configuration.getNode("web").getBoolean("showchatballoons", false) || configuration.getNode("web").getBoolean("showchatwindow", false)) {
// To handle webchat.
PlayerListener playerListener = new DynmapPlayerChatListener(this);
//getServer().getPluginManager().registerEvent(Event.Type.PLAYER_COMMAND, playerListener, Priority.Normal, this);
pm.registerEvent(Event.Type.PLAYER_CHAT, playerListener, Priority.Monitor, this);
pm.registerEvent(Event.Type.PLAYER_LOGIN, playerListener, Priority.Monitor, this);
pm.registerEvent(Event.Type.PLAYER_JOIN, playerListener, Priority.Monitor, this);
pm.registerEvent(Event.Type.PLAYER_QUIT, playerListener, Priority.Monitor, this);
}
// To link configuration to real loaded worlds.
WorldListener worldListener = new WorldListener() {
@Override
public void onWorldLoaded(WorldEvent event) {
mm.activateWorld(event.getWorld());
}
};
pm.registerEvent(Event.Type.WORLD_LOADED, worldListener, Priority.Monitor, this);
}
private static File combinePaths(File parent, String path) {
return combinePaths(parent, new File(path));
}
private static File combinePaths(File parent, File path) {
if (path.isAbsolute())
return path;
return new File(parent, path.getPath());
}
public File getFile(String path) {
return combinePaths(getDataFolder(), path);
}
protected void loadDebuggers() {
Object debuggersConfiguration = configuration.getProperty("debuggers");
Debug.clearDebuggers();
if (debuggersConfiguration != null) {
for (Object debuggerConfiguration : (List<?>) debuggersConfiguration) {
Map<?, ?> debuggerConfigurationMap = (Map<?, ?>) debuggerConfiguration;
try {
Class<?> debuggerClass = Class.forName((String) debuggerConfigurationMap.get("class"));
Constructor<?> constructor = debuggerClass.getConstructor(JavaPlugin.class, Map.class);
Debugger debugger = (Debugger) constructor.newInstance(this, debuggerConfigurationMap);
Debug.addDebugger(debugger);
} catch (Exception e) {
log.severe("Error loading debugger: " + e);
e.printStackTrace();
continue;
}
}
}
}
private static final Set<String> commands = new HashSet<String>(Arrays.asList(new String[] {
"render",
"hide",
"show",
"fullrender" }));
@Override
public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
if (!cmd.getName().equalsIgnoreCase("dynmap"))
return false;
Player player = null;
if (sender instanceof Player)
player = (Player) sender;
if (args.length > 0) {
String c = args[0];
if (!commands.contains(c)) {
return false;
}
if (!permissions.has(sender, c.toLowerCase())) {
sender.sendMessage("You don't have permission to use this command!");
return true;
}
if (c.equals("render")) {
if (player != null) {
int invalidates = mapManager.touch(player.getLocation());
sender.sendMessage("Queued " + invalidates + " tiles" + (invalidates == 0
? " (world is not loaded?)"
: "..."));
return true;
}
} else if (c.equals("hide")) {
if (args.length == 1 && player != null) {
playerList.hide(player.getName());
sender.sendMessage("You are now hidden on Dynmap.");
return true;
} else {
for (int i = 1; i < args.length; i++) {
playerList.hide(args[i]);
sender.sendMessage(args[i] + " is now hidden on Dynmap.");
}
return true;
}
} else if (c.equals("show")) {
if (args.length == 1 && player != null) {
playerList.show(player.getName());
sender.sendMessage("You are now visible on Dynmap.");
return true;
} else {
for (int i = 1; i < args.length; i++) {
playerList.show(args[i]);
sender.sendMessage(args[i] + " is now visible on Dynmap.");
}
return true;
}
} else if (c.equals("fullrender")) {
if (args.length > 1) {
for (int i = 1; i < args.length; i++) {
World w = getServer().getWorld(args[i]);
mapManager.renderFullWorld(new Location(w, 0, 0, 0));
}
return true;
} else if (player != null) {
mapManager.renderFullWorld(player.getLocation());
return true;
}
}
}
return false;
}
private void jsonConfig() {
File outputFile;
Map<?, ?> clientConfig = (Map<?, ?>) configuration.getProperty("web");
File webpath = new File(configuration.getString("webpath", "web"), "standalone/dynmap_config.json");
if (webpath.isAbsolute())
outputFile = webpath;
else
outputFile = new File(getDataFolder(), webpath.toString());
try {
FileOutputStream fos = new FileOutputStream(outputFile);
fos.write(Json.stringifyJson(clientConfig).getBytes());
fos.close();
} catch (FileNotFoundException ex) {
log.log(Level.SEVERE, "Exception while writing JSON-configuration-file.", ex);
} catch (IOException ioe) {
log.log(Level.SEVERE, "Exception while writing JSON-configuration-file.", ioe);
}
}
public void webChat(String name, String message) {
mapManager.pushUpdate(new Client.WebChatMessage(name, message));
log.info("[WEB]" + name + ": " + message);
getServer().broadcastMessage("[WEB]" + name + ": " + message);
}
}
-12
View File
@@ -1,12 +0,0 @@
package org.dynmap;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.World;
public class DynmapWorld {
public World world;
public List<MapType> maps = new ArrayList<MapType>();
public UpdateQueue updates = new UpdateQueue();
}
-26
View File
@@ -1,26 +0,0 @@
package org.dynmap;
import java.util.LinkedList;
import java.util.List;
public class Event<T> {
private List<Listener<T>> listeners = new LinkedList<Listener<T>>();
public synchronized void addListener(Listener<T> l) {
listeners.add(l);
}
public synchronized void removeListener(Listener<T> l) {
listeners.remove(l);
}
public synchronized void trigger(T t) {
for (Listener<T> l : listeners) {
l.triggered(t);
}
}
public interface Listener<T> {
void triggered(T t);
}
}
-5
View File
@@ -1,5 +0,0 @@
package org.dynmap;
public interface Handler<T> {
void handle(T t);
}

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