Commit Graph

4955 Commits

Author SHA1 Message Date
667098268f Almost fix slime pathing?
This almost works, there's no real way to do it gracefully because you can't set where the slime should be travelling to nicely, nor can you set rotation etc. Seems to be a fairly large part of the event capability missing from paper.
2020-05-10 12:18:55 +01:00
e6408b35a2 fix merge auto 2020-05-10 10:44:14 +01:00
3eb0de68c4 Begin working on the structure for the backup system 2020-05-09 20:05:39 +02:00
dd1b944205 Update gradle and remove license header from gradle 2020-05-09 16:47:49 +02:00
ae11f0610e Add a few more translation strings for setup wizard 2020-05-09 16:45:32 +02:00
55fc963673 5.10.6 2020-05-09 13:19:29 +01:00
198c7ca58d Remove dead translations 2020-05-09 14:04:08 +02:00
5a2f70238a Typo 2020-05-06 12:53:27 +01:00
8257b0b563 No lazy init when calling toString,equals or hashCode
That prevents premature initialization as NullBlockCategory
2020-05-06 12:53:27 +01:00
9b997d2195 Make constructor private 2020-05-06 12:53:27 +01:00
a19fa1b92c Send a debug message if category not found 2020-05-06 12:53:27 +01:00
2c060db9c0 Lazily initialize block tags 2020-05-06 12:53:27 +01:00
a8621a15ad Override setblock setting Pattern in ChunkBlockQueue
> Should stop NPE during plot analysis
> Without overriding this method, DelegateLocalBlockQueue setblock Pattern is called
> DelegateLocalBlockQueue's setblocks use parent.setBlock, but we set that to null in ChunkBlockQueue
> ChunkBlockQueue is simply just to cache the values from generation to use in analysis
> Therefore there is no need to setblocks in any other Queue implementation
2020-05-06 12:53:16 +01:00
179e9e1e74 Clean up plot grants and plot auto
- Correct maths for calculating granted plots, etc etc
- Don't check if the player has the correct number of plots AGAIN on AutoClaimFinishTask. That's dumb.
2020-05-06 11:39:34 +01:00
df5feff9ec Display the correct number of grants used in auto 2020-05-05 13:50:29 +01:00
9226aaff1f In the interest of debug should show everything, add debug when registering an unknown flag. 2020-05-05 12:57:14 +01:00
afe874a59b try-catch for NPE in purge and fail gracefully if the world is null
Plausible scenario since purge is often run to remove plots in the DB from removed worlds
Shouls fix #2806
2020-05-05 11:12:39 +01:00
4ad9f12d5d Move plot version to debugpaste top 2020-05-04 23:58:01 +02:00
228c37815a Fix merge all
Fixes #2804
2020-05-04 17:15:53 +01:00
a37ab10414 Don't send chat spy to message sender 2020-05-03 18:13:54 +02:00
d73dbf0c81 5.10.5 2020-05-02 13:34:04 +01:00
daee26681a use strings for spawn reasons to be safe 2020-05-02 12:13:00 +01:00
729469e030 Add config options for all paper events. 2020-05-02 11:58:32 +01:00
c6dc9ee189 Add some more listeners
- Also use setShouldAbortSpawn so it doesn't just try forever
 - Add config to enable or disable all paper listeners
2020-05-02 11:58:32 +01:00
85a75ad868 Yeet that PaperSPiGoT out of here 2020-05-02 11:58:32 +01:00
8ec8b8d803 Add some paper-specific listeners 2020-05-02 11:58:32 +01:00
d864792d09 Fixes #2800 Allow to wrap OfflinePlayers in 1.15.2 2020-05-02 11:28:06 +01:00
ed2e9a80ed Fix rare bug where if the plot size was less than 15 and the chunk contained an entire plot, it would generate incorrectly 2020-05-01 20:30:59 +01:00
36948ed351 Move world settings dump to a better location (where all of the fields will actually have been set) 2020-05-01 20:29:35 +01:00
e06429f3b0 Correct world types given to player 2020-05-01 19:18:11 +01:00
fd4a9a16de Execute commands when clicked for expire messages 2020-05-01 13:34:43 -04:00
acba10ac09 Fix broken url 2020-05-01 17:00:55 +02:00
d6d49e0912 Show suffix in versionString() too 2020-05-01 15:56:35 +01:00
b5de5f30ac Allow suffixes to the version
- Useful for "PlotSquared-5.10.4-SNAPSHOT" etc
2020-05-01 15:53:40 +01:00
17698065a0 Add extra SpawnReasons to spawn listener 2020-04-30 17:00:35 +01:00
135c6f2c15 Send a less obnoxious message if the flag name length exceeds the maximum allowed length 2020-04-30 13:36:03 +02:00
a263fe2f2d Apparently we need to recover from bad flags 2020-04-30 12:15:42 +01:00
cbe46539ca Pick up the rest of the reformating 2020-04-30 11:53:07 +01:00
5e842f1572 Force flag names to be 64 characters or less
- A few people seem to be on interesting SQL installs. This should fix the issues they have with 767 bytes,
2020-04-30 11:52:39 +01:00
b56d4d0fea Merge branch 'reformat' into v5 2020-04-30 11:39:02 +01:00
42106bb97a I didn't get everything first time 2020-04-30 11:33:59 +01:00
e7216d4aef Merge branch 'v5' into reformat 2020-04-30 11:33:31 +01:00
0751e9cea3 Make LiquidFlowFlag an enum 2020-04-30 11:18:28 +01:00
0091580ae0 Reformat it all. 2020-04-30 11:01:52 +01:00
4a16f9c1a7 LiquidFlow true will override BlockPhysics false 2020-04-30 10:59:43 +01:00
894d673c90 Fix tests 2020-04-30 11:32:50 +02:00
577fe3037f Update checker improvements and 5.10.4
- Add config option to disable poll once it's found an update (true by default)
 - Better PlotVersion stuff can now detect if you're using a later version than the spigot API, and not tell you about it
2020-04-30 10:17:19 +01:00
53ca62e8fc Bump version 2020-04-29 22:06:23 +02:00
670f6d9f8b Fix coral-dry flag not respecting horn coral blocks 2020-04-29 21:55:55 +02:00
8a21334e66 Merge branch 'v5' of https://github.com/IntellectualSites/PlotSquared into v5 2020-04-28 11:21:51 +01:00