[INACTIVE][CHAT] ScheduledAnnouncer 1.8.1 - Auto Broadcasts by a Scheduler [1.1-R4]

Discussion in 'Inactive/Unsupported Plugins' started by MiHo, Apr 7, 2011.

  1. Offline


    ScheduledAnnouncer [Version 1.8.1]

    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 schedule.


    • 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 get day!&n/time day")
    • Supports newest Bukkit permissions system!

    How To Setup (open)

    1. Download the latest Release
    2. Drag&Drop the JAR file to your 'plugin/' directory
    3. Restart or reload your server

    There's a video tutorial on how to setup and configure that plugin on YouTube too. Thanks to BrandonHopkins!

    Configuration (open)
    # ScheduledAnnouncer Configuration File
    # =====================================
    # Don't use tabs in *.yml file!
        # 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. &n will produce a new line.
        - '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!'

    Commands (open)
    /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 reload
    Needed Permissions: announcer.admin
    Reloads the config.yml.

    Changelog (Version 1.8.1):

    • Fixed problem with announcing randomly.

    Changelog (Version 1.8):

    • Made Prefix fully customizable. (Changed the configuration a bit...)
    • Added '/announce prefix <text>' command.
    • Default configuration file is now created if there isn't any. (No more ZIP-downloads necessary, simply drag&drop the JAR-file)
    Older Changelogs (open)
    Version 1.7.1:
    • Fix problems with executing commands
    • Works with 1.1-R5-SNAPSHOT
    Version 1.7.0:
    • Implemented support for new bukkit permissions system
    • Supports /announce now as alias for /announce broadcast
    Version 1.6.3:
    • Fixed 'sendToAll' bug, caused by invalid attaching process to Permissions.
    Version 1.6.2:
    • Fixed 'sendToAll' color codes bug.
    Version 1.6.1:
    • Do not show empty tag brackets. (When setting tag to '' or null)
    Version 1.6:
    • Added pages in /announce list command.
    • Fixed saving after deleting a Announcement.
    Version 1.5:
    • Added multiline support (with &n you could produce a new line inside one Announcement).
    • Added a support for executing Announcements as commands, if they start with a backslash.
    Version 1.4:
    • Added color support (with &1, &2, ... &f in Messages)
    • Added a seperated color setting for tag and message (See Config Spoiler this Thread)
    Version 1.3:
    • Added the feature to only send Announcement with the Permission "announcer.receiver". Need to set the flag: "announcement.sendToAll" in the ScheduledAnnouncer 'config.yml'.
    Version 1.2.2:
    • Changed the example config file, cause of a mistake in it.
    Version 1.2.1:
    • Bugfix for /announce interval bug.
    Version 1.2:
    • Added many new commands to configure it ingame. (/announce reload, /announce enable, /announce broadcast and /announce random)
    • Ability to choose between Random Mode and Sequential Mode.
    • Use different Permissions for different kind of tasks.
    Version 1.1:
    • Enables to change the color of the Broadcast in config.yml
    • Calling '/announce interval' without any paramater now returns the current interval.
    • Changed the name of the JAR to "ScheduledAnnouncer.jar" (Please delete the old one before update!)
    Version 1.0.2:
    • Support for CraftBukkit 670...
    Version 1.0.1:
    • Small bug fix...
    Version 1.0:
    • First Release!
  2. Offline


    If you are not using PermissionBukkit, PermissionsEx or any other up to date Permissions plugin, you will not see any command on /announce help, because of the fact missing the permission. Permission 2.x or 3.x are not supported, but it would not cause a crash.

    If you want to use Permission 2.x or 3.x use ScheduledAnnouncer 1.6.3, but I recommend to switch to any not outdated permission system.
  3. Offline


    Well then thats not my problem :/ I use permissionsbukkit. thnx for all the support. I'll keep trying to figure it out.
  4. LIGHT_PURPLE what others i can use?... TEAL or CYAN or CYA wont work so wtf? :D

    also Color support? MY ASS:
        - '&cChests CANNOT be locked. Hide chests into LOCKED HOUSES. Above door use sign first line [private]'
        - '&aRemember: You need to register if youre new player! /register password'
        - '&aRemember: You need to log in EACH TIME you come to server! /login password'
        - '&bAsk for admins to protect your areas, find out who griefed or such.'
        - '&cChests CANNOT be locked. Hide chests into LOCKED HOUSES. Above door use sign first line [private]'
        - '&bAdmins: Semirotta, Tr33frog'
        - '&bIf you grief , you shall get hit by the BanHammer.'
        - '&aType /achieve list 1-3 to see achievements.'
    the messages WONT be visible if its like this-.- where im supposed to have &* mark?
  5. Offline


    I Would like to request an option to send different types of messages to different groups, also set it with different time interval, if that would be implemented this plugin would be perfect for my needs,

    so maybe add a announcer.receiver2 that sends a different set of message strings.

    I wish to send repeatedly messages to default members to read the Signs and visit our site in order to get builder Rights. but at the same time i do not wish to spam those that already are Builders with these messages, instead send them messages, like remember to vote daily for our server, etc.
  6. Offline


    I've had your plugin for a while now no plugins but since 1.8 your plugin spam repeats my console with the messages but it doesn't broadcast in-game. Can you look into this as soon as possible as your plugin basically is useless atm.
  7. Try re-downloading the plugin, also u might have changed "COLOR" of the message or such into wrong. It doesnt give any errors it wont just show the messages (expect in console)
  8. Offline


    It used to work before 1.8, theres no errors and it doesn't show the messages in-game like what your experiencing.
  9. I had my trouble when i tried to change colours of message etc. I dont know any other way to fix it , i suggest u to re-download and keep it default config and see if the txt shows up, if not then no idea :E
  10. Offline


    when i try and delete the announcement it says there are too many argumens and i cant find the config.yml file
  11. Offline


    @MiHo Does it have support to PermissionsEX????
  12. Offline


    Yes, I use PermissionsEX on my own live server too!
  13. Offline


    @MiHo Its giving me an error,

    2 diferent servers and same error.

    Using bukkit 1185 and PEX.

    Show Spoiler

    2011-10-02 12:40:01 [SEVERE] Could not load 'plugins\ScheduledAnnouncer.jar' in folder 'plugins':
    unacceptable character #FFFD special characters are not allowed
    in "<reader>", position 822
    at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:68)
    at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:159)
    at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:117)
    at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:106)
    at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:964)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:237)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:200)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:104)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:82)
    at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:157)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:138)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
  14. Offline


    @MiHo Any fix for my error?? No answer so far =( And I really needed your plugin.
  15. Offline


    First - plugin works great and is very useful. Thank you!

    Second - is it possible to add a third tier permission node for listing the announcer index? Ex: announcer.moderate.list would only give the permission to execute /announcer list. I have players who would like to browse the index and I would rather them not be able to configure the other aspects of the plugin.


  16. Offline


    This just fails for me :( do ever think right no errors does nothin no broadcast NOTHIN plz help!
  17. Offline


    Hi, Thanks for the plugin. Couple of suggestions...
    Could we get support for Different Permission groups, Like for Group Manager.
    Also could we get timers for every mesage?
    interval: 240
    Blah blah blah
    interval: 180
    Blah blah blah

    Working fine on CB 1240 Btw
  18. Offline


    Hey, could you post the download link for the 1.6.3? I currently use the old permissions, thanks.
  19. Offline


    Thanks this is working great on the latest CB
  20. Offline


    Use this tool to check that there are no errors in your config :)
  21. Best broadcast plugin ever!
  22. Offline


    this is a great plugin, but im running into an error where if i put commands into the announcements an error saying there was an internal error while trying to preform this command shows under the announcement.
    I make a message, add &n, then a command right after that but when i try to test the announcement, it shows up but i get an error for the command within it and nothing happens.
    am I doing something incorrect?
  23. Offline


    What do you mean by "adding a command"? Are you editing the file or using the in game commands? If you are editing by the file, make sure it passes the YAML parser here yaml-online-parser.appspot.com
  24. Offline


    I have Cb1447, GroupManager from Ess 2.7 and its work fine..... but not colors :(

        broadcast-tag-color: &a
        broadcast-tag: Oznameni -
        # Defines the color of the message
        broadcast-color: &e
    and not any changes.. after reload :(
  25. Offline



    Running the 1.0.0 dev build of bukkit #1531.
    Now it broadcasts the message to everyone, it is like the permission node doesnt work anymore. :(
  26. Offline


    This is epic dude. Great in-game support. Thanks :)
  27. Offline


    Works for me with 1.0.0
  28. Offline


    @MiHo Here is my config file and my permissions.
    # ScheduledAnnouncer Configuration File
    # =====================================
    # Don't use tabs in *.yml file!
        # Use this flag to temporary disable the annoucements.
        # 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 color and the tag used for the broadcasts
        broadcast-tag-color: RED
        broadcast-tag: Tips
        # Defines the color of the message
        broadcast-color: GRAY
        # The time of one interval in seconds.
        interval: 320
        # List of Announcements
        - 'Use the command &c/help &7to see what commands you can use!'
        - 'Whenever you need help from a Mod, use the command &c/ticket new [msg]&7!'
        - 'Ask us about SpoutCraft for a better Minecraft experience.'
        - 'Dont build dirt/tree boxes. They will get removed.'
        # If you set 'sendToAll' to false, only players with the permission:
        # - announcer.receiver
        # will receive the Announcements. If you are using no Permissions
        # plugin this flag doesn't have any use for you.
        sendToAll: false
    Im using PermissionsEx 1.16 where Members has the permission node "- announcer.receiver" Then VIP's which are above members have the permission node "- -announcer.receiver".
    Im admin and I inheritence permissions from Mod, which inherits from VIP.
    On #1337 and 1.8.1 VIP+'s never got any messages, but now we do. Do you have any idea why it could be like this?
  29. Offline


    I'm not sure, if PEX supports the excluding method by using '-'?
  30. Offline


    It does.
  31. Offline


    Interval is kinda bugged for me, I set it to 120 secounds, but it broadcasts much more often (1337)
    i found that it announces extacly 2 times faster

    Black = &0
    Dark_Blue = &1
    Dark_Green = &2
    Dark_Aqua = &3
    Dark_Red = &4
    Dark_Purple = &5
    Gold = &6
    Gray = &7
    Dark_Gray = &8
    Blue = &9
    Green = &A
    Aqua = &B
    Red = &C
    Light_Purple = &D
    Yellow = &E
    White = &F

Share This Page