GithubHelp home page GithubHelp logo

3's Introduction

README

LICENSING

My license is simple: you must gain permission from me if you wish to release any derivative works from any of the sources hosted on this repository
Educational use, as to learn the good and bad coding practices found in these sources is free; you may not redistribute a derivative of these sources as another product however without express permission.

I reserve the right to utilize any changes found on your forks which have not been pushed/contributed to this main repository if it is deemed awesome.

3's People

Contributors

ammaraskar avatar animosity avatar auscompgeek avatar aznpig avatar celticminstrel avatar dequis avatar diskmaster avatar doughsay avatar mbax avatar mrflea avatar protected avatar psithief avatar ricin avatar slipcor avatar stoneleaf avatar turt2live avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

3's Issues

Per usermode permissions

So for all users on your channel with +v, they have permissions equivalent of the group 'Donator', then for +h you may have that for the Mini-Mods, etc etc. Would this be a possible feature of CraftIRC?

Ignore all chat from non players

Hello, sorry if there is already a config option i did not find.

Is there anyway a feature could be added that allows you to ignore all chat from anyone whos IRC nick does not match a player name that has previously logged into the server?

This feature is in dynmap chat, but i much prefer craftIRC to that.

Thanks in advance.

SMC

CraftIRC

Whenever I used a command in the irc (ex. .c plugins), the bot won't respond back in the IRC Channel but it does preform the command. There was times were it would say nothing and print lines in the IRC channel.

Hungarian char set.

The program does not have support for utf-8 encoding in chat. Test it with this alphabet:A, Á, B, C, Cs, D, Dz, Dzs, E, É, F, G, Gy, H, I, Í, J, K, L, Ly, M, N, Ny, O, Ó, Ö, Ő, P, Q, R, S, Sz, T, Ty, U, Ú, Ü, Ű, V, W, X, Y, Z, Zs

Allow reply with NOTICE (aka whisper) instead of just in channel or pm

I would have contributed myself but I am not familiar enough with the code to locate and modify all relevant sections.

I suggest deprecating (but not yet removing, for backwards compatibility reasons) the current config option and creating one to specify reply method (channel message, user message, user notice)

Cannot determine number of bots

Code Used:

int i = 0;
while(true){
    try{
        Minebot bot = craftirc.getBot(i);
        if(bot == null){
            break;
        }
        bot.sendMessage(channel, message);
        i++;
    }catch(ArrayIndexOutOfBoundsException e){
        break;
    }
}

The AIOOB exception is thrown within the CraftIRC plugin, making it not catchable.

2013-09-13 10:57:32 [WARNING] Unexpected exception while parsing console command "xmail test"
org.bukkit.command.CommandException: Unhandled exception executing command 'xmail' in plugin xMail v1.8.0-SNAPSHOT
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
    at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:523)
    at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchServerCommand(CraftServer.java:512)
    at net.minecraft.server.v1_6_R2.DedicatedServer.ar(DedicatedServer.java:262)
    at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:227)
    at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
    at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
    at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    at java.util.ArrayList.rangeCheck(Unknown Source)
    at java.util.ArrayList.get(Unknown Source)
    at com.ensifera.animosity.craftirc.CraftIRC.getBot(CraftIRC.java:825)
    at com.turt2live.xmail.compatibility.irc.IrcCraftIRC.sendMessage(IrcCraftIRC.java:31)
    at com.turt2live.xmail.commands.command.TestCommand.runArgument(TestCommand.java:34)
    at com.turt2live.xmail.commands.XMailCommandHandler.onCommand(XMailCommandHandler.java:155)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    ... 8 more

Edit: Line 31 of IrcCraftIRC is Minebot bot = craftirc.getBot(i);

Queue size not working?

I am testing anti-spam using these settings:

#Prevent flood by setting a delay (in ms) between messages to IRC and a maximum queue size.
message-delay: 1000
queue-size: 3

On a connect IRC channel I pasted this (in one go) in chat:

hi test
hi test
hi test
hi test
hi test
hi test
hi test

All messages were mirrored in-game. Isn't it supposed to only display 3 in this case, or am I missing the purpose of queue-size?

Bold, Underline, Italics

I've noticed in your plugin that you can only send colored messages to and from minecraft and irc. I would like if you could integrate bold, italic, underline into "colormap" in the config. So when someone types something bold ingame, it will appear bold on irc.

No support for NOTICEs

You told me to let you know on GitHub issues, so I complied. IRC NOTICEs don't pass to Minecraft chat.

Sync channel modes with /who

We currently don't get the full modes of an user, so if someone who is +ao gets -a, craftirc thinks it has no other modes. Do a proper sync of modes on join using /who instead.

Also check if we can somehow backport this from pircbotx.

Problem With API

Code within Main Class implements EndPoint

public void broadcast(String msg) {if (this.circEnabled) {
RelayedMessage rm = circ.newMsg(this, null, "chat");
rm.setField("message", msg.replaceAll("(\u00A7([A-Fa-f0-9])?)", ""));
rm.setField("sender", "iAuction");
rm.setField("realSender", "iAuction");
rm.setField("prefix", "(");
rm.setField("suffix", ")");
rm.post();
}
}

The Endpoint registers and the bot connects

2012-04-12 15:27:32 [INFO] [CraftIRC] Registering endpoint: auction

The messages are sent:

2012-04-12 15:29:59 [INFO] [CraftIRC] -->X: {chat MSG} (sender: iAuction) (message: 60 seconds left to bid!) (source: auction) (prefix: () (target: rt) (realSender: iAuction) (suffix: ))

But no Text is sent to the IRC
2012-04-12 15:30:00 [INFO] 1334241000227 :irc.ultimateminecraft.net 412 CraftIRCbot :No text to send

Control which commands output back to IRC

Either via config on per-plugin basis or perhaps a separate command? Something to allow people to choose what commands have their output show up in IRC

From BukkitDev user Guardianzozo

World Time Support [ .time ]

Other chat plugins support time to show in game world time.

Can you please add this support in CraftIRC ??

!time displays the time for each world in the server, w/ Minecraftbot.

Obviously CraftIRC the default command would be .time

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.