Inactive [CHAT] IRCTransport 0.13.0 - Minecraft Chat/IRC Integration[1.2.3-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by hef, Feb 4, 2011.

  1. Offline

    hef

    This Bukkit plugin replaces minecraft chat system with a connection to an IRC Server. All IRC Connections happen Bukkit server side, so either run your own IRC server, or make sure that you are allowed to use mutiple connections on the IRC server of your choice.
    Available settings:

    Put these in IRCTransport/plugin.yml file with appropriate values.

    Code:
    verbose: false
    suppress:
      initial_userlist: false
      initial_topic: false
    server:
      address: localhost
      port: 6667
      ssl:
        enabled: false
        trust: false
      nicksize: 16
      webirc_password: p@$$w0rd
    default:
      prefix: '[MC]'
      suffix:
      channels:
        - channel: '#minecraft'
    messages:
      chat-irc: '&9[&b${CHANNEL}&9] &3${NICK}: &f${MESSAGE}'
      quit: '&3${NICK} &fleft'
      private: '&2${NICK}&f to you: &f${MESSAGE}'
      part: '&3${NICK} &fleft'
      rename: '&3${OLDNICK} &fis now &3${NEWNICK}'
      kick: '&3${NICK} &ckicked by &3${OP}: &${REASON}'
      join: '&3${NICK} &fjoined &b${CHANNEL}'
      list: 'On &9[&b${CHANNEL}&9]: &3${LIST}'
      topic: '&9[&b${CHANNEL}&9] &3Topic: &f${TOPIC}'
      action: '* &3${NICK} &a${ACTION}'
    translations:
      hit the ground too hard: hit the ground
    
    The server address setting is mandatory. All other settings are optional.

    Normal Settings:

    Your config.yml will look a lot like this:
    Code:
    server:
      address: irc.example.com
    default:
      channels:
        - channel: '#minecraft'
    
    Available commands:

    Code:
    /join #channel [key]
    /leave #channel
    /channel #channel -- changes your active channel
    /msg user -- send a private message to a user
    /nick new_name  -- change your display name.
    /names -- shows users in your channel
    /me action to perform -- performs an irc action
    /topic -- get or set the channel topic
    /whois -- gets information about the nick
    
    Download
    Source
    Features:

    • Minecraft chat is replaced with an IRC session.
    • Private messaging works in game.
    • IRC channels are joinable in game.
    Changelog:
    Version 0.13.0
    • Leaving a channel sets another channel active.
    • Disabling IRC <-> Minecraft color code mapping (for now).
    • Added message customization support.
    • Added basic translation support.
    • Added trust all SSL option.
    • Fixed bog on player join.
    • Added WebIRC support.
    • Added Metrics
    Version 0.12.0
    • Works with Bukkit 1.1 (and 1.2)
    • Fixed bug in DeathMessage
    Version 0.11.2
    • Fixed /msg showing usage everytime.
    Version 0.11.1
    • Fixed nullUSERNAMEnull bug.
    Version 0.11
    • Fixed a potential reload bug
    • Changed from using server.properties to using IRCTransport/config.yml
    • Added /whois support.
    • Added nick persistance.
    Version 0.10
    • Added nickanme prefix and suffix options.
    • Fixed Automatic reconnect after plugin is disabled or server is stopped.
    • Added Error message for nick name already in use.
    • Fixed a null exception when the console tries to use irc commands.
    • Channel parts (leaving a channel) are now announced.
    • Channel kicks is now announced.
    • Added some handling for "Connection reset" errors.
    Version 0.9
    • Fixed PlayerJoinEvent/PlayerQuitEvent changes
    • Added channel key support.
    • Added auto join key support.
    • Made system messages yellow.
    Version 0.8
    • Actually fixed bug that 0.7 was supposed to fix.
    • Added irc.password and irc.port configuration options.
    Version 0.7
    • Fixed bug where IRC agent would reconnect after player disconnected.
    Version 0.6
    • Attempts to reconnect to IRC server on connection failure/disconnect.
    • Minecraft color to IRC color support in chat.
    • Color conversion code refactored.
    Version 0.5
    • Fixed a nickname change bug.
    • IRC color to minecraft color support in chat.
    • Removed TSLPC.
    • Channel topic support
    Version 0.4
    • Added /me support
    • Added /names support.
    • Added channel is invite only error message.
    • Changed output messages to use logging.
    • Fixed bug in nickname changing.
    Version 0.3
    • Renamed PlayerBot to IrcAgent.
    • Fixed join message detection.
    • Changed package name to hef.IRCTransport as per request.
    • Changed build system to Maven.
    Version 0.2
    • Player's name displays correctly when their name is changed.
    • Nick change notification added.
    • Nick already in use handling changed.
    • Active channel is switched on channel join.
    • Channel join messages.
    • Channel autojoin now a setting.
    Version 0.1
    • Basic irc features are functional in Minecraft.
     
    Bagels, someoneB, kvartz and 4 others like this.
  2. Offline

    someoneB

    Awesome dude! Also you got a point there.

    But what about the following suggestions/mad ideas:
    * The server's pseudo client has it's nickserv password in the config file (and gets autoopped on ID in #minecraft and #world1)
    If a player has the permission irc.autovoice.* that player will get voiced in both channels.
    If another player has the permission irc.autoop.world1 that player will get opped after join in #world1.

    No nickserv password would be needed for getting automatically the ability to talk in channels that have flood limits/+m/...
    If a server doesnt use a permissions plugin, default to: voice anyone and op serverops.

    * Players are autojoined (and possibly parted) in/from channels based on world they are in.
    Didnt think about the details too much...
    A player's permission of irc.worldautojoin.<worldname | *> could make him autojoin a world's channel (worldname <-> channelname could be defined in the plugin's config)
    A player's permission of irc.worldautopart.<worldname | *> would make player part world-channels automatically (analogy to autojoin)

    say i have the following permissions:
    irc.worldautojoin.*
    irc.worldautopart.world1

    I join the server and start in world1.
    Therefore i am joined into #minecraft (as in: global channel) and #world1 (world1's channel)
    Then i use a portal to world2.
    I am joined into #awesomeWorld (world2's channel) and parted from #world1 (and staying in #minecraft)
    I use another Portal to go back to world1
    I am joined into #world1 (staying in #minecraft and # awesomeWorld)
    If a server doesnt use a permissions plugin, default to: autojoin:* autopart: none.

    * Server Rcon via irc
    if a nick (list defined in plugin config) in a channel (list defined in plugin config) has a chmode (list defined in plugin config) let that person use server's rcon.

    Use something like:
    rcon
    ... minecraft
    ... ... default
    ... ... ... voice: unpriv
    ... ... nicks
    ... ... ... nick1
    ... ... ... ... op: priv
    ... world1
    ... ... default
    ... ... ... voice - unpriv
    ... ... ... op - priv
    ... world2
    ... ... nicks
    ... ... ... nick2
    ... ... ... ... voice: unpriv
    ... ... ... ... op: priv
    would do something like this:
    if nick1 is op in #minecraft let him use priviledged server commands.
    But if nick2 is op in #minecraft do not let him use priviledged server commands.
    Anyone voiced in #minecraft may use unpriviledged server commands.
    anyone voiced in #world1 may use unpriviledged server commands.
    anyone opped in #world1 may use priviledged server commands.
    nick2 in #world2 may use unpriviledged server commands, if voiced or priviledged server commands if opped.
    Anyone else cannot use the server's rcon.
     
  3. Offline

    Graindcafe

    Doesn't work anymore (for me) with lastest update (both plugin & server). I got "ChatService Disconnected" continously and
    Code:
    19:47:31 [INFO] Created agent for Player ID: 11260 name: Graindcafe
    19:46:44 [GRAVE] Exception in thread "bot8-output"
    19:46:44 [GRAVE] java.lang.RuntimeException: Trying to send message when no longer connected
    19:46:44 [GRAVE]      at org.pircbotx.OutputThread.failIfNotConnected(OutputThread.java:90)
    19:46:44 [GRAVE]      at org.pircbotx.OutputThread.run(OutputThread.java:102)
    
     
  4. Offline

    LlmDl

    Townychat + CraftIRC work fine, it should be very possible to get this working in this plugin, though I'm not familiar with this one.
     
  5. Offline

    Tott3

    Can't get this to work, dosen't generate the config files for me :/
     
  6. Offline

    hef

    Can you post your config?
    The message literally means that the IRC clients cannot connect to the irc server. Are you running an IRC server, is it local or remote?

    Do you get any messages printed in the server log? What server version are you using? What version of the plugin are you using.

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

    Graindcafe

    I run a local IRC server, and I don't think the problem come from the config file as I use your plugin since a while and it always worked great. But here is my config
    Code:
    # Config File for IRCTransport
    # See the website for more information
    verbose: false
    suppress:
      initial_userlist: false
      initial_topic: true
    server:
      address: localhost
      port: 6667
      ssl: false
    default:
      channels:
      - channel: '#Commun'
     
    
     
  8. Offline

    hef

    I have 3 suggestions.

    1: Delete the line that says "ssl: false"
    Unfortuenatley there is a change in ssl handling in the config that doesn't auto update correctly. I don't think this is the cause of your issue, just something I noticed.
    2: Either you are on 0.12.0 or earlier, or the plugin is not auto-updating your config at all. There should be several new config settings added. Again, probably not the cause of your problem.
    3: Set verbose to true, and post the log of a user connecting to the server.
    I still don't know what is wrong, but sometimes verbose output helps.

    I recently saw that I failed to correctly update the download link, if you downloaded version 0.11.2 recently, please download again. At the time of this post, 0.13.0 is the current version.

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

    Graindcafe

    This should fix the problem, thanks ;)

    It doesn't work :(

    Code:
    # Config File for IRCTransport
    # See the website for more information
    verbose: false
    suppress:
      initial_userlist: false
      initial_topic: false
    server:
      address: localhost
      port: 6667
      ssl:
        enabled: false
        trust: false
      nicksize: 32
    default:
      prefix: '[MC]'
      channels:
      - channel: '#Commun'
    messages:
      chat-irc: '&3${NICK}: &f${MESSAGE}'
      quit: '&3${NICK} &fest parti'
      private: '&2${NICK}&f à vous: &f${MESSAGE}'
      part: '&3${NICK} &fest parti'
      rename: '&3${OLDNICK} &fest maintenant &3${NEWNICK}'
      kick: '&3${NICK} &ckicked by &3${OP}: &${REASON}'
      join: '&3${NICK} &fa rejoint &b${CHANNEL}'
      list: 'On &9[&b${CHANNEL}&9]: &3${LIST}'
      topic: '&9[&b${CHANNEL}&9] &3Sujet: &f${TOPIC}'
      action: '* &3${NICK} &a${ACTION}'
    translations:
      hit the ground too hard: hit the ground
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 8, 2016
  10. Offline

    hef

    If it's the same problem as before, set verbose to true, and post the log of someone connecting.
     
  11. Offline

    Graindcafe

    Yes it's the same problem, I will do that but I hadn't the time to do that
     
  12. Offline

    tehsu

    Woohoo, thanks for the WebIRC support.
     
  13. Offline

    Bagels

    Hello hef,
    Thank you for such a awesome plugin and thank you very much for adding WebIRC support <3
    The only problem i've encountered is that some users can't connect to IRC during connect it forces a persistant username starting with numbers which is default to kill on connect or decline the user from connecting to the ircd
    Heres the image of the error:
    [​IMG]
    Edit: I found deleting the database file and restarting the server fixes it temporarily
     
  14. Offline

    ZeroZX4

    i get this error whenever someone joins after i start server (i mean only 1st login)

    http://i.imgur.com/3JRuN.png

    error is about could not pass event or something but after i quit minecraft and join it again i got correct message that created agent for player

    but now i got error each time i connect

    here is my config http://pastebin.com/ktTZ91gV
     
  15. Offline

    Bagels

    Could we have a option for the ingame chat to show PEX's usergroups and selective group colours
     
  16. Offline

    ZeroZX4

    yea like separate setting for minecraft chat prefix and suffix and separate for irc users cause now its mixed up
     
    Bagels likes this.
  17. Offline

    Bagels

    Aye, After seeing so many popular servers have guild/faction names with their usergroup category I'm kind of jealous since i can't have more than 1 chat plugin setup. But i'd rather have IRCTransport than anything else.

    Also could you put up a donations for making such a awesome plugin and meeting with requests from users <3

    I would like to donate.
     
  18. Offline

    Wack0

    This may be a bump, but this is important.

    https://github.com/hef/IRCTransport/issues/32

    This plugin does not sanitise input from IRC before sending it to minecraft clients, leading to denial of service (via minecraft client crash) when "§" or "&" is at the end of a line. Read the bug report i just submitted for more.
     

Share This Page