3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-26 08:10:14 +01:00
Commit graph

467 Commits

Autor SHA1 Nachricht Datum
4drian3d
acc407a6d5
Added ability to customize translations (#692)
* Added ability to customize translations

* Removed remaining usage of `Paths#get`

As of java 11 its replacement `Path#of` was created, which is called when using `Paths#get`, besides, according to documentation, it mentions that it can be deprecated at any time

And fix a minor typo in LegacyChannelIdentifier
2022-04-16 00:38:44 -04:00
microwin7
44dc2e7ca0
Fix implements in class ResponseResult (#675)
Fixed inheritance of interface on ResultedEvent.Result in ResponseResult class
2022-04-03 17:43:32 -04:00
JOO200
8214fe30fe
Specify the unit for getPing to milliseconds. (#676) 2022-04-03 15:29:34 -04:00
4drian3d
9fc4341f40
Replacement of some deprecated method (#672)
- PlainComponentSerializer -> PlainTextComponentSerializer
- BinaryTagHolder#of -> BinaryTagHolder#binaryTagHolder
2022-03-31 22:09:44 -04:00
Jason Penilla
897f278986
Update Adventure and include MiniMessage in API 2022-03-01 12:50:50 -07:00
Shane Freeder
2fe50bedc5
1.18.2 support 2022-02-28 14:27:57 +00:00
Corey Shupe
596d4758ba
Implement resource pack send event. (#625) 2022-02-01 23:30:45 -05:00
Andrew Steinborn
058014aa75 Better document how to use the login plugin message API 2021-12-23 15:44:19 -05:00
Andrew Steinborn
8c39d9a1e4 Document every event Velocity will await on. 2021-12-23 02:52:56 -05:00
Kosma Moczek
b54dd757bb
add version information for 1.18.1 (#609) 2021-12-10 15:03:53 -05:00
FivePB (Xer)
30dd2ed380
Merge 1.18 Update
Merge pull request #577 from Xernium/future/1.18: [Future] Support for Minecraft 1.18
2021-11-25 19:24:39 +01:00
FivePB
7ed4f4c03a
Add new ClientSettings API
Add the new API introducted with the ClientSettings packet changes in 1.18
2021-11-25 17:04:10 +01:00
FivePB (Xer)
7cc40f8fea
Ready for 1.18 release 2021-11-23 21:59:36 +01:00
FivePB (Xer)
b5cad80cfc
Snapshot 1.18-pre6 2021-11-22 19:41:07 +01:00
FivePB (Xer)
830fb6a561
Snapshot 1.18-pre5 2021-11-22 13:44:30 +01:00
Andrew Steinborn
2dfc7ffbf2
1.18-pre4 2021-11-17 14:37:08 -05:00
Andrew Steinborn
9bf82c52fd
Minecraft 1.18-pre2 2021-11-16 22:06:09 -05:00
Five (Xer)
5af53f2d77
Snapshot 1.18-pre1 2021-11-12 10:56:29 +01:00
Five (Xer)
315ff265c6
Snapshot 21w44a 2021-11-12 10:53:26 +01:00
Ivan Pekov
111d14c3fb
Introduce VelocityBrigadierMessage (#588) 2021-11-02 16:20:15 -04:00
Andrew Steinborn
0b0c36dcfc Correct command meta alias removal behavior and add appropriate unit tests.
Apparently @hugmanrique caught the issue but suggested the wrong fix. This is the correct fix, and respects the Javadoc.
2021-10-31 19:05:21 -04:00
Andrew Steinborn
cb8781b3c9
Add support for sending and receiving login plugin messages from players and servers (#587) 2021-10-31 16:27:03 -04:00
Frank van der Heijden
922c001b59
Expose CommandMeta in CommandManager and add a ref to the plugin instance (#544) 2021-10-31 16:23:35 -04:00
Andrew Steinborn
9f82af7d31
Minecraft 21w43a 2021-10-28 08:47:40 -04:00
Andrew Steinborn
f4dc9ca70e
Minecraft 21w42a 2021-10-26 17:39:14 -04:00
James Puleo
996ada1f39
Introduce PlayerClientBrandEvent, fired when the player sends the minecraft:brand message (#567) 2021-10-15 10:26:25 -04:00
Andrew Steinborn
20914ca134 Bump Adventure 2021-10-15 08:18:11 -04:00
Five (Xer)
311133a4d3
Snapshot 21w41a 2021-10-13 20:50:34 +02:00
Andrew Steinborn
1aaecfff08 Add tests for EventTask#resumeWhenComplete and clarify Javadoc. 2021-10-10 16:37:22 -04:00
Foorcee
08f1b87267
Redirect player without message (#581) 2021-10-09 20:32:04 -04:00
Five (Xer)
4ba4054f23
Snapshot 21w40a 2021-10-09 00:08:51 +02:00
Five (Xer)
922a13d9ed
Snapshot 21w39a 2021-10-08 15:25:48 +02:00
Five (Xer)
0896d66ac2
Snapshot 21w38a 2021-09-25 13:45:46 +02:00
Five (Xer)
ac92de8a0e
Snapshot 21w37a 2021-09-25 13:43:47 +02:00
Andrew Steinborn
955f6b87e2 Assorted dependency updates 2021-09-01 06:36:00 -04:00
David Mayr
3d8e9091c0
Custom localization for each player (#537) 2021-07-25 21:50:44 -04:00
Hugo Manrique
76c6827926
Expose registered aliases in API (#549) 2021-07-24 14:34:50 -04:00
A248
0bad9199dc
Add Automatic-Module-Name to published api jar (#551) 2021-07-24 14:34:23 -04:00
Andrew Steinborn
540d970a4d
Minecraft 1.17.1 support (#530) 2021-07-06 03:32:13 -04:00
Andrew Steinborn
d7abf4457c Readd FastUUID license 2021-06-18 07:05:38 -04:00
Andrew Steinborn
c33f9e0466 Merge remote-tracking branch 'origin/dev/3.0.0' into dev/3.0.0
# Conflicts:
#	api/src/main/java/com/velocitypowered/api/proxy/Player.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java
2021-06-12 20:13:52 -04:00
Andrew Steinborn
c2b82f878b Merge branch 'dev/1.1.0' into dev/3.0.0
# Conflicts:
#	api/src/main/java/com/velocitypowered/api/proxy/Player.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java
2021-06-12 20:12:31 -04:00
lexikiq
fe5809fdc1
Javadocs 2021-06-12 20:04:20 -04:00
lexikiq
5c424c1da7
Move TriState converter 2021-06-12 20:01:42 -04:00
Andrew Steinborn
1b32f56168
Merge pull request #523 from Artuto/dev/1.1.0
Add support for retrieving the Player's client brand
2021-06-12 23:11:41 +00:00
Artuto
f2b20e6398
Remove usage of Optional 2021-06-12 13:48:42 -05:00
lexikiq
e798f0d906
Move #getPermissionChecker 2021-06-12 12:52:35 -04:00
lexikiq
72408d5bd8
Remove display name 2021-06-12 12:12:04 -04:00
Artuto
c8d50f3fdd
Add support for retrieving the Player's client brand 2021-06-11 23:44:51 -05:00
lexikiq
8356b812c3
Cache permission pointers 2021-06-11 23:44:59 -04:00
lexikiq
4003666c27
Cache pointers 2021-06-11 23:32:49 -04:00
lexikiq
56a46d051b
Rename method + add JD 2021-06-11 22:15:12 -04:00
lexikiq
39d39e58bd
Remove ComponentLike interface from Player 2021-06-11 22:06:37 -04:00
lexikiq
19f80bd618
Don't directly implement PermissionChecker 2021-06-11 21:49:40 -04:00
lexikiq
29b409b9f1
Move #pointers to Player
It uses fully API methods so it makes sense to me to use it in Player, open to criticism though
2021-06-11 21:33:15 -04:00
lexikiq
db7e3262a6
Optimize imports 2021-06-11 21:25:51 -04:00
lexikiq
3c4312056b
Switch to #pointers
Ensures that Pointered#getOrDefault[From] works
2021-06-11 21:12:44 -04:00
lexikiq
069796a2f2
Fix import order 2021-06-11 21:09:41 -04:00
lexikiq
f59516165f
Rebase onto feature/adventure-pointers 2021-06-11 21:06:59 -04:00
lexikiq
9491046935
Improve Player#asComponent 2021-06-11 21:01:53 -04:00
lexikiq
ba4ba2022e
Obey Checkstyle rules 2021-06-11 21:01:53 -04:00
lexikiq
3a1517f3a4
Expand Adventure Support
Adds support for assorted Adventure interfaces
2021-06-11 21:01:53 -04:00
Andrew Steinborn
d7bf03b956 Minecraft 1.17 2021-06-07 14:16:16 -04:00
Andrew Steinborn
c2c119140f Anticipatory bump to Minecraft 1.17 2021-06-07 12:46:21 -04:00
Andrew Steinborn
65608bb360 Bump Gson version 2021-06-06 04:22:08 -04:00
Andrew Steinborn
ef7aeae4ed Merge remote-tracking branch 'origin/dev/3.0.0' into dev/3.0.0 2021-06-06 03:52:03 -04:00
Andrew Steinborn
b1b3882fab Merge branch 'Xernium-future/1.17' into dev/3.0.0
# Conflicts:
#	api/src/main/java/com/velocitypowered/api/proxy/ProxyServer.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java
2021-06-06 03:48:49 -04:00
Andrew Steinborn
43b72ff826
Apply some spelling fixes from code review
Co-authored-by: Hugo Manrique <hugmanrique@users.noreply.github.com>
2021-06-06 00:20:47 +00:00
Hugo Manrique
f103662dc4
Fix incorrect import removal 2021-06-05 18:33:22 +02:00
Hugo Manrique
e6eecd806a
Document some restrictions in the command API 2021-06-05 18:02:26 +02:00
FivePB
59b29a075e
Improve new Resource-pack API 2021-06-05 16:07:24 +02:00
Andrew Steinborn
df21105701
Minecraft 1.17-rc1 2021-06-04 17:48:45 -04:00
Andrew Steinborn
100eedf102
Minecraft 1.17-pre5 2021-06-03 14:40:06 -04:00
Andrew Steinborn
3eb64855d3
Minecraft 1.17-pre4 2021-06-03 02:50:16 -04:00
Andrew Steinborn
f67dc3ffc8
Minecraft 1.17-pre3 2021-06-01 13:36:28 -04:00
CoreyShupe
150808b4b0 Initial implementation of raw registered server creation. 2021-06-01 02:07:06 -04:00
Andrew Steinborn
c161a3859c
1.17-pre2 2021-05-31 12:47:13 -04:00
Andrew Steinborn
10bfd8685e
Minecraft 1.17-pre1 2021-05-27 11:02:07 -04:00
Andrew Steinborn
64d30fba81 AsyncEventExecutor -> AwaitingEventExecutor 2021-05-23 17:51:07 -04:00
Andrew Steinborn
51f923bf2d Fix Java 11 Javadoc URL 2021-05-23 17:21:44 -04:00
Andrew Steinborn
b9823085af Update Guice to 5.0.1
This (aside from removal of deprecated methods) is the only notable API break in Velocity 3.0.0.
2021-05-23 17:20:52 -04:00
Andrew Steinborn
3944eec491 Add async parameter to @Subscribe, also as a migration aid. 2021-05-23 15:42:17 -04:00
Seppe Volkaerts
821ca02ee7 Backport Velocity Polymer's async event API, with changes.
This commit backports the event manager from Velocity Polymer, with some changes for Velocity 1.1.x API compatibility:

- All event handlers run asynchronously. (While EventTask.async() exists, it is not useful in 3.0.0, but is provided as a migration aid for Polymer.)
- Event ordering is currently limited to the 5 levels available in Velocity 1.x.x.
2021-05-23 15:39:06 -04:00
Andrew Steinborn
3f50964f36 Fix CommandManager method naming so that it is in sync with the 1.1.0 API 2021-05-23 14:20:59 -04:00
Andrew Steinborn
977300cc66 Remove text 3.x API and associated deprecated APIs 2021-05-23 14:13:51 -04:00
Andrew Steinborn
d6dcb115f1 Remove remaining deprecated APIs 2021-05-23 13:49:06 -04:00
Andrew Steinborn
2f0ee15051 Remove deprecated Velocity 1.0.0 Command API. 2021-05-23 13:46:47 -04:00
FivePB
18466bb595
Snapshot 21w19a 2021-05-13 23:50:00 +02:00
FivePB
6eb2432e88
Snapshot 21w18a 2021-05-13 23:50:00 +02:00
FivePB
00f81a3fd7
Snapshot 21w17a 2021-05-13 23:50:00 +02:00
FivePB
be1848f8e7
Snapshot 21w16a 2021-05-13 23:50:00 +02:00
FivePB
8def411b2b
Snapshot 21w15a 2021-05-13 23:49:55 +02:00
Five (Xer)
2220209495
Snapshot 21w14a 2021-05-12 21:42:28 +02:00
Five (Xer)
625fa9b0ad
Snapshot 21w13a 2021-05-12 21:42:28 +02:00
Five (Xer)
f6e023bf60
Snapshot 21w11a 2021-05-12 21:42:27 +02:00
Five (Xer)
581303a54c
Snaphot 21w10a 2021-05-12 21:42:27 +02:00
Five (Xer)
22bc759044
Snapshot 21w08a 2021-05-12 21:42:27 +02:00
Five (Xer)
b19cf16345
Snapshot 21w07a 2021-05-12 21:42:27 +02:00
Five (Xer)
c9e92bcc53
Snapshot 21w06a 2021-05-12 21:42:27 +02:00
Five (Xer)
03327c2677
Snapshot 21w05b 2021-05-12 21:42:27 +02:00