Commit graph

228 commits

Author SHA1 Message Date
FrozenCow
bb0c59a0a2 Cleaned up depricated configuration. 2011-05-22 16:28:06 +02:00
FrozenCow
ab9bf5bc5c Transfered client-updates to two components (jsonfile and internal). 2011-05-22 16:28:01 +02:00
FrozenCow
9bf095fc0f Made use of org.json.simple for updates. 2011-05-22 16:27:57 +02:00
FrozenCow
c85a50bdb0 Moved HeroChat code to HeroWebChatModule. 2011-05-22 16:27:53 +02:00
FrozenCow
10a34e2d3a Moved regions-code to regions-component. 2011-05-22 16:27:49 +02:00
FrozenCow
678b6b916b Added events for components and implemented 'buildclientconfiguration'-event in ClientConfigurationComponent. 2011-05-22 16:27:43 +02:00
FrozenCow
fb67b0c44f Added simple start for server-side components. 2011-05-22 16:27:37 +02:00
Mike Primm
5aa4be1b06 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
d061b98b37 Fixes for alias/nicknames in web UI (esp handling player icons),
HeroChat fixes
2011-05-21 23:58:48 -05:00
Mike Primm
7806b697dc Merge remote branch 'upstream/master' 2011-05-21 01:30:07 -05:00
mikeprimm
7e161682d8 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
a3b680dd19 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
5a7ecea7d2 Add BufferedImage cache 2011-05-21 00:30:42 -05:00
Mike Primm
2765f047fd Tune shadow render, add to accept wait queue on web server 2011-05-20 23:26:46 -05:00
Mike Primm
8c7af9ae0e 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
4662328bb9 Make sure boundary condition is respected - getHighestBlockY must return 1 or higher 2011-05-20 08:47:35 -07:00
mikeprimm
2299df445a Make sure boundary condition is right on getMaximumY - must be 1 or higher 2011-05-20 08:46:12 -07:00
Mike Primm
4cfc249625 Prototype of chunk snapshot support - pre-Bukkit API (reflection
based, with fallback to existing APIs)
2011-05-20 01:38:49 -05:00
FrozenCow
dcfac37752 Fixed ConfigurationNode. 2011-05-19 11:15:15 +02:00
Mike Primm
dcfd082039 Add support for WorldGuard on built-in server, fix getNodes() on new
ConfigurationNode class
2011-05-18 23:29:33 -05:00
FrozenCow
6b755333cb Fixed arguments for createInstance. 2011-05-19 03:18:20 +02:00
zeeZ
08014fb9a5 Option to output player health in json for later web usage. 2011-05-19 01:52:38 +02:00
FrozenCow
8e0f1c6b96 Cleaned up logging. 2011-05-19 01:36:14 +02:00
FrozenCow
4a35eea9d9 Cleaned up configuration handling and added new logging class. 2011-05-19 01:36:05 +02:00
Mike Primm
974501cf9d Missed one LOG_PREFIX 2011-05-19 01:35:10 +02:00
Mike Primm
29e970c58a 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
609a9f3724 Organize imports. 2011-05-17 11:30:06 +02:00
zeeZ
0c8e13f943 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
Mike Primm
85518e72c9 Fix re-entrancy problem in FileHandler (shared buffer can cause
corrupted or exchanged tiles)
2011-05-16 21:11:28 -05:00
zeeZ
66cf80cce1 Organize imports. 2011-05-17 02:43:25 +02:00
zeeZ
07612cce2a Prefix all (intentional) output properly. 2011-05-17 02:38:49 +02:00
zeeZ
003ff1c149 Fix error if no render triggers are defined. 2011-05-17 06:58:32 +08:00
zeeZ
4b0ca4580a Fix error if no render triggers are defined. 2011-05-17 00:38:26 +02:00
zeeZ
b76e6059ae Tabs and spaces. 2011-05-16 20:55:19 +08:00
zeeZ
1ba9fe9cff Op always has permission 2011-05-16 20:55:19 +08:00
zeeZ
bcba7b1a12 Tabs and spaces. 2011-05-16 14:51:18 +02:00
zeeZ
774e7a3d4d Op always has permission 2011-05-16 14:28:18 +02:00
Mike Primm
38b13b6324 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
d888550a73 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
Mike Primm
37758ecc21 One more with the tabs 2011-05-15 08:05:36 -05:00
Mike Primm
e5a09b79d2 Clean up tabs 2011-05-15 08:02:45 -05:00
Mike Primm
01b337d3ff Finish HeroChat support - handle directing web messages to selected
channel (versus spamming everyone)
2011-05-15 07:56:45 -05:00
Mike Primm
e372c64a37 Re-merge the nether render support, and update race condition fixes 2011-05-14 23:25:59 -05:00
Mike Primm
ff5f791eaf HeroChat support - reflection based binding to it 2011-05-15 01:18:20 +02:00
zeeZ
c70b3df510 Added data value colored blocks to flat map 2011-05-14 21:28:21 +08:00
FrozenCow
0b5f07054d Replaced tabs with spaces to conform the Bukkit standards. 2011-05-13 10:41:02 +02:00
Mike Primm
d09e54d116 Pull debug message 2011-05-13 10:31:50 +02:00
Mike Primm
bc155e7a05 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
71e873f5c5 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
8aa96b5c73 Consistency to make Kilandor happy :-). 2011-05-10 12:51:52 +02:00