Commit Graph

297 Commits

Author SHA1 Message Date
dc594e692d Missed a few spots. 2018-09-29 03:39:38 -04:00
8be7ca9ab5 Apply final modifier to all classes in the api module. 2018-09-29 03:38:42 -04:00
0f5dc4b248 That's not good 2018-09-27 02:45:39 -04:00
403fec13d8 Move UuidUtils test to api module 2018-09-27 02:33:47 -04:00
3acc00de5e Move ChatResult to PlayerChatEvent and don't call event on spoofChatInput() 2018-09-26 19:50:36 +02:00
7598918d93 Add chat event 2018-09-26 13:07:03 +02:00
46c02c9895 merge upstream 2018-09-24 12:40:48 +03:00
ef578ff69b Merge pull request #99 from lucko/feature/command-permissions
Implement optional permission check method for commands
2018-09-21 16:06:50 -04:00
ee917682e0 Title API (#95) 2018-09-21 15:58:47 -04:00
d06028e0f8 ProxyServer#broadcast() 2018-09-20 22:43:58 -04:00
b805891d1f Implement Player#spoofChatInput method 2018-09-20 21:51:22 +01:00
97e4ff91e7 Implement optional permission check method for commands
This allows plugins to customize which players can use their commands. For players without permission, the command is effectively invisible, and the handling is passed through to the backend server.
2018-09-20 21:48:14 +01:00
921bfbae87 Add missing getters to ServerPing and rename Modinfo --> ModInfo 2018-09-20 14:59:34 +01:00
1bdba0075f Rename getModList to getMods 2018-09-19 17:13:29 -06:00
d218fbf1e0 Modinfo: Add getType and getModList methods. 2018-09-19 14:23:09 -06:00
b7e6334324 Add toString() to PluginMessageEvent 2018-09-19 15:20:18 -04:00
5c3e1adee2 Fix this annoying wart 2018-09-19 14:57:53 -04:00
50c27066e2 Import cleanup 2018-09-19 14:56:49 -04:00
1be508ed5e Merge branch 'master' into merged 2018-09-19 14:54:44 -04:00
c29b92c1bf Merge branch 'plugin-message-event' into merged 2018-09-19 14:52:28 -04:00
6bd3c70015 Merge pull request #93 from VelocityPowered/remove-legacychatcolorutils
Remove LegacyChatColorUtils
2018-09-18 17:27:38 -04:00
89b5da25be Merge branch 'master' into registered-server 2018-09-18 16:50:13 -04:00
f973ded4ee Tighten identifier checks since NuVotifier fixed this 2018-09-17 16:18:47 -04:00
a60c55007a Remove LegacyChatColorUtils
In most cases, you should only work with legacy text to deserialize or
serialize it for backwards compatibility or user configurations only.
2018-09-17 16:11:23 -04:00
1f8152c3a5 ProxyServer#getServerInfo -> ProxyServer#getServer 2018-09-16 13:16:16 -04:00
5ff36f1ae7 Merge branch 'master' into plugin-message-event
# Conflicts:
#	proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BackendPlaySessionHandler.java
#	proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java
2018-09-16 02:35:38 -04:00
e1b2dc0d43 Introduce RegisteredServer API
This interface roughly maps the BungeeCord ServerInfo API. Accordingly,
this is a breaking API change, as many of the server-related events and
methods working with server info instances now provide/expect the
RegisteredServer interface instead.
2018-09-16 02:26:29 -04:00
be0f666f4d Allow modifying the ModInfo type. 2018-09-15 18:36:10 -06:00
2b1d55a0fc Expose original server in ServerPreConnectEvent 2018-09-15 01:16:26 -04:00
d028c281c9 Merge pull request #76 from kashike/mrn
ServerPreConnectEvent#getInfo -> getServer
2018-09-14 00:17:25 -04:00
961757b481 fix compile 2018-09-13 23:00:12 +03:00
ab59299620 Refactor PreLoginComponentResult 2018-09-13 10:16:10 +03:00
c3fd559ac2 ServerPreConnectEvent#getInfo -> getServer 2018-09-12 22:41:51 -07:00
6196f94adf I think we dont need this comment 2018-09-12 16:28:34 +03:00
bc86a12c57 expand PreLoginComponentResult with force offline mode 2018-09-12 11:47:28 +03:00
d2b4b77134 Allow to edit GameProfile properties. 2018-09-11 19:00:34 +03:00
79bb43468f remove @NonNull, revert reindentation 2018-09-11 17:44:51 +03:00
74bf246c39 Add PostLoginEvent. Resolve #72 2018-09-11 16:15:54 +03:00
5dbf8f1736 Include modlist in toBuilder() 2018-09-07 23:23:53 -04:00
a62238d073 Allow toggling announcing Forge support on and off 2018-09-07 18:18:38 -04:00
3eca6e9df1 Mark Velocity as a modded server on the server list 2018-09-07 18:09:28 -04:00
9888f6f6f0 First attempt at getting Forge working nicely with Velocity. 2018-09-05 19:08:29 +01:00
d2133bf0b4 Javadocs here 2018-09-04 01:32:50 -04:00
69e88ca6fd Adds KickedFromServerEvent. Fixes #49 2018-09-04 01:12:20 -04:00
c520e04ac8 [BREAKING] PluginMessageEvent instead 2018-09-02 20:50:24 -04:00
ff0f83b375 Add getBoundAddress() for NuVotifier 2018-09-02 16:34:25 -04:00
d7e18b2cb1 Make channels case-insensitive because NuVotifier uses a mixed-case name 2018-08-31 15:27:11 -04:00
2f6642dcd8 Make the c/v/api/proxy/player package more general. 2018-08-25 21:44:53 -04:00
f273c046ec Add javadoc and reorganize the player settings stuff. 2018-08-25 12:54:30 -04:00
86461c2b60 Merge branch 'master' into ping 2018-08-25 12:45:07 -04:00