Commit Graph

1925 Commits

Author SHA1 Message Date
dordsor21
33a79595af
Add TitleFlag (#3202) 2021-08-16 09:02:58 +00:00
dordsor21
da4ae9f4f5
Slightly change how flag permissions are handled (#3201) 2021-08-14 13:13:01 +00:00
NotMyFault
b841a7c03b
Fix javadoc linking of deprecated methods 2021-08-11 17:58:24 +02:00
dordsor21
4ee5e3d134
Invert toggle messages where the toggle disables rather than enables 2021-08-08 16:51:21 +01:00
dordsor21
0e05935ad4
Fix #3166 2021-08-08 14:06:59 +01:00
dordsor21
78a775530a
Merge branch 'v6' of github.com:IntellectualSites/PlotSquared into v6 2021-08-08 12:36:23 +01:00
dordsor21
dd36036334
Allow players to /plot home from non-plot-areas if per-world-teleport is enabled 2021-08-08 12:36:08 +01:00
Hannes Greule
3b2a04e4db
Fix/v6/click event actions (#3178)
Co-authored-by: NotMyFault <mc.cache@web.de>
Co-authored-by: dordsor21 <dordsor21@gmail.com>
2021-08-08 11:28:43 +00:00
SirYwell
5ab8d50b86 Don't keep PlotFlagUpdateHandlers forever
This allows Plots, FlagContainers and its PlotFlagUpdateHandlers being cleaned up by the GC correctly
2021-08-08 12:18:25 +01:00
NotMyFault
25a69f4ca0
Escalate null entries in the db to the warn level 2021-08-04 23:09:38 +02:00
Patrick "IPat" Hein
c8c946cc10
Fix /p kick msg (#3186)
* Negate mob-place flag debug message

* fixed a little typo :)

* Added check for dragon egg teleportation event
https://github.com/IntellectualSites/PlotSquared/issues/3074

* Basic dragon egg interact bugfix (Left-click interaction)

* Lifted admin if-condition out of roads (out-of-plot) only block (for animals)

* Fix https://github.com/IntellectualSites/PlotSquared/issues/3185
/p kick missing permission feedback format fix

* remove unnecessary import

Co-authored-by: NotMyFault <mc.cache@web.de>
2021-08-04 20:59:19 +02:00
NotMyFault
a86c06bb81
Update a few dependencies 2021-08-01 20:10:06 +02:00
NotMyFault
6e7bd0a536
Left over from 89e17bb468 2021-07-31 10:43:11 +02:00
NotMyFault
8fc9e0b13f
Be a bit more helpful with deleted plotworlds and invalid db entries 2021-07-28 22:23:55 +02:00
NotMyFault
9d396fa91f
Fixes #3184 2021-07-27 15:04:22 +02:00
NotMyFault
a8c3ac6cee
Fixes #3181 2021-07-26 22:19:17 +02:00
NotMyFault
9a9365a04d
Fixes #3180 2021-07-26 21:23:59 +02:00
NotMyFault
c9b012ea5b
Leave a note when using deprecated commands 2021-07-24 18:01:26 +02:00
Traks
1e41734826 Send usage for '/p v' for too many arguments 2021-07-23 15:34:25 +01:00
Traks
a83a79c17e Error message for '/p v' when page out of range 2021-07-23 15:34:25 +01:00
Traks
8a77d5a450 Fix index out of bounds for '/p h' 2021-07-23 15:33:35 +01:00
dordsor21
51ff043af9
Prevent users defining their own click events in descriptions/farewells/greetings by default 2021-07-22 21:45:51 +01:00
NotMyFault
a0557112a1
Handle db command args sanely 2021-07-21 15:55:26 +02:00
NotMyFault
6d71e0f8be
Fixes 3168 2021-07-20 22:21:32 +02:00
dordsor21
31522b6502
Check plot ownership/event before handling Direction.ALL 2021-07-17 17:51:48 +01:00
Traks
fe65a0c548
Fix off-by-one error in schematic pasting (#3160) 2021-07-14 17:58:04 +02:00
NotMyFault
a797d748ea
Handle /p f add message properly
- Leave a note if the database connection has been established properly
2021-07-12 22:55:28 +02:00
NotMyFault
2d1e3b8c03
Fixes #3148 2021-07-12 18:12:54 +02:00
NotMyFault
635e18e7ed
Add copper-oxide flag 2021-07-10 15:50:38 +02:00
Patrick "IPat" Hein
991703914c
Batching task count reset (#3144)
* Negate mob-place flag debug message

* fixed a little typo :)

* Added check for dragon egg teleportation event
https://github.com/IntellectualSites/PlotSquared/issues/3074

* Basic dragon egg interact bugfix (Left-click interaction)

* Lifted admin if-condition out of roads (out-of-plot) only block (for animals)

* See 4514d39bbd

Co-authored-by: NotMyFault <mc.cache@web.de>
2021-07-07 10:10:51 +02:00
NotMyFault
bbee330f4f
Don't append color codes to component lore
- Color codes are defined thru the file. Adding these here will clash with any other codes you already use
- Remove prefix from component GUI
2021-07-05 11:08:07 +02:00
NotMyFault
60c701d20b
Don't display plot rating placeholder in scientific notation
Fixes #3091
2021-06-28 18:49:03 +02:00
NotMyFault
eb11d9e3aa
Handle add & trust permission ranges properly 2021-06-28 16:40:01 +02:00
SirYwell
7898313b0b Check super types and interfaces on PlotPlayer#from
fixes https://github.com/IntellectualSites/FastAsyncWorldEdit/issues/1140
2021-06-28 09:53:00 +02:00
NotMyFault
8e23b10f7c
Fix update notification ingame message 2021-06-27 18:11:57 +02:00
NotMyFault
c46647d491
Handle plots.deny.<amount> properly 2021-06-27 16:40:45 +02:00
NotMyFault
013e8fcda5
Leave a note where to get additional translations 2021-06-27 15:23:11 +02:00
dordsor21
7c4d96e176
Fix #3117 2021-06-27 13:06:10 +01:00
SirYwell
8f48b83c79 Replace the proper string in expressions 2021-06-24 19:14:59 +02:00
NotMyFault
9acf9f4f19
Improve documentation of deprecated methods 2021-06-22 18:11:48 +02:00
SirYwell
0e84cf085b Fix compatibility issues with Citizens (fixes #3105) 2021-06-22 10:18:48 +02:00
SirYwell
ca9e371067 Teleport all players from plot on clear and delete (fixes #3102) 2021-06-21 18:20:47 +02:00
SirYwell
56920fe833 Load configs before accessing them (fixes #3099) 2021-06-21 16:38:40 +02:00
NotMyFault
f2e6fd9692
Bump PlotAPI version 2021-06-21 12:05:56 +02:00
NotMyFault
654f7ed3ae
Fix arkitektonika backend url 2021-06-20 20:13:37 +02:00
NotMyFault
f1ef07bee0
Merge branch 'v6' of https://github.com/IntellectualSites/PlotSquared into v6 2021-06-20 18:28:29 +02:00
NotMyFault
3e28d39285
We don't need "no-nashorn" config option in v6 2021-06-20 18:28:13 +02:00
NotMyFault
8eb8c24209
Merge branch 'v5' into v6 2021-06-20 18:22:21 +02:00
NotMyFault
4dbbf8f599
1.17 (#3088)
* Minor work for 1.17

* Address TODOs

Introduce `entity-change-block` flag covering blocks affected by `onPeskyMobsChangeTheWorldLikeWTFEvent`. Previously this was covered by the mob-place flag, however, changing the tilt state of big drip leafs and a series of other blocks call `EntityChangeBlockEvent` so this shouldn't be covered by mob flags only.

* Address other TODOs

* Compile against paper 1.17

This will only work if you built paper locally and deployed it to your local maven repo.

* Updated linked javadoc links

* Handle sculk sensor events in a more controllable way

* Update issue forms for 1.17
2021-06-20 18:17:18 +02:00
NotMyFault
440afcca5d
Fixes #3066 2021-06-18 16:37:25 +02:00
dordsor21
b01291c4ff
Add note about PlayerPlotAutoEvent return null plot 2021-06-12 11:36:33 +01:00
dordsor21
a9d896eb45
Add note about PlayerPlotAutoEvent return null plot 2021-06-12 11:35:55 +01:00
dordsor21
3cd9b76805
Implement "off" to PlotWeather flag and make it default
- Players with "player weather" will no longer have their weather reset on plots that do not set the PlotWeather flag
2021-06-10 11:43:12 +01:00
dordsor21
e2700d3b28
Implement "off" to PlotWeather flag and make it default
- Players with "player weather" will no longer have their weather reset on plots that do not set the PlotWeather flag
2021-06-10 11:41:55 +01:00
NotMyFault
942d799c9c
Make "NaN" in placeholders translatable 2021-06-09 21:51:51 +02:00
dordsor21
f0cbc4f23e Add whenDone task to setCuboids and ensure whenDone tasks are added to the queue before FAWE might do something 2021-06-09 13:09:50 +01:00
dordsor21
50d4353045 begin integration with fawe 2021-06-09 13:09:50 +01:00
dordsor21
19e97a7738
Correctly handle coordinates in swapping
Fixes #3030
2021-06-08 20:31:53 +01:00
SirYwell
2ac5fe45e3 Make CaptionLoader namespace-aware 2021-06-08 15:36:03 +02:00
NotMyFault
7f3d3ecb00
Fixes #3018 2021-06-08 14:25:08 +02:00
NotMyFault
331a6ea1b3
Remove "ORE" from setup steps
Touches #3068
Generating a world with just ore is used nowhere and needs to be reimplemented properly at some time.
2021-06-08 13:06:42 +02:00
SirYwell
8f2f673438 👀 2021-06-08 12:24:57 +02:00
SirYwell
66e12e2a0c Make world settings reloadable 2021-06-08 12:10:21 +02:00
SirYwell
2b3ecc178a Fix some inbox issues 2021-06-08 11:56:03 +02:00
NotMyFault
9b043b7444
Make /plot rate categories translatable 2021-06-08 10:49:26 +02:00
NotMyFault
ce287cf218
Add toggle allowing to opt out nashorn 2021-06-08 00:16:55 +02:00
NotMyFault
a01ad5aa04
Update wiki location 2021-06-06 21:40:34 +02:00
NotMyFault
fa14c40283
Update wiki links 2021-06-06 21:38:49 +02:00
NotMyFault
d8f19cec66
Adjust improper origin -> target message of plot moving 2021-06-04 19:17:20 +02:00
SirYwell
955341ff9f Move enqueue to the actual end of the code 2021-06-04 18:41:57 +02:00
SirYwell
cb342de934 Check merge status from correct plot 2021-06-04 13:39:03 +02:00
SirYwell
ea0342f100 Enqueue on unlink 2021-06-04 13:39:03 +02:00
NotMyFault
cd57741a51
Fix typo introduced in f4552e358d 2021-06-03 12:53:47 +02:00
NotMyFault
f4552e358d
Fixes #3027
- Ditch slf4j in favor of log4j. slf4j is (unfortunately) very much unmaintained at this time and future versions of MC (1.17+) will use log4j version 2.14.1 onwards over some ancient sfl4j version.
- Using log4j reduces our jar size as well, because we don't need to bridge it as the game provides it natively.
2021-06-03 12:40:27 +02:00
NotMyFault
5a5d1f5e62
Fixes #3063 2021-06-01 21:54:00 +02:00
NotMyFault
21214814b7
Fixes #3032 2021-05-31 21:59:15 +02:00
NotMyFault
3ac93dcfca
Enhance /plot target & expiry confirm message 2021-05-28 20:21:41 +02:00
NotMyFault
c509882a18
Enhance alias message with placeholders 2021-05-28 11:37:13 +02:00
Orlaando
c146d6207d
Make /plot pardon an alias of Plot Remove (#3071)
* Make /plot pardon an alias of /plot undeny

* Make Remove state more clearly what it does

* Lazily target v6
2021-05-28 11:01:42 +02:00
NotMyFault
dc7e6010cb
Fixes #3073
- Also add new caption if attempting to clear an empty alias
2021-05-27 17:06:04 +02:00
NotMyFault
b1fc17e045
Remove scripting from javadocs 2021-05-25 20:51:26 +02:00
NotMyFault
daf0e6e1ba
Use same creation message for templates like for setup 2021-05-25 11:02:37 +02:00
NotMyFault
6f263735f0
Move notification-as-actionbar into the Chat config block
- Move titles alongside all its new options into its own config block
- Move `titles-as-actionbar` into the new titles block
- Enhance notification about removed config entries
2021-05-24 21:52:27 +02:00
NotMyFault
1d2aa74e51
Add actionbar message for notification flags
- Move title_as_actionbar boolean into enabled_components
2021-05-24 13:49:00 +02:00
Glare
a69b1d895c
Implemented the ability to change titles to actionbar on plot entry (#3060)
* Implemented the ability to change titles to actionbar on plot entry

* Fixed typo in action

* Updated explanation in Javadoc

* Implemented suggestions

* Remove excess import

* Implemented PR suggestions

Co-authored-by: NotMyFault <mc.cache@web.de>
2021-05-23 17:28:03 +02:00
NotMyFault
399d77c60f
Component-ify plot setup wizard
Touches #3068
2021-05-22 19:49:22 +02:00
NotMyFault
b768ee6d41
Don't send teleport message before the teleportation is initiated 2021-05-22 18:15:34 +02:00
NotMyFault
58faffed6d
Remove chat.interactive option
Whether the chat is interactive or not can be declared in the strings.json by using MMs <click:_action_:_value_> type.
2021-05-22 13:22:44 +02:00
NotMyFault
87706d471b
Add option for legacy sign material
Follow up to cde27899dd
2021-05-22 12:34:04 +02:00
Glare
eb7eb15ee7
Implemented tab completion for /plot help (#3053)
Co-authored-by: NotMyFault <mc.cache@web.de>
2021-05-22 02:23:54 +02:00
NotMyFault
a17085bb18
Remove dead imports 2021-05-21 20:56:44 +02:00
NotMyFault
cde27899dd
Fixes #3064 2021-05-21 19:14:13 +02:00
NotMyFault
93ff778de0
Add administrative override for /plot components 2021-05-21 17:54:26 +02:00
NotMyFault
17f91c8eb9
Make /plot rate GUI items customizable
Bye bye legacy items :)
2021-05-21 16:48:34 +02:00
NotMyFault
7775cd0073
Do not rely on a static file path
Doing so will cause issues with the `--plugins` flag.
E.g. `java -jar server.jar --plugins /path/to/plugins/`
2021-05-21 00:35:19 +02:00
NotMyFault
cc48f273c0
Fixes #3057
Actually execute a kick from server if ordered
2021-05-20 21:59:05 +02:00
NotMyFault
c8406681d7
Notify the kicked person over the actor 2021-05-20 21:22:00 +02:00
NotMyFault
a05dd19986
Fixes #3058
- Anonymize meta data keys
2021-05-20 21:04:07 +02:00
NotMyFault
aae350c1b3
Enhance flag tutorial message 2021-05-20 19:57:06 +02:00
NotMyFault
9c59bfde52
Rephrase message if user has no access to sub-command help pages 2021-05-19 23:48:32 +02:00
Patrick "IPat" Hein
eb9d7e97d9
Bug through last Economy PR - Withdrawn money for non-affordable plots (#3036)
* Replaced economy supported (Vault) check within cost condition with a pre-eliminating if-guard

* Negate mob-place flag debug message

* Actually prevent purchase of plots if they can't afford it (whoops)

Co-authored-by: NotMyFault <mc.cache@web.de>
2021-05-19 17:44:45 +02:00
SirYwell
a2b8e4493f Fix infinite loop on multi auto (fixes #3022) 2021-05-18 22:30:40 +02:00
NotMyFault
e97bc25fb8
Log plot chat to console
- Fix plot music removal template
- Fix debug args
2021-05-17 10:35:09 +02:00
NotMyFault
9dc0396411
Fix plot list coloring 2021-05-16 22:47:02 +02:00
NotMyFault
3748d8e246
Minor cleanup in favor of Java 16
- Addressing a few command deprecations during the major release superseded by toggles
- Don't swallow SQL warnings in loggers behind debug, as it's often set to false
- Deleted JavaVersionCheck, it's part of ServerLib.
2021-05-15 20:39:16 +02:00
NotMyFault
0341111f8f
Add lectern-read-book flag
Fixes https://github.com/IntellectualSites/PlotSquared/issues/2980
2021-05-14 18:22:02 +02:00
NotMyFault
a7c4b40fcc
Add no-portals and deny-portal-travel flag 2021-05-14 15:51:20 +02:00
Aurélien
6fd55b47c2 Fix typo 2021-05-13 21:41:10 +01:00
NotMyFault
3d7c191d1c
Make the plot jukebox gui translatable
Fixes https://github.com/IntellectualSites/PlotSquared-Translations/issues/2
2021-05-13 20:21:19 +02:00
NotMyFault
9344e1ca79
Make /plot setup header translatable
- Document a couple of permission nodes
2021-05-13 13:32:34 +02:00
Patrick "IPat" Hein
68eb5cd74f
Replaced economy supported (Vault) check within cost condition with a pre-eliminating if-guard (#3014) 2021-05-12 19:00:14 +02:00
NotMyFault
3a280f3b6a
Fix a few typos 2021-05-11 19:26:39 +02:00
NotMyFault
19cea0e129
Un-stringify plot id calls
- PlotId#toString() already stringifies IDs, no need to call String.valueOf()
- Add tab completion to `/plot debugroadregen`
- Add `plots.flag.notify-leave.bypass` permission separating from notify-enter
- Add message notifying the player if the attempt to enter a plot they are denied from
2021-05-11 18:50:37 +02:00
Patrick "IPat" Hein
2c40648a60
Fixed feedback recipient for notify flags (Owner instead of entering / leaving player) (#3011) 2021-05-11 18:26:24 +02:00
NotMyFault
b37ad79e50
Beautify empty /plot caps output
Also strip prefix from empty plot description
2021-05-07 09:59:17 +02:00
NotMyFault
a990205d41
Fix empty templates when vault not found 2021-05-07 01:53:18 +02:00
NotMyFault
891230c78e
Fix /plot sethome returning usage message & working on unclaimed plots 2021-05-07 01:27:11 +02:00
NotMyFault
8bfdf8ecf2
Fix /plot cluster sethome triggering usage message
Enhance cluster messages a bit
2021-05-07 01:18:33 +02:00
NotMyFault
78655102b9
Fix flag exception coloring 2021-05-06 19:06:50 +02:00
NotMyFault
491a171409
Fix invalid backup messages & component prefix & update minimessage 2021-05-06 10:30:04 +02:00
NotMyFault
b3aec8f839
Fix empty default flag message 2021-05-02 20:31:23 +02:00
NotMyFault
0106a4222d
Address a few deprecations 2021-05-01 18:33:02 +02:00
NotMyFault
11af33f2d5
Fixup inbox javadocs 2021-04-30 19:04:44 +02:00
NotMyFault
812442fbbc
Don't double color the inbox 2021-04-30 13:22:00 +02:00
NotMyFault
ffe298710d
Lazy merge v5/v6 2021-04-28 20:17:10 +02:00
NotMyFault
5cdb7e76fd
Update wiki and issue links 2021-04-28 20:06:19 +02:00
NotMyFault
de597391dc
Fix keep-inventory flag & adjust disallowed-blocks translation 2021-04-21 11:03:14 +02:00
NotMyFault
e1fb8c1ae5
Take building min height also into consideration 2021-04-11 10:12:37 +02:00
Hannes Greule
a5c43bb823 Suggest flag name instead of value 2021-04-10 09:34:53 +02:00
NotMyFault
6bc4e5b45c
Re add per-world-teleport 2021-04-03 22:34:43 +02:00
NotMyFault
496fe09f78
Merge branch 'v5' into v6 2021-04-03 22:31:54 +02:00
Hannes Greule
74a9c2f6b4 Reimplement per-world-visit 2021-04-03 21:48:21 +02:00
NotMyFault
dd9edb68b2
Fixes https://github.com/IntellectualSites/PlotSquaredSuggestions/issues/23 2021-04-02 23:48:16 +02:00
NotMyFault
b02177e1d0
Add tab completion for gamemode flag 2021-04-02 23:20:39 +02:00
NotMyFault
600d38d3e2
Add flag placeholders to flag commands 2021-04-02 17:50:37 +02:00
NotMyFault
07fd7e497f
Strip commands from translation files 2021-04-02 14:04:17 +02:00
NotMyFault
567f1d4247
Fix backup captions and add placeholders to copy/move/swap 2021-03-30 13:44:04 +02:00
Hannes Greule
3f05dfe4bf
Sort plots for /plot home the same as for /plot visit, fixes PS-188 2021-03-30 11:19:43 +02:00
NotMyFault
fbebcf57c1
Fix exporting all plots 2021-03-29 17:07:58 +02:00
NotMyFault
30d3a458e2
Addressing more issues 2021-03-28 17:39:02 +02:00
NotMyFault
7591d88d00
Fixes PS-229
Closes #2948

Co-Authored-By: Benjamin Govaerts <17101059+BenjaminGoGurts@users.noreply.github.com>
2021-03-23 23:44:27 +01:00
NotMyFault
0cdda8b0ae
Fix a few issues with debugexec 2021-03-12 15:05:25 +01:00
NotMyFault
295a63087f
Strip lesser used debug commands 2021-03-12 14:45:43 +01:00
NotMyFault
797d3ed362
Don't invert the debug status message 2021-03-04 21:43:16 +01:00
NotMyFault
31de7de385
Cover a couple of NPEs 2021-03-01 16:21:12 +01:00
NotMyFault
3833d2cd83
Restrict a few more commands from plot world plots
And add missing tab completion for debug commands
2021-02-24 23:21:54 +01:00
Hannes Greule
38b60205e8 Use javax for Nullable + guice, hope I didn't miss anything 2021-02-24 20:35:38 +01:00
NotMyFault
027456fd77
Add crop-grow flag 2021-02-24 18:41:36 +01:00
Hannes Greule
10e2d65221
Remove scripting-related stuff (#2947)
* Remove scripting-related stuff

* Cleanup

Co-authored-by: NotMyFault <mc.cache@web.de>
2021-02-24 09:53:55 +01:00
Hannes Greule
d9b5dc5dd7 Sort plots for /plot home the same as for /plot visit, fixes PS-188 2021-02-24 08:46:16 +01:00