Commit Graph

56 Commits

Author SHA1 Message Date
Brettflan
9c262004d4 Release 1.5.1 2012-02-13 02:54:18 -06:00
Brettflan
91c66d9f58 Fill process now checks the world region files directly to determine which chunks have been previously generated and skips over them, so existing worlds where much of the world is already generated should get through the fill process much faster.
Fill process should run much more smoothly regardless of what frequency you've specified.
If the fill process is paused due to low memory, it now tries to prod Java into cleaning up memory, so the process usually is able to start right back up almost immediately.
A few other minor tweaks to the fill process.

Moved world region file handling code out to new separate WorldFileData class, which is used by both the trim process and the fill process.
2012-02-10 20:20:47 -06:00
Brettflan
9ee2d3aa50 For /wb fill and /wb trim, "stop" can now be used interchangeably with existing "cancel" directive.
Removed plugin "loading" and "shutting down" log messages at startup and shutdown since Bukkit now handles such messages itself.
Updated CoordXZ to have slightly more unique hashCode values for fewer hashCode intersections.
2012-02-10 20:09:27 -06:00
Brettflan
a4f7cd6487 Event handler switched over to new Bukkit event system 2012-02-07 20:58:28 -06:00
Brettflan
80eab49b54 Removed direct Permissions plugin support. Now permissions are solely handled directly through Bukkit's built-in "superperms" permission system, since all modern permission plugins should now be interfacing through that. 2012-01-31 10:34:00 -06:00
Brettflan
ffd003bf46 For border crossings where a safe location just inside the border can't be found, the player is now teleported to the spawn location for the current world instead of for the main world 2012-01-31 10:32:26 -06:00
Brettflan
9fcda08b3e Release version 1.5.0 2011-12-14 07:18:41 -06:00
Brettflan
beb224fa1e Player teleports are now monitored and (if necessary) redirected inside the border; sadly this doesn't prevent the original target chunk from being loaded/generated (which would be nice if it's outside your border), but at least the player never ends up there now for even a fraction of a second 2011-12-14 07:18:18 -06:00
Brettflan
7eb7404dcd Changed world folder location determination for "trim" task to use new World.getWorldFolder() method
Added "The End" world support to the "trim" command, since it uses a new region folder location
2011-12-14 06:05:43 -06:00
Brettflan
1fb5aa9780 Added 1 more "safe" and 1 more "painful" block type for safe location determination from newer blocks
Added in check to make sure target chunk is loaded before trying to find safe location in it
2011-12-14 06:03:00 -06:00
Brettflan
45ee339402 Update to use newer Bukkit Configuration handler
As a result, the /wb reload command is now working correctly
2011-12-12 10:41:57 -06:00
Brettflan
6b1d7d8cbf Increase default padding for fill and trim commands to 208 (13 chunks) 2011-12-12 04:54:42 -06:00
Brettflan
1f3f9ba521 Release 1.4.4: Workaround fix for new Bukkit error when the chunk unloading method is run on a chunk which isn't currently loaded 2011-10-18 11:44:12 -05:00
Brettflan
713fc3f5b5 Added a few more materials to the "safe and open" list for MC 1.8 2011-09-27 14:36:10 -05:00
Brettflan
acd2324388 Removed color tags from fill and trim task progress logs, since color tags no longer work correctly for the console 2011-09-22 08:10:49 -05:00
Brettflan
502a4d57ff updated logo image 2011-09-22 07:21:47 -05:00
Brettflan
2ed580556b Fill process should run a bit more safely now if you have a really high frequency specified; it would previously drop out of the current fill loop if the process had been manually paused, but not if it had been automatically paused for low memory, which was an oversight 2011-09-22 03:53:54 -05:00
Brettflan
4620b0eac0 Release 1.4.3: removed direct support for GroupManager, since a recent release of it broke integration and was resulting in a fatal error; as long as you're using its Permissions bridge, it should continue to work fine for you even with direct support removed 2011-09-22 02:19:57 -05:00
Brettflan
818b06be52 Debug output (if debug mode is enabled) for border crossings now indicates the world name.
When enabling/disabling "whoosh" effect (via /wb whoosh), it was incorrectly indicating whether it was enabled/disabled; fixed
2011-09-22 00:55:02 -05:00
Brettflan
887c858b81 Release 1.4.2: removed usage of ColouredConsoleSender, as it apparently can now trigger a console duping bug 2011-09-15 01:27:45 -05:00
Brettflan
f24c676c18 Implemented (hopefully) speedier equals() and hashCode() function overrides for the BorderData class
Made round borders the default instead of square, since the server impact is only very slightly higher for round borders and they look nicer on display maps
Added logo PSD just for the heck of it
2011-09-06 16:42:28 -05:00
Brett Flannigan
462c70d335 Merge pull request #1 from LRFLEW/patch-1
Checks to see if the task ID is referencing a "unable to schedule" event
2011-09-06 14:36:34 -07:00
LRFLEW
72a3b419e8 Checks to see if the task ID is referencing a "unable to schedule" event before setting it 2011-09-04 13:31:22 -05:00
Brettflan
63d7bb5eb7 Release 1.4.1 2011-08-15 19:04:53 -05:00
Brettflan
548fbef7d6 Critical fix: a bizarre Bukkit bug was resulting in the fill command sometimes wiping out the chunk at 0,0, even when it never even touched that chunk. The bug is caused by World.unloadChunk() in unknown circumstances. This workaround fix causes the task to speed along faster and memory usage to grow very quickly if you're running the fill task at a high frequency, so I've increased the "too low" memory threshold to 200 MB and increased the status update frequency and memory check to every 5 seconds (instead of every 10 seconds).
The status update frequency for the trim task has likewise been switched to every 5 seconds, for consistency.
2011-08-15 19:04:02 -05:00
Brettflan
933f9cac16 Added new trim command, to trim off chunks well outside the border. Works similar to the fill command, but is much much faster.
Also made the fill command not unload any chunks which were already loaded before it was run.
2011-08-15 10:01:03 -05:00
Brettflan
fdb8aca3af Release 1.3.1 2011-07-27 22:26:29 -05:00
Brettflan
01c5ccab7d When using commands, world name can now be specified in quotation marks if it has a space in it (example: /wb "you world name" set 4000 0 0); also made new "whoosh" knockback effect default to disabled so that it's opt-in, since it could potentially be considered annoying 2011-07-27 22:25:16 -05:00
Brettflan
04971a2007 When players are knocked back, an experimental effect is now shown at the spot they were knocked back from; this effect is enabled by default, but can be enabled/disabled with the new /wb whoosh <on/off> command 2011-07-27 16:30:07 -05:00
Brettflan
74835286d9 Fix for round borders with a radius larger than 46340 (!wow that's huge!) being horribly glitched; was caused by limitations of "int" data type 2011-07-27 14:06:49 -05:00
Brettflan
794aed7b18 Might need this... also, release 1.3.0 2011-07-19 00:13:47 -05:00
Brettflan
e2e1b60e2a New fill command, which generates all missing chunks within a world's border along with a configurable buffer beyond the border; can be run at different speeds as well, to allow for running on a server with players on it or to have it finish as quickly as possible
Support for newly available built-in Bukkit "superperms" permission system; uses the same nodes as for the Permissions plugin
Support for colors in console messages
Knockback distance is now required to be at least 1.0
A couple of other tweaks
2011-07-19 00:12:14 -05:00
Brettflan
c45c48be5c minor tweak, release 1.2.3 2011-07-11 09:48:06 -05:00
Brettflan
40468fab36 added a bit to the "safe and open" and "painful" block-type lists for the function which teleports escapees back inside the border; removed code which force-loaded GroupManager if it was present since it could cause problems 2011-06-28 20:24:49 -05:00
Brettflan
302bc28d93 Added snow to the breathable blocks list, so you're not teleported 1 block above snow; slightly improved the efficiency of the function which finds a safe spot to teleport escapees back inside the border; 1.2.2 release 2011-06-10 17:14:24 -05:00
Brettflan
331d5bae59 another convenience function overload, BorderData.insideBorder(Location) 2011-06-07 13:17:46 -05:00
Brettflan
7d0ba4bd9c release 1.2.1 2011-06-07 13:02:19 -05:00
Brettflan
ce7a14c36b Added a function to the main plugin class for other plugins to hook into, which will get the BorderData for a specified world. The other plugin can then access all available functions such as checking an X/Z position to see if it's inside the border, or getting a corrected (and safe) position inside the border. 2011-06-07 06:08:21 -05:00
Brettflan
2fb1b9dd7a remove unused import 2011-06-01 06:34:37 -05:00
Brettflan
a0c3b421c7 cleaned up various ChatColor.COLOR references to instead reference local variables containing color strings 2011-05-17 20:57:05 -05:00
Brettflan
9bbea2af1a added ability to override shape (round/square) of individual worlds with new /wb wshape command 2011-05-08 04:36:50 -05:00
Brettflan
6fea83f8bd Got rid of code which kept track of which players had moved, now simply checking all players each time the border-checking task runs; from my efficiency testing, it's actually less work for the server this way 2011-05-02 04:14:30 -05:00
Brettflan
5572801827 fix for potential server crash 2011-04-13 09:41:17 -05:00
Brettflan
40c3764049 should fix ConcurrentModificationException error 2011-04-09 19:51:40 -05:00
Brettflan
6b9a90a620 hmm, this missing file might be helpful to have on GitHub as well 2011-04-09 10:56:51 -05:00
Brettflan
36e6d2ce2b Several changes for v1.1 release:
moved border checking routine out into a timed task, for even lower server impact
added new configurable "delay" value, for the number of ticks it will wait between border checks, the default is 4 (~200ms); each server tick is ~50ms or so
added new configurable "knockback" value, for how far back inside the border to move a stray player, the default is 3.0
changed world-name encoding method for worlds with dots in the name to use an uncommon high-range ASCII character ("¨"), since forward-slash ("/") can occur in world names; don't worry, old configurations which have the "."->"/" encoding will be automatically and safely converted
split command listing to 2 pages for players, since there are too many commands to fit on the screen now
2011-04-09 09:55:57 -05:00
Brettflan
dddceca7f1 fix for saving/loading data for worlds with periods (".") in the name; release 1.0.1 2011-04-07 15:57:07 -05:00
Brettflan
3286c53515 update README.md further 2011-04-04 15:42:33 -05:00
Brettflan
507ede7b14 update README.md with link to Bukkit forum topic 2011-04-04 15:40:35 -05:00
Brettflan
19ebbb3240 Ready for 1.0 release 2011-04-04 03:56:08 -05:00