Commit Graph

1989 Commits

Author SHA1 Message Date
Jordan
804228fa6c
Allow pitch and yaw to be used in default home location (#3304) 2021-10-29 10:48:35 +01:00
Jordan
be85708e5a
feat: Add border bypass permission (#3302)
* Add border bypass permission
 - Fixes #3297

* Add permission to plots.admin permpack

* Implement messages on leaving/entering border area

* Rename to border.denied and make border msg red

* change too le/ge as tthey are likely to be equal to border when hit.
 - Since we check for being across the border beforehand, it will hopefully not be spammed too much?
 - If it's spammed then either we use meta to set if a player's left the border, or we just remove the come-back-in altogether because it's a little looong
2021-10-28 10:13:36 +02:00
NotMyFault
b022a97196
fix: Flag list parsing for console players (#3277)
Instead of recreating the logic, we can simply reuse what we created above and string-ify that for parsing.
2021-10-18 20:20:52 +02:00
dordsor21
cb596ee6ea
Fix StackOverFlow 2021-10-18 17:27:51 +01:00
Xaver106
4e391136c0
Add and Trust permission now count correctly (#3290) 2021-10-15 11:28:23 +01:00
NotMyFault
6528c60f4d
fix: Fix greeting & farewell captions not being used (#3272)
* fix: Fix greeting & farewell captions not being used

Fixes #3250

* feat: Allow alias in greeting & farewell flag
2021-10-07 08:10:00 +00:00
NotMyFault
7ee46be2ac
feat: Allow plot alias in title (#3273)
Fixes #3171
2021-10-07 08:07:13 +00:00
NotMyFault
21727ebfc7
build: Overhaul build & deployment workflow (#3267)
* Fixes #3250

* build: Overhaul build & deployment workflow

- Move to release drafter
- Replace publishing with gradle nexus
- Conventional commits are handy
- Determine build status in gh actions before deploying
2021-10-04 15:28:47 +02:00
Pierre Maurice Schwang
e322ee85fd
feat: Respect non-visible players in tab completion (Closes #3263) (#3264)
* Respect non-visible players in tab completion (Closes #3263)

* Deprecate old Tab-Complete methods instead of hard-replacing them

* wtf git

* Mark for removal, useless new-lines

* Pass ConsolePlayer.getConsole() instead of Nullable param
2021-10-03 14:32:02 +02:00
Pierre Maurice Schwang
541255fe7e
ListFlag#merge should not allow duplicates (Fixes #3157) (#3265) 2021-10-03 14:31:57 +02:00
Kevin Ludwig
4f12dcf966
Return base plot when using alias (#3253) 2021-09-25 15:58:31 +02:00
NotMyFault
bb5d6c91da
Update Fawe version 2021-09-20 16:21:18 +02:00
dordsor21
c37b13dcb3
Fix bad move to adventure 2021-09-18 21:54:22 +01:00
dordsor21
b2b8598b5b
Fix #3246 2021-09-15 13:19:25 +01:00
NotMyFault
61e5d9f1b6
Move /p components title to translations file matching other parts of components
- Also component-ify title, this must not be limited to a String.
2021-09-15 11:13:03 +02:00
dordsor21
4568b17c54
Fix issues with chunk saving in single world plots 2021-09-10 14:05:12 +01:00
dordsor21
d77a8c8fa4
Some improvements to events (#3238)
#3222 #3072
2021-09-09 21:37:44 +02:00
NotMyFault
27a8fcd739
Plot location may be final 2021-09-09 12:36:09 +02:00
SirYwell
c25a0c65a2 Don't check same plot over and over again 2021-09-08 18:37:45 +02:00
NotMyFault
b224a8d1b8
Include world in plot chat & spy template 2021-09-07 16:36:08 +02:00
NotMyFault
87d134215f
Fix placeholder if world already exists. 2021-09-07 16:20:45 +02:00
dordsor21
93e280dba4
Remove unneeded commented out code 2021-09-07 15:08:00 +01:00
dordsor21
732f79bbfc
Fix #3231 2021-09-07 14:47:37 +01:00
dordsor21
8e5e33eec2
Fix #3127 2021-09-07 14:02:48 +01:00
NotMyFault
387c6e79ba
Return after invalid plot size 2021-08-25 11:10:02 +02:00
NotMyFault
e3e00d34ef
Improve error message claiming plots with ids 2021-08-25 01:36:19 +02:00
NotMyFault
40e651188e
Improve javadoc linking 2021-08-24 15:34:21 +02:00
SirYwell
b2915d9bd7 add license... 2021-08-23 10:11:43 +02:00
SirYwell
6ec136a03d Make sure lock is free'd even on error (fixes #3116) 2021-08-23 10:05:38 +02:00
dordsor21
a8fc6662e0
Allow visit to work when players are not the owner of the base plot 2021-08-22 16:26:49 +01:00
dordsor21
fb8e749411
Still allow serialisation of PlotTitle flag 2021-08-22 15:58:15 +01:00
dordsor21
4b26a7e300
Allow PlotTitle to have a "null" mode (default plot title flag should be the configured values) 2021-08-22 15:55:09 +01:00
dordsor21
34f0236e9f
Add option to "update" blocks that are altered in P2 queues. (#3200) 2021-08-19 20:30:38 +02:00
Traks
8f0ae7e51d
Clean up chunk coordinators and queue coordinators (#3208) 2021-08-19 12:31:47 +01:00
NotMyFault
2988ad6b11
Address style violations 2021-08-18 11:58:18 +02:00
NotMyFault
bfe2dda5b1
Closes #3212 2021-08-17 16:38:24 +02:00
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
dordsor21
3b27b6c850
FAWE-Bukkit shouldn't be in core 2021-07-23 16:24:30 +01: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