Commit Graph

4992 Commits

Author SHA1 Message Date
Ali Moghnieh
3fa810e329 Add space in userAFK messages_nl.properties. 2016-06-18 18:14:59 +01:00
Ali Moghnieh
4951c4822e Rename userIsAwayWithReason and userAFKWithReason to userIsAwayWithMessage and userAFKWithMessage respectively. 2016-06-18 17:54:21 +01:00
Ali Moghnieh
5842b5f51d Implement AFK messages.
This commit makes it possible for players to set an afk message to detail their reasoning for being away to other players. This can be especially useful for the /msg command; instead of replying the user is afk, it will specify why they are afk so the sender can act further on that information.

Two methods have been added to IUser: getAfkMessage() and setAFKMessage(String).

All locale files have two new messages: userAFKWithReason and userIsAwayWithReason. They all use the messages that do not have the suffix WithReason, i.e. userAFK and userIsAway. Furthermore, the userIsAwayWithReason will not utilise the second parameter, the reason, to prevent spam and unnecessary text in global chat. However, the second parameter ({1}) is available for use in userIsAwayWithReason. userAFKWithReason, which is sent to /msg senders, does use the {1} as it controllable spam by the command sender themselves.

/afk usage is now: /afk [player/message...]
2016-06-18 17:44:17 +01:00
Ali Moghnieh
ac4a1565a1 Implement empty OfflinePlayer methods instead of NSY exceptions. 2016-06-18 14:08:58 +01:00
Ali Moghnieh
203e8b0a75 Broadcast mute notify with mute duration if present.
This commit adds a new locale message code muteNotifyFor, which takes three parameters: muter, muted, duration.
2016-06-18 14:00:51 +01:00
Ali Moghnieh
c75594f314 Fix piston bug with AntiBuild.
Prior to this commit, BlockPistonRetractEvent#getRetractLocation() was being used, which is now deprecated after 4 years of when this code was written.
2016-06-18 04:08:15 +01:00
vemacs
690dbea924 Fix compile 2016-06-12 09:25:14 -06:00
vemacs
e7c81504a9 Force legacy spawn egg provider for 1.8.x due to client rendering bug 2016-06-12 09:23:25 -06:00
vemacs
fdd5bc5a8e Use more cached methods 2016-06-10 07:44:16 -06:00
vemacs
91bebabc7f Add polar bear spawning support 2016-06-09 20:19:59 -06:00
vemacs
5eec83f726 Remove old spawn egg providers in favor of reflection-based implementation 2016-06-09 19:25:45 -06:00
vemacs
827891f10a Add reflection based spawn egg provider 2016-06-09 19:18:07 -06:00
Trent Hensler
f4fa24cd7f Build against 1.10 2016-06-09 10:07:22 -07:00
vemacs
2bf1f24db2 Update spawn egg provider to 1.10 2016-06-08 20:33:03 -06:00
Blinky™
34c6155fe9 Update build instructions 2016-05-21 14:46:49 -06:00
vemacs
3ead31ef14 Update human name 2016-05-21 14:43:36 -06:00
vemacs
d0ea32dfa1 1.9.4 spawn egg support 2016-05-21 14:15:07 -06:00
Trent Hensler
7c1a0ed719 Fix elytra wing item id. Resolves #578 2016-04-17 12:41:51 -07:00
Taybosquee
b050b13aa3 Add 1.9 entries to item.csv 2016-04-10 11:32:25 -06:00
vemacs
60548e4523 Cleanup 2016-04-01 20:52:20 -06:00
vemacs
8fe002f820 Fix giving normal water bottles for 1.9 2016-04-01 20:50:03 -06:00
vemacs
65a2e942c4 Attempt fixing kit/createkit for splash potions in 1.9 2016-03-31 11:54:19 -06:00
Trent Hensler
4adb59ab98 Don't make artifact for GM 2016-03-29 17:09:22 -07:00
Trent Hensler
fa0bbde236 Not more distributing groupmanager. 2016-03-29 16:59:36 -07:00
vemacs
e5b1e6c0ad Stick override annotation 2016-03-28 19:51:16 -06:00
vemacs
731455649e [Experimental] Attempt supporting lingering potion type by passing it through 2016-03-28 19:38:53 -06:00
vemacs
ec1215b227 Restore 1.8 compatibility 2016-03-28 17:42:33 -06:00
vemacs
dcb14170b9 Fix meta setting (works for 1.9) 2016-03-28 17:31:25 -06:00
vemacs
c266778c1e [Likely breaks 1.8 compatibility, will be fixed] Use non-deprecated methods 2016-03-28 17:21:57 -06:00
vemacs
8116ce39d7 [Experimental] Attempt restoring potion effect ID compatibility to 1.9 2016-03-28 16:54:17 -06:00
vemacs
8167002092 Fix compile 2016-03-28 10:36:02 -06:00
Trent Hensler
5cddb84a58 Update travis 2016-03-27 11:16:54 -07:00
Literallie
a9e41841e9 Fix that annoying extra "6" in German /mem
This has been bothering me and my staff forever, it's just that there's an extra number 6 in front of the word "entities" in the German translation of /mem. This commit fixes that issue by prepending that with a section sign so it gets correctly interpreted as color code.
2016-03-25 17:50:50 +01:00
Trent Hensler
37f6deab85 Add children for gamemode perms so super perms work correctly. Solves #156. 2016-03-23 18:08:22 -07:00
vemacs
a4aa6a22b7 Fix compile 2016-03-18 10:19:16 -06:00
vemacs
d57f7af453 Fix compile 2016-03-18 10:18:13 -06:00
vemacs
7f8c801c07 Throw some more unsupported ops 2016-03-11 17:44:14 -07:00
vemacs
c627b26f49 Fix compile 2016-03-11 17:39:10 -07:00
vemacs
7c788dfa31 Switch back to CI 2016-03-11 07:58:29 -07:00
vemacs
3896b27c54 Update README 2016-03-10 16:20:17 -07:00
vemacs
97561667a0 Java 7-ize this class 2016-03-10 12:36:57 -07:00
vemacs
bdb81123d6 Refactor spawn egg provider to separate classes 2016-03-10 09:28:08 -07:00
vemacs
f1c57371a3 Refactor providers to a generic implementation in preparation for future spawn egg APIs 2016-03-10 08:54:07 -07:00
vemacs
873f9404bf Restore old inventory clear behavior for 1.9 2016-03-08 18:07:04 -07:00
vemacs
7eac272386 Fix clone(), formatting tweaks 2016-03-08 17:44:57 -07:00
Trent Hensler
e6d177c09a Revert "Don't require extra argument to see armor with invsee. Resolves #472."
Handling this with armor and without NMS isn't clean. Advise using OpenInv if players want extended capability.

This reverts commit 6eb63fd3fd.
2016-03-08 15:38:50 -08:00
vemacs
65f2051e87 Add spawn egg NMS for 1.9 2016-03-08 12:28:23 -07:00
vemacs
767abe83f9 Fix giving spawn eggs in 1.9 (use SpawnEgg API) 2016-03-08 12:12:21 -07:00
Trent Hensler
6eb63fd3fd Don't require extra argument to see armor with invsee. Resolves #472.
Before, you had to do  to see armor. Now it just adds it if you have the permission.
2016-03-07 15:37:42 -08:00
Trent Hensler
03c59a9f17 Remove outdated netbeans styles. 2016-03-07 11:45:29 -08:00