Alexander Söderberg
0ce1f3e0f6
Send special message when caption cannot be found
2020-07-14 16:36:13 +02:00
Alexander Söderberg
99be181aea
Migrate some more captions
2020-07-14 16:31:58 +02:00
Alexander Söderberg
fbf6a3517d
Add back title method that somehow went missing and add a template utility class to make templates less annoying to work with
2020-07-14 15:04:31 +02:00
Alexander Söderberg
1dc4da8beb
Fix issues from previous merge
2020-07-14 13:21:59 +02:00
Alexander Söderberg
af7db08036
Add new placeholder system
2020-07-14 13:14:02 +02:00
Alexander Söderberg
33f2ff7e6d
Merge branch 'v6' into feature/v6/slf4j
2020-07-13 23:11:40 +02:00
Alexander Söderberg
6664d49928
Prefix all log messages
2020-07-13 23:04:27 +02:00
Alexander Söderberg
a1f262b5b2
Fix gradle setup and replace all debug calls
2020-07-13 22:51:57 +02:00
Alexander Söderberg
e84d82315c
Add log4j config (this might work :p)
2020-07-13 20:39:52 +02:00
N0tMyFaultOG
c6962ef4d2
Shift a few more messages to debug
2020-07-13 19:56:34 +02:00
N0tMyFaultOG
f93714a44e
Properly add prefixes to messages
2020-07-13 13:01:13 +02:00
Hannes Greule
564efd77f7
Fix some messages
2020-07-12 22:11:23 +02:00
Hannes Greule
5442c7cc2e
Start moving commands to new message system
2020-07-12 22:06:07 +02:00
Alexander Söderberg
0fa5a16cd0
replace remaining debug calls
2020-07-12 21:49:05 +02:00
N0tMyFaultOG
1881cdc9ab
Revert "Add prefix"
...
This reverts commit fb2aa44f78
.
2020-07-12 21:28:38 +02:00
N0tMyFaultOG
fb2aa44f78
Add prefix
2020-07-12 21:25:22 +02:00
N0tMyFaultOG
ac8841447c
6cf2c0ad97 (r40542418)
2020-07-12 17:11:25 +02:00
Alexander Söderberg
6cf2c0ad97
Disable the paper uuid service for offline mode servers and add toggles for all third party uuid services
2020-07-12 17:04:30 +02:00
dordsor21
c045ef698c
Add license headers and fix method change in PlotSquared.java
2020-07-12 11:42:45 +01:00
Alexander Söderberg
5cdb3f4fd5
Add missing injection points
2020-07-12 12:25:44 +02:00
Alexander Söderberg
5a5c5721cc
fix compiler crashing
2020-07-12 07:38:57 +02:00
dordsor21
3a11ffc77a
Clean up bukkit listeners by splitting them up
2020-07-11 19:03:55 +01:00
Alexander Söderberg
916675fb08
Guice progress
2020-07-11 17:19:19 +02:00
dordsor21
a2ec404014
Fix /plot target nearest
2020-07-11 13:40:22 +01:00
Alexander Söderberg
6f6cb4b630
More DI progress
2020-07-11 05:29:41 +02:00
Alexander Söderberg
c0f69f321d
Guice progress
2020-07-10 22:12:37 +02:00
Alexander Söderberg
55bf41d2da
Remove dumdum static access
2020-07-10 19:25:05 +02:00
Alexander Söderberg
7687d7705b
Fix merge issue
2020-07-10 18:38:14 +02:00
Alexander Söderberg
21ad9a36c8
Merge branch 'v6' into feature/v6/platform
...
# Conflicts:
# Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEvents.java
# Core/src/main/java/com/plotsquared/core/PlotSquared.java
# Core/src/main/java/com/plotsquared/core/generator/HybridUtils.java
# Core/src/main/java/com/plotsquared/core/location/Location.java
2020-07-10 18:37:18 +02:00
Alexander Söderberg
d00dc658df
Inject EventDispatcher and PlotListener
2020-07-10 18:17:44 +02:00
Alexander Söderberg
2dab7c8dda
Inject PlotAreaManager
2020-07-10 17:32:07 +02:00
Alexander Söderberg
5341015cb1
Finalize immutable locations and add a platform world implementation
2020-07-10 12:21:29 +02:00
dordsor21
2fb76e6636
Split road and plot paste-on-top settings
2020-07-09 22:39:06 +01:00
dordsor21
55139eb134
Do not respect paste on top for road schematics.
2020-07-09 22:19:23 +01:00
Alexander Söderberg
cf1b027db9
Start making locations immutable
2020-07-09 22:28:46 +02:00
Traks
63c308971b
Update location block vector on add and subtract
2020-07-09 20:14:06 +02:00
Alexander Söderberg
89cb6450fb
Fix issue where PlotPlayer#getLocation returns a mutable location
2020-07-09 20:04:00 +02:00
Alexander Söderberg
6b07f38cff
Send teleportation cancellation message immediately on movement, rather than after the timer has finished. This fixes PS-33.
2020-07-09 16:45:25 +02:00
Alexander Söderberg
904f5485ab
Merge remote-tracking branch 'origin/v5' into v5
2020-07-09 16:38:53 +02:00
Alexander Söderberg
e05d817482
Fix plot owner placeholder. Fixes PS-62.
2020-07-09 16:38:46 +02:00
Alexander Söderberg
db37077af7
Make signs able to use captions
2020-07-09 12:58:28 +02:00
Hannes Greule
d652225f36
Let players teleport to their merged plots
2020-07-08 19:33:58 +02:00
Alexander Söderberg
3fa532a3c0
Move message sending into PlotPlayer to make it platform independent
2020-07-08 15:35:58 +02:00
dordsor21
d267d1bb98
Start expiry tasks
2020-07-08 14:35:46 +01:00
Alexander Söderberg
9792d4cc4b
Remove style.yml
2020-07-08 15:23:33 +02:00
Alexander Söderberg
090bd69be5
Merge branch 'v6' into feature/v6/json
...
# Conflicts:
# Bukkit/src/main/java/com/plotsquared/bukkit/chat/FancyMessage.java
2020-07-08 15:22:02 +02:00
Alexander Söderberg
c36e311520
Continue cleaning up PlotSquared.java
2020-07-08 15:09:25 +02:00
Alexander Söderberg
f2191cb731
Save style.yml again
2020-07-08 13:59:31 +02:00
Alexander Söderberg
265c10ec1c
Remove commands.yml
2020-07-08 13:59:31 +02:00
Alexander Söderberg
51bd21a464
Merge branch 'v6' into feature/v6/platform
...
# Conflicts:
# Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEvents.java
2020-07-08 13:57:33 +02:00
Hannes Greule
57127537f7
Add permission check for /plot home
2020-07-07 20:45:52 +02:00
Hannes Greule
3476522c00
Allow /p v <alias>
2020-07-07 20:45:52 +02:00
Hannes Greule
3d087b1bbe
Fix tab completion and usage
2020-07-07 20:45:52 +02:00
Hannes Greule
c058614fcc
Split visit command into home and visit
2020-07-07 20:45:52 +02:00
dordsor21
e826836c36
Merge branch 'v5' into features/v5/road-respect-flags
2020-07-07 17:48:46 +01:00
Alexander Söderberg
196df855ac
Clean up PlotAreaManager and move a bunch of plot area related logic out of PlotSquared
2020-07-07 13:37:03 +02:00
Alexander Söderberg
d76c9dad52
Remove access to PlotSquared#IMP and rename IPlotMain to PlotPlatform, then rename PlotSquared#imp() to PlotSquared#platform()
2020-07-07 12:56:43 +02:00
Alexander Söderberg
298e65a394
Replace remaining references to PlotSquared#log
2020-07-06 17:17:46 +02:00
Alexander Söderberg
078b776f60
Implement console messages
2020-07-05 18:14:29 +02:00
Alexander Söderberg
4d61a345c6
Small documentation fixes
2020-07-05 18:06:10 +02:00
Alexander Söderberg
42d648e338
Use adventure for titles
2020-07-05 17:57:58 +02:00
Alexander Söderberg
f287cc34e7
Remove json message stuff
2020-07-05 13:46:25 +02:00
Alexander Söderberg
c8a8806e7d
Component progress. The plugin is **very** broken right now.
2020-07-05 13:41:40 +02:00
Alexander Söderberg
d061f728bd
Merge remote-tracking branch 'origin/feature/v5/json' into feature/v5/json
2020-07-05 12:44:25 +02:00
Hannes Greule
6bf5bc60d1
Update messages_en.json with new placeholders
2020-07-04 18:57:56 +02:00
Alexander Söderberg
c784c69eb3
progress
2020-07-04 18:53:03 +02:00
Alexander Söderberg
e3759d059a
Fixing missing license headers.
2020-07-04 18:03:47 +02:00
Alexander Söderberg
429f5e55c3
Add option to disable background caching
2020-07-03 13:50:12 +02:00
dordsor21
ad1ec42b12
Add new clear pipeline to hpw and make some stuff read access as required.
2020-07-02 14:33:22 +01:00
dordsor21
b71de856a8
allow plugins extending and replacing RegionManager to be notified of, and "accept" plot clear "requests".
...
.
.
.
.
.
FAWE
2020-07-01 21:49:53 +01:00
Hannes Greule
35cff29917
Add license header
2020-07-01 17:24:47 +02:00
dordsor21
2910176b97
Add road flag container
2020-07-01 14:53:57 +01:00
dordsor21
82a887fd3b
Merge branch 'v5' into features/v5/road-respect-flags
...
# Conflicts:
# Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEvents.java
2020-07-01 14:12:16 +01:00
Hannes Greule
f80cadcd7f
Draft of Caption resolving
2020-06-29 21:33:57 +02:00
Hannes Greule
fa2ad8ab22
Improve plot alias command (tab complete, admin permission) fixes PS-63
2020-06-29 13:48:37 +02:00
N0tMyFaultOG
600f757046
Finish messages
2020-06-29 12:34:09 +02:00
N0tMyFaultOG
a2aaa3633a
More work
2020-06-28 16:56:42 +02:00
MeFisto94
bd9bdc9e03
Separate the Vault Permission Handling from the Economy Handling
2020-06-28 14:28:11 +02:00
N0tMyFaultOG
3b793929d8
Initialize messages_en.json
2020-06-28 13:51:57 +02:00
Hannes Greule
e139550949
Make cache expiration configurable
2020-06-27 23:07:20 +02:00
Carter
74876f9e64
Get biome data from correct schematic for intersections (Fixes PS-50)
2020-06-27 20:44:46 +01:00
dordsor21
02f3c3ef50
Fix my stupid mistake of using lamdas not creating nested classes when creating schematics. "this" doesn't work like that. Cheers Java.
2020-06-27 20:38:55 +01:00
MeFisto94
9c3d2cfb02
Move the caching and static accessors from EconHandler to PlotMain
2020-06-27 06:26:00 +02:00
Hannes Greule
38425a1eae
Update world border on Plot#claim (Fixes PS-13)
2020-06-26 13:49:17 +02:00
Alexander Söderberg
4b997d42df
Some slf4j progress
2020-06-26 11:03:42 +02:00
Alexander Söderberg
f64026af1a
Only initialise EconHandler when economy is enabled and stop accessing the static instance directly.
2020-06-24 15:26:06 +02:00
Alexander Söderberg
efab6e92f7
Lower tab completion cache time and fix "Invalid player" message for /plot kick
2020-06-24 13:44:06 +02:00
Alexander Söderberg
f6f26c6102
Fix issue where numbers were sometimes parsed as usernames when they shouldn't be. This commit also fixes an issue where "Not a valid plot ID" was sent twice.
2020-06-24 08:31:23 +02:00
Alexander Söderberg
55cf34508a
Fix issue where old player objects were not cleaned up properly.
...
This is caused by an issue with the event order in Spigot (and Spigot derivatives), so the fix is rather hacky.
2020-06-23 18:36:53 +02:00
Alexander Söderberg
f4724a3c87
Fix expiration flag commands
2020-06-23 11:45:04 +02:00
Alexander Söderberg
2b4e2fc793
Add plot debugging and make tab completable aliases configurable
2020-06-23 11:39:45 +02:00
Alexander Söderberg
2d6e6ceaeb
Improve documentation of BukkitMain#wrapPlayer and improve generic types
2020-06-22 15:45:57 +02:00
Alexander Söderberg
1dcf8d3995
Progress on the debug logging API
2020-06-21 15:50:49 +02:00
Hannes Greule
d07d32e28b
Generate plot blocks on correct height when removing intersection
...
Fixes PS-46
2020-06-20 00:14:04 +02:00
Hannes Greule
6259287dff
Add tab completion for /plot <deny|kick|remove>
2020-06-13 15:54:38 +02:00
Hannes Greule
a3586791b5
Remove unused code and use less aggressive colors
2020-06-11 01:01:00 +02:00
Hannes Greule
bb298ab660
Remove leftover TODO
2020-06-11 01:01:00 +02:00
Hannes Greule
8c0f581ff0
Add missing license headers to new files
2020-06-11 01:01:00 +02:00
Hannes Greule
033b87deb5
Resolve TODOs
2020-06-11 01:01:00 +02:00
Hannes Greule
e3fbb32399
Formatting and documentation
2020-06-11 01:01:00 +02:00
Hannes Greule
67b80bb8e8
Fix /plot setup back
2020-06-11 01:01:00 +02:00
Hannes Greule
ae1427b189
Remove usage of SetupObject
2020-06-11 01:01:00 +02:00
Hannes Greule
5165c439fc
Add tab completion and fix minor bugs
2020-06-11 01:01:00 +02:00
Hannes Greule
b15c48e074
Implement setup steps
2020-06-11 01:01:00 +02:00
Hannes Greule
c5bfde330f
First draft of redesigned setup processing
2020-06-11 01:01:00 +02:00
N0tMyFaultOG
f1b79a3b0d
Add more documentation to the settings.yml
...
Apparently gradle wants to update the poms so here we go
2020-05-27 22:20:13 +02:00
Alexander Söderberg
6442922d86
Implement some more generic types to make the player objects easier to work with and also create wrapper objects for fake players (NPCs). Potentially fixes PS-27
2020-05-27 14:08:48 +02:00
Alexander Söderberg
b9b0d89b5f
Replace the R-tree library with PRTree. Fix SquirrelID shading issues. Bump the version to 5.12.0
2020-05-25 15:13:31 +02:00
Alexander Söderberg
52b90b6757
Merge pull request #2841 from IntellectualSites/features/v5/uuid
2020-05-25 01:40:35 +02:00
dordsor21
31b71ade69
* :D
2020-05-24 23:43:15 +01:00
dordsor21
0021b114de
Revert "Slow down queue a bit because 1.13+ performance is bad"
...
This reverts commit bbde2f5e06
.
2020-05-24 23:24:27 +01:00
Alexander Söderberg
28a7d027f6
Merge branch 'v5' into features/v5/uuid
2020-05-24 21:14:56 +02:00
Alexander Söderberg
e32a2e2723
Merge pull request #2847 from IntellectualSites/features/v5/single-area
2020-05-24 21:13:51 +02:00
Alexander Söderberg
46b68e489d
Tab complete /p list
2020-05-24 21:08:11 +02:00
Alexander Söderberg
2436a6a402
remove debug, whoops
2020-05-24 20:54:10 +02:00
Alexander Söderberg
862467c0fa
Tab complete /plot visit
2020-05-24 20:53:16 +02:00
Alexander Söderberg
69cfb431b1
Unstupidify Visit
2020-05-24 20:18:02 +02:00
Alexander Söderberg
172bd6f0f2
This should hopefully fix that broken merge. Maybe. Possibly. Idk.
2020-05-24 19:05:09 +02:00
Alexander Söderberg
a882555d1b
Merge branch 'v5' into features/v5/uuid
...
# Conflicts:
# Bukkit/build.gradle
# Core/src/main/java/com/plotsquared/core/PlotSquared.java
# Core/src/main/java/com/plotsquared/core/command/ListCmd.java
# Core/src/main/java/com/plotsquared/core/command/Visit.java
2020-05-24 19:00:21 +02:00
NotMyFault
0b12c4e5b2
Update issue link
2020-05-24 18:48:15 +02:00
Alexander Söderberg
0ac6383c2c
Use PlotQuery in Visit
2020-05-24 18:35:32 +02:00
Alexander Söderberg
76913d4a78
immutable -> mutable
2020-05-24 18:35:32 +02:00
Alexander Söderberg
a0d1da3274
fix dum typo
2020-05-24 18:35:32 +02:00
Alexander Söderberg
1aa144e47d
Deprecate old PlotFilter class
2020-05-24 18:35:32 +02:00
Alexander Söderberg
6b31743fb3
add missing javadoc
2020-05-24 18:35:32 +02:00
Alexander Söderberg
508fdce704
Add missing methods to PlotQuery and use PlotQuery in ListCmd
2020-05-24 18:35:32 +02:00
Alexander Söderberg
e912909aad
Add plot query system
2020-05-24 18:35:32 +02:00
Alexander Söderberg
7b97130af7
Add option to disable legacy cache, also add an option to return "Unknown" when a request cannot be fulfilled (old behaviour)
...
This should fix issues where lowercase offline mode UUIDs don't have access to their old cache.
2020-05-24 05:00:36 +02:00
Alexander Söderberg
6c6c2b57a1
Add options to disable tab completion and extend username completion, also limit the total number of username suggestions to 200 per request
2020-05-23 17:20:09 +02:00
Alexander Söderberg
113da81f29
Actually save the schematic
2020-05-23 16:15:48 +02:00
Alexander Söderberg
4dd2613f2f
Add missing caption
2020-05-23 15:02:53 +02:00
Alexander Söderberg
8c37cc5340
Fix minor issues
2020-05-23 15:02:31 +02:00
Alexander Söderberg
47c74cfa6d
Set correct region height
2020-05-23 14:39:28 +02:00
Alexander Söderberg
32a55127f1
Fix partial area regeneration when using PlotSquared generation.
...
Also fix issues with region height and road width.
2020-05-23 14:32:02 +02:00
Alexander Söderberg
6d0458281b
Merge remote-tracking branch 'origin/v5' into features/v5/single-area
2020-05-23 02:30:45 +02:00
Alexander Söderberg
93619b3988
Don't access tree until it has been created
2020-05-22 22:04:46 +02:00
Alexander Söderberg
dd4c5014fc
Get rid of unused field
2020-05-22 22:04:46 +02:00
Alexander Söderberg
1e3379b00a
Fix up the plot area nightmare
2020-05-22 22:04:46 +02:00
dordsor21
bbde2f5e06
Slow down queue a bit because 1.13+ performance is bad
2020-05-22 10:44:51 +01:00
Alexander Söderberg
b61dfd6f97
Single plot area progress
2020-05-22 03:20:11 +02:00
Alexander Söderberg
9752e5f62b
Start working on single plot areas
2020-05-22 02:48:32 +02:00
Alexander Söderberg
38a7c771be
Don't access tree until it has been created
2020-05-21 20:23:36 +02:00
Alexander Söderberg
1c6075df2b
Get rid of unused field
2020-05-21 20:06:37 +02:00
Alexander Söderberg
3ede0447b0
Fix up the plot area nightmare
2020-05-21 20:06:04 +02:00
Alexander Söderberg
f01b242e4a
For sign updating to be scheduled asynchronously.
...
It then forces it back on the main thread, so it's fine, but this way we can safely wait for the UUID mapping to be fetched.
2020-05-20 15:26:20 +02:00
Alexander Söderberg
2417dace2d
Add UUID caching
2020-05-20 15:12:09 +02:00
Alexander Söderberg
f82a111518
Merge branch 'v5' into features/v5/uuid
...
# Conflicts:
# Bukkit/pom.xml
# Core/src/main/java/com/plotsquared/core/util/SchematicHandler.java
2020-05-20 11:27:11 +02:00
dordsor21
0160c2bb55
Add setCuboids method to RegionManager
...
- Allow FAWE to take charge of big operations like /plot set all
2020-05-20 08:43:58 +01:00
Alexander Söderberg
ea41c842bc
Fix a bunch of minor issues
2020-05-20 00:31:59 +02:00
Alexander Söderberg
8efc78e1c9
IT COMPILES!
2020-05-19 23:05:36 +02:00
Alexander Söderberg
973c18623f
Port more commands and add more tab completion utilities
2020-05-19 19:34:33 +02:00
dordsor21
7aba70ea65
Make plot clears/sets less crashy.
...
There's still the issue of Spigot's (or paper's) terrible GC that does nothing and stores everything in PS old gen memory so the server just numpties itself though.
2020-05-19 16:54:12 +01:00
Alexander Söderberg
123ca8efe9
Update more commands and add proper request timeouts
2020-05-19 17:33:59 +02:00
dordsor21
22c26fe962
Add PlotArea#getFlag
2020-05-19 13:07:50 +01:00
dordsor21
761803f777
Add option for roads to respect a plot area's flags and implement to PlayerEvents
2020-05-19 12:41:51 +01:00
dordsor21
d5d18a60fb
Fix #2836
...
getCompoundTag can also be in Core since we're using WorldEdit.
2020-05-19 11:53:18 +01:00
Alexander Söderberg
37b065a097
Progress.
2020-05-19 00:28:52 +02:00
Alexander Söderberg
31c84ab18f
Basic pipeline setup
2020-05-18 00:22:34 +02:00
Alexander Söderberg
12f2cb0d58
Add a cache uuid service
2020-05-17 23:57:40 +02:00
Alexander Söderberg
b5f92f5003
Add sync catcher to the blocking pipeline methods
2020-05-17 23:26:19 +02:00
Alexander Söderberg
58989c9311
Add some missing methods to the pipeline
2020-05-17 23:20:36 +02:00
Alexander Söderberg
736004d88b
Don't fill in stacktrace for ServiceError
2020-05-17 18:03:04 +02:00
Alexander Söderberg
49f51f24f7
Don't loop services when all mappings have been found
2020-05-17 18:02:26 +02:00
Alexander Söderberg
95df62e59b
Add missing consumer API methods
2020-05-17 17:48:42 +02:00
Alexander Söderberg
29f2863cf4
Progress
2020-05-17 17:26:48 +02:00
Alexander Söderberg
792fa1f11d
Improve design
2020-05-17 12:55:07 +02:00
Alexander Söderberg
7591c440c2
Begin working on the new UUID service API
2020-05-17 12:40:25 +02:00
Alexander Söderberg
29e0479081
Fix preset initialization
2020-05-16 21:37:14 +02:00
Alexander Söderberg
441a73839e
Add /plot components
2020-05-16 21:37:14 +02:00
Alexander Söderberg
31edffcb63
Begin working on a platform specific world management system
...
This should make world management a fair bit cleaner
2020-05-16 21:37:14 +02:00
Alexander Söderberg
501fd9c8e6
Merge remote-tracking branch 'origin/v5' into v5
2020-05-14 14:16:17 +02:00
Alexander Söderberg
7ba7df5cb2
Make the upload task work
2020-05-14 14:16:10 +02:00
dordsor21
9dd9201b67
Allow plot auto from non-plot areas if the server has only one plot area
2020-05-14 13:10:53 +01:00
Alexander Söderberg
1fa41e6209
Merge branch 'v5' into tile-entity-cap
2020-05-14 13:17:41 +02:00
dordsor21
a2db2e8268
Add return
2020-05-14 11:27:35 +01:00
dordsor21
617abf89e6
Split ChunkManager to Chunk and Region Managers
...
- Having not chunk-specific code in ChunkManager felt wrong.
- Also allow FAWE to replace setbiome code
- Also improve performance (proper usage of chunk loading) for setbiome
2020-05-14 11:27:35 +01:00
dordsor21
98b4ceab7d
Fix style.yml
2020-05-13 16:29:10 +01:00
Alexander Söderberg
86a996b2ff
Make the tile entity check true by default, as it only applies when the chunk processor is enabled (and it's disabled by default)
2020-05-13 15:09:00 +02:00
Alexander Söderberg
e6a9daf31a
Make the tile entity limit in ProcessedWEExtent apply per chunk rather than per edit
2020-05-13 14:54:54 +02:00
Alexander Söderberg
ec347f8738
Add missing blocks and block tile entities from /plot set
if the chunk processor is enabled
2020-05-13 14:24:04 +02:00
Alexander Söderberg
19fe2efb6e
Fix the WE extent and add our own tile entity list
2020-05-13 14:11:17 +02:00
Alexander Söderberg
e6878d7804
clean up ProcessedWEExtent
2020-05-13 12:47:52 +02:00
Alexander Söderberg
3deff629b0
Add paper specific listener for limiting the amount of tile entities in a chunk during build, instead of just doing it during chunk unloading
2020-05-12 23:01:14 +02:00
Alexander Söderberg
d20fa39cf5
Add flag that prevents people from copying NBT data in the plot unless they're added as members
2020-05-12 19:25:06 +02:00
Aurélien
be6910d5d9
Reformated and update French translation
...
Some of my translations used '' to represent ' but it's not needed. Also splited some long lines and translated new backup system and keep-inventory flag.
2020-05-12 17:29:32 +02:00
Alexander Söderberg
4ad90d423d
Fix timeout comment
2020-05-12 12:52:45 +02:00
Alexander Söderberg
d2dae45082
Add leaves to the blacklist
2020-05-12 12:49:39 +02:00
Alexander Söderberg
85c9bd7ceb
Add all sign type to blacklist
2020-05-12 12:24:36 +02:00
dordsor21
d0ee579069
Move backup config section to a more appropriate place
2020-05-12 10:44:34 +01:00
Alexander Söderberg
32c23e6ced
Merge branch 'v5' into backups
2020-05-11 22:27:16 +02:00
Alexander Söderberg
81aaba328a
ENGLISH > ROOT
2020-05-11 22:21:37 +02:00
Alexander Söderberg
3c5dd3d0d2
Merge remote-tracking branch 'origin/v5' into v5
2020-05-11 22:11:29 +02:00
Alexander Söderberg
2dc07d9321
Add a looooot of default disallowed blocks
2020-05-11 22:11:21 +02:00
N0tMyFaultOG
841dd5e189
Update wiki links
2020-05-11 20:27:06 +02:00
Alexander Söderberg
b2bc2887d2
Fix dumdum merge
2020-05-11 20:17:41 +02:00
Alexander Söderberg
e20319f4e1
Merge branch 'v5' into backups
...
# Conflicts:
# Core/src/main/java/com/plotsquared/core/configuration/Captions.java
2020-05-11 20:15:48 +02:00
Alexander Söderberg
d40160d205
Fix javadoc
2020-05-11 20:04:22 +02:00
Alexander Söderberg
f7167d5e83
Fix typo
2020-05-11 20:03:26 +02:00
Alexander Söderberg
282773a43f
Replace Guava methods with stdlib equivalents
2020-05-11 20:02:33 +02:00
Alexander Söderberg
8944be5319
(Complex) command suggestions for /plot set
2020-05-11 19:37:25 +02:00
Alexander Söderberg
df01f9bea7
Add a list of blocks that cannot be used in /plot set <component>
2020-05-11 18:35:06 +02:00
Alexander Söderberg
7a6909dab1
Merge branch 'v5' into backups
2020-05-11 11:19:59 +02:00
Alexander Söderberg
3064ae80d1
Add a keep-inventory flag
2020-05-11 11:19:36 +02:00
dordsor21
06bb6856a8
Fix bad getApplicablePlotArea(Location) code
...
- Fixes #2815 alongside 667098268f
2020-05-11 09:48:18 +01:00
Alexander Söderberg
702caa6feb
Remove rogue line break
2020-05-10 22:09:56 +02:00
Alexander Söderberg
fc74c582bf
Add option to disable deletion of plot backups when the plot is unclaimed
2020-05-10 21:52:57 +02:00
Alexander Söderberg
658361f825
Destroy backups when the plot is uncalimed
2020-05-10 21:31:16 +02:00
Alexander Söderberg
e0c9a802d8
Add automatic backups and implement them /plot clear
and /plot set <component>
.
2020-05-10 20:31:07 +02:00
Alexander Söderberg
c4a70c0945
Fix tab completion for the backup command
2020-05-10 19:42:42 +02:00
Alexander Söderberg
f7d6ac00e4
Make the backup commands work
2020-05-10 19:20:11 +02:00
Alexander Söderberg
8ed5a21b36
Merge branch 'v5' into backups
2020-05-10 17:03:36 +02:00
Alexander Söderberg
6fb63c9609
Implement backup restoration command. This might work, idk, we'll see.
2020-05-10 16:53:19 +02:00
Alexander Söderberg
079289eb74
Use #getTranslated on GENERIC_UNOWNED
2020-05-10 16:40:12 +02:00
Alexander Söderberg
59f96d4455
Translate all backup failure reasons
2020-05-10 16:39:14 +02:00
Alexander Söderberg
cdab52fcbe
dumdum space go bye bye
2020-05-10 16:04:33 +02:00
Alexander Söderberg
63c9037b10
Fix typo
2020-05-10 16:00:20 +02:00
Alexander Söderberg
bbc86eba39
/plot debug
progress
2020-05-10 15:51:27 +02:00
Alexander Söderberg
e0fb6f5440
/plot debug
structure
2020-05-10 15:36:20 +02:00
Alexander Söderberg
2bd30af361
Cache both backup profiles and backup objects
2020-05-10 15:12:17 +02:00
NotMyFault
b136f44f12
Merge branch 'v5' into remove-eol-translation-strings
2020-05-10 15:05:58 +02:00
Alexander Söderberg
d0dbb495b0
Add BackupProfile#restoreBackup
2020-05-10 14:58:45 +02:00
Alexander Söderberg
8715a27a93
No backups for merged plots 🐮
2020-05-10 14:41:02 +02:00
Aurélien
503fc44208
Updated according to new translations and old removed
2020-05-10 14:12:56 +02:00
Aurélien
d3bfaeb5a4
Ready for merging !
...
Removed useless space at the end of the file + precision of the date (latest edition)
2020-05-10 14:12:56 +02:00
Aurélien
7adecd0808
Last fix (removed unused translation + added the missing)
2020-05-10 14:12:56 +02:00
Aurélien
c99e081ae0
Fiexed issues reported by CodeFactor
2020-05-10 14:12:56 +02:00
Aurélien
285b6bf62d
Updated and corrected French translation
...
Old translation has been reviewed and new v5 flags' translations has been added.
Some mistakes could now remain, I will fix them if needed ;)
Enjoy !
2020-05-10 14:12:56 +02:00
Alexander Söderberg
723e29cdd0
Continue working on the backup system
2020-05-10 14:02:25 +02:00
dordsor21
e6408b35a2
fix merge auto
2020-05-10 10:44:14 +01:00
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
N0tMyFaultOG
894d673c90
Fix tests
2020-04-30 11:32:50 +02: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