Commits
Black Hole authored and md_5 committed 5a403651d2b
1 - | From 5bf560d9c1cba073a048f2c9ee50dc717a3a8de9 Mon Sep 17 00:00:00 2001 |
1 + | From bcd2e521cdb52b5d431dcc33af43aa625cf9dd1c Mon Sep 17 00:00:00 2001 |
2 2 | From: md_5 <git@md-5.net> |
3 - | Date: Sat, 13 Dec 2014 12:59:14 +1100 |
3 + | Date: Sat, 13 Dec 2014 02:59:14 +0100 |
4 4 | Subject: [PATCH] BungeeCord Chat API |
5 5 | |
6 6 | |
7 7 | diff --git a/pom.xml b/pom.xml |
8 - | index 6377570..8fb67ea 100644 |
8 + | index 545cab1..662379f 100644 |
9 9 | --- a/pom.xml |
10 10 | +++ b/pom.xml |
11 11 | |
12 12 | <version>1.15</version> |
13 13 | <scope>compile</scope> |
14 14 | </dependency> |
15 15 | + <dependency> |
16 16 | + <groupId>net.md-5</groupId> |
17 17 | + <artifactId>bungeecord-chat</artifactId> |
18 18 | + <version>1.9-SNAPSHOT</version> |
290 290 | + * |
291 291 | + * @param components the components to send |
292 292 | + */ |
293 293 | + public void broadcast(net.md_5.bungee.api.chat.BaseComponent... components) { |
294 294 | + throw new UnsupportedOperationException("Not supported yet."); |
295 295 | + } |
296 296 | } |
297 297 | |
298 298 | Spigot spigot(); |
299 299 | diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java |
300 - | index c868fc5..8e38006 100644 |
300 + | index c868fc5..2a51646 100644 |
301 301 | --- a/src/main/java/org/bukkit/entity/Player.java |
302 302 | +++ b/src/main/java/org/bukkit/entity/Player.java |
303 - | |
303 + | |
304 304 | { |
305 305 | throw new UnsupportedOperationException( "Not supported yet." ); |
306 306 | } |
307 307 | + |
308 308 | + /** |
309 309 | + * Sends the component to the player |
310 310 | + * |
311 311 | + * @param component the components to send |
312 312 | + */ |
313 313 | + public void sendMessage(net.md_5.bungee.api.chat.BaseComponent component) { |
314 314 | + throw new UnsupportedOperationException("Not supported yet."); |
315 315 | + } |
316 316 | + |
317 317 | + /** |
318 318 | + * Sends an array of components as a single message to the player |
319 319 | + * |
320 320 | + * @param components the components to send |
321 321 | + */ |
322 322 | + public void sendMessage(net.md_5.bungee.api.chat.BaseComponent... components) { |
323 323 | + throw new UnsupportedOperationException("Not supported yet."); |
324 + | + } |
325 + | + |
326 + | + /** |
327 + | + * Sends the component to the specified screen position of this player |
328 + | + * |
329 + | + * @param position the screen position |
330 + | + * @param component the components to send |
331 + | + */ |
332 + | + public void sendMessage(net.md_5.bungee.api.ChatMessageType position, net.md_5.bungee.api.chat.BaseComponent component) { |
333 + | + throw new UnsupportedOperationException("Not supported yet."); |
334 + | + } |
335 + | + |
336 + | + /** |
337 + | + * Sends an array of components as a single message to the specified screen position of this player |
338 + | + * |
339 + | + * @param position the screen position |
340 + | + * @param component the components to send |
341 + | + */ |
342 + | + public void sendMessage(net.md_5.bungee.api.ChatMessageType position, net.md_5.bungee.api.chat.BaseComponent... components) { |
343 + | + throw new UnsupportedOperationException("Not supported yet."); |
324 344 | + } |
325 345 | } |
326 346 | |
327 347 | Spigot spigot(); |
328 348 | -- |
329 - | 2.5.0 |
349 + | 2.8.0.windows.1 |
330 350 | |