[INFO] ServerEvents 1.5.2 - Replace TwitterEvents, DeathNotify [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by Brettflan, Jan 24, 2011.

  1. Offline

    Brettflan

    harakiwi, dark_hunter, cfultz and 2 others like this.
  2. Offline

    croemmich

    It's up!
    --- merged: Feb 3, 2011 3:04 AM ---
    Done. v1.3

    Should work now. v.1.3

    Added %killer_item v.1.3
    Changed the character set.. should work for you now. v.1.3
    Added ability to use all chat colors. v.1.3

    suggestion to fix the issue that people only want certain things in twitter and channel how about in the config bit
    Twitter:join,death,leave,random,ban
    Channnel:join,leave,death,commands,random
    would that be possible ?
    [/quote]

    Yep... done. v.1.3
    --- merged: Feb 3, 2011 3:08 AM ---
    I'm not sure where the first message comes from. I'll have to look into that.

    You can change the prefix in the xml:
    Code:
    <chat enabled="true" prefix="[Your Prefix] " prefix_color="aqua" color="white" />
    --- merged: Feb 3, 2011 1:05 PM ---
    What new features would you all like to see?
     
  3. Offline

    Herr Riz

    Where can I find a list of the colors? I want ServerEvents to look the same as when I use "say" from the console.
     
  4. Offline

    futsudesu

    Well, I have a question here...
    I'm a non-English-as-Mother-language user(aka Foriginer,)
    and I want to tweet with localized messages, such as:
    Code:
    <msg killer="falling">%n의 가정이 무너지고... 사회가 무너지고...</msg>


    Is this possible? Or does it result in an exception?
    and can I set the encoding of config xml to UTF-8?
     
  5. Offline

    croemmich

    yeah, that should work just fine.
     
  6. Offline

    feverdream

    Is Facebook support in the pipe?
    --- merged: Feb 5, 2011 9:01 AM ---
    I haven't seen Korean in years! Would you really want to post that society is collapsing, or about the collapse of a family? I guess that could be used for RP or Guilds.. ;)
     
  7. Offline

    croemmich

    Maybe... explain...
     
  8. Offline

    futsudesu

    Well, it's a well-known gag verse from a guy called Air-Jang(에어장) that tried to fall down to suicide *chuckles*
    So nothing related to a RP or guild. That's why the dead sign is "fall."
     
  9. Offline

    TnT

    Any SQLite support?
     
  10. Offline

    croemmich

    Not currently. I'll add it to the todo list.
     
  11. Offline

    TnT

    Thank You!
     
  12. Offline

    feverdream

    They have an api that lets you post status updates from apps.. consider this info an offering of peace :)
     
  13. Offline

    croemmich

    I'll add that to the todo list also.

    TODO:
    Facebook
    SQLite
     
  14. Offline

    M1sT3rM4n

    Can you remove the red and grey text that comes before the Event message in the chat?
     
  15. Offline

    maehze

    Code:
    2011-02-08 15:20:02 [SEVERE] Exception while creating ServerEvents/server_events.txt
    java.io.FileNotFoundException: ServerEvents/server_events.txt (No such file or directory)
            at java.io.FileOutputStream.open(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
            at java.io.FileWriter.<init>(FileWriter.java:46)
            at org.bukkit.croemmich.serverevents.DataSourceFile.init(DataSourceFile.java:29)
            at org.bukkit.croemmich.serverevents.DataSourceFile.<init>(DataSourceFile.java:19)
            at org.bukkit.croemmich.serverevents.DataSource.addFileDataSource(DataSource.java:43)
            at org.bukkit.croemmich.serverevents.DataParser$DataHandler.startElement(DataParser.java:174)
            at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
            at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
            at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
            at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
            at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
            at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
            at javax.xml.parsers.SAXParser.parse(SAXParser.java:277)
            at org.bukkit.croemmich.serverevents.DataParser.load(DataParser.java:30)
            at org.bukkit.croemmich.serverevents.ServerEvents.initProps(ServerEvents.java:130)
            at org.bukkit.croemmich.serverevents.ServerEvents.onEnable(ServerEvents.java:72)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:400)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:175)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:74)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:55)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:167)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:154)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:106)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:202)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-02-08 15:20:02 [WARNING] ServerEvents: Could not make text file at: ServerEvents/server_events.txt
    2011-02-08 15:20:02 [INFO] ServerEvents version 1.3 is enabled!
     
  16. Offline

    croemmich

    Red and gray text?
    --- merged: Feb 8, 2011 8:22 PM ---
    Odd what OS are you running?
    Just make a folder called ServerEvents in your plugin folder and put this file in it.
     
  17. Offline

    M1sT3rM4n

    [​IMG]

    The line of text above the Event sentence.
     
  18. Offline

    croemmich

    Definitely not my plug in doing that...
     
  19. Offline

    M1sT3rM4n

    Thanks! Was able to isolate the problem :)
     
  20. Offline

    maehze

    yes ....
    Code:
    <file enabled="false" uri="ServerEvents\plugins\server_events.txt" keep_old="5" />
    
    will solve the problem :-P

    im running debian stable so i changed it to
    Code:
    ServerEvents/plugins/server_events.txt
     
  21. Offline

    nakashimakun

    Hello.

    I have got a very strange error with your plugin.

    since they decided to seal org.bukkit.ChatColor.LIGHTBLUE is causing me bad error in my logs saying is it upto date and then I got java.lang.IllegalArgumentException: No enum const class org.bukkit.ChatColor.LIGHTBLUE

    I suspect if you take that bit of code out this would work fine on bukkit [290] :)

    Brian.
     
  22. Offline

    tetrahedonism

    Got a bit of a strange problem. On the twitter feed, it displays:
    Code:
    Oh a wandering soul has entered the server, hi §ctetrahedonism§f 11:19:47 PST
    It's the §c and §f in there that I'm concerned about. I assume it's from... Permissions and me being and Op, but would there be any way to strip it from the feed?
     
  23. Offline

    croemmich

    Bug fixes coming soon... probably Friday.
     
  24. Offline

    tygreen19

    i create a batch file in the same directroy and i run it. it gives me a URL to follow telling me to enter a pin. i follow the URL but it just gives me an error page saying the token has already been used?

    i have also tried runing java -jar serverevents.jar in the servers cmd prompt. i have also dragged and dropped the file directly into the cmd prompt. it doesnt do anything on either one. the only way to get any response is thru a batch file

    edit: nvm. i am running CB build 298 and it is giving me an error i did not see when the server loaded up.
     
  25. This is a cran-tastic plugin. My players love the twitter feed and it's so slick :)

    My question: I have a server event that announces the arrival of a player, but there's also the yellow text that announces it too. I'd rather have server events announce, so where do I disable the yellow standard text? I know this isn't really in the realm of the plugin.. but my google-fu is weak :(

    EDIT: Looks like Colecf already asked. Awaiting your reply patiently :)
     
  26. Offline

    ndoto

    Firstly, I absolutely love ServerEvents; thanks so much for doing this - I was looking for something just like it and was so glad to find it!

    Next, I have a question - after installing ServerEvents, the server seems to lag for a while for other players when a player is joining or leaving the server. Is this an issue you're aware of/is anyone else having this issue?

    Thanks so much for your work on this plugin!
     
  27. So I used this plugin for about a day, until I noticed my server would stop itself. I uninstalled the plugin and my server doesn't stop anymore... is this a common bug for anyone else?
     
  28. Offline

    awem

    The plugin works great. I wish, however, that I could disable the twitter timestamps so the messages look like in the screenshot in the first post. Twitter has timestamps of it's own anyway.

    Code:
    Server shutting down. 05:04:41 CET
    6 minutes ago
    05:04:41 CET - do not want
     
    Hamburger Helper likes this.
  29. Offline

    tygreen19

    HA! got it.. i must have missed a capital letter or something. works perfectly! thank you!
     
  30. Offline

    SliMeY_G

    A couple of requests, if I may? (Hopefully they're easy!)

    - When writing to the database, would it be possible to change the schema to record the notification type? E.g. start, stop, join, quit, death, etc.?

    - I can't seem to add a delay value to the join message. Does it work the same way as random or does everything apart from random not have a delay? It'd be great to be able to delay a join message by a specified value, so when people join they get the motd, and then the server event
    comes in last so it's guaranteed to be read instead of competing against the motd?

    Edit: My "join" tag:
    Code:
    <join enabled="true" file="false" chat="true" twitter="false" database="false" delay="10000">
    Cheers.
     
  31. Offline

    Kelly Becker

    Unforunately i had to disable this plugin because it was crashing my server and keep essentials from running. Love to use it again...
     

Share This Page