[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. I know where to change it, I just wondering what colours are supported.
  3. Offline


  4. Offline


    2011-07-08 18:59:02 [SEVERE] Could not load 'plugins/ScheduledAnnouncer.jar' in folder 'plugins':
    while parsing a block mapping
     in "<reader>", line 9, column 5:
            enabled: true
    expected <block end>, but found Scalar
     in "<reader>", line 29, column 8:
            - 'please help the server survive b ...
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
        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.composeMappingNode(Composer.java:228)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        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:199)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:122)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:356)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:290)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    It even says that when i do "Please help the server survive b ......"
  5. Offline


    The message says that your config.yml is not valid. Could you please post it here?
  6. Offline


    I'm not getting any msg or anything...

    I'm using latest build, so 970...
  7. Offline


    Then you have not installed it...
  8. Offline


    It started working after 5 hours, strange :D

    Interval was 60mins so.

    Thanks, awesome tool!
  9. Offline


    Having problem in executing commands via ScheduledAnnouncer. What is the exact format to launch the command?
    Or maybe i've miss dependencies or something like that.
  10. Offline


    I cant find the folder? In the game it says to edit the text in the config.yml file but since i cant find the folder it created i cant edit it! HELp
  11. Offline


    Don't download just the jar file, download the zip and extract the folder. The JAR alone is for updates, etc.

    BTW, amazing plugin, it's exactly what I was looking for!
  12. Offline


    it wont work. it jusst stays at the default settings;( in the config it says correct but still at deafault settings! somone help?
  13. Offline


    running minecraft as root? or right access to the file? any errors on shutdown?
  14. Offline


    Tested with RB #1000. Works!
  15. just an idea but wouldnt it be easier to do /announce now 10 instead of /announce broadcast 10 - its makes more sense and is shorter
  16. Offline


    Released new version of the plugin, which supports latest bukkit permissions!

    Implemented in version 1.7.0 (/announce now <id> is a alias to /announce broadcast <id>)
  17. Offline


    any chance you can support multiple lines with like \n?
  18. Offline


    Read first post, and you will see its already supported by using &n
  19. Offline


    damn, need more coffee. thanks
  20. Offline


    no problem
  21. Offline


    uhm is there any way to possibly add Color support? I switched to this from AutoAnnouncer, which let you put color codes. (ex. &LIGHT_PURPLE;Remember: Use &RED;/sethome&LIGHT_PURPLE while in your house to set your home.)

    That would be amazing. :)
  22. Offline


    Please read the description of the plugin in the first post, it is described there.
  23. Offline


    This may sound weird, but can you add a permission called announcer.notreciever or something, so that I can add that permission to vips on my server, and they won't see the ads? I am using your amazing plugins for ads, to try and get people to donate. One person already has started donating, I want a way to stop him from seeing the ads.
    Keep up the good work!
  24. Offline


    zzcranjo, user - -announce.receiver, this will remove that permission from the group.
  25. Offline


    That's right!
    If you use Permissions or GroupManager give your user following permission:
    - '-announcer.receiver'
    For the new bukkit permissions it depends on your plugin how to unset a permissions.
  26. Offline


    the new permissions system
    announcer.receiver: false
  27. Offline


    Omg i suck at this but where can i download the 1.6.3 (for essentials groupmanager)??
  28. Offline


  29. Offline


    I would love to define scheduled messages to specific groups of users.
    For instance:
    1. a message to visitors (no build permissions) telling to register on the website.
    2. a message to players (with build permissions) encouraging them to donate to cover the server costs.
    3. a message to donors reminding them their reserved commands.
    4. several messages to all, for server rules, links to the website...

    Messages 1. 2. 3. are of no interest for anyone outside that specific users group, so they should not be broadcasted to everyone in the server.

    Do you think this is doable?
  30. Offline


    I was just coming to suggest this..
    one way i think would be easy, you setup in the config, an id of sorts for the message

    1,message to display blah
    2,nothing cool here to show
    3,another cool message
    5,donate or die

    then you can specify individual permissions nodes
    ie: announcer.receiver.1
    or announcer.receiver.5
  31. Offline


    /announce isn't working in the latest.. but they are automatically announce so it means it's working fine..

    typing /announce will lead me to typing /announce help

    typing /announce help doesn't give me some commands

    typing /announce broadcast 1 or /announce list, /announce reload will lead me to type the /announce help..
    Olof Larsson likes this.

Share This Page