Commit Graph

20 Commits

Author SHA1 Message Date
drtshock
1a94e89558 Initial async saving on auto save and force save. 2015-08-06 17:41:37 -05:00
drtshock
9076e780cf Add method to get all claims for a given faction. 2015-04-26 00:02:30 -05:00
eueln
2b4e1a1947 Gracefully handle the absence of WorldBorder
Additionally move `isOutsideWorldBorder` to FLocation, because it
doesn't belong in Board/MemoryBoard.
2015-02-20 17:01:52 -06:00
Nick Porillo
d69f9e5688 Handle buffers 2015-02-19 08:59:28 -06:00
Nick Porillo
5a9112ad37 Add WorldBorder support
- Uses API in spigot to get world border
- Blocks faction claims that are outside the world border

Improved border detection

This is the updated border detection, this method is extremely accurate
and does not over partition claim space like before.

Takes the border and divides by two, and then converts the block
distance into a chunk distance.
Ex. Border = 100, Chunks = 6 vertically, 6 horizontally.

We get the absolute value difference between the center chunk and the
claim chunk, for both X and Z. We add both diffs, and if they are
greater than the limit, then we know the chunk is outside the border!
2015-02-19 08:58:20 -06:00
drtshock
5579005714 Add buffer zone for areas between Faction claims. Adds #233. 2015-01-29 09:39:56 -06:00
drtshock
35813c7210 Reformat. 2014-11-05 18:36:47 -06:00
t00thpick1
ee52016a87 Abstract Data storage method for future implementations. Thanks to Ryan from Reactive MC
Also included:
-Heavily optimized loading process
-Optimizations for various commands.
2014-10-30 23:59:59 -04:00
eueln
653f918a1b Add support for Glowstone
Glowstone doesn't yet support PlayerMoveEvent nor Scoreboards, so
functionality is unfortunately limited.
2014-10-30 23:26:23 -04:00
drtshock
ddf054330a First implementation of scoreboards.
Boards can be toggled with /f sb. Toggles are persistent in a yml file.
Also fix some small spelling and format things that were really bugging me.
2014-08-05 10:17:27 -05:00
drtshock
8a6a97cc90 Reformat 2014-07-01 15:10:18 -05:00
drtshock
5066934a95 More reformatting 2014-07-01 14:52:40 -05:00
drtshock
dc54f78cc1 Some reformat 2014-07-01 14:49:42 -05:00
drtshock
b10e31acbb Remove some unneeded files. 2014-05-19 13:08:37 -05:00
gravitylow
6c4cfd337e Java 6 compatible 2014-04-15 15:19:00 -04:00
gravitylow
e3c0f6376f More housekeeping 2014-04-15 13:42:09 -04:00
drtshock
eb770edd7a Push pending stuff. 2014-04-13 16:31:10 -04:00
drtshock
b50cebcdb6 COMPILES 2014-04-05 17:25:15 -05:00
drtshock
814e439705 Reformat before I go crazy. 2014-04-04 13:55:21 -05:00
drtshock
c3983d3b96 Mavenize 2014-04-04 13:53:42 -05:00