latiku
d35b4b9128
Don't send chat messages if they only contain formatting codes ( #3505 )
...
Closes #3442 .
When a player with the appropriate permission node to use color formatting codes sends a message with nothing but valid formatting code, a message with an empty line is sent. This PR solves this issue by checking if the final formatted message is just a color code, and if so, cancels the event.
Below are some attached screenshots with debug messages containing the event's raw message, the event message after it is formatted, and in the case of the "before" screenshot, the message sent in-game.
Before: https://user-images.githubusercontent.com/47498808/87505823-7a8c5080-c62f-11ea-99b4-29fc6eaff042.png
After: https://user-images.githubusercontent.com/47498808/87505857-8c6df380-c62f-11ea-95f8-dd59dadaf27c.png
2020-08-04 15:38:53 +01:00
Zefferis
6995be7dbd
Updated website in plugin.yml files ( #3528 )
...
Replaced "http://tiny.cc/EssentialsCommands " with "https://essentialsx.net "
2020-08-04 15:35:34 +01:00
MD
1be3daf0b5
Update bStats Metrics and add wrapper class for new graphs ( #3451 )
...
This PR updates the version of the bStats Metrics class to the latest version, supporting plugin IDs in place of just plugin names. It also adds the following graphs:
- Active permissions backend
- Active economy backend
- Whether or not a command has been used as a bar chart (pending bStats backend implementation)
- Version history graph as a multiline graph (also pending bStats impl)
It also removes the weird `getMetrics` and `setMetrics` APIs which should never have been API in the first place.
2020-07-05 19:30:01 +01:00
pop4959
9e01a1a427
Player should not be able to send empty shout/question messages ( #3341 )
2020-05-28 11:45:05 -07:00
Glare
347179373d
Fixed double local logging ( #2755 )
2020-03-13 02:33:18 -07:00
triagonal
dbb9757a9f
add {USERNAME} placeholder to chat format
2019-09-23 06:20:28 +01:00
DoNotSpamPls
82ede4530a
Lots of little fixes in the Essentials modules ( #2337 ) @DoNotSpamPls
...
Look at changed files for the changes
2019-01-05 18:42:09 +00:00
md678685
8882e0214c
Add bStats metrics for each EssentialsX module ( #2333 )
...
Does what it says on the tin.
2019-01-05 17:48:44 +00:00
md678685
613e852ffd
Implement new versioning as per #1873 ( #1882 )
2018-03-28 20:00:19 -07:00
md678685
8e61753894
Format prefixes and suffixes properly in Chat
...
Related: #1792
2018-01-23 08:32:55 +00:00
md678685
738efe8c50
Add Vault prefix/suffix support to EssXChat ( #1663 )
...
* Add Vault prefix/suffix support to EssXChat
Includes an example of how to use it in the config.
2018-01-21 01:37:30 -08:00
Mark
7498a5f983
Fix version EssentialsChat
2016-08-30 19:29:07 -07:00
drtshock
bcc76aff63
Build number in version.
2015-06-02 14:47:42 -05:00
drtshock
b7704a4ea8
Simplify a few things in EssentialsChat.
2015-04-22 10:58:04 -05:00
drtshock
6b2f87c5a9
Consistent versioning.
2015-04-20 12:51:51 -05:00
drtshock
dde0b20775
Reformat
2015-04-14 23:06:16 -05:00
KHobbits
36e580474f
Converted emulated player class calls to use base class.
2014-04-13 01:01:49 +01:00
KHobbits
0e6a5240db
Add chat configurables.
2014-03-30 15:50:32 +01:00
FearFree
5724c0c8df
Future Java versions may not support _ as identifier.
2014-03-22 16:08:11 +11:00
Iaccidentally
518650e842
Modifier order consistency
2014-02-04 11:11:43 -05:00
Necrodoom
5e9f5904fd
Ignore empty chat events generated by plugins
2013-12-07 22:15:01 +00:00
KHobbits
4232216f76
Try to be a little less confusing with non-command debug errors.
2013-12-05 23:03:31 +00:00
Iaccidentally
3e725ef060
Cleanup various aspects of code, fix some formatting, more netbeans 7.4 stuff
2013-11-06 21:22:32 -05:00
KHobbits
6f85761f7f
Extract CommandSender to CommandSource, this should prevent Ess user object leaks.
2013-10-16 21:05:33 +01:00
KHobbits
4483ff40b4
Log notice when chat ignore is blocked by another plugin.
2013-07-17 23:26:26 +01:00
KHobbits
8009c1539a
Fix local chat spy tag order.
2013-07-14 01:20:36 +01:00
KHobbits
d044ba2fb9
Whoops, wrong event.
2013-07-13 18:56:18 +01:00
KHobbits
fc63f63de6
Fix local message when no players are in the area
...
Allow any translation key to be silenced by blanking it in locale file
2013-07-13 18:46:26 +01:00
Iaccidentally
ecd2484cb9
[API] fix other modules to use new packages
2013-07-13 12:40:50 -04:00
KHobbits
adb5189d42
Add 'No one listening' message stub, will be empty by default and thus not sent.
2013-07-13 17:31:14 +01:00
KHobbits
ef3b052c64
Remove old chat hook
...
Use Bukkit API for local chat handling
Implement localChatSpy event
2013-07-13 17:25:58 +01:00
KHobbits
1abacf00df
More cleanup
2013-07-07 13:02:40 +01:00
KHobbits
3d29248ace
Misc cleanup
2013-07-07 12:38:01 +01:00
KHobbits
0e43233e46
Add {TEAMPREFIX} {TEAMSUFFIX} and {TEAMNAME} to chat formatting.
2013-06-28 17:12:01 +01:00
KHobbits
0292cb59cd
Drop messageFormat for simple string replace, remove duped ' marks.
2013-06-27 09:33:35 +01:00
KHobbits
09f67c9723
Split util classes.
2013-06-08 22:31:19 +01:00
KHobbits
addd55228b
Don't try and charge a user if we don't have the chat data stored.
2013-01-27 15:26:42 +00:00
KHobbits
4cec7fe5c1
Use bukkit api for chat user list
2012-12-31 05:43:05 +00:00
KHobbits
1d62de7e5e
Fixing locale typo.
2012-09-09 18:35:20 +01:00
KHobbits
ff0dd00d79
If chat event doesn't resolve to valid player, cancel and exit.
2012-09-09 06:36:14 +01:00
KHobbits
e198b61eae
Fix Chat Formatting so chat type is shown first.
2012-08-09 13:11:51 +01:00
snowleo
54133cd75e
Prevent errors in listeners affecting EssentialsChat
2012-08-07 16:03:39 +02:00
snowleo
5379b3955f
More thread safety
2012-08-04 11:10:57 +02:00
ementalo
af73c11638
CB #2289 Bukkit #1512
...
Change PlayerChatEvent to AsyncPlayerChatEvent
2012-08-04 09:25:54 +01:00
snowleo
1a07815f4b
Make chat handling more thread safe (and also faster)
2012-08-03 22:57:29 +02:00
snowleo
52702894af
Synchronized chatStore
2012-08-03 21:45:32 +02:00
md_5
69ff8b28d8
Fix issue with cross world local chat.
2012-06-26 18:13:53 +10:00
KHobbits
97eada7dd6
Players should not be able to ignore Console
...
Also implement chat exempt permission in other commands.
2012-06-16 16:22:51 +01:00
KHobbits
a764f8c929
Fix chat showing [spy] prefix when social spy was not required to see the message.
...
Fixes #2263
2012-06-16 16:05:48 +01:00
KHobbits
5da886593b
Replace op ignore exempt with ignore exempt chat permission:
...
essentials.chat.ignoreexempt
This permission won't prevent a player from ignoring the player, but the player will see the chat messages anyway.
2012-06-16 16:01:27 +01:00