Admin announcements

Discussion in 'Plugin Requests' started by 01110011, Dec 15, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    01110011

    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
     
  2. Offline

    bmckalip

    doesn't essentials have /bcast and /say for this?
     
  3. Offline

    nverdier

    @bmckalip @01110011 Yes Essentials will work. It doesn't have a feature to turn regular chat into it though.
     
  4. Offline

    Skionz

    @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)
     
  5. Offline

    teej107

    @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.
     
    Skionz likes this.
Thread Status:
Not open for further replies.

Share This Page