[INACTIVE][INFO] Informant v1.6 - Basic Login message, MOTD and GeoIP [602]

Discussion in 'Inactive/Unsupported Plugins' started by MarkusNemesis, Jan 18, 2011.

  1. Offline

    MarkusNemesis

    [INFORMANT]

    tl;dr - a Plugin that displays an MOTD and the player list in a specified colour, as well as inform users of a new user. Can be set up to display user's name and country when joining

    Features:
    Config file can set MOTD (up to 5 lines) and the colour you want it to be exported as
    !infreload reloads the MOTD
    !motd displays MOTD again along with the playerlist (This Command can be edited in the informant.properties)
    !playerlist displays the playerlist (This Command can be edited in the informant.properties)
    Please note!:!motd and !playerlist will ONLY be set as the default, if you set them as active in your informant.properties file. e.g. to enable !motd, enter "motdcmd=" or "motdcmd=!motd". If you don't wish it to be !motd you can make it "motdcmd=!<anything you like>" and it will trigger the same as !motd. Same goes for !playerlist, you have to set it to use it. and you can set it to whatever you like.

    How-to:
    1. Install the informant.jar into your plugins directory and start and stop the server (creating the informant.properties file in the server root directory then /plugins/informant/<here>)
    2. Edit the informant.properties file to show "motd=Your MOTD Here"
    3. For multiple lines, line 2 would be "motd2=this is line 2" up to "motd5=this is line 5, the last line"
    4. Below that, type "colour=" and then 1 of 16 colours
    Code:
    black
    dark blue
    dark green
    dark aqua
    dark red
    dark purple
    gold
    gray
    dark gray
    blue
    aqua
    green
    red
    light purple
    yellow
    white
    
    5. the "!playerlist" command output can be customised using "playlistmsg=". e.g "playlistmsg=Current players are: " which will, when !playerlist is typed output "Current players are: MarkusNemesis"

    Inside your MOTD, you can have % codes:
    %p will display the connecting player's name. (e.g. "motd=Welcome %p!" will output "Welcome Markusnemesis!")
    %n displays the player count. (e.g. motd=Welcome %p, there are currently %n player(s) playing" will output "Welcome MarkusNemesis, there are currently 1 player(s) playing"
    %l resolves the user's IP address to a country. NEW!

    All of these outputs will be in the colour you chose.

    6. Server now informs others on the server of a user's first time when they join. This message is customised using "newusermsg=", e.g. "newusermsg=%p is new! say hi!"

    7. Player joining the server executes the new "playerjoined=" field in the properties file. playerjoined= uses the same %commands as all and displays to all players.

    How to disable features:
    Refer to the example informant.properties file below for an explanation as to how.

    EXAMPLE INFORMANT.PROPERTIES FILE

    WHEN UPGRADING VERSION, PLEASE RE-READ ALL OF THE ABOVE FOR CHANGES!

    DOWNLOAD Version 1.5
    Download Version 1.5.1 build #107
    Download Version 1.5.2 build #450 NOT BACKWARDS COMPATIBLE
    DOWNLOAD Version 1.6
    Download Version 1.6 build #470 !help now displays help
    Download Version 1.6.1 build #470 player list now displays on login if set to.
    Download Version 1.6.1 build #556 (Informant builds were based off bukkit builds, not craft bukkit builds... Has since been recompiled for craftbukkit #556)
    Download Version 1.6.1 build #602
    Download Version 1.6.2 build #602 (No new features, just bug fixes.)

    Any suggestions? please leave them below!

    Updated to CraftBukkit #81

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

    MarkusNemesis

    If you have any ideas for any different kinds of plugins, just let me know and ill do it :) well at least try.
     
  3. Offline

    haschtekaschte

    arg i cant test it verry well cause minecraft wont let me in my server =( but the times i joind it worked on 1.2
     
  4. Offline

    MarkusNemesis

    Don't fear the infinite loop. Toasty and I fixed it :)

    Still looking for ideas for 1.4

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

    DirktheJerk

    Just as a note, using craftbukkit build #107, the informant.properties file is never created for some reason. The plugin works, but the properties file is missing.
     
  6. Offline

    MarkusNemesis

    okay, ill get right on that.
    --- merged: Jan 21, 2011 12:10 PM ---
    Also! some random statistics:

    Version 1.2 was downloaded uniquely 47 times.
    Version 1.3 has been so far downloaded 88 times.
    The 1.2 to 1.3 changelogs have been read 21 times.

    Version 1.4 has been released.

    Links fixed because i'm a derp

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

    Rallerbabz

    %l & %p doesnt work for me :S
     
  8. Offline

    MarkusNemesis

    post your properties file here?
     
  9. Offline

    Rallerbabz

    I've just set it up as you mentioned in your first post to test..

    oh btw, couldnt edit before you answered(lol) - I ment %l & %n (not %p)
    the output ingame is:

    EDIT: I'm using Version 1.4 and build 115.
     
  10. Offline

    MarkusNemesis

    try redownloading. it works here for me. Although i have found a bug in the "newuser" event. but nothing to do with %commands.
     
  11. Offline

    Rallerbabz

    oh mate..just found the issue i gues..
    "[INFORMANT] version 1.3 is enabled"
    - I've redownloaded it 3 times and it still says this? :S Maybe the wrong .jar you uploaded?
     
  12. Offline

    dida55

    With build 110 it doesn't seem to work. /plugins/informant/informant.properties is exactly the same you told to do. /motd uknown command
     
  13. Offline

    MarkusNemesis

    did you make the "motdcmd=/motd" ? and then start the server? or did you edit it with the server running?
     
  14. Offline

    dida55

    i didn't do "motdmcmd=/motd" but i did editing when the server was stopped. I updated to 115 and when i login motd message appears but /motd still deosnt work.
     
  15. Offline

    MarkusNemesis

    I'll look into this ASAP. Something may have broke during the build i compile on and the latest one.
     
  16. Offline

    dida55

    Okay, thank you. MOTD does appear fine now, also it echoes my name when i log in, but thats all :p
     
  17. Offline

    MarkusNemesis

    that echo of your name is the playerlist displaying after the MOTD. you need to write in the "playerlistmsg=" i believe.
     
  18. Offline

    dida55

    yep, i guess :) is that normal that my informant.properties file is not in the root dir as you mentioned in OP?
     
  19. Offline

    MarkusNemesis

    It should be in the /plugins/informant directory. the OP is getting hard to maintain!

    I've corrected the OP
     
  20. Offline

    dida55

    cool any news about a new fixed version?
     
  21. Offline

    MarkusNemesis

    Almost finished. Just trying to fix a wierd quirk with If statements executing their contents when theyre not true.

    resulting in the MOTD's 5 lines being output regardless of if it has anything in them or not.
     
  22. Offline

    dida55

    okay, i can't wait for you to release it :D
     
  23. Offline

    MarkusNemesis

    I only started this plugin to force myself to learn Java. And beings as its ACTUALLY being used (my estimates show 50+ users), i need to keep the masses happy, and thus, learn more! It's a perfect system!
     
  24. Offline

    dida55

    Well, this plugin has an awesome name, easy usability and it's functions are awesome! So... I can't wait for the fix xD
     
  25. Offline

    MarkusNemesis

    Makes me damned warm and fuzzy, and maybe even a little tear in the eye of pride :)
     
  26. Offline

    dida55

  27. Offline

    Rallerbabz

    now, shut up ya girltalk and fix that damn plugin :D - anyway - I'm deeply indeed - Its an awesome plugin + genius name - the name says alot actually :)
     
  28. Offline

    dida55

    I wouldn't mind neither xD
     
  29. Offline

    MarkusNemesis

    Fix is done, uploading it now
     
  30. Offline

    dida55

    Great, thank you :3 I love you xD

    One more question: do you know any plugin that makes admins red-named mods orange or something like this?

    Second question: Where can i disable mobs in bukkit? ^^
     
  31. Offline

    MarkusNemesis

    Disable mobs in the server.properties. look it up on the minecraft wiki.

    Colour mods... i do not know.
     

Share This Page