Chat Mumble
==========================================================================================================
==========
Overview
==========
Want to spice up a game of UHC? Well, you're in the right place. My plugin only lets your players receive messages from players who are at most 100 block away from them. So if there was a team in the UHC game, then they will only be able to communicate with each other if they are close enough. But if another team or person is close enough, they can see the message, too. This will automatically let them know that there are players nearby. So now, a player knows that another is there, while the other doesn't! :O. This makes UHC games much more intense, and allow your players to have even more fun!
==========
Functionality
==========
The chat mumble plugin makes it so that only players within 100 blocks of the message sender receive their message. This adds realism, and in UHCs, make the game more intense.
==========
Intended Use
==========
The Chat Mumble plugin was made to be used by server owners who conduct UHC games because it adds to the intensity and adds to the enjoyment of the game, but any owner can use it to make the game more realistic and/or enjoyable.
==========
Commands
==========
There are NO commands involved with this plugin, making it extremely easy to implement and use!
==========
Permissions
==========
chatMumble.allowed - this enables the player to receive messages regardless of their distance from the sender.
==========
Anything Else
==========
This is my very first public plugin, so tell me if I did anything extremely noob-like. Thanks!
==========
==========================================================================================================
@TheEntropy
Fixed in 1.5.1
The messages don't end up getting sent to the other players. You see the message popup in the console and the sender of the message just sees their name in chat.
@TheEntropy
Thanks for the recommendation, I've implemented it
@OwningDaPeopleHD
Getting another error (I'll put it at the end of this post). The reason your getting the error is because your modifying an array while iterating through it (ConcurrentModificationException).
So, in your ChatListener class, you need to clear the receipients outside of the for loop:
To fix the error I was getting, moving that outside the for loop would probably fix it:
The error I was receiving:
@TheEntropy
Fixed. :) Sorry, I'm an extremely new dev.
@OwningDaPeopleHD
I decided to test your plugin again, and the plugin.yml is still in the improper location. You have it placed in the me.sunta package when it should be in the base package of your project. Basically, your plugin.yml exists, but is in the wrong directory.
Also, I took a quick look at the plugin.yml that you created. It looks fine, but you don't need the 'commands:' if you don't need to define any commands for your plugin. I recommend removing that line entirely.
@TheEntropy
Thanks for reporting, TheEntropy, I believe I've fixed the issue in Chat Mumble v1.4.
Will this plugin keep the chat format set by a plugin like EssentialsChat? Judging by the source code of the plugin:
It overrides the previous chat format.
Also, the plugin wont load. It tells me that the plugin.yml is invalid. Here is the exact error: http://pastebin.com/WA9sDFhW