Allink
2b3b036079
Fix crash bug with /damage command
2023-05-03 03:43:42 +01:00
Allink
7da3400d0d
Merge branch 'master' into feat/folia
...
# Conflicts:
# pom.xml
# src/main/java/pw/kaboom/extras/commands/CommandUsername.java
# src/main/java/pw/kaboom/extras/modules/player/PlayerPrefix.java
2023-05-03 03:17:38 +01:00
Kaboom
f303dbfc73
Merge pull request #342 from allinkdev/fix/stuff
...
Big bug fix & some feature additions
2023-04-18 00:34:32 +03:00
Allink
70c91538c0
Remove redundant distance selector check
...
Patched in Scissors, 345a876a96
2023-04-11 16:11:29 +01:00
Allink
1cd903e3d4
Make distance selector stricter
2023-04-10 20:47:10 +01:00
Allink
9e0cc8c034
Make username check stricter
2023-04-08 18:02:45 +01:00
Allink
6c375f0cb5
Make URL regex stricter
2023-04-08 16:49:46 +01:00
Allink
4d2455d45b
Make the /getjson command description truthful and add the MiniMessage functionality in /getjsonmm
2023-04-02 04:00:49 +01:00
Allink
4bbec866ff
Block summon subcommand in execute
2023-04-02 03:50:27 +01:00
Allink
9cf76a8ee6
Make links clickable again with a TextReplacementConfig
...
Fixes #341
2023-04-02 01:11:43 +01:00
Allink
d3f55a0451
Implement /bcv ourselves instead of using the Command class
...
It was broken.
2023-04-02 00:47:21 +01:00
Allink
d68dfb5b01
Refactor static final fields in PlayerPrefix module to be consistent
2023-04-02 00:29:39 +01:00
Allink
4183481143
Finalize PlayerPrefix module
2023-04-02 00:28:30 +01:00
Allink
41f0a14d0f
Make ProfileResponse a record class
2023-04-02 00:27:41 +01:00
Allink
23f20226ec
Finalize un-final command classes
2023-04-02 00:26:10 +01:00
Allink
88298b7007
Enforce stricter sender type checks across all player-only commands
...
Previously it was possible to bypass the "ConsoleCommandSender" check by running the command in a command block, and causing the server to throw an exception in console. Exceptions are bad.
2023-04-02 00:25:41 +01:00
Allink
d0246790cb
Update Paper API to 1.19.4 & limit commandModificationBlockLimit gamerule
2023-04-02 00:16:05 +01:00
Allink
4d0d1bb69b
Add new abusable 1.19.4 commands to execute blocklist
2023-04-01 23:54:23 +01:00
Allink
634661e1fa
Improve distance selector detection
2023-04-01 23:46:17 +01:00
Allink
a91c25f8c2
Use String#equals() instead of String == String in ServerCommand.java
2023-04-01 23:29:56 +01:00
Allink
e4e11a2354
Merge remote-tracking branch 'upstream/master' into feat/folia
...
# Conflicts:
# .github/workflows/main.yml
2023-04-01 23:21:32 +01:00
Kaboom
55a34972cb
main.yml: bump versions
2023-04-01 01:13:19 +03:00
Allink
88fd25db5a
Try using World#getChunkAtAsync() for the /spawn command
2023-03-31 16:59:37 +01:00
Allink
ef47727bd0
Execute Location#getChunk() on global region
2023-03-31 16:49:36 +01:00
Allink
52f1c09070
Fix cross-dimensional /spawn
2023-03-31 16:45:43 +01:00
Allink
c57beec377
Fix /skin & build error
2023-03-31 15:56:47 +01:00
Allink
a14f8b07de
Remove entities in /de on the entity scheduler
2023-03-31 03:58:05 +01:00
Allink
beb00d1494
Don't allow cross-dimensional /spawn on Folia servers
2023-03-30 19:34:06 +01:00
Allink
21b579e37a
Mark /spawn as unsupported on Folia servers
2023-03-30 19:30:26 +01:00
Allink
95a2c2a7a1
Use ServerTickEndEvent instead of the scheduler for display name/prefix checking
2023-03-30 17:35:46 +01:00
Allink
c4237df1ff
Run un-forceload task on global region scheduler
2023-03-30 17:30:01 +01:00
Allink
20eb65c607
Make last commit comply with checkstyle
2023-03-30 17:05:21 +01:00
Allink
2a793b6faf
Make forceload limiter comply with Folia
2023-03-30 17:02:17 +01:00
Allink
a631777be7
Update Github Action Workflow to use Gradle
2023-03-30 02:13:49 +01:00
Allink
13ff377b08
Move to Gradle & implement platform-independent scheduler
2023-03-30 01:09:31 +01:00
Allink
470a8ee04c
Update Paper API to match Folia API version
2023-03-29 23:15:40 +01:00
Allink
cfe7c414d4
Add Folia to dependencies
2023-03-29 23:15:18 +01:00
Allink
9af82fd469
Mark Folia as supported in plugin.yml
2023-03-29 23:09:23 +01:00
Allink
1f18704dcd
Attempt to improve server performance under intense redstone load ( #338 )
2023-03-11 15:09:26 +02:00
Luna
98df416d89
Fix /execute command blocker bug ( #337 )
...
Fixes a bug where commands in /execute would not have modifications applied to them.
Example: `/execute run particle flame ~ ~ ~ 1 1 1 0 100 force @s` would not get modified before this PR, but now it gets modified to `/execute run particle flame ~ ~ ~ 1 1 1 0 10 force @s`
2023-02-25 18:45:50 +02:00
Chipmunk
820b105327
Make the taken username check more accurate ( #336 )
...
Instead of using `Bukkit.getPlayer(name)`, now each player is manually iterated over to check if a username is taken. This fixes multiple problems, such as a player not being able to set their name to `a` because a player named `ab` is online, and a player not being able to set their username back to the one they joined with.
2023-02-06 03:10:41 +02:00
Chipmunk
f6f5ae6efb
Fix the usage of the skin command ( #335 )
2023-02-02 10:20:10 +02:00
Chipmunk
91481b94e4
Append to an empty component instead of the prefix ( #334 )
2023-01-09 15:09:34 +02:00
Allink
b3555d92d8
Display prefixes and display names in tab ( #332 )
2022-12-27 19:50:26 +02:00
Allink
cbbc4937d5
Fix & improve skin command, improve username command ( #331 )
...
* Use per-player ratelimit for /username
* Improve the skin system
- Migrates skin getting over to Mojang. I do indeed understand that the Mojang API is more ratelimited and generally harder to use, it should be noted that it has an almost 0% chance of error. Compare that to Ashcon which, on some days, has a 50% chance of actually recognizing your account exists
- Uses CompletableFutures and a ExecutorService for making requests
- Renames SkinDownloader class to SkinManager class
- Makes SkinManager class static
- Limits the /skin command per-player
2022-12-27 19:50:02 +02:00
Chipmunk
411cdaa104
append new text instead of concatenating ( #330 )
2022-12-27 19:49:24 +02:00
Chip
baddda61aa
Use adventure for death messages ( #329 )
2022-11-18 16:09:55 +02:00
Chip
4a917201b4
Unblock selector even more ( #327 )
2022-11-05 00:11:40 +02:00
Chip
a1007853dd
Replace string concatenation with appending text components ( #325 )
...
* Replace string concatenation with appending text
* Fix inconsistent indentation
oops
* indentation
i forgor 💀
2022-11-01 15:02:25 +02:00
Chip
03a2fec6f4
Unblock selector
in some commands ( #324 )
2022-10-31 00:10:24 +02:00