JOO200
0fddd2a573
Fixed Typo in CommandException
2022-04-26 18:26:07 +02:00
wizjany
dc23af7947
Skip lookups on claim.
...
Claim hasn't allowed user-input for ages, so no need to resolve anything.
2022-04-05 12:23:32 -04:00
JOO200
dca0515104
Optimize Region List and Region Teleport commands ( #1868 )
...
* Optimized command usage for /rg list and /rg teleport:
* added a flag to the teleport command to teleport the actor to the center of the region
* added a flag to the list command to filter the regions for special ids
* added a flag to the list command to get regions intersecting your selection
* Fixed wrong pagination in RegionLister
2022-01-23 13:03:40 -05:00
wizjany
875a6fc827
Add space in an error message.
2022-01-16 11:13:15 -05:00
Cristobal Lopez
b59da5992f
Allows claimed regions to inherit from a template region ( #1864 )
...
* Allows claimed regions to inherit from a template region
* Replace template-when-claiming with set-parent-on-claim
* Make the set-parent-on-claim option check secure
2022-01-02 10:07:00 -05:00
wizjany
81750e191d
Add /rg migrateheights. ( #1857 )
...
Closes #1856 .
2021-12-02 15:44:25 -05:00
wizjany
703146bc18
Update guava to match MC 1.18 guava.
2021-11-30 20:42:54 -05:00
stonar96
cb69ab73a7
Fix perms NPE
2021-08-31 16:49:40 -04:00
stonar96
5a6b6eb81b
Use QueryOption.SORT for region commands ( #1817 )
2021-08-22 10:14:40 -04:00
stonar96
5e702f80a6
Add inheritance for all flags ( #1787 )
2021-08-08 23:00:02 -04:00
kikelkik
e04c654cde
Added arguments to /rg toggle-bypass: on, off
2021-01-23 22:01:28 -05:00
wizjany
59c146f59a
Don't allow setting unknown flags in FlagHelperBox.
2020-11-17 18:53:22 -05:00
wizjany
8350267b10
Don't marshal SetFlag in FlagHelperBox.
2020-11-17 18:50:35 -05:00
wizjany
3879772103
Move /rg bypass perm check inside the command.
...
Using @CommandPermissions would cause the root command to be excluded
from the client. This is a temp workaround until piston/proper perms
are somehow implemented.
2020-11-17 16:36:36 -05:00
wizjany
91a1494634
Add piglin brutes.
2020-08-16 18:03:05 -04:00
wizjany
03f05d3a4e
Simplify and remove duplicate code.
2020-08-03 07:21:56 -04:00
JOO200
c8bde17994
Fixed "null" output for invalid worldedit selections
2020-08-01 16:55:37 +02:00
JOO200
e9e1885f2e
Moved toRegion and toRegionSelector in a helper class
2020-07-27 17:03:50 +02:00
wizjany
74d8a4f0e7
Typo.
2020-06-27 19:55:34 -04:00
wizjany
0492fafe30
Color 3rd party flags and unregistered flags in /rg info.
2020-06-21 17:25:38 -04:00
wizjany
f4a3e8a936
Allow setting passthrough on global via /rg flags.
...
Closes #1584 .
2020-06-11 14:57:22 -04:00
wizjany
0a735e0146
Don't warn about small global regions.
...
Closes #1567 .
2020-05-01 19:39:59 -04:00
stonar96
60590acfe3
Remove unnecessary checks and add comments
2020-04-29 15:15:07 -04:00
stonar96
6030bea13e
Improve default teleport-message and remove null check
2020-04-29 15:15:07 -04:00
stonar96
20f89ea2ae
Add teleport-message flag
2020-04-29 15:15:07 -04:00
wizjany
aca0d843f6
Allow WorldEdit's //world override to affect region commands.
...
Priority is `-w` flag > //world override > player world > error.
Also makes regions selectable from console.
2020-03-23 21:32:25 -04:00
wizjany
1172ebd419
More spawn protection warnings.
...
Can't have enough of these apparently.
2020-03-23 16:40:12 -04:00
wizjany
df2ae6a666
Tweak some region info output, fix teleport location.
2020-03-19 13:34:20 -04:00
wizjany
f43a4eaad8
Add spawn-protection overlap check when defining regions.
...
Update cached username on login.
Bump WorldEdit dep version.
2019-12-19 15:42:34 -05:00
wizjany
121b34ecb9
Add applicable regions section to /wg report.
2019-10-06 13:09:08 -04:00
wizjany
3ebaaf9c8b
Add /rg toggle-bypass command to turn off region bypass temporarily.
...
Makes it easier to test things without op/de-op, switching ranks, etc
all the time.
2019-10-06 12:17:07 -04:00
wizjany
e792dd6f98
Workaround colors on newlines of string flags issue in text lib.
...
Also fix newline lookbehind replacement, and only replace color macros
in string flags.
2019-10-06 12:17:07 -04:00
wizjany
d410e1f84e
Re-arrange messages in (re)define commands.
...
Only send messages after successful add.
2019-10-06 12:17:07 -04:00
wizjany
fc0f7acab5
Fix infinite loop in addowner checks.
...
Fixes WORLDGUARD-4138.
2019-09-22 14:28:38 -04:00
wizjany
056eaa6587
Teleport async on Paper.
2019-09-13 16:42:35 -04:00
wizjany
179c324c80
Apparently world names are allowed to have spaces.
2019-08-18 23:43:57 -04:00
wizjany
120d2e223d
Extract/half-fix addowner checks.
...
Max-region-count-for-player is super bork.
Fixes WORLDGUARD-4129.
2019-08-18 10:39:56 -04:00
wizjany
70ea6bad6e
Some cleanup for flag command.
2019-08-18 10:38:07 -04:00
wizjany
e59d61e1cf
Extract NumberFlag for suggestions, make FlagHelper prettier in console.
2019-08-06 23:08:10 -04:00
wizjany
bbed280f62
Update docs links to point to enginehub.
...
Also don't allow block-place/block-break setting from flag helper.
2019-08-06 21:50:05 -04:00
wizjany
cc3f4d4d44
Relocate squirrelid in source, fix flyway shading.
2019-07-30 09:44:19 -04:00
wizjany
f37acd3de6
Whitelist player->player interacts.
...
As noted before, any more specific events should still be blocked (such
as potion use).
2019-07-23 20:13:12 -04:00
wizjany
79f6635b8a
Make /wg profile text more clear.
...
This patch dedicated to @phoenix616.
2019-07-16 18:42:48 -04:00
wizjany
8ca01b37a4
Add config to disable villagers getting zapped to witches.
...
"weather.disable-villager-witchification"
2019-06-30 19:58:10 -04:00
wizjany
aa8997aeca
Add TP button to /rg list where applicable.
2019-06-30 11:37:50 -04:00
wizjany
b757fcc88b
Send CUI changes when using /rg select.
2019-06-27 08:06:09 -04:00
wizjany
6d25513739
Don't allow setting build + passthrough in the flag helper.
...
It masks the warning message and too many people mess this up.
2019-06-22 14:15:21 -04:00
wizjany
ce35798f67
Fix issues with sometimes-loaded worlds in location flags.
2019-05-26 02:19:33 -04:00
wizjany
3e899a70c4
Fix /rg claim.
2019-05-15 19:24:23 -04:00
wizjany
d6c2504bbf
Make CPU profiling interval configurable.
...
Also lower the default to something more sensible.
Also cleanup unused imports.
2019-05-14 19:01:47 -04:00