SimpleIRC-Formatter

SimpleIRC-Formatter

Description

Provides chat formatting to messages sent from IRC using the SimpleIRC plugin, you need Vault for this to work as that is used to get the format from whichever permissions plugin you are using.

Bug Reports / Suggestions

If you find a bug, encounter a problem or have a suggestion, please fill out a ticket via the Tickets link above. I do not have the time to read through the comments section, any comment that fits the previous three categories will be ignored.

Usage

The plugin does not have any config or commands, it gets everything from SimpleIRC and Vault directly. Simply drop it in the plugins folder and restart the server.

Config

The default config file will look like this

default-prefix: '<'
default-suffix: '> '
irc-prefix: '&b[IRC]#r'

default-prefix and default-suffix set the prefix and suffix that will be used when one cannot be found from Vault, these will usually be the same as for your default group but you may wish to set a different value. irc-prefix is an additional prefix that is prepended to all messages from IRC to the game.

Contributing

Contributions to the project are very much welcome, if you have a feature that you want implemented and know a nice way to do it then consider forking the repo and submitting a pull request. These will be accepted as long as the following simple guidelines are followed.

  • Do not edit the structure of the pom.xml file, feel free to add a dependency if you need it but the formatting and structure should not be changed.
  • If you are exposing a new API method, add a JavaDoc comment to it, but don't over-comment internal code.
  • Follow the existing code style, don't antagonise over every space though !

All dependencies that are used are now available from a public Maven repo, so you don't have to worry about building several other projects just to add a simple change any more.

Source Code

Available on GitHub.

Dev Builds

Changes Since Last Release

Download

Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.

http://bukkit.jacekk.co.uk:8000/job/SimpleIRC-Formatter/

Download Stats

View detailed stats

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of TheCoolGuy123_5_Minecraft_ TheCoolGuy123_5_Minecraft_ Jun 16, 2013 at 14:05 UTC - 0 likes

    I have this as my config: default-prefix: '[' default-suffix: '] ' irc-prefix: '&b[IRC]&r'

    and the outcome is:

    http://i.imgur.com/plTDwlX.jpg (Image a bit too spammy here)

    Last edited Jun 16, 2013 by TheCoolGuy123_5_Minecraft_

    Jackz Craft Owner
    http://jackzcraft.com

  • Avatar of wide_load wide_load Apr 10, 2013 at 13:20 UTC - 0 likes

    @ic_trab: Go

    The prefix is simply added to the start of the message, so if it does not end in a reset code then the colour will continue.

  • Avatar of ic_trab ic_trab Apr 09, 2013 at 12:03 UTC - 0 likes

    Hello I am using pex and the output from vault seems to not be separating player names from the chat.

    Also the player colors are "leaking" onto the chat.

    I have tried fiddling around with prefixes and suffixes and the string formatting to no avail.

    My name from pex is like this (without the quotes): Prefix: "&b|IC| " Name: "trab"

    That part is coming out fine however the chat after my name is the same colour as the prefix and the usual ": " after my name is not there.

    Any ideas?

  • Avatar of Matthew_Cowley Matthew_Cowley Mar 17, 2013 at 17:06 UTC - 0 likes

    @wide_load: Go

    Thx for the help!

    Matt!

    Matt

    EnderStorm Network

    http://www.enderstorm.co.uk/banners/EnderStorm-Banner.gif

    IP: play.enderstorm.co.uk

    Web: http://www.enderstorm.co.uk/

  • Avatar of wide_load wide_load Mar 17, 2013 at 14:46 UTC - 0 likes

    @Matthew_Cowley: Go

    You should not use formatting in the alias config, that is for names only. If you set up the name correctly it should get the prefix from Vault.

    @Matthew_Cowley: Go

    Depends on the IRC server, check their documentation.

    Also please stop writing in title case ._.

  • Avatar of Matthew_Cowley Matthew_Cowley Mar 17, 2013 at 12:19 UTC - 0 likes

    @wide_load: Go

    Another Question, Sorry For Pestering, But I'm New To IRC

    How Do I Protect My Nickname I'm Using?? So Only I Can Use It (Do I Use My IP??)

    Thanks In Advance For the Help, Matt

  • Avatar of Matthew_Cowley Matthew_Cowley Mar 17, 2013 at 10:33 UTC - 0 likes

    @Matthew_Cowley: Go

    I Have Now Also Tried

    matthew_cowley:§c§k 11 §r§3[Owner]§r§c§k 11 §r§b<matthew_cowley>§r

    And That Did Not Work Either, Please Help!

    The Reason I Need This Is, On The Server I Have been Using IRC And In-game It Says Before My Name That I'm Owner, But Not On IRC And People Are Saying I'm A Random Person Pretending To Be The Owner!

    Please Help!

    Thanks, Matt

  • Avatar of Matthew_Cowley Matthew_Cowley Mar 17, 2013 at 10:29 UTC - 0 likes

    @wide_load: Go

    On The Main Plugin, In The Alises File I Typed

    matthew_cowley:&c&k 11 &r&3[Owner]&r&c&k 11 &r&b<matthew_cowley>&r

    But When I Chat In The IRC, On The Server It Just Displays It Like In The File, No Colours.

    What Should I Do?!?

    Thanks, Matt

  • Avatar of Matthew_Cowley Matthew_Cowley Mar 17, 2013 at 10:11 UTC - 0 likes

    @wide_load: Go

    Thanks, Just Read The Description Again, I Forgot Vault!!

  • Avatar of wide_load wide_load Mar 16, 2013 at 22:36 UTC - 0 likes

    @Matthew_Cowley: Go

    Check the server log for any errors on startup and file a bug report if you find one. Also make sure all the dependencies are installed.

Facts

Date created
Feb 05, 2013
Categories
Last update
Mar 13, 2013
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
SimpleIRC-Formatter
Downloads
1,495
Recent files
  • R: v0.1.2 for CB 1.4.7-R1.0 Mar 13, 2013
  • R: v0.1.1 for CB 1.4.7-R1.0 Feb 05, 2013
  • R: v0.1 for CB 1.4.7-R1.0 Feb 05, 2013

Authors