MattBDev
f06903f1b8
Merge remote-tracking branch 'origin/paperstuff' into paperstuff
...
# Conflicts:
# Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/Help.java
2019-08-05 14:07:09 -04:00
MattBDev
fe83ef0975
Get chunks asynchronously
2019-08-05 14:03:09 -04:00
NotMyFault
cd26b1647d
Add kelp-grow flag
...
Simply as the name says, add a controlled way to let kelp grow.
2019-08-05 14:03:07 -04:00
NotMyFault
cdc01a5bc4
Reformat debugpaste
...
And upgrade from IC -> IS
2019-08-05 14:03:07 -04:00
MattBDev
1295f7c4bf
Merge with breaking
2019-08-05 14:03:06 -04:00
Sauilitired
20dd98d3b9
Use PaperLib and make command task return completable futures
2019-08-05 14:02:30 -04:00
MattBDev
bd51292f4c
Get chunks asynchronously
2019-08-05 13:33:27 -04:00
MattBDev
cc45208605
Merge remote-tracking branch 'origin/breaking' into paperstuff
2019-08-05 13:32:19 -04:00
MattBDev
01dfdbe2ef
Merge with breaking
2019-08-03 23:26:16 -04:00
MattBDev
bb21abb110
Merge branch 'breaking' into paperstuff
...
# Conflicts:
# Bukkit/build.gradle
# Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/BukkitMain.java
# Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/events/PlayerPlotTrustedEvent.java
# Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/object/BukkitPlayer.java
# Core/src/main/java/com/github/intellectualsites/plotsquared/commands/Command.java
# Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/Add.java
# Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/Buy.java
# Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/Clear.java
# Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/DebugExec.java
# Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/Grant.java
# Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/Help.java
# Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/MainCommand.java
# Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/Near.java
# Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/Relight.java
# Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/SubCommand.java
# Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/Trust.java
# Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/Visit.java
2019-08-03 23:11:02 -04:00
NotMyFault
6d0849eb66
Merge pull request #2431 from IntellectualSites/kelp-grow
...
Add kelp-grow flag
2019-07-27 21:55:39 +02:00
NotMyFault
dbf5084fa1
Reformat debugpaste
...
And upgrade from IC -> IS
2019-07-25 20:02:39 +02:00
NotMyFault
feda094273
Add kelp-grow flag
...
Simply as the name says, add a controlled way to let kelp grow.
2019-07-20 01:29:30 +02:00
dordsor21
095dccd30f
Revert changes to intersection generation
2019-06-28 13:59:57 +01:00
Alexander Krivács Schrøder
d6401d1638
Allow running the road regeneration on a single region
...
The plot-based road regeneration from before does not have the same behavior as the real road regeneration code. This new debug operation will regenerate the roads within the region the player is standing using the same code that regenerates all roads. This makes it much easier to tell if things are working correctly and as expected.
2019-06-16 11:57:35 -04:00
Alexander Krivács Schrøder
7f404e1cf5
Fix plot walls after running regenallroads
...
Also clears whatever was above the plot wall, such as pieces of the road.
2019-06-16 11:57:35 -04:00
Alexander Krivács Schrøder
a94c588a17
Check if location has PlotArea to avoid NPE
2019-06-03 16:26:20 -04:00
Alexander Krivács Schrøder
d106262454
Have PlotAreas create their own PlotManager
...
Leads to cleaner code, less need for instanceof and casting, as a PlotArea knows which kind of PlotManager it needs to make
2019-06-03 16:26:20 -04:00
Alexander Krivács Schrøder
c5bca66618
Remove PlotArea parameter from PlotManager method calls
...
As per the previous commit, all PlotManagers now have a reference to their managed PlotArea.
2019-06-03 16:26:20 -04:00
Alexander Krivács Schrøder
6b3960fc3f
Pass the PlotArea into the PlotManager
2019-06-03 16:26:20 -04:00
Alexander Krivács Schrøder
908a5784a1
Cache conversions to BaseBlock and fix leaky abstraction
2019-06-03 16:24:59 -04:00
Alexander Krivács Schrøder
bbff898073
Extract air block into variable to reduce unnecessary function calls
2019-06-03 16:24:59 -04:00
Alexander Krivács Schrøder
19f8704cb4
Remove leftovers from getting rid of PlotBlocks in LocalChunk
2019-06-03 16:24:59 -04:00
Alexander Krivács Schrøder
b366b0d261
Set unspecified blocks from the schematic to air
...
If this isn't done, any blocks not specified in the schematic will remain after a clear, which is obviously undesirable.
2019-06-03 16:24:59 -04:00
Alexander Krivács Schrøder
941821e453
Convert all PlotBlocks to BaseBlocks in the BasicLocalBlockQueue
...
The `BukkitLocalQueue` only supports using one of the sets (the removed `baseBlocks` variable in `BasicLocalBlockQueue` was the deciding factor for which one won out) which led to issues with missing blocks when trying to use both types at the same time, such as in the `HybridPlotManager`s `clearPlot` method, where `PlotBlock` is used to fill in the various layers, while the`createSchemAbs` method uses `BaseBlock` for its data.
2019-06-03 16:24:59 -04:00
MattBDev
475e9b50e1
Fixes #2380
2019-05-31 12:00:44 -04:00
MattBDev
812d41092e
Merge branch 'breaking' of https://github.com/IntellectualSites/PlotSquared into breaking
2019-05-31 11:57:18 -04:00
Alexander Krivács Schrøder
41299e6851
Fix issue with plot border during merge
...
* `getExtendedTopAbs()` used wrong relative plot for calculating X position.
* Not running `finishPlotMerge()` after every merge led to broken roads during a `merge all`
2019-05-29 23:28:16 -04:00
Alexander Krivács Schrøder
95cb0d84f0
Fix issue with road generation during unlink
...
Roads should always be created with respect to `current`.
2019-05-29 23:28:16 -04:00
zombachu
fb478de164
Update outdated list of files to check on failed world load ( #2365 )
2019-05-22 12:09:31 -04:00
MattBDev
1bd7c8ca5f
Variable renames
2019-05-21 18:50:52 -04:00
MattBDev
fe471c3571
new library in gradle and another change I can't remember.
2019-05-21 18:32:26 -04:00
MattBDev
8ff833de36
Added Paper to Platform
2019-05-17 18:50:24 -04:00
MattBDev
5dd2610b5e
Misc. changes and removal of title manager
2019-05-17 18:49:09 -04:00
MattBDev
4e3a927323
Modifications to the generator code
2019-05-17 16:21:03 -04:00
MattBDev
595a68ecba
variable renames
2019-05-17 15:32:05 -04:00
MattBDev
6f5cb30734
Minor message changes and variable changes
2019-05-17 14:38:57 -04:00
MattBDev
b66734a472
Misc. code changes
...
A lot of renaming
Some formatting
Narrowed scope of variables
Added annotations
2019-05-13 21:57:41 -04:00
MattBDev
adefe2eeef
Titles can be used on Spigot and Paper now
2019-05-13 18:20:58 -04:00
MattBDev
a841b4ea86
Titles are now exclusive to paper servers
2019-05-10 22:42:07 -04:00
MattBDev
f232334bcc
Various formatting tweaks as well as metrics changes.
2019-05-10 21:18:28 -04:00
dordsor21
885d1b9d7e
Merge branch 'breaking' of https://github.com/IntellectualSites/PlotSquared into breaking
2019-05-05 16:56:14 +01:00
dordsor21
f6e492638d
Bad temporary fix for #2345 - just don't use BukkitLocalQueue#regenChunkSafe and that on 1.14 :) (:
2019-05-05 16:56:00 +01:00
dordsor21
46beb90112
Correcter versioning
2019-05-05 11:58:45 +01:00
dordsor21
0a6fad73c3
Correct versioning
2019-05-05 11:56:08 +01:00
dordsor21
eb9d98d289
Use https://www.athion.net/ISPaster/paste
2019-05-01 19:52:26 +01:00
MattBDev
2ec13e4e76
Replace code with hasFlag() where appropriate.
2019-05-01 12:31:50 -04:00
MattBDev
db6115eae5
Documentation and formatting changes
2019-04-29 15:20:52 -04:00
MattBDev
9e324762b6
Move the update utility setup to it's own method
2019-04-29 15:18:38 -04:00
MattBDev
237b10a2a2
Tidying up the code
2019-04-29 10:49:58 -04:00
dordsor21
bef3dbc6f4
Reformat code
2019-04-23 23:48:22 +01:00
Jesse Boyd
0c0a696d36
Merge branch 'breaking' of https://github.com/IntellectualSites/PlotSquared into breaking
2019-04-23 12:57:46 +10:00
Jesse Boyd
21a5b04b7b
remove debug
2019-04-23 12:57:39 +10:00
MattBDev
ef8d33db41
Minor command changes
...
Changed RequiredType in some classes and formatting changed in others.
2019-04-22 11:55:05 -04:00
MattBDev
f5fa15080c
Minor javadoc updates
2019-04-22 11:45:23 -04:00
Jesse Boyd
ea26ec628d
Use Settings.Teleport.ON_LOGIN
2019-04-19 13:02:50 +10:00
Jesse Boyd
815e513093
Fix teleportOnLogin error
2019-04-19 12:53:48 +10:00
Jesse Boyd
8ac23b92d8
Use UUID, not just name
2019-04-17 22:18:03 +10:00
Jesse Boyd
d31dbc7c7c
Fix debugimportworlds 1.13
...
because someone changed PlotId.fromString to throw an exception without updating things that call it
2019-04-17 22:07:33 +10:00
Jesse Boyd
000e3de35d
Don't allow importing using base directory
2019-04-17 14:36:31 +10:00
Jesse Boyd
7e63ffe745
Optimize vanilla world generation*
...
*For single plot worlds
Reuse base world data. Instead of taking several seconds, it should now take tens of milliseconds.
2019-04-17 14:30:05 +10:00
Jesse Boyd
0fdc5eafbd
Allow single plot areas to load survival worlds
2019-04-17 13:46:33 +10:00
Jesse Boyd
59f89980a3
Don't need ratio out of 100 anymore
2019-04-17 13:13:56 +10:00
Jesse Boyd
50acf4f51f
Print exception on failed schematic setup
2019-04-13 13:06:21 +10:00
Jesse Boyd
6916752434
Fixes #2322
2019-04-12 12:11:03 +10:00
Jesse Boyd
6cea26f436
Add random collection
2019-04-10 17:10:44 +10:00
Jesse Boyd
533edc5f40
Change default threshold to -1
2019-04-10 17:10:17 +10:00
Jesse Boyd
97903f3870
Fix you are not in a plot area for single plot worlds
2019-04-10 11:34:21 +10:00
Jesse Boyd
9225a13808
sorry for breaking roads
2019-04-09 00:29:13 +10:00
Jesse Boyd
5d515b3863
This shouldn't have been made private
2019-04-06 12:55:45 +11:00
Jesse Boyd
676ef0159a
only change plotY if height not 256
2019-04-06 03:54:27 +11:00
Jesse Boyd
3e3951a3e7
*negate
2019-04-06 02:07:39 +11:00
Jesse Boyd
c71fe00741
Missed this as well
2019-04-06 02:07:14 +11:00
Jesse Boyd
69a029a555
Fix plot schematic y
2019-04-06 01:54:02 +11:00
Sauilitired
3f194f90ce
Unbreakify things
2019-04-04 18:31:47 +02:00
Sauilitired
7e401a83cf
Make PlotLoc's immutable
2019-04-04 18:26:10 +02:00
Sauilitired
f5388b9737
Merge remote-tracking branch 'origin/breaking' into breaking
2019-04-01 17:40:10 +02:00
Sauilitired
6323fb0041
Add plot like/dislikes
2019-04-01 17:39:28 +02:00
Jesse Boyd
b1835f0998
whoops, wrong schematic
2019-04-01 21:45:55 +11:00
Jesse Boyd
1c9c0d0207
Schematic fixes
...
The 1.13 schematic format uses the `.schem` extension, use that instead
Support loading both legacy `.schematic` and `.schem` files for road
schematics
Fix reading road schematics with an offset
2019-04-01 21:39:10 +11:00
Sauilitired
0f8b7cd588
fixes #2211
2019-04-01 11:14:47 +02:00
Sauilitired
c450e4aed3
Fix interval flags ( fixes #2302 )
2019-04-01 10:17:50 +02:00
Sauilitired
14badf8cfc
remove rogue debug message
2019-04-01 09:43:29 +02:00
Sauilitired
df3e78ee40
Make the "Display all commands" message configurable too
2019-04-01 09:04:19 +02:00
Sauilitired
11689bf855
Configurable help categories
2019-04-01 09:00:08 +02:00
Sauilitired
4152582ae0
Fix UUID related NPE
2019-04-01 08:35:06 +02:00
Jesse Boyd
3be7511b7c
Fix genChunk setCuboid
2019-04-01 05:01:32 +11:00
Jesse Boyd
f3adeeac0e
Fix single plot area NPEs & generator stackoverflow
2019-04-01 04:44:18 +11:00
Jesse Boyd
67cf1b45ed
Fix another legacy converter NPE
2019-04-01 04:43:44 +11:00
Jesse Boyd
04b9b67c9d
Fixes #2288
2019-03-31 18:31:16 +11:00
Sauilitired
45360f0979
Make sure /plot home
ignores server owned plots
2019-03-30 13:32:45 +01:00
Sauilitired
ae57264487
Add server-plot flag, and option to disable on-claim teleportation
2019-03-30 13:27:18 +01:00
Sauilitired
08ebf57c90
Add hide-info flag
2019-03-30 12:50:32 +01:00
Sauilitired
c6ae2456f2
Add support for Paper async chunk generation
2019-03-26 09:27:20 +01:00
Sauilitired
0b77b863ba
Update notifications.
2019-03-18 19:49:22 +01:00
matt
7f14e88c4c
last commit before 4.0.0
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-03-14 21:49:33 -04:00
matt
ed3cadd439
Formatting fixes and minor performance improvement
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-03-08 19:25:59 -05:00
matt
56c24a6a56
Type weakening and Direction changes
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-03-06 12:47:38 -05:00
matt
1755272f81
Merge remote-tracking branch 'origin/breaking' into breaking
2019-02-22 11:51:22 -05:00
matt
25530ed7f0
Doc Updates, Renaming, Reformatting, and a Test
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-22 11:51:06 -05:00
dordsor21
53e732b4fe
Make replacing wall on merge configurable
...
In case people are doing fun things with road schematics etc :)
2019-02-22 15:21:44 +00:00
dordsor21
7aebd9b74b
Set wall filling on merge
2019-02-22 15:11:35 +00:00
matt
bfc6b62213
Stupid docs
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-21 21:31:12 -05:00
matt
a9bebb10da
Merge remote-tracking branch 'origin/breaking' into breaking
...
# Conflicts:
# Core/src/main/java/com/github/intellectualsites/plotsquared/plot/listener/WEExtent.java
2019-02-21 21:18:03 -05:00
matt
2f18ef6828
Critical bug fixes, reformatting, and cleaning
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-21 21:14:48 -05:00
dordsor21
350e151214
Don't use streams as they're lower performance for our use cases.
...
Some minor reformating too.
2019-02-20 14:50:49 +00:00
dordsor21
d0a4465985
Merge branch 'breaking' of https://github.com/IntellectualSites/PlotSquared into breaking
2019-02-20 11:55:50 +00:00
dordsor21
0ef8b4ad14
Update to WorldEdit's *breaking* Biome handling changes
2019-02-20 11:55:39 +00:00
matt
c5d9412c6c
Cleaning and API Addition
...
Begins the process of removing "magic values" for directions in the plugin.
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-19 22:57:35 -05:00
matt
92718a5ec8
Merge branch 'consumers' into breaking
2019-02-19 22:29:59 -05:00
matt
099a807ce0
CLeaning of code
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-19 22:29:27 -05:00
matt
df47697ca6
CLeaning of code
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-19 19:00:37 -05:00
matt
b7aeeb151d
Replace RunnableVal with java Consumer
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-19 18:39:43 -05:00
matt
a64d764cc1
New API method, more 1.13 entity support, and cleanup.
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-15 12:50:43 -05:00
dordsor21
477e698f7e
Reformat
2019-02-13 17:13:57 +00:00
matt
11c4a90cc9
Merge remote-tracking branch 'origin/breaking' into breaking
2019-02-13 12:05:42 -05:00
matt
35493662da
Cleanup
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-13 12:05:28 -05:00
dordsor21
3e8308ecd7
Catch statement already being null
2019-02-13 13:35:19 +00:00
matt
17027e6292
Javadoc changes and cleaning of old unused code
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-08 14:49:37 -05:00
matt
e891873d28
Cleaning and scope changes
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-08 11:21:53 -05:00
matt
b39ea1b68b
Cleaning and API clarifications
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-06 21:29:51 -05:00
matt
3d8179a4e6
Small tweaks
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-06 17:30:25 -05:00
matt
9101cb9218
PlotComment API tweaks.
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-06 12:33:14 -05:00
dordsor21
d6a801d854
Reformat
2019-02-06 16:42:27 +00:00
matt
0c780166e0
Documentation and PlotId updates
...
minor code tweaks in the plot class too
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-06 00:10:05 -05:00
matt
9a23b718f3
Cleanup of various methods
...
mainly just more lambda's
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-05 19:41:03 -05:00
matt
e3d43509cf
Cleanup of some database methods
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-04 18:00:05 -05:00
matt
dfbcecb081
Removes Cluster Flags
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-02-04 12:46:27 -05:00
dordsor21
cf82bc5efb
Revert 8ac9b86
2019-02-04 15:18:50 +00:00
dordsor21
51afbdfcdc
Apply correct codestyle
2019-02-04 13:59:11 +00:00
matt
8ac9b862f8
Major cleanup.
...
Added todo comments to many 1.13 issues still lingering. Changed access to some methods to be weaker. Removed cluster flags (most of it). Java 8 stuff added. Hid more PlotSetting methods. etc.
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-01-31 14:20:48 -05:00
NotMyFault
cd8a1a0816
Fixed some translation mismatches
2019-01-27 00:48:03 +01:00
dordsor21
25ed9d2798
Fix road schematic pasting height
2019-01-23 12:23:05 +00:00
Sauilitired
c96a1afaed
Don't fuck up road schematics, I guess
2019-01-22 21:32:24 +01:00
Sauilitired
344a2afeff
Use StringBuilder, like a sane person
2019-01-22 19:54:31 +01:00
Sauilitired
e54f964eca
Fix #2009
2019-01-22 18:51:13 +01:00
Sauilitired
7e56e47046
Fix block list flag permissions
2019-01-21 17:49:36 +01:00
Sauilitired
7edfc313d6
I did an oopsie
2019-01-21 12:24:34 +01:00
Sauilitired
d37f5b9aa8
Fix schematic pasting offsets
2019-01-21 09:53:04 +01:00
Sauilitired
1fbfc767c4
Use PaperLib and make command task return completable futures
2019-01-21 09:20:33 +01:00
dordsor21
bd797b59fe
Allow disabling of scientific notation (disabled by default) for DoubleFlags
2019-01-20 15:56:49 +00:00
dordsor21
0609b3d7f6
Safer generation of the BlockBucketChunk
2019-01-19 16:28:49 +00:00
dordsor21
ca883c211a
Add merge permission changes from master
2019-01-18 19:02:12 +00:00
dordsor21
ea422b5561
Fix NPE on world initialise
2019-01-17 13:19:24 +00:00
dordsor21
223064567f
Plot analysis ( #2239 )
...
* Start to fix (and may have fixed) plot analysis with block buxkets and 1.13
* Standard deviation ought also be multiplied by 100, and only obtain the BlockBucket array once
* Add schematics to Plot Analysis
Add generateBlockBucketChunk method to SingleWorldGenerator
2019-01-17 01:04:00 +00:00
matt
0817d7de5a
Removed PlotMe converting features.
...
Signed-off-by: matt <4009945+MattBDev@users.noreply.github.com>
2019-01-15 22:19:29 -05:00
dordsor21
0e0a534620
Fix regenallroads extend (height)
2019-01-16 01:55:45 +00:00
dordsor21
61f8ceaaaa
I'm an idiot and left one of my debug messages in
2019-01-16 01:28:07 +00:00
dordsor21
7e6b11a21b
Fix plot swap and have a nicer static AIR block
2019-01-15 23:58:21 +00:00
dordsor21
28c219c694
/plot leave has a terrible description
2019-01-15 16:20:50 +00:00