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

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

  1. Offline


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


    The server was having issues; the links should work fine now.
  3. Offline


    Can anyone help me to set it up with Twitter? thanks in advance
  4. Offline


    1. Run java -jar ServerEvents.jar from the command line. You can also do this in the same way as you increase the RAM for your server.
    2. Running this command will give you a web address. Make sure that you're signed on to Twitter. Once you are, open the link.
    3. Twitter will give you a verification number. Plug that into the java window. The Java window will return two keys. Place them in your server events file like this:
      <twitter enabled="true" accessToken="thisistheaccesstokentwittergaveyou11111111" accessTokenSecret="thisisthesecrettokentwittergaveyou11111111" rate_limit="350" timestamp_hour_offset="0" />

    Could you give us the option to disable timestamps? Twitter already timestamps everything, and it's just redundant and kinda annoying.
  5. Offline


    Feel like testing out a dev build with that option? The new option defaults to "false", not adding the timestamp. Let me know if it works for you, and if you have time for it, test enabling it in your config (by adding add_timestamp="true" to the twitter setting) to see if that adds the timestamp back like it should.

    If it works as intended, I'll push it out as a public release.
  6. Offline


    I'll put this up on my server sometime soon and see if it works.

    Just applied it to the server. It seems to be working so far. You can test it yourself by logging onto my server and looking at my Twitter feed.

    My site, http://mc.harmonygaming.com/ has a twitter feed on the sidebar, and the server address is harmonyminecraft.dyndns.org
  7. Offline


    OK then, went ahead and released it as 1.4.2 officially.
  8. Offline


    Getting this error:
  9. Offline


    So it's indicating it can't connect to the database and recommending you check your credentials in "\plugins\ServerEvents\server_events.xml". Have you had it successfully connect to and work with your database previously?
  10. Offline


    I got it to work, Thank you though :D
  11. Offline


    Hello, and thanks for the awesome plugin that has racked up over 4500+ tweets on my server's twitter account!

    I just wanted to point out an NPE that I just started running into a few minutes ago on the latest RB. I should note that this is only an issue when used in conjunction with the Combat Tag plugin. Also, even though it throws an error it still sends a message to server chat and tweets successfully, so really it seems to be a minor issue.

    [SEVERE] Exception in thread "Thread-26466"
    [SEVERE] java.lang.NullPointerException
    [SEVERE]    at com.wimbli.serverevents.Messages.getReplacementsForPlayer(Messages.java:134)
    [SEVERE]    at com.wimbli.serverevents.DeathThread.run(DeathThread.java:134)
    [SEVERE]    at java.lang.Thread.run(Thread.java:722)
    [SEVERE] Exception in thread "Thread-26481"
    [SEVERE] java.lang.NullPointerException
    [SEVERE]    at com.wimbli.serverevents.DeathThread.run(DeathThread.java:64)
    [SEVERE]    at java.lang.Thread.run(Thread.java:722)
    [INFO] ServerEvents: Lava604 was killed by LazyLegz using a air.
    [SEVERE] Exception in thread "Thread-26484"
    [SEVERE] java.lang.NullPointerException
    [SEVERE]    at com.wimbli.serverevents.DeathThread.run(DeathThread.java:64)
    [SEVERE]    at java.lang.Thread.run(Thread.java:722)
  12. Offline


    Thanks for the report, I'll look into it.
  13. Offline



    The time stamp is important or Twitter will start rejecting the tweets. I didn't realize the update turned this off by default (that's what I get for not reading the patch notes) so I came here to get directions to turn it back on, as I'm getting this from twitter already:
    14:44:05 [SEVERE] ServerEvents Twitter: 403:The request is understood, but it ha
    s been refused. An accompanying error message will explain why. This code is use
    d when requests are being denied due to update limits (http://support.twitter.co
    error - Status is a duplicate.
    request - /1/statuses/update.json

    it doesn't seem ServerEvents supports an internal reload command to reload the XML unless i'm missing it which might be a good idea to add
  14. Offline


    Please only post in one place, either this topic or the comment section on BukkitDev.
    Anyway, to repeat my answer for other peoples' sakes:
    in the "<twitter" definition in server_events.xml, add this: add_timestamp="true"
    So, for example:
    <twitter enabled="true" blah="blah" etc="etc" add_timestamp="true" />
  15. Offline


    Released 1.4.3.

    Primarily a compatibility release to support the upcoming CB 1.1-R5 and above.

    * Update to use the new Bukkit event system.
    * Hopefully, a fix for the rare non-fatal NPEs seemingly caused by the death event object being lost before the death report thread finishes.
    * Removed the plugin's "loading" and "shutting down" log messages since Bukkit now handles those itself.
  16. Offline


    Any way to reload the XML file?
  17. Offline


    Released 1.4.4.
    • Fix for deaths with no "last damage cause" triggering an NPE; could occur from deaths caused by CombatTag, for instance
    • Fix for output to file being completely broken

    Beyond restarting the server, no, sorry. This plugin doesn't have any commands.
  18. Offline


    Released 1.5.0

    • ServerEvents now has 2 commands: /serverevents reload, and /serverevents register.
    /serverevents reload- reload data from server_events.xml without having to restart server. Requires serverevents.reload permission.​
    /serverevents register - register with your Twitter account (this is an alternate method to doing it by executing the JAR outside of CraftBukkit). Requires serverevents.register permission.​

    Registration process now outputs the initial authorization URL to the file "/plugins/serverevents/twitter_key_info.txt". Once you have entered the appropriate PIN to complete the process, it will also output a completed twitter entry to the same file above, which can be copied over into your server_events.xml file.​
    This is mainly to help facilitate going through Twitter registration as a player in-game, though running it through the server console is recommended. After completing registration and updating your server_events.xml file accordingly, you can of course then use /serverevents reload to get the Twitter integration up and running.​
    • Changed default Twitter "add_timestamp" setting back to true, since Twitter otherwise has been reported to start rejecting duplicate messages.
    Note that it's only compatible with CraftBukkit 1.1-R6 and above, so don't expect it to work in 1.1-R4 and lower.
  19. Offline


    I have an unfortunate announcement: since I've just closed down my own Minecraft server for various reasons (mostly boiling down to me not having enough time to devote to it), most of my motivation for working on Bukkit plugins is now gone. I most likely will not be actively developing any plugins I'm involved in from this point on. However, I still plan to maintain all plugins as needed for new Bukkit releases and minor bugfixes and such, I just probably won't be adding any major new features or answering much in the way of support questions.

    The source will remain available for all plugins, and I'd welcome anyone to take up active development. For Factions, Cayorion / Olof (the original author and still constant contributor for the plugin) will of course remain to develop the plugin and will continue to run the Massivecraft server.

    If anyone really wants a particular feature added to one of the plugins I've worked on, I will still consider doing sponsored feature requests; no promises, of course.

    Also, for Factions, I plan to try to make sure the 1.7 branch is ready before halting active development on it. There will also be at least one more 1.6.x release before then, probably quite soon. So, this announcement is a bit in advance of me ceasing active development on Factions.

    Sorry, guys. Again, I will at least try to bugfix and maintain my plugins for Bukkit updates, but that's about it.
  20. Offline


    Little bit of a dead end... So how exactly does one make it Tweet? Also, how would I disable the in game messages?

Share This Page