[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

    MiHo

    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.

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

    Commands (open)
    Code:
    /announce add <message>
    Needed Permission: announcer.add
    Adds a new announcement with the Message: <message>
    Code:
    /announce broadcast [<index>]
    Needed Permissions: announcer.broadcast
    Broadcast an existing announcement NOW.
    Code:
    /announce delete <index>
    Needed Permissions: announcer.delete
    Removes the announcement with the passed index.
    Code:
    /announce enable [true|false]
    Needed Permissions: announcer.moderate
    Enables or disables the announcer.
    Code:
    /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.
    Code:
    /announce list
    Needed Permissions: announcer.moderate
    Lists all announcements.
    Code:
    /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.
    Code:
    /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

    MeinerHosen

    This is working great except for not being able to delete announcements in game. I always have to stop the server, edit the file, then restart.

    Is this just me and what can I do?
     
  3. Offline

    MiHo

    Yes... known bug, it's because it saves only after adding an announcement.
    Already fixed in source, but not in latest release yet.

    Uploaded new Release (1.6):
    - Added pages to /announce list command (as requested in this thread)
    - Fixed bug with /announce delete command (last post in this thread)

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

    MeinerHosen

    Sorry for posting a known bug >L<

    But thank you so much for this. It's a great benefit to my server and is highly functional.

    Thanks again:D
     
  5. Offline

    Gone_Oh

    Any way to get rid of the tag for each announcement? I set the tag to just '' but it still shows up as "[] Text"
     
  6. Offline

    MiHo

    currently not, but nice idea. I am going to implement hiding the tag when setting it to ''.
     
  7. Offline

    Chekkaa

    Hi, I am using version 1.6 with CB 766, and I wanted only 1 rank (guests) to be able to see messages. I gave them the announcer.receiver permission, but they don't receive any messages. The messages only appear when I set broadcast-all to true, but I don't want everyone to see them. Help?

    I'm using Groupmanager btw.
     
  8. Offline

    MiHo

    Hm... can't help you, it works for me.

    @Gone_Oh Implemented your idea. Uploaded new version (1.6.1), when you set your tag to '', no brackets will be shown for the tag.
     
  9. Offline

    Gone_Oh

    Awesome! Thanks a bunch :D
     
  10. Offline

    William Hall

    I downloaded it, put the zip in my plugins folder, unzipped it, wrote what i wanted it to say in the config, restarted the server and it won't announce anything.. it also says unknown command when i use the commands... something else i need to do?
     
  11. Offline

    MiHo

    No, should be enough. I believe the problem is inside the config.yml. For example, if you use special characters (like german 'Umlaute'), which minecraft can't handle, in your config.yml the plugin will fail on startup.
    Could you post your 'config.yml' here?
     
  12. Offline

    William Hall

    Ok, heres my config

    Config (open)

    #
    # ScheduledAnnouncer Configuration File
    # =====================================
    #
    # Don't use tabs in *.yml file!
    #

    announcement:
    # 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: LIGHT_PURPLE
    broadcast-tag: Announcement
    # Defines the color of the message
    broadcast-color: LIGHT_PURPLE

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

    # List of Announcements
    messages:
    - 'To lock your doors, chests & furnaces type [private] on the first line of a sign and place it in front/above what you want to lock'
    - 'To buy at a chest shop type /Buy and then click the sign. To sell type /Sell and click the sign.'
    - 'You can earn coins by trading and killing mobs!'
    - 'If you ask to become a mod it won't happen!'
    - 'Hint: Most shops are cheaper than the General store, Try looking for more shops!'
    - 'To join a faction type /f join Faction_Name
    - 'Want a cool place to fight your friends? try visiting the arena in PVPTown!'

    # 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: true
     
  13. Offline

    MiHo

    Do not use ' inside the announcements. The YAML storage format gets confused about it.

    - 'If you ask to become a mod it won't happen!'

    must be:

    - 'If you ask to become a mod it would not happen!'
     
  14. Offline

    William Hall

    Ah thanks it works now :)
     
  15. Offline

    MiHo

    Great!
     
  16. Offline

    MeinerHosen

    Can i get a list of colors I can use for the broadcast colors? I put in "LIGHT_BLUE" and i think i tried light_green once, and neither worked.
     
  17. Offline

    MiHo

    Minecraft don't now any Light Blue? Do you mean "AQUA"?

    Valid color codes:
    Code:
    AQUA 
              Represents aqua
    BLACK 
              Represents black
    BLUE 
              Represents blue
    DARK_AQUA 
              Represents dark blue (aqua)
    DARK_BLUE 
              Represents dark blue
    DARK_GRAY 
              Represents dark gray
    DARK_GREEN 
              Represents dark green
    DARK_PURPLE 
              Represents dark purple
    DARK_RED 
              Represents dark red
    GOLD 
              Represents gold
    GRAY 
              Represents gray
    GREEN 
              Represents green
    LIGHT_PURPLE 
              Represents light purple
    RED 
              Represents red
    WHITE 
              Represents white
    YELLOW 
              Represents yellow
     
  18. Offline

    MeinerHosen

    Haha, thanks:D
     
  19. Offline

    staticfactory

    Color codes are not working on our server.

    When I originally installed the plugin (with sendToAll:True) the color codes were working fine. It may have something to do with permissions.

    We use an inheritance model in permissions that starts from the guest commands and snowballs to the moderators. Since I only want the guests to see the announcements, I have added the '-announcer.receiver' node to each of the groups that I wish to exempt and have turned sendToAll to False.

    From that point colors in messages have not worked. They actually display the &2message &7kind &fof &3like &6this. I have also tried the &LIGHT_PURPLE format to no avail.

    CB 766, SA 1.6.1, Permissions 2.7.4
     
  20. Offline

    desmin88

    @MiHo
    Please, please, please, please, don't make threads. Just use a synchronous scheduler.
    Your calling bukkit methods from a new thread which is not safe.
     
  21. Offline

    MiHo

    True, seems to be a bug, I'll fix that as possible.


    No? I'm using synchronus scheduler, there isn't anything in a second thread currently.
    Code:
    scheduler.scheduleSyncRepeatingTask(this, announcerThread, anno...
    @staticfactory: Uploaded a update which should fix your problem.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  22. is there version which works with bukkit 766, minecraft 1.5_01 ?
    i downloaded newest -> nothing happens / commands wont work. says unknown command.
     
  23. Offline

    MiHo

    The plugin should work with every build 603+, but it's not recommended to use old bukkit builds.

    Hm, do you have a look at your log? Any errors/exceptions there?
    Could you post your config here? Some people like to use special characters in there config file like 'ä' or 'ß'. Minecraft can't handle this characters, probably this is your problem.
     
  24. Code:
    2011-05-29 19:54:37 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-29 19:54:37 [INFO] Loading properties
    2011-05-29 19:54:38 [INFO] Starting Minecraft server on 5.234.201.99:25565
    2011-05-29 19:54:38 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-05-29 19:54:38 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-05-29 19:54:38 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-05-29 19:54:38 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-05-29 19:54:38 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-729-g5ee3f0f-b766jnks (MC: 1.5_02)
    2011-05-29 19:54:38 [INFO] Preparing level "world"
    2011-05-29 19:54:38 [INFO] Preparing start region
    2011-05-29 19:54:38 [INFO] While loading ServerAutoStop (plugins\Autostop.jar) found old-data folder: plugins\Autostop next to the new one: plugins\ServerAutoStop
    2011-05-29 19:54:38 [INFO] DataSourcePool [BedRespawn] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-05-29 19:54:39 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-05-29 19:54:39 [INFO] Entities enhanced[0] subclassed[1]
    2011-05-29 19:54:39 [SEVERE] Could not load 'plugins\h2.jar' in folder 'plugins': 
    java.io.FileNotFoundException: Jar does not contain plugin.yml
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:63)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:191)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:115)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-29 19:54:39 [INFO] LWC    Loading shared objects
    2011-05-29 19:54:39 [INFO] LWC    Native library: plugins/LWC/lib/native/Windows/amd64/sqlitejdbc.dll
    2011-05-29 19:54:39 [SEVERE] Could not load 'plugins\mysql-connector-java-bin.jar' in folder 'plugins': 
    java.io.FileNotFoundException: Jar does not contain plugin.yml
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:63)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:191)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:115)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-29 19:54:39 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins': 
    java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:164)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:191)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:115)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: while parsing a block collection
     in "<reader>", line 148, column 13:
                    - 'foo.bar'
                    ^
    expected <block end>, but found Scalar
     in "<reader>", line 299, column 16:
                    - 'admincmd.time.day
                       ^
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:520)
        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.composeSequenceNode(Composer.java:203)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
        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.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 com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
        ... 13 more
    2011-05-29 19:54:39 [SEVERE] Could not load 'plugins\ScheduledAnnouncer.jar' in folder 'plugins': 
    unacceptable character #FFFD special characters are not allowed
    in "<reader>", position 937
        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:73)
        at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:158)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:166)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:191)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:115)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-29 19:54:39 [SEVERE] Could not load 'plugins\DefaultPermissions.jar' in folder 'plugins': Permissions
    org.bukkit.plugin.UnknownDependencyException: Permissions
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:191)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:115)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-29 19:54:39 [INFO] Lottery version 0.4.3 is enabled
    2011-05-29 19:54:39 [INFO] AnyoneSleep version 1.1 is enabled!
    2011-05-29 19:54:39 [INFO] AppleTree activated.
    2011-05-29 19:54:39 [INFO] [AutoStop] Permissions not enabled.
    2011-05-29 19:54:39 [INFO] AutoStop Enabled. Windows 7
    2011-05-29 19:54:39 [INFO] [AutoStop] Scheduled for shutdown at time(s): 01:00:00
    2011-05-29 19:54:39 [INFO] BedRespawn v1.2d enabled
    2011-05-29 19:54:39 [INFO] SpongeRestore version 0.9 is enabled!
    2011-05-29 19:54:39 [INFO] CanSpawn version 1.0 is enabled without permissions!
    2011-05-29 19:54:39 [SEVERE] [Citizens]: The Permissions plugin isn't loaded, commands can only be used by ops.
    2011-05-29 19:54:39 [INFO] [Citizens]: version [1.0.8d] (Helpers) loaded
    2011-05-29 19:54:39 [INFO] Loading ColoredSigns
    2011-05-29 19:54:40 [INFO] DeathMessagePlugin version 1.7 is enabled without permissions!
    2011-05-29 19:54:40 [INFO] ExtendedDay version 1.3103252011 enabled.
    2011-05-29 19:54:40 [INFO] [EXTENDED-DAY] Days will last 100 iterations.
    2011-05-29 19:54:40 [INFO] [EXTENDED-DAY] Nights will last 1 iterations.
    2011-05-29 19:54:40 [INFO] [EXTENDED-DAY] Server day starting at 'day'.
    2011-05-29 19:54:40 [INFO] ExtendedDay version 1.3103252011 initialized!
    2011-05-29 19:54:40 [INFO] FalseBookBlock v0.84alpha by GeMo enabled
    2011-05-29 19:54:40 [INFO] [FalseBook Block] 2 Cauldrons successfully loaded.
    2011-05-29 19:54:40 [INFO] [FalseBook Core] FalseBookCore v0.84alpha by GeMo enabled!
    2011-05-29 19:54:40 [INFO] FenceDoor By Ashour version 2.5 enabled.
    2011-05-29 19:54:40 [INFO] FenceStack version 1.13 loaded.
    2011-05-29 19:54:40 [INFO] FortuneCookie version 1.1 is enabled!
    2011-05-29 19:54:40 [INFO] godPowers version 2.0 is enabled!
    2011-05-29 19:54:40 [INFO] It seems you don't have permissions installed. Ops will have priority with godPowers now!
    2011-05-29 19:54:40 [INFO] [HeavenlyMob] Removing these types from unloaded chunks: [CraftGhast, CraftSquid, CraftSlime]
    2011-05-29 19:54:40 [INFO] [HeavenlyMob] v0.3 enabled!
    2011-05-29 19:54:40 [INFO] [HeavenlyMob] Permissions not found. Defaulting to OP until Permissions is loaded.
    2011-05-29 19:54:40 [INFO] HelpPages 1.0 enabled
    2011-05-29 19:54:40 [INFO] Permission system not detected, defaulting to OP
    2011-05-29 19:54:40 [INFO] [iConomy] Logging is currently disabled.
    2011-05-29 19:54:40 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    2011-05-29 19:54:40 [INFO] [iConomy] Developed by: [Nijikokun]
    2011-05-29 19:54:40 [SEVERE] Could not pass event PLUGIN_ENABLE to AdminCmd
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
        at belgium.Balor.Workers.PluginListener.onPluginEnable(PluginListener.java:50)
        at org.bukkit.plugin.java.JavaPluginLoader$37.execute(JavaPluginLoader.java:452)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:677)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 13 more
    2011-05-29 19:54:40 [INFO] [Citizens]: Payment method found (iConomy version: 5)
    2011-05-29 19:54:40 [INFO] [iConomyDeath] version 0.6.1 is enabled!
    2011-05-29 19:54:40 [INFO] [iConomyDeath] Permission system not detected, defaulting to OP
    2011-05-29 19:54:40 [SEVERE] Could not pass event PLUGIN_ENABLE to AdminCmd
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
        at belgium.Balor.Workers.PluginListener.onPluginEnable(PluginListener.java:50)
        at org.bukkit.plugin.java.JavaPluginLoader$37.execute(JavaPluginLoader.java:452)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:677)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-29 19:54:40 [INFO] [iConomyDeath] hooked into iConomy.
    2011-05-29 19:54:40 [INFO] [Jail] Loaded 1 jail zones.
    2011-05-29 19:54:40 [INFO] [Jail] Loaded 0 prisoners.
    2011-05-29 19:54:40 [INFO] [Jail] Loaded 0 prisoners.
    2011-05-29 19:54:40 [SEVERE] Could not pass event PLUGIN_ENABLE to AdminCmd
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
        at belgium.Balor.Workers.PluginListener.onPluginEnable(PluginListener.java:50)
        at org.bukkit.plugin.java.JavaPluginLoader$37.execute(JavaPluginLoader.java:452)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:677)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-29 19:54:40 [INFO] [LightSwitch] version 0.12 loaded.
    2011-05-29 19:54:40 [SEVERE] Could not pass event PLUGIN_ENABLE to AdminCmd
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
        at belgium.Balor.Workers.PluginListener.onPluginEnable(PluginListener.java:50)
        at org.bukkit.plugin.java.JavaPluginLoader$37.execute(JavaPluginLoader.java:452)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:677)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-29 19:54:40 [SEVERE] Could not pass event PLUGIN_ENABLE to AdminCmd
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
        at belgium.Balor.Workers.PluginListener.onPluginEnable(PluginListener.java:50)
        at org.bukkit.plugin.java.JavaPluginLoader$37.execute(JavaPluginLoader.java:452)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:677)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-29 19:54:40 [INFO] [MyPlugin] hooked into iConomy.
    2011-05-29 19:54:40 [INFO] LWC    Loaded 116 locale strings (0 overrides)
    2011-05-29 19:54:40 [INFO] LWC    Loading SQLite
    2011-05-29 19:54:40 [INFO] SQLite    Using: Native
    2011-05-29 19:54:40 [INFO] LWC    At version: v2.31
    2011-05-29 19:54:40 [SEVERE] Could not pass event PLUGIN_ENABLE to AdminCmd
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
        at belgium.Balor.Workers.PluginListener.onPluginEnable(PluginListener.java:50)
        at org.bukkit.plugin.java.JavaPluginLoader$37.execute(JavaPluginLoader.java:452)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:677)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-29 19:54:40 [INFO] [MagicCarpet] MagicCarpet version 1.5.5 is enabled!
    2011-05-29 19:54:41 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet or /mc. 
    2011-05-29 19:54:41 [INFO] [MagicCarpet] Restricted to: [semirotta, kyo88, taapu, tu0mari, marso]
    2011-05-29 19:54:41 [SEVERE] Could not pass event PLUGIN_ENABLE to AdminCmd
    .....
    
    this is in my Server.txt if u ment this?
    bukkit 677 , all other plugins should work fine? i think :D
    i got many plugins at my server :)
     
  25. Offline

    MiHo

    The problem, why ScheduledAnnouncer is you are using the 'ä' char. It isn't supported by the YAML format, as I know :(
    Replace it with another char and it should work.

    (But your log says, that you have problems with other plugins too, caused by iConomy and your very outdated bukkit version. I recommend you to work on that.)
     
  26. So wait, if i updated to newest minecraft bukkit thingie all should work fine?
    also, i changed Ä / Ö into 'a' 'o' <-- does that work? :D
     
  27. Offline

    MiHo

    Should work, yes.
     
  28. Offline

    Aleyasu

    I didn't get the config.yml file.. Do I have to make it myself? And if yes, how?
     
  29. i had it when i downloaded jar, started server -> the folder ScheduledAnnouncer came , there was config. I dont understand why it still wont work :/ Seems like my bukkit or such wont regocnize the .jar , there is no /announce commands at all
    i have set permissions for me n other admin i have at my server
    i have permission so every1 can hear the msg. But there is no ScheduledAnnouncer at /plugins list at all.

    NO WONDER THIS DID NOT WORK.
    YOU HAVE WRONG COMMANDS!
    Its not /announce *plaaplaa*
    its /ANNOUNCER *plaaplaa*

    darn u!! :D it works fine! THANK YOU !!
    but please fix the commands! /announcer

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

    MiHo

    Plugin works with "/annonce" and "/announcer" command, but the /announce is the recommended and documented way.

    Download the complete *.zip if you need the config.yml too. The jar only download is for updates only. (But application would create the config.yml anyway, but without the comments.)

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

    Mighty Mackinac

    Could use some help with getting the permissions set up. I have sendtoAll set to false and gave -announce.receiver to only the people who should have announcements, and for admins i used - -announce.receiver so they wouldnt get the announcements, yet they still do. Did I do something wrong, or is there something wrong with the plugin? Im running the latest build (815, i believe) and the latest version of the plugin.
     

Share This Page