OpTalk
UPDATED TO 1.4.7R1!
This plugin adds the ability to have a "private" channel for admins, or any users with permissions to it.
As to any features that are also included in another plugin, I added them to this because the plugins that added them where either outdated, or not working on my server.
Commands are:
/ac - toggles admin chat on or off
/ac <message> - displays the message in admin chat without toggling.
/fsay <player> <message|command>
/fattach <player|blank>
About /fsay:
It is a "Force Say" command, which means typing /fsay Notch Hello! will make the player notch say "Hello!" in chat, if he is online. This also works with commands "/fsay richardred15 /suicide" will make richardred15 suicide. Console can use fsay.
About /fattach:
This command makes it so that you no longer have to type /fsay every time. Typing /fattach Notch will make everything you type normally be spoken through Notch. To turn it off simply type /fattach again. Console can not use fattach.
Permissions are:
OpTalk.chat - allows full access to /ac commands
OpTalk.fsay - allows full use of /fsay
OpTalk.fattach - allows use of fattach
OpTalk.* - Use of everything
Changelog:
-Version 0.1.0: Original Plugin
-Version 0.1.1: Bug Fixes
-Version 0.2.0: Added /ac <message>
-Version 0.2.2: Minor possible bug fixes
-Version 0.2.3: Made the permission node actually work
-Version 0.2.4: Fixed bug in /ac <message> where the previous message wasn't cleared, therefore attached to the new message
-Version 0.3.0: Added "ac <message>" to console
-Version 0.4.0: Now /ac <message> sends the message to the other state, so if OpChat is enabled for you typing /ac <message> will broadcast the message in regular chat
-Version 0.5.2: Added /fsay
-Version 0.5.3: OpTalk now disables when you log out, so it's not automatically on when you log back in
-Version 0.6.0: Added /fattach
-Version 0.7.0: Added color messages and ability to save state on reload. Config options for both added.
-Version 0.7.1: Fixed white messages when using /ac <message>
Planned:
- Alternate command
http://pastebin.com/A6yiSj6H
Additionally, if /fsay is used with only one argument (e.g.
/fsay hello
), a Java exception is thrown, but more interestingly the single argument (hello
in this case) is prepended to the beginning of the next message successfully sent by fsay:makes <username> say "Hello world!"
This can also be chained:
makes <username> say "This is a glitch"
When I use /ac with the message in the command (as opposed to in a normal chat message), it seems the lowercase letter T is removed.
e.g. when doing:
it shows up in chat as:
Edit: This problem seems to be fixed with a plugin reload (specifically, using the PlugMan plugin manager)
Error running /fsay on Spigot 735: http://pastebin.com/1FE0rLQq
Not a big deal for me since I only use it for admin chat, which works fine.
Massive error, me and another admin did /fattach on each other, and it kept duplicating the message until the server crashed..
@Folas1337
No, when you execute a command through a player, the command is issued literally by the player, not by you then applied to the player, so all permissions or other plugins apply to the command.
Is this able to override op? So even people without permissions would be able to execute commands they do not have permission to?
@MattyLuggs
I would like to see this as well. Great idea matty! But no worries if it cant be done. Still an awesome plugin!
Is there any scope to add a second channel, that is a different colour than "/ac"? Such as a mod chat and you use "/mc".
No worries if not as I love the plugin as it is, just thought it may be useful!
Cheers.
@realiez
Could you clarify what you mean?
@CrazyCloakedMSC
Will add /ot as an alternate command.
@CrazyCloakedMSC
It's mcmmo. We'll make the commands configurable!
Please add alternate command. /ac is colliding with another plugin and i dont know what one.
Option to change the style of the chat
@GingerGeek
No, but it is possible.
Hi is there a permission which allows certain ranks to SEE the admin chat but not actually write in it
Evening people. I recently got permission to update this plugin, and so far I have added what is stated in the Planned: section above. Update shouldn't be too far off. Unfortunately as this updated is compiled against the 1.4.7 API and is using java 7, compatibility with tekkit breaks.
Help me!
When ever I speak in the Opchat it looks like this!
[Co-Owner]csaum1: ExampleTest
[OpTalk]csaum1: ExampleTest
Speaking in both chats at the same time!
What do i do???
Any update on when it's going to be updated?
I love this plugin so much, my admins and I use it all the time! I hope you continue to work on it and make it awesome. If you come onto my server, I'll show you how well we use it. Maybe even give you a good rank. mc.ojacraft.tk Bye! OJACheung