ScheduledAnnouncer

115k Downloads

Please use the ticket link to the right for issues! ->

Accepting new feature requests! Please use the ticket link to the right! ->

Scheduled Announcer is a very simple tool, which only does what's its name told us. It automatically sends a broadcast out of a list controlled by a scheduled.

Features:

  • Sends Scheduled Broadcast to all Players
  • Easy to configure by 'config.yml' or ingame with the '/announce' command.
  • Supports colors (&1, &2... &9, &a, &b... &f) and newlines with &n.
  • Supports executing commands inside Announcements. (Like "Now it will become day!&n/time day")
  • Supports newest Bukkit permissions system!

Setup:

  1. Download the latest Release
  2. Upload it into your plugin/ directory
  3. Restart or reload your server

Or have a look at the Video Tutorial by BrandonHopkins

Configuration:

#
# ScheduledAnnouncer Configuration File
# =====================================
#
# Don't use tabs in *.yml file!
# 
# Please note that there is a 85 (with the default prefix) character
# limit on announcements.
# 
# If you mess this config up, feel free to delete this one, and let
# the plugin create you a new one!
#

announcement:
    # Use this flag to temporary disable the announcements.
    # enabled: false, means that there wouldn't be any announcements.
    enabled: true

    # Set this to true will announce in random order.
    # 'false' will announce in sequential (one after another) order.
    random: false

    # Defines the prefix for the announcement. Use & + hex char for color codes.
    prefix: '&c[Announcement] '

    # The time of one interval in seconds.
    interval: 100

    # List of messages to announce. You could use color codes by using & + hex chars too.
    messages:
    - 'This is the first default announcement!'
    - 'Use /announce help to get info how to config this plugin.'
    - 'You can also configure this plugin with its config.yml too!'
    
    # Use to enable or disable the motd.
    motdEnabled: true
    
    # Use to define the motd.
    motd: 'Test announcement.'

Commands:

/announce add <message>

Needed Permission: announcer.add Adds a new announcement with the Message: <message>

/announce broadcast [<index>]

Needed Permissions: announcer.broadcast Broadcast an existing announcement NOW.

/announce delete <index>

Needed Permissions: announcer.delete Removes the announcement with the passed index.

/announce enable [true|false]

Needed Permissions: announcer.moderate Enables or disables the announcer.

/announce interval <seconds>

Needed Permissions: announcer.moderate Sets the seconds between the announcements.
Calling it without an interval to set will return the current interval.

/announce list

Needed Permissions: announcer.moderate Lists all announcements.

/announce random [true|false]

Needed Permissions: announcer.moderate Enables or disables the random announcing mode.
Only calling /announce random without true or false, will return current mode.

/announce setmotd [motd]

Needed Permissions: announcer.moderate Sets the MOTD
Only calling /announce motd without string will return current motd.

/announce motdenabled [true|false]

Needed Permissions: announcer.moderate Enables or disables the motd
Only calling /announce motdenabled without true or false, will return current mode.

/announce say [message]

Needed Permissions: announcer.moderate Announces a message to the server without saving it to the config.

/announce reload

Needed Permissions: announcer.admin Reloads the config.yml.

/announce prefix <prefix>


This sets a new prefix. Note that you need to place the ['s in there again. Color codes also work.

Permissions:

Only people with the permissions announcer.receiver will receive announcements, but everybody owns the permissions by default.

Source can be found at https://github.com/mjoell/ScheduledAnnouncer

Supported Color/Formatting Codes:

http://wiskr.net/img/hG2jWW.png

http://api.mcstats.org/signature/ScheduledAnnouncer2.png
http://mcstats.org/plugin/ScheduledAnnouncer2
Added Metrics 4 days ago, and already that many servers. I see it in the top 100 soon!