Plugin category: Administrator Tools Suggested name: Admin Announce What I want: I would really like a plugin that allows Administrators on the server to type a command such as /ac and have their global chat be in bold red, used for announcements and such. Ideas for commands: /ac - Activate and deactivate the plugin for the administrator using it. Ideas for permissions: adminannounce.allow When I'd like it by: As soon as possible. I'm not very good at using Java, but I am learning, so I will appreciate any help given. Thank you, 01110011
@bmckalip @01110011 Yes Essentials will work. It doesn't have a feature to turn regular chat into it though.
@01110011 This may be a plugin request but here comes is how you would do it since you know a basic Java. 1. Create a Map with its generic types as Player and Boolean 2. When the player executes /ac add them to the Map if they are not in it already and set the boolean to the opposite of what it currently is 3. When the Player talks check if the is in the Map and if the boolean assigned to him is true then use Bukkit.broadcastMessage(String)
@Skionz 4. Assume the Players that aren't in the Set have the feature turned off. To who ever wants to develop this plugin, consider this the outline.