[INACTIVE][INFO/CHAT] ServerIRC 0.3 - Minecraft server bot for IRC channels [617]

Discussion in 'Inactive/Unsupported Plugins' started by Dutchy, Feb 26, 2011.

  1. Offline

    Dutchy

    ServerIRC
    Creates a bot for the server that joins an IRC channel.
    Inspired by (and works great in combination with) IRCTransport. (Thanks hef!)

    Currently, it only forwards deaths of players to an IRC channel by using HeroicDeath.

    Available settings:
    Put these in Minecraft's server.properties file with appropriate values.
    Code:
        irc.server=
        irc.autojoin=
        irc.verbose=false
        irc.serverbot=MineCraft
    
    The irc.server setting is mandatory. All other settings are optional.
    Set irc.autojoin to a channel to have your bot autojoin that channel.
    Use irc.serverbot to set the bot's name.

    Features:
    • Let a bot join an IRC channel.
    • Listen to custom events.
    Downloads:
    ServerIRC v0.3
    Source

    Optional Addons:
    • Use HeroicDeath 1.4.2+ for death events. Set events.only if you don't want HeroicDeath to do anything else.
    TODO:
    TODO
    Changelog:
    Version 0.3
    • Removed debug stuff from the previous version
    • Fixed an error if HeroicDeath was missing.
    Version 0.2
    • Working Colors
    Version 0.1
    • Basic bot features.
    • HeroicDeath events.
     
  2. Offline

    SquallSeeD31

    Confirmed working in 448 and up with HeroicDeath.
     
  3. Offline

    DierWolf

    I used to be in the whoe IRC thing, but exactly how do i do this? any breif explanation would be great
     
  4. Offline

    Dutchy

    First, download ServerIRC and HeroicDeath to your plugins folder.
    Configure the following settings (example):
    Code:
        irc.server=xs4all.nl.quakenet.org
        irc.autojoin=#yourchannel
        irc.verbose=false
        irc.serverbot=MineBot66
    
    The irc server can be any server you want, and you can configure any channel. Then, just start the server and the bot will join that channel! If you have HeroicDeath installed, try dying and you will see a message appear.

    Works best with IRCTransport, which replaces the whole chat with the server/channel you have configured.
     
  5. Offline

    fugue2005

    can this be made to work with nickserv?
     
  6. Offline

    Dutchy

    test
    --- merged: Mar 2, 2011 8:15 PM ---
    For some reason my replies keep overwriting eachother
    --- merged: Mar 2, 2011 8:17 PM ---
    Anyway, I've updated the thread, released version v0.2 (color support) and added some stuff to the todo (issue) list.
    --- merged: Mar 2, 2011 8:18 PM ---
    I am going to need some info on how nickserv works, but I'll consider it.

    Note: What worth is nickserv for a 24/7 online bot?
     
  7. Offline

    Tunaaja

    how that color support works?
    I just don´t get colour from heroicdeath.
    Only like this: < Fuuuu> §3petrotapio§c was killed by an angry §3Skeleton§c
     
  8. Offline

    Dutchy

    it replaces the §3 with a colorcode... Are you sure you have version 0.2 ?
     
  9. Offline

    victort

    if you ever find it in your heart to add join/parts i'd be so happy!!

    kthxbai
     
  10. Offline

    Dutchy

    That would definitely go last on the priorities list, since I use IRCTransport already and see the joins/parts through there :)
     
  11. Offline

    Tunaaja

    Oh, sorry. I was accidently having both versions on plugins folder :)
    Now colors work but even if i have "irc.verbose=false" on server.properties i get these:
    00:28:23 < Fuuuu> From: CraftPlayer{name=tunaaja}
    00:28:25 < Fuuuu> Received: PLAYER_COMMAND_PREPROCESS
    00:28:26 < Fuuuu> Message: /home
     
  12. Offline

    Dutchy

    It appears i have accidently uploaded a test version then. I will fix this immediately.
    --- merged: Mar 4, 2011 12:49 AM ---
    Fixed another error while I was at it. Try version 0.3 :)
     
  13. Offline

    Tunaaja

    Thanks.
    Alltough it seems that serverirc is not compatible with craftirc and minecartmania :<
    Craftirc doesnt work properly and minecartmania gives quite a lot errors when serverirc is installed.
    I hope this is easy to fix :)
     
  14. Offline

    Dutchy

    You'll have to give me some more info about the problems you're experiencing.
     
  15. Offline

    Tunaaja

    Ok, sorry
    I can´t use .players command with craftirc if serverirc plugin is enabled and with minecartmania it does this:

    19:08:28 [SEVERE] Could not pass event CUSTOM_EVENT to ServerIRC
    java.lang.NoClassDefFoundError: com/amagineer/bukkit/minecraftchecker/MinecraftStatusEvent
    at tuincraft.ServerIRC.CustomListener.onCustomEvent(CustomListener.java:29)
    at org.bukkit.plugin.java.JavaPluginLoader$53.execute(JavaPluginLoader.java:398)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    at com.afforess.minecartmaniacore.MinecartManiaMinecart.initialize(MinecartManiaMinecart.java:62)
    at com.afforess.minecartmaniacore.MinecartManiaMinecart.<init>(MinecartManiaMinecart.java:46)
    at com.afforess.minecartmaniacore.MinecartManiaWorld.getMinecartManiaMinecart(MinecartManiaWorld.java:64)
    at com.afforess.minecartmaniacore.MinecartManiaCoreListener.onVehicleUpdate(MinecartManiaCoreListener.java:52)
    at org.bukkit.plugin.java.JavaPluginLoader$52.execute(JavaPluginLoader.java:391)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    at net.minecraft.server.EntityMinecart.f_(EntityMinecart.java:472)
    at net.minecraft.server.World.a(World.java:1011)
    at net.minecraft.server.WorldServer.a(WorldServer.java:53)
    at net.minecraft.server.World.f(World.java:993)
    at net.minecraft.server.World.d(World.java:970)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:354)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.amagineer.bukkit.minecraftchecker.MinecraftStatusEvent
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 19 more
     
  16. Offline

    Dutchy

    This is the bug I should have fixed in v0.3 ... are you sure you have version 0.3 ?

    .players for CraftIRC not working sounds like a CraftIRC bug, but I couldn't say for sure without more info.
     
  17. Offline

    Animosity

    .players works when ServerIRC is not enabled, but from your code I can't see why. I can't for the life of me figure out why someone would want to run two such IRC plugins on the same server either, but Tuna is the only one to manage to break it with said configuration.
     
  18. Offline

    Dutchy

    Alright, I'll have a look at both codes too, see if I can figure it out. But as you say, I don't know why anyone would run both at the same time either :p
     
  19. Offline

    Tunaaja

    Becose i want to see ingame chat and death notifications in irc and i can´t use irctransport (limited irc connections)
     
  20. Offline

    victort

    same here, hence my hope join/parts would be added to serverIRC. =/
     
  21. Offline

    Dutchy

    I've been meaning to add some cool stuff to ServerIRC but can't because I have to wait for updates of other plugins and updates to bukkit. Perhaps I'll do optionally showing joins/parts but it'll take while, have to work on other plugins + irl stuff.
     
  22. Offline

    TnT Retired Staff

    Can you test with the latest RB - 531 please and update accordingly?
     
  23. Offline

    Dutchy

    Will do
     
  24. Offline

    Dutchy

    Tested to be working with 617, additional features are still planned but I still don't have the time :)
     
  25. Offline

    victort

    still working great on 740.

    REALLY wish it would output joins and parts =/
     
  26. Offline

    Plague

    considered inactive
     

Share This Page