Alexander Söderberg
3eb0de68c4
Begin working on the structure for the backup system
2020-05-09 20:05:39 +02:00
N0tMyFaultOG
ae11f0610e
Add a few more translation strings for setup wizard
2020-05-09 16:45:32 +02:00
N0tMyFaultOG
198c7ca58d
Remove dead translations
2020-05-09 14:04:08 +02:00
Hannes Greule
5a2f70238a
Typo
2020-05-06 12:53:27 +01:00
Hannes Greule
8257b0b563
No lazy init when calling toString,equals or hashCode
...
That prevents premature initialization as NullBlockCategory
2020-05-06 12:53:27 +01:00
Hannes Greule
9b997d2195
Make constructor private
2020-05-06 12:53:27 +01:00
Hannes Greule
a19fa1b92c
Send a debug message if category not found
2020-05-06 12:53:27 +01:00
Hannes Greule
2c060db9c0
Lazily initialize block tags
2020-05-06 12:53:27 +01:00
dordsor21
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
dordsor21
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
dordsor21
df5feff9ec
Display the correct number of grants used in auto
2020-05-05 13:50:29 +01:00
dordsor21
9226aaff1f
In the interest of debug should show everything, add debug when registering an unknown flag.
2020-05-05 12:57:14 +01:00
dordsor21
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
N0tMyFaultOG
4ad9f12d5d
Move plot version to debugpaste top
2020-05-04 23:58:01 +02:00
dordsor21
228c37815a
Fix merge all
...
Fixes #2804
2020-05-04 17:15:53 +01:00
dordsor21
729469e030
Add config options for all paper events.
2020-05-02 11:58:32 +01:00
dordsor21
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
dordsor21
85a75ad868
Yeet that PaperSPiGoT out of here
2020-05-02 11:58:32 +01:00
dordsor21
8ec8b8d803
Add some paper-specific listeners
2020-05-02 11:58:32 +01:00
dordsor21
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
dordsor21
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
dordsor21
e06429f3b0
Correct world types given to player
2020-05-01 19:18:11 +01:00
MattBDev
fd4a9a16de
Execute commands when clicked for expire messages
2020-05-01 13:34:43 -04:00
dordsor21
d6d49e0912
Show suffix in versionString() too
2020-05-01 15:56:35 +01:00
dordsor21
b5de5f30ac
Allow suffixes to the version
...
- Useful for "PlotSquared-5.10.4-SNAPSHOT" etc
2020-05-01 15:53:40 +01:00
Alexander Söderberg
135c6f2c15
Send a less obnoxious message if the flag name length exceeds the maximum allowed length
2020-04-30 13:36:03 +02:00
dordsor21
a263fe2f2d
Apparently we need to recover from bad flags
2020-04-30 12:15:42 +01:00
dordsor21
cbe46539ca
Pick up the rest of the reformating
2020-04-30 11:53:07 +01:00
dordsor21
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
dordsor21
42106bb97a
I didn't get everything first time
2020-04-30 11:33:59 +01:00
dordsor21
e7216d4aef
Merge branch 'v5' into reformat
2020-04-30 11:33:31 +01:00
dordsor21
0751e9cea3
Make LiquidFlowFlag an enum
2020-04-30 11:18:28 +01:00
dordsor21
0091580ae0
Reformat it all.
2020-04-30 11:01:52 +01:00
dordsor21
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
dordsor21
8a21334e66
Merge branch 'v5' of https://github.com/IntellectualSites/PlotSquared into v5
2020-04-28 11:21:51 +01:00
dordsor21
a130d801d5
schem.intellectualsites.com (just forwards to athion.net but cnamed)
2020-04-28 11:21:30 +01:00
N0tMyFaultOG
a829799b36
Update scripting message
2020-04-25 23:53:46 +02:00
Hannes Greule
5bd53436df
Prevent NPE for report comments
2020-04-23 13:44:34 +01:00
dordsor21
9081a5aff6
Fix incorrectly formatted biomes in worlds.yml automagically
2020-04-22 08:22:14 +01:00
N0tMyFaultOG
c8d8fb6aff
Reformat premium information
2020-04-21 23:38:56 +02:00
N0tMyFaultOG
6da4994955
Enhance premium verification
2020-04-21 23:06:11 +02:00
N0tMyFaultOG
4780fcd534
Fixes #2782
...
Thanks for the contribution :)
2020-04-21 15:53:38 +02:00
dordsor21
ffee7a518e
update default biome to match format WorldEdit accepts.
2020-04-21 09:16:02 +01:00
Cheezybo99
f1d10c96bc
Added PERMISSIONS_ADMIN_CHAT_BYPASS enum for the permission plots.admin.chat.bypass allowing users to bypass the plot chat security feature.
2020-04-20 18:55:28 +02:00
Alexander Söderberg
3c8b22688a
I'm dumb.
2020-04-19 21:24:45 +02:00
Alexander Söderberg
cdd1fad85c
Fix github link in debugpaste
2020-04-19 21:22:45 +02:00
Alexander Söderberg
bf5862942a
Disable prefixes for flag info headers and footers and suppress NPE in the update utility
2020-04-18 22:26:13 +02:00
dordsor21
952ea0b090
Fix setowner none (unclaim)
2020-04-18 17:59:45 +01:00
dordsor21
af951ac11c
Update upload to debug the content if incorrect properly.
2020-04-18 17:53:45 +01:00
dordsor21
165614efe9
make sure never to have unclaim be an alias of delete. Even if it doesn't work.
2020-04-18 17:44:01 +01:00
dordsor21
95335df84d
Merge branch 'v5' of https://github.com/IntellectualSites/PlotSquared into v5
2020-04-18 17:22:58 +01:00
dordsor21
100861484a
Fix plot claim.
2020-04-18 17:22:51 +01:00
Alexander Söderberg
c206de263b
Merge remote-tracking branch 'origin/v5' into v5
2020-04-18 02:28:29 +02:00
Alexander Söderberg
0c12972c03
Register misc-flags.
2020-04-18 02:28:11 +02:00
N0tMyFaultOG
546c4defb7
Add SirYwell to authors list
...
Thanks for all your hard work regarding v5 ❤️
2020-04-16 23:49:08 +02:00
N0tMyFaultOG
814fca3832
Update flag description
2020-04-16 19:15:40 +02:00
dordsor21
3ee29297e0
Add option to force plot chat in plot areas.
2020-04-16 16:55:14 +01:00
dordsor21
6d9d0fff10
Add description caption for chat flag
2020-04-16 12:49:00 +01:00
dordsor21
714b8dad87
Implement IntellectualSites/PlotSquaredSuggestions/96
...
Also make Plot Chat work properly. Not sure what was going on there before...
2020-04-16 11:54:32 +01:00
dordsor21
a44807d47b
Don't dump biome array on /ps reload. Gradle also seems to want to change the Core pom.
2020-04-16 11:43:13 +01:00
Alexander Söderberg
ee2ed8222d
Merge config packages
2020-04-16 06:14:33 +02:00
Alexander Söderberg
edaf396894
Merge features/v5/internal-updates into api/v5/packages
2020-04-16 06:11:03 +02:00
Alexander Söderberg
6f052f0001
Remove extra line from HEADER
2020-04-16 05:05:58 +02:00
Alexander Söderberg
ba40a56c32
Add GPLv3 License headers to all source files.
2020-04-16 04:52:39 +02:00
MattBDev
780be3776a
Addressed some comments
2020-04-15 15:26:54 -04:00
Alexander Söderberg
79bd69e599
Make the entity counting code use the new entity categories, remove usage of magic numbers and add /plot caps
2020-04-12 19:30:50 +02:00
Alexander Söderberg
658f2a3fc3
Finalize entity type categorisation
2020-04-12 01:23:13 +02:00
Hannes Greule
6e536f81ac
Add more entity categories
2020-04-12 00:57:50 +02:00
Alexander Söderberg
dd9450d36a
Add entity category loading code to WorldUtil (implemented in BukkitUtil)
2020-04-11 22:26:31 +02:00
Alexander Söderberg
e6c76ad3f3
Entity categories implementation
2020-04-11 21:49:08 +02:00
Hannes Greule
6f2b31f4a3
Add missing default flag values to GlobalFlagContainer ( fixes #2748 )
2020-04-11 18:49:04 +02:00
Alexander Söderberg
c5590440d6
Merge remote-tracking branch 'origin/features/v5/internal-updates' into features/v5/internal-updates
2020-04-11 17:58:27 +02:00
Alexander Söderberg
7931390ae4
Fix json relocation issue. Make plot areas dump their default flags and add progress output for flag conversion.
2020-04-11 17:58:08 +02:00
Alexander Söderberg
546b857b9d
Fail default flag parsing gracefully
2020-04-11 17:19:43 +02:00
Alexander Söderberg
ce10d54a9c
Don't use legacy IDs to get block types in the hybrid plot manager
2020-04-11 13:28:58 +02:00
Alexander Söderberg
965bbb9f3b
Extract block queues from AugmentedUtils
2020-04-11 13:23:57 +02:00
Alexander Söderberg
e88b331155
Clean up AugmentedUtils and make the code readable by humans
2020-04-11 12:08:46 +02:00
Alexander Söderberg
ce177c3c46
Clean up HybridGen and make the code readable by humans
...
Previously it was only readable by androids, and Jesse.
2020-04-11 12:00:42 +02:00
Alexander Söderberg
5a6dbfda36
Fix javadoc generation issues
2020-04-11 03:23:48 +02:00
MattBDev
dfa977a020
Moved more packaged based on feedback
2020-04-10 20:19:18 -04:00
MattBDev
5be2dfa747
Package Changes
2020-04-10 19:26:07 -04:00
Alexander Söderberg
f9ea99fa1d
Merge pull request #2754 from IntellectualSites/features/v5/owners
...
Remove all direct access to Plot.owner
2020-04-10 19:52:41 +02:00
Alexander Söderberg
79583c011f
Replace getOwnerAbs() == null
with !hasOwner()
2020-04-10 19:28:10 +02:00
Alexander Söderberg
172bcc7677
Revert "Replace getOwnerAbs() == null
with hasOwner()
"
...
This reverts commit 79620042
2020-04-10 19:22:12 +02:00
Alexander Söderberg
c2060ea1a7
Remove deprecation of getOwner()
2020-04-10 19:11:53 +02:00
Alexander Söderberg
7962004215
Replace getOwnerAbs() == null
with hasOwner()
2020-04-10 19:10:43 +02:00
Alexander Söderberg
45476f2867
I missed AbstractDB somehow...
2020-04-10 18:15:35 +02:00
Alexander Söderberg
280ced7904
Add GPLv3 License headers to all source files.
...
Reason: " How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found."
2020-04-10 18:09:01 +02:00
Alexander Söderberg
474795367e
Reformat Plot after the owner changes. It was a bit too messy.
2020-04-10 14:07:52 +02:00
Alexander Söderberg
ce756411cf
Remove all direct access to Plot.owner
...
New methods were added for access to the absolute owner of a plot, and the documentation of the owner getters to clarify the purpose of the methods.
2020-04-10 14:05:01 +02:00
Alexander Söderberg
dada7dbb86
Use relocated org.json instead of including the source files
2020-04-09 17:41:55 +02:00
Alexander Söderberg
cb05d34d20
Fixes #2751
2020-04-09 17:07:14 +02:00
Alexander Söderberg
86149224d1
Don't set walls, wall filling or outline in plots using full vanilla terrain generation
2020-04-09 13:06:45 +02:00
Alexander Söderberg
f717589074
Fix typo in MainUtil and switch out Consumer<Integer> to IntConsumer
2020-04-09 11:23:39 +02:00
Alexander Söderberg
271109a726
Fix dumdum async getLoadedChunks call, but only because Aikar broke everything.
2020-04-08 21:49:41 +02:00
Alexander Söderberg
865d11e844
Register vehicle-place and make it disabled by default
2020-04-08 17:28:16 +02:00
Alexander Söderberg
bc45b8b695
Merge branch 'features/v5/internal-updates' into features/v5/async-load
2020-04-08 17:17:17 +02:00
Alexander Söderberg
f6332d2cd9
Add tab completions to flyflag
2020-04-08 16:53:39 +02:00
Alexander Söderberg
4ca7a81e96
Fix untrusted-visit.
2020-04-08 16:52:10 +02:00
Alexander Söderberg
ae2867136a
Make the fly flag an enum flag instead. It now accepts: true
, false
and default
, where default
is the default value, and does not change the flight status at all.
2020-04-08 16:39:19 +02:00