Inactive [INFO/CHAT] AutoAnnouncer v1.7-03.23 - Send ads/announcements/messages [1.2.5]

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

  1. Offline

    sharkale

    Dev Bukkit: http://dev.bukkit.org/server-mods/autoannouncer/

    Info below is outdated. Go to Bukkit DEV

    AutoAnnouncer - Global announcements every few minutes

    Latest Version: v1.6-03.03
    Tested with CB: 1.1-R4

    Commands:
    • /announcer help|? - Show help
    • /announcer on|off - Start/stop AutoAnnouncer
    • /announcer restart - Restart the AutoAnnouncer scheduler
    • /announcer interval <minutes> - Set interval time between announcements
    • /announcer random <on|off> - Set random or use consecutive announcements
    Default Settings.yml


    Supports Colors:
    Code:
    [/S]
    [S]&AQUA;[/S]
    [S]&BLACK;[/S]
    [S]&BLUE;[/S]
    [S]&DARK_AQUA;[/S]
    [S]&DARK_BLUE;[/S]
    [S]&DARK_GRAY;[/S]
    [S]&DARK_GREEN;[/S]
    [S]&DARK_PURPLE;[/S]
    [S]&DARK_RED;[/S]
    [S]&GOLD;[/S]
    [S]&GRAY;[/S]
    [S]&GREEN;[/S]
    [S]&LIGHT_PURPLE;[/S]
    [S]&RED;[/S]
    [S]&WHITE;[/S]
    [S]&YELLOW;[/S]
    [S]

    Multiline feature:
    Code:
    &NEW_LINE;

    Permissions Node:
    If permission not found or not used only OP can use the commands.
    For all command:

    Features:
    • Interval time adjustable.
    • Random/Consecutive setting.
    • Colors support.
    • On/Off AutoAnnouncer.
    • Commands in-game
    • Permissions support (Optional)
    • Permissions groups support.
    • Editable Tag.
    • YAML settings.
    [​IMG]
    Version: 1.3-06.25
    Goto bukkit dev for latest version

    Source Code:

    [​IMG]

    Changelog:

    Version 1.3-06.25
    • Add editable Tag.
    • Add Permissions groups support.
    Version 1.2-05.01
    • Minor tweaks for MC 1.5.
    • Add multiline feature with &NEW_LINE;.
    Version 1.1-04.10
    • Finish reload, interval and random/consecutive commands.
    • Delete debug message.
    • Show message for commands in-game.
    • Minor bug fixes.
    Version 1.0-04.08
    • First release
    TODO:
    • Implement reload, interval and random command.
    • Ability to add, remove announcement ingame.
    • Ability to send announcement to specific grups.
    • Multiline in announcement.
    Do you have problems?:
    [/CODE][/S]
     
  2. Offline

    Mrchasez

    Nothing ever comes out for me.
    The plugin just does nothing
     
  3. Offline

    Dunciboy

    Link is broken :/
     
  4. Offline

    MasonCraft

    Version: 1.3-06.25's link is not working for me on 4 different computers, all different types. Please fix :D
     
  5. Offline

    Jobsti

  6. Offline

    douglas_srs

    Hey, what about removing the TAG before the commands when its in a line break?


    Code:
    - "&GOLD;All of you can use the VIP city to buy your items but only&NEW_LINE;Vips can sell items!"
    
    [Server Announcer]: All of you can use the VIP city to buy your items but only
    [Server Announcer]: Vips can sell items!
    Thanks!
     
  7. Offline

    jacob7ism

    Actually you can use the 1.0.0 dev build it works on a public server that has this plugin
    There you go [diamond]'s to you =D
     
  8. Offline

    sajjad

    is "/announcer on|off" player based or whole server based?
     
  9. Offline

    ParadoXz

    I get this error on server start up :S
    Code:
    2011-12-24 16:48:48 [SEVERE] Error occurred while enabling AutoAnnouncer v1.3-06.25 (Is it up to date?): special characters are not allowed
    unacceptable character '?' (0xFFFD) special characters are not allowed
    in "<reader>", position 13929
        at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:98)
        at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:191)
        at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:145)
        at org.yaml.snakeyaml.scanner.ScannerImpl.scanFlowScalarNonSpaces(ScannerImpl.java:1477)
        at org.yaml.snakeyaml.scanner.ScannerImpl.scanFlowScalar(ScannerImpl.java:1465)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchFlowScalar(ScannerImpl.java:834)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchDouble(ScannerImpl.java:823)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:341)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:509)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
        at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
        at org.bukkit.util.config.Configuration.load(Configuration.java:89)
        at ar.com.sharkale.AutoAnnouncer.AutoAnnouncer.load(AutoAnnouncer.java:218)
        at ar.com.sharkale.AutoAnnouncer.AutoAnnouncer.onEnable(AutoAnnouncer.java:45)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  10. Offline

    bassbeast

    is there going to be an update to 1597?
     
  11. Offline

    Javaprogrammer

    Thanks for the plugin it looks great! I'm just gonna test it :D I would really apreciate if u did ur commands a lil easier to understand, im not very good at English :p
     
  12. Offline

    tincopper2

    Dead link
     
  13. Offline

    NoooneyDude

    Great plugin, mostly works fine. An option to disable the announcements in the console and log would be greatly appreciated though, you should also consider transitioning to Bukkit-Dev ;)
    It seems that none of the commands work in the console (haven't tested in-game).
     
  14. Offline

    bdr498

    Code:
    ########################################
    # AutoAnnouncer Settings by Sharkiller #
    ###############################################################
    # To support unicode characters save the file in UTF-8 format #
    ###############################################################
    Settings:
        # Scheduler Interval in minutes
        Interval: 5
        # true: random | false: consecutive
        Random: true
        # true: permissions security | false: only OP's
        Permission: false
    Announcer:
        # Tag for Announcement. May be empty: ''
        Tag: '&DARK_PURPLE;[&WHITE;Tip/Fyi&DARK_PURPLE;]'
        # true: certain groups in permissions | false: to all
        ToGroups: false
        # Groups to send announcement. Only if ToGroups is true.
        Groups:
            - 'Default'
        # Strings to announce
        # If you have problems check your syntax here:
        # http://yaml-online-parser.appspot.com/
        Strings:
        - "&LIGHT_PURPLE;If I think you are worthy of being an MLG, I might promote you to that rank.
            - "&LIGHT_PURPLE;To get ranked up, simply help out the server and build things.
            - "&LIGHT_PURPLE;If you have any issues, email me at [email protected].
            - "&LIGHT_PURPLE;If you build something amazing, it might get displayed at SpawnTown!
            - "&LIGHT_PURPLE;If you want a new mob arena class, email me the suggestion at [email protected]. Please make it reasonable.
            - "&LIGHT_PURPLE;Griefing IS prohibited. Will result in large punishments or perma-bans!
            - "&LIGHT_PURPLE;Subscribe to my youtube channel: &BLUE;xXcodfreak
            - "&LIGHT_PURPLE;Snowball fights will be held once we get more people for the rank MLG. Please note that if you are [Trusted] or above, that you cannot join the rank. I will only add on a prefix that shows you are in the MLG clan/club.
            - "&LIGHT_PURPLE;If you are in the rank MLG, stop by the club by typing /warp MLGclub.
            - "&LIGHT_PURPLE;Getting to round 100 on mobarena or over is totally an MLG move. If you do this, take a photo with coordinates to proove it and send it to [email protected].
            - "&LIGHT_PURPLE;Take the parkour course challenge to become an MLG!
    
    What should I do? Whenever I type [/autoannouncer on] it says an internal error has occured.
     
  15. Offline

    Chubop

    Please Help me, I've check the YAML-parser and it said that there was some wrong w/ my strings.
    Code:
    ########################################
    # AutoAnnouncer Settings by Sharkiller #
    ###############################################################
    # To support unicode characters save the file in UTF-8 format #
    ###############################################################
    Settings:
        # Scheduler Interval in minutes
        Interval: 1
        # true: random | false: consecutive
        Random: false
        # true: permissions security | false: only OP's
        Permission: true
    Announcer:
        # Tag for Announcement. May be empty: ''
        Tag: '&DARK_RED;[&DARK_GREEN;Tip&DARK_RED;]'
        # true: certain groups in permissions | false: to all
        ToGroups: false
        # Groups to send announcement. Only if ToGroups is true.
        Groups:
            - 'Default'
        # Strings to announce
        # If you have problems check your syntax here:
        # [URL]http://yaml-online-parser.appspot.com/[/URL]
        Strings:
            - "&DARK_BLUE;Become a &DARK_RED;Wizard! &DARK_BLUE;Use spells to help your faction."
            - "&DARK_RED;The infection is about...type &RED;/v &DARK_RED;to learn more."
            - "&DARK_GREEN;Like the server?&DARK_RED;Donate &DARK_GREEN;to help &NEW_LINEus out and get some sweet perks."[CODE]
    
    
    Apparently there is something wrong w/ the quotation at the end. Please help





    You forgot to finish the string w/ quations @ the end.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  16. Offline

    ninja206

    i have a question how do u set a announcement like how do u set the msg?
     
  17. Offline

    IGabx

    Hi I am experiencing a problem that I have tried multiple times to resolve! I was following your chat with zecheesy and followed every single thing that would help with problems that might have been wrong with my settings file! The error that it gives me (obviously) is "There was an internal error!" I don't know what that is supposed to mean! If this helps, here is my settings file:

    ########################################
    # AutoAnnouncer Settings by Sharkiller #
    ###############################################################
    # To support unicode characters save the file in UTF-8 format #
    ###############################################################
    Settings:
    # Scheduler Interval in minutes
    Interval: 5
    # true: random | false: consecutive
    Random: true
    # true: permissions security | false: only OP's
    Permission: false
    Announcer:
    # Tag for Announcement. May be empty: ''
    Tag: '&GOLD;[Server Info]'
    # true: certain groups in permissions | false: to all
    ToGroups: false
    # Groups to send announcement. Only if ToGroups is true.
    Groups:
    - 'Default'
    # Strings to announce
    # If you have problems check your syntax here:
    # http://yaml-online-parser.appspot.com/
    Strings:
    - "&RED;Server by fizzy79, have fun!"
    - "&GREEN;Staff apps are currently open to all. To those who &NEW_LINE;try out: Good Luck!"
    - "&BLACK;Are you tired of just building for fun, or simply &NEW_LINE;bored? Try survival mode. Now thats a challenge!
    - "&DARK_BLUE;Remember this the next time you see someone &NEW_LINE;building: ask if they need help!
    - "&WHITE;More worlds and modes coming soon, suggestions &NEW_LINE;are proudly accepted!

    PLEASE HELP ME WITH THIS PROBLEM! I HAVE TRIED EVERYTHING!

    Other information:
    I have Minecraft 1.0.0
    I also have the latest version of this plugin

    If you still require any more information, please inform me, but this is all I know for know about this whole thing and maybe you can tell me how to solve this!







    ~~~~~~~~~~~~~~~EDIT~~~~~~~~~~~~~~~~~~
    Some more info: I also tried the quotation marks at the end because I forgot to put them, but it still says the same message about an internal error!
     
  18. Offline

    mario00037

    Try This.
    Code:
    ########################################
    # AutoAnnouncer Settings by Sharkiller #
    ###############################################################
    # To support unicode characters save the file in UTF-8 format #
    ###############################################################
    Settings:
    # Scheduler Interval in minutes
    Interval: 5
    # true: random | false: consecutive
    Random: true
    # true: permissions security | false: only OP's
    Permission: false
    Announcer:
    # Tag for Announcement. May be empty: ''
    Tag: '&GOLD;[Server Info]'
    # true: certain groups in permissions | false: to all
    ToGroups: false
    # Groups to send announcement. Only if ToGroups is true.
    Groups:
    - 'Default'
    # Strings to announce
    # If you have problems check your syntax here:
    # http://yaml-online-parser.appspot.com/
    Strings:
    - "&RED;Server by fizzy79, have fun!"
    - "&GREEN;Staff apps are currently open to all. To those who &NEW_LINE;try out: Good Luck!"
    - "&BLACK;Are you tired of just building for fun, or simply &NEW_LINE;bored? Try survival mode. Now thats a challenge!"
    - "&DARK_BLUE;Remember this the next time you see someone &NEW_LINE;building: ask if they need help!"
    - "&WHITE;More worlds and modes coming soon, suggestions &NEW_LINE;are proudly accepted!"
     
  19. Offline

    brandongordon

    Code:
    ########################################
    # AutoAnnouncer Settings by Sharkiller #
    ###############################################################
    # To support unicode characters save the file in UTF-8 format #
    ###############################################################
    Settings:
        # Scheduler Interval in minutes
        Interval: 2
        # true: random | false: consecutive
        Random: true
        # true: permissions security | false: only OP's
        Permission: false
    Announcer:
        # Tag for Announcement. May be empty: ''
        Tag: '&GOLD;[ANNOUNCEMENT]'
        # true: certain groups in permissions | false: to all
        ToGroups: false
        # Groups to send announcement. Only if ToGroups is true.
        Groups:
            - 'Default'
        # Strings to announce
        # If you have problems check your syntax here:
        # http://yaml-online-parser.appspot.com/
        Strings:
            - "&RED;Server underwent new console ownership. Please be aware that changes have been made!
            - "&DARK_PURPLE;Please let brandongordon know of any bugs. They will soon be fixed :D"
            - "&DARK_RED;Server undergoing 'puberty'. All will be fixed within a reasonable time frame."
            - "&LIGHT_PURPLE;Never, EVER, ask for rank upgrades. You will get them when you earn them! That may take a while..."
            - "&GREEN;Visit www.trecraftserver.webs.com &NEW_LINE It's our website!"
            - "&DARK_RED;Only Mods, Admins and Owners will have creative mode!
            - "&GREEN;Make Sure You Close Your Door!"
            - "&DARK_PURPLE;Build Awesome Buildings And Call an Owner Over! You Could Be Promoted!"
    I have saved the file as UTF-8 but it still says
    Code:
    09:49 AM [INFO] [AutoAnnouncer] Settings Loaded (0 announces).
    09:49 AM [INFO] [AutoAnnouncer] Scheduling failed! There are no announcements to do. 
     
  20. Offline

    Vince

    I am getting this as a error when I type '/announcer on'?


    Code:
    17:03:00 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'anno
    uncer' in plugin AutoAnnouncer v1.3-06.25
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    86)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:777)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
     
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
            at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
    8)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NullPointerException
            at ar.com.sharkale.AutoAnnouncer.AutoAnnouncer.scheduleOn(AutoAnnouncer.
    java:98)
            at ar.com.sharkale.AutoAnnouncer.AutoAnnouncer.onCommand(AutoAnnouncer.j
    ava:181)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 12 more
    >
    
     
  21. Offline

    PATLAKA

    I have problem with the 3'rd announce that i try to add. How much spaces i should leave after goin on the new line? PS: Tryed with the http://yaml-online-parser.appspot.com/ and still no success :confused:
     
  22. Offline

    MAQcraft

    Where i can place my annoucements i tryed in the settings folder but in the "RUN" system this message appear:
    [INFO] [AutoAnnouncer] Loading AutoAnnouncer v1.3-06.25.
    [INFO] [AutoAnnouncer] Permissions support enabled!
    [INFO] [AutoAnnouncer] Settings Loaded <0 announces>.
    [INFO] [AutoAnnouncer] Scheduling failed! There are no announcements to do.

    Someone PLZ help me.
    ###############################################################
    # AutoAnnouncer Settings by Sharkiller #
    ###############################################################
    # To support unicode characters save the file in UTF-8 format #
    ###############################################################
    Settings:
    # Scheduler Interval in minutes
    Interval: 1
    # true: random | false: consecutive
    Random: true
    # true: permissions security | false: only OP's
    Permission: false
    Announcer:
    # Tag for Announcement. May be empty: ''
    Tag: '&GOLD;[Announcer]'
    # true: certain groups in permissions | false: to all
    ToGroups: false
    # Groups to send announcement. Only if ToGroups is true.
    Groups:
    - 'Default'
    # Strings to announce
    # If you have problems check your syntax here:
    # http://yaml-online-parser.appspot.com/
    Strings:
    - "&DARK_RED;Check out the server site for info: www.MAQcraft.webs.com"
    - "&DARK_RED;Server owners: Flaxer and AquaxIV"
    - "&DARK_RED;Test your pvp skills at the /warhub"
    - "&DARK_RED;Want to donate? Do /warp Rankprices"
    - "&DARK_RED;Try /warp to see all the warps"
    - "&DARK_RED;Buy and sell stuff at the spawn"
    - "&DARK_RED;Griefers will be banned or jailed!"
    - "&DARK_RED;This is a european server so its not 24/7"
    - "&DARK_RED;Trusted villagers will have a [T]"
     
  23. Offline

    LimitedWard

    I plan on using this to advertise sponsors for my server and reminding non-paying members how to gain full access :)
     
  24. Offline

    iffa

    Don't use with the coming recommended build (R5), broken. I'll try and make a patched version though.
     
    ace2020boyd likes this.
  25. Offline

    kronflux

    Please update for R5!
     
  26. Offline

    ace2020boyd

    hope to see a patched version
     
  27. Offline

    lazerpickle

    Please add support for 1.1-R6+
     
  28. Offline

    Jobsti

    Yep, update would be very nice!
     
  29. Offline

    rtcabooservb

    I also agree an update would be nice.
     
  30. Offline

    sharkale

  31. Offline

    iffa

Share This Page