[REQUEST] server twitter events

Discussion in 'Archived: Plugin Requests' started by mrgreaper, Jan 20, 2011.

  1. Offline

    mrgreaper

    we would love to have the server twitter certain events

    "oooh Mrgreaper just started playing" (mrgreaper joined)
    "mrgreaper is still addicted" (mrgreaper joined (idealy it would pick from a text file containing a random selection of join messages so it wouldnt just be mrgreaper joined))
    "mrgreaper has the 200 chicken lips" (a random message using the iconomy plugin)
    "bye bye mrgreaper" (mrgreaper exited)
    "i just had to kick mrgreaper" (admin kicked mrgreaper)
    "oh no! mrgreaper pancaked" (mrgreaper died by failing (in hmod there was a plugin that left a grave saying how you died....if the how you died hooks are in bukkit then there should be drowning,failing, zombie,fire)
    "mrgreaper no longer has brains...a zombie had a light snack) (mrgreaper got killed by a zombie)
    "im alive!" (server restart)

    an idea for the config file would be
    Code:
    TWITCONFIG.txt
    
    [Twitter]
    user= username
    pass= password
    
    [settings]
    random messages = true
    random messages delay = 10000
    #delay between random messages in seconds
    join messages= true
    disconnect messages = true
    death messages = true
    
    [random messages]
    # %n is name of player (in random 5n is picked using the player names located in the world folder)
    %n has +balance
    im h a p p y i know i am im sure i am im h a p p y
    i may be going slow at the moment im deleting your creations moo ha ha ha haaa
    im a little teapot short and stout
    were running many custom plugins
    shuffling blocks
    looking at all diamonds in chests, changing id to saplings...done
    dont forget to check the forum at http://www.here.com
    if your happy and you know it ...kick a player!
    
    [joined]
    ooo look %n is back
    if ti isnt my old friend %n, online again
    might as well not sign in %n is online
    oh a wandering soul has entered the server, hi %n
    hello %n
    guess who is addicted to minecraft? %n is oh yes he is!
    
    [ondeath]
    [zombie]
    munch munch munch grrr do i have any %n between my teeth?
    brains no more, sorry %n
    [failing]
    %n feels gravity sucks
    %n pancaked
    clean up isle 10! poor %n
    [fire]
    %n is hot today!
    %n is experiencing the disco inferno! oh wait no just the inferno
    thank god %n was wearing armour...now his ashes will be foil wapped
    [drowning]
    %n sleeps with the fishes (not in a perverted way more in stone block around the feet way)
    i feel sorry for %n he seemed to run out of air
    
    [ondisconnect]
    no come back %n, we miss you already
    *sound of cork being poped* %n has left the server PARTY!
    a wondering soul has eleft the server. Bye %n
    i regret to inform you %n`s addiction to mine craft is not as great as first believed...he managed to exit
    
    if someone could make that for us we will be very happy (and yes i was going for a server insane aproach....hell chicken lips is our currency!
     
  2. Offline

    mrgreaper

    is this asking the impossible? (im not a java programmer i dont know the restrictions)
     
  3. Offline

    DerpinLlama

    Probably. I don't know the Twitter API though.
     
  4. Offline

    croemmich

    That looks cool... I think I will give it a try.... and I don't even use Twitter.
     
  5. Offline

    DerpinLlama

  6. Offline

    mrgreaper

    cool thank you, even if you dont succed knowing someone is trying is always good :)
     
  7. Offline

    croemmich

    I have a good start. I also added the ability to print the messages to a database or text file so they could be used on a website.
     
  8. Offline

    mrgreaper

    ah so if there is a plugin already for twiter that will post new lines of a text file into twitter then were golden? or am i over simplefying lol

    either way again thank you for doing this for ue
     
  9. Offline

    croemmich

    haha.. you are very over simplifying. I know how to do everything... I just need time.
     
  10. Offline

    paletas

    When I'm done with learning Bukkit API, I might give it a try. I've only worked with the TwitterAPI with C#, shouldn't be to different in Java.
     
  11. Offline

    mrgreaper

    ah lol , well again thankyou for working on it, our players are looking fwd to our insane server twittering :)
     
  12. Offline

    M1sT3rM4n

    I used to use TwitterEvents before hmod broke so definitely possible :p
     
  13. Offline

    croemmich

    I'm just about done. I'll have something for you in the next day or so.
     
  14. Offline

    mrgreaper

    Cool thank you!
     
  15. Offline

    croemmich

  16. Offline

    mrgreaper

    again, THANK YOU!
     

Share This Page