From 86e76a30e35510c5dd85ce8160deedc4a63582ad Mon Sep 17 00:00:00 2001 From: cnaude Date: Sat, 18 Oct 2014 19:05:07 -0700 Subject: [PATCH] Minor refactoring and commenting. --- nb-configuration.xml | 1 + .../java/com/cnaude/purpleirc/BotWatcher.java | 16 +++++++++++ .../com/cnaude/purpleirc/ChannelWatcher.java | 16 +++++++++++ .../com/cnaude/purpleirc/CommandHandlers.java | 16 +++++++++++ .../cnaude/purpleirc/CommandQueueWatcher.java | 18 +++++++++++- .../com/cnaude/purpleirc/Commands/AddOp.java | 16 +++++++++++ .../cnaude/purpleirc/Commands/AddVoice.java | 16 +++++++++++ .../com/cnaude/purpleirc/Commands/CTCP.java | 19 ++++++++++--- .../cnaude/purpleirc/Commands/Connect.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/DeOp.java | 16 +++++++++-- .../cnaude/purpleirc/Commands/DeVoice.java | 16 +++++++++++ .../com/cnaude/purpleirc/Commands/Debug.java | 16 +++++++++-- .../cnaude/purpleirc/Commands/Disconnect.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/Help.java | 16 +++++++++-- .../Commands/IRCCommandInterface.java | 18 +++++++++--- .../com/cnaude/purpleirc/Commands/Join.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/Kick.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/Leave.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/List.java | 16 +++++++++-- .../cnaude/purpleirc/Commands/ListBots.java | 16 +++++++++-- .../cnaude/purpleirc/Commands/ListOps.java | 16 +++++++++-- .../cnaude/purpleirc/Commands/ListVoices.java | 16 +++++++++++ .../com/cnaude/purpleirc/Commands/Load.java | 16 +++++++++++ .../com/cnaude/purpleirc/Commands/Login.java | 16 +++++++++-- .../purpleirc/Commands/MessageDelay.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/Motd.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/Msg.java | 16 +++++++++++ .../com/cnaude/purpleirc/Commands/Mute.java | 16 +++++++++-- .../cnaude/purpleirc/Commands/MuteList.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/Nick.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/Notice.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/Op.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/Reload.java | 16 +++++++++-- .../cnaude/purpleirc/Commands/ReloadBot.java | 16 +++++++++-- .../purpleirc/Commands/ReloadBotConfig.java | 16 +++++++++-- .../purpleirc/Commands/ReloadBotConfigs.java | 17 +++++++++-- .../cnaude/purpleirc/Commands/ReloadBots.java | 17 +++++++++-- .../purpleirc/Commands/ReloadConfig.java | 16 +++++++++-- .../cnaude/purpleirc/Commands/RemoveOp.java | 16 +++++++++-- .../purpleirc/Commands/RemoveVoice.java | 16 +++++++++++ .../com/cnaude/purpleirc/Commands/Save.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/Say.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/Send.java | 16 +++++++++-- .../cnaude/purpleirc/Commands/SendRaw.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/Server.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/Topic.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/UnMute.java | 16 +++++++++-- .../com/cnaude/purpleirc/Commands/Unload.java | 16 +++++++++++ .../com/cnaude/purpleirc/Commands/Voice.java | 16 +++++++++++ .../com/cnaude/purpleirc/Commands/Whois.java | 16 +++++++++-- .../purpleirc/Events/IRCCommandEvent.java | 16 +++++++++++ .../GameListeners/CleverNotchListener.java | 16 +++++++++-- .../GameListeners/DeathMessagesListener.java | 16 +++++++++-- .../GameListeners/DynmapListener.java | 16 +++++++++++ .../GameListeners/EssentialsListener.java | 16 +++++++++-- .../GameListeners/GamePlayerChatListener.java | 16 +++++++++++ ...amePlayerCommandPreprocessingListener.java | 16 +++++++++++ .../GamePlayerDeathListener.java | 16 +++++++++-- .../GamePlayerGameModeChangeListener.java | 16 +++++++++++ .../GameListeners/GamePlayerJoinListener.java | 16 +++++++++++ .../GameListeners/GamePlayerKickListener.java | 16 +++++++++-- ...layerPlayerAchievementAwardedListener.java | 16 +++++++++++ .../GameListeners/GamePlayerQuitListener.java | 16 +++++++++-- .../GameServerCommandListener.java | 16 +++++++++-- .../GameListeners/HeroChatListener.java | 16 +++++++++-- .../GameListeners/McMMOChatListener.java | 16 +++++++++++ .../GameListeners/OreBroadcastListener.java | 19 +++++++++---- .../GameListeners/PrismListener.java | 16 +++++++++++ .../GameListeners/RedditStreamListener.java | 16 +++++++++++ .../GameListeners/ReportRTSListener.java | 16 +++++++++++ .../GameListeners/TitanChatListener.java | 16 +++++++++-- .../GameListeners/TownyChatListener.java | 16 +++++++++-- .../cnaude/purpleirc/Hooks/DynmapHook.java | 16 +++++++++-- .../purpleirc/Hooks/FactionChatHook.java | 16 +++++++++++ .../com/cnaude/purpleirc/Hooks/JobsHook.java | 16 +++++++++++ .../cnaude/purpleirc/Hooks/ReportRTSHook.java | 16 +++++++++++ .../cnaude/purpleirc/Hooks/ShortifyHook.java | 16 +++++++++-- .../cnaude/purpleirc/Hooks/TownyChatHook.java | 18 +++++++++--- .../cnaude/purpleirc/Hooks/VanishHook.java | 16 +++++++++-- .../com/cnaude/purpleirc/Hooks/VaultHook.java | 16 +++++++++-- .../java/com/cnaude/purpleirc/IRCCommand.java | 16 +++++++++++ .../cnaude/purpleirc/IRCCommandSender.java | 16 +++++++++++ .../IRCListeners/ActionListener.java | 16 +++++++++-- .../IRCListeners/ConnectListener.java | 16 +++++++++++ .../IRCListeners/DisconnectListener.java | 16 +++++++++-- .../purpleirc/IRCListeners/JoinListener.java | 16 +++++++++-- .../purpleirc/IRCListeners/KickListener.java | 16 +++++++++-- .../IRCListeners/MessageListener.java | 16 +++++++++-- .../purpleirc/IRCListeners/ModeListener.java | 16 +++++++++-- .../purpleirc/IRCListeners/MotdListener.java | 16 +++++++++-- .../IRCListeners/NickChangeListener.java | 16 +++++++++-- .../IRCListeners/NoticeListener.java | 16 +++++++++-- .../purpleirc/IRCListeners/PartListener.java | 16 +++++++++-- .../IRCListeners/PrivateMessageListener.java | 16 +++++++++-- .../purpleirc/IRCListeners/QuitListener.java | 16 +++++++++++ .../IRCListeners/ServerResponseListener.java | 16 +++++++++++ .../purpleirc/IRCListeners/TopicListener.java | 16 +++++++++++ .../IRCListeners/VersionListener.java | 16 +++++++++++ .../purpleirc/IRCListeners/WhoisListener.java | 16 +++++++++++ .../java/com/cnaude/purpleirc/IRCMessage.java | 16 +++++++++++ .../purpleirc/IRCMessageQueueWatcher.java | 16 +++++++++++ .../java/com/cnaude/purpleirc/PurpleBot.java | 16 +++++++++++ .../java/com/cnaude/purpleirc/PurpleIRC.java | 16 +++++++++++ .../com/cnaude/purpleirc/TemplateName.java | 16 +++++++++++ .../purpleirc/Utilities/BotsAndChannels.java | 16 +++++++++++ .../purpleirc/Utilities/ChatTokenizer.java | 16 +++++++++++ .../purpleirc/Utilities/ColorConverter.java | 28 +++++++++++++------ .../Utilities/IRCMessageHandler.java | 16 +++++++++++ .../purpleirc/Utilities/NetPackets.java | 16 +++++++++++ 109 files changed, 1608 insertions(+), 147 deletions(-) diff --git a/nb-configuration.xml b/nb-configuration.xml index df3f280..42369a7 100644 --- a/nb-configuration.xml +++ b/nb-configuration.xml @@ -14,5 +14,6 @@ That way multiple projects can share the same settings (useful for formatting ru Any value defined here will override the pom.xml file value but is only applicable to the current project. --> none + gpl30 diff --git a/src/main/java/com/cnaude/purpleirc/BotWatcher.java b/src/main/java/com/cnaude/purpleirc/BotWatcher.java index 555bfef..ebc38a7 100644 --- a/src/main/java/com/cnaude/purpleirc/BotWatcher.java +++ b/src/main/java/com/cnaude/purpleirc/BotWatcher.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc; import org.bukkit.scheduler.BukkitTask; diff --git a/src/main/java/com/cnaude/purpleirc/ChannelWatcher.java b/src/main/java/com/cnaude/purpleirc/ChannelWatcher.java index 0245891..1237d0d 100644 --- a/src/main/java/com/cnaude/purpleirc/ChannelWatcher.java +++ b/src/main/java/com/cnaude/purpleirc/ChannelWatcher.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc; import org.bukkit.scheduler.BukkitTask; diff --git a/src/main/java/com/cnaude/purpleirc/CommandHandlers.java b/src/main/java/com/cnaude/purpleirc/CommandHandlers.java index 71925f8..48d20d3 100644 --- a/src/main/java/com/cnaude/purpleirc/CommandHandlers.java +++ b/src/main/java/com/cnaude/purpleirc/CommandHandlers.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc; import com.cnaude.purpleirc.Commands.*; diff --git a/src/main/java/com/cnaude/purpleirc/CommandQueueWatcher.java b/src/main/java/com/cnaude/purpleirc/CommandQueueWatcher.java index fe25614..aa65d53 100644 --- a/src/main/java/com/cnaude/purpleirc/CommandQueueWatcher.java +++ b/src/main/java/com/cnaude/purpleirc/CommandQueueWatcher.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc; import com.cnaude.purpleirc.Events.IRCCommandEvent; @@ -12,7 +28,7 @@ public class CommandQueueWatcher { private final PurpleIRC plugin; private int bt; - private final Queue queue = new ConcurrentLinkedQueue(); + private final Queue queue = new ConcurrentLinkedQueue<>(); /** * diff --git a/src/main/java/com/cnaude/purpleirc/Commands/AddOp.java b/src/main/java/com/cnaude/purpleirc/Commands/AddOp.java index 4e73e31..d352ea9 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/AddOp.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/AddOp.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Commands; import com.cnaude.purpleirc.PurpleIRC; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/AddVoice.java b/src/main/java/com/cnaude/purpleirc/Commands/AddVoice.java index 8fe13dc..ea9443e 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/AddVoice.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/AddVoice.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Commands; import com.cnaude.purpleirc.PurpleIRC; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/CTCP.java b/src/main/java/com/cnaude/purpleirc/Commands/CTCP.java index ec90ac3..7081e25 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/CTCP.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/CTCP.java @@ -1,8 +1,19 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ -package com.cnaude.purpleirc.Commands; + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */package com.cnaude.purpleirc.Commands; import com.cnaude.purpleirc.PurpleBot; import com.cnaude.purpleirc.PurpleIRC; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Connect.java b/src/main/java/com/cnaude/purpleirc/Commands/Connect.java index 8341d18..53bc495 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Connect.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Connect.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/DeOp.java b/src/main/java/com/cnaude/purpleirc/Commands/DeOp.java index ff9b896..e2c0570 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/DeOp.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/DeOp.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/DeVoice.java b/src/main/java/com/cnaude/purpleirc/Commands/DeVoice.java index a5e745c..7075b0f 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/DeVoice.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/DeVoice.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Commands; import com.cnaude.purpleirc.PurpleIRC; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Debug.java b/src/main/java/com/cnaude/purpleirc/Commands/Debug.java index 81065f0..102c0f8 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Debug.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Debug.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Disconnect.java b/src/main/java/com/cnaude/purpleirc/Commands/Disconnect.java index 72690b2..75fb641 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Disconnect.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Disconnect.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Help.java b/src/main/java/com/cnaude/purpleirc/Commands/Help.java index cad0096..65f6e8a 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Help.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Help.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/IRCCommandInterface.java b/src/main/java/com/cnaude/purpleirc/Commands/IRCCommandInterface.java index 575a9e9..075f410 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/IRCCommandInterface.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/IRCCommandInterface.java @@ -1,9 +1,19 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ - package com.cnaude.purpleirc.Commands; import org.bukkit.command.CommandSender; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Join.java b/src/main/java/com/cnaude/purpleirc/Commands/Join.java index 89ad48e..a2b7049 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Join.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Join.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Kick.java b/src/main/java/com/cnaude/purpleirc/Commands/Kick.java index 2491398..1d597b1 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Kick.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Kick.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Leave.java b/src/main/java/com/cnaude/purpleirc/Commands/Leave.java index 425d74f..5f6a3e8 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Leave.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Leave.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/List.java b/src/main/java/com/cnaude/purpleirc/Commands/List.java index eb4cafd..a90c992 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/List.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/List.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/ListBots.java b/src/main/java/com/cnaude/purpleirc/Commands/ListBots.java index aadc7f4..4323da0 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/ListBots.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/ListBots.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/ListOps.java b/src/main/java/com/cnaude/purpleirc/Commands/ListOps.java index cdd0831..48ff0c8 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/ListOps.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/ListOps.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/ListVoices.java b/src/main/java/com/cnaude/purpleirc/Commands/ListVoices.java index 5266362..5cfd468 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/ListVoices.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/ListVoices.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Commands; import com.cnaude.purpleirc.PurpleIRC; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Load.java b/src/main/java/com/cnaude/purpleirc/Commands/Load.java index 407a8ab..f49f9b1 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Load.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Load.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Commands; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Login.java b/src/main/java/com/cnaude/purpleirc/Commands/Login.java index 6b995e5..25c0ea3 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Login.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Login.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/MessageDelay.java b/src/main/java/com/cnaude/purpleirc/Commands/MessageDelay.java index 368abf3..ecc39fd 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/MessageDelay.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/MessageDelay.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Motd.java b/src/main/java/com/cnaude/purpleirc/Commands/Motd.java index c9adb75..b264b26 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Motd.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Motd.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Msg.java b/src/main/java/com/cnaude/purpleirc/Commands/Msg.java index a9617f2..e3402df 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Msg.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Msg.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Commands; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Mute.java b/src/main/java/com/cnaude/purpleirc/Commands/Mute.java index 07da9d9..702a918 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Mute.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Mute.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/MuteList.java b/src/main/java/com/cnaude/purpleirc/Commands/MuteList.java index 5b8b990..6a6f32d 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/MuteList.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/MuteList.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Nick.java b/src/main/java/com/cnaude/purpleirc/Commands/Nick.java index 4d9263f..e50f9c6 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Nick.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Nick.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Notice.java b/src/main/java/com/cnaude/purpleirc/Commands/Notice.java index e8e658f..39d64af 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Notice.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Notice.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Op.java b/src/main/java/com/cnaude/purpleirc/Commands/Op.java index e146c5f..6d0625d 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Op.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Op.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Reload.java b/src/main/java/com/cnaude/purpleirc/Commands/Reload.java index 9849636..0a3a60a 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Reload.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Reload.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/ReloadBot.java b/src/main/java/com/cnaude/purpleirc/Commands/ReloadBot.java index 860bc53..f633583 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/ReloadBot.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/ReloadBot.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/ReloadBotConfig.java b/src/main/java/com/cnaude/purpleirc/Commands/ReloadBotConfig.java index a8df2f9..b086728 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/ReloadBotConfig.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/ReloadBotConfig.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/ReloadBotConfigs.java b/src/main/java/com/cnaude/purpleirc/Commands/ReloadBotConfigs.java index 3345aed..f66a8f6 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/ReloadBotConfigs.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/ReloadBotConfigs.java @@ -1,12 +1,23 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; import com.cnaude.purpleirc.PurpleBot; import com.cnaude.purpleirc.PurpleIRC; -import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; /** diff --git a/src/main/java/com/cnaude/purpleirc/Commands/ReloadBots.java b/src/main/java/com/cnaude/purpleirc/Commands/ReloadBots.java index 1cef9d9..00f831d 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/ReloadBots.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/ReloadBots.java @@ -1,12 +1,23 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; import com.cnaude.purpleirc.PurpleBot; import com.cnaude.purpleirc.PurpleIRC; -import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; /** diff --git a/src/main/java/com/cnaude/purpleirc/Commands/ReloadConfig.java b/src/main/java/com/cnaude/purpleirc/Commands/ReloadConfig.java index fc618d6..f997c79 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/ReloadConfig.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/ReloadConfig.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/RemoveOp.java b/src/main/java/com/cnaude/purpleirc/Commands/RemoveOp.java index 218d7e6..32d6d00 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/RemoveOp.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/RemoveOp.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/RemoveVoice.java b/src/main/java/com/cnaude/purpleirc/Commands/RemoveVoice.java index 66f58d9..3c0e28f 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/RemoveVoice.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/RemoveVoice.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Commands; import com.cnaude.purpleirc.PurpleIRC; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Save.java b/src/main/java/com/cnaude/purpleirc/Commands/Save.java index 52965e5..b4a1cd1 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Save.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Save.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Say.java b/src/main/java/com/cnaude/purpleirc/Commands/Say.java index 49ae888..7c7cba1 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Say.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Say.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Send.java b/src/main/java/com/cnaude/purpleirc/Commands/Send.java index 0c968f8..e03d29b 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Send.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Send.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/SendRaw.java b/src/main/java/com/cnaude/purpleirc/Commands/SendRaw.java index 0ea5d4f..08da63a 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/SendRaw.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/SendRaw.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Server.java b/src/main/java/com/cnaude/purpleirc/Commands/Server.java index 595b0c9..fb348f3 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Server.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Server.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Topic.java b/src/main/java/com/cnaude/purpleirc/Commands/Topic.java index 0666009..b02f712 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Topic.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Topic.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/UnMute.java b/src/main/java/com/cnaude/purpleirc/Commands/UnMute.java index 25ddfb9..4ede5b3 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/UnMute.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/UnMute.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Unload.java b/src/main/java/com/cnaude/purpleirc/Commands/Unload.java index 2bdf40b..d030382 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Unload.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Unload.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Commands; import com.cnaude.purpleirc.PurpleIRC; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Voice.java b/src/main/java/com/cnaude/purpleirc/Commands/Voice.java index 8a6c7e9..552f761 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Voice.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Voice.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Commands; import com.cnaude.purpleirc.PurpleIRC; diff --git a/src/main/java/com/cnaude/purpleirc/Commands/Whois.java b/src/main/java/com/cnaude/purpleirc/Commands/Whois.java index 9e854f7..51de6ed 100644 --- a/src/main/java/com/cnaude/purpleirc/Commands/Whois.java +++ b/src/main/java/com/cnaude/purpleirc/Commands/Whois.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Commands; diff --git a/src/main/java/com/cnaude/purpleirc/Events/IRCCommandEvent.java b/src/main/java/com/cnaude/purpleirc/Events/IRCCommandEvent.java index c56d53d..6390003 100644 --- a/src/main/java/com/cnaude/purpleirc/Events/IRCCommandEvent.java +++ b/src/main/java/com/cnaude/purpleirc/Events/IRCCommandEvent.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Events; import com.cnaude.purpleirc.IRCCommand; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/CleverNotchListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/CleverNotchListener.java index 7379fd0..baed711 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/CleverNotchListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/CleverNotchListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.GameListeners; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/DeathMessagesListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/DeathMessagesListener.java index 742e9fb..23f772d 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/DeathMessagesListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/DeathMessagesListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.GameListeners; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/DynmapListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/DynmapListener.java index d4c0a3e..dc9a7d3 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/DynmapListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/DynmapListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.GameListeners; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/EssentialsListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/EssentialsListener.java index 60598e8..16ec37a 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/EssentialsListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/EssentialsListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.GameListeners; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerChatListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerChatListener.java index 1c93eb7..2b738c5 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerChatListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerChatListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.GameListeners; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerCommandPreprocessingListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerCommandPreprocessingListener.java index 19c45d6..0344cb9 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerCommandPreprocessingListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerCommandPreprocessingListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.GameListeners; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerDeathListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerDeathListener.java index 0485013..9b1e64b 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerDeathListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerDeathListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.GameListeners; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerGameModeChangeListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerGameModeChangeListener.java index e32e2a5..532f13b 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerGameModeChangeListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerGameModeChangeListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.GameListeners; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerJoinListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerJoinListener.java index ee76d1e..0e68d93 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerJoinListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerJoinListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.GameListeners; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerKickListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerKickListener.java index fe907f1..a121a03 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerKickListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerKickListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.GameListeners; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerPlayerAchievementAwardedListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerPlayerAchievementAwardedListener.java index cbe4141..a683051 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerPlayerAchievementAwardedListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerPlayerAchievementAwardedListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.GameListeners; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerQuitListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerQuitListener.java index 909d8b6..3724fed 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerQuitListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/GamePlayerQuitListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.GameListeners; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/GameServerCommandListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/GameServerCommandListener.java index 837062e..f39a80a 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/GameServerCommandListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/GameServerCommandListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.GameListeners; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/HeroChatListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/HeroChatListener.java index cf10806..7729e4f 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/HeroChatListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/HeroChatListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.GameListeners; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/McMMOChatListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/McMMOChatListener.java index aafff19..c2b26d8 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/McMMOChatListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/McMMOChatListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.GameListeners; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/OreBroadcastListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/OreBroadcastListener.java index 7de21e5..658c8e2 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/OreBroadcastListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/OreBroadcastListener.java @@ -1,9 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. - *//* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.GameListeners; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/PrismListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/PrismListener.java index b830e4f..f748ea0 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/PrismListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/PrismListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.GameListeners; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/RedditStreamListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/RedditStreamListener.java index c3d3305..f4ae79b 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/RedditStreamListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/RedditStreamListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.GameListeners; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/ReportRTSListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/ReportRTSListener.java index b687334..23de09e 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/ReportRTSListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/ReportRTSListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.GameListeners; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/TitanChatListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/TitanChatListener.java index 9b8c9e4..2470224 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/TitanChatListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/TitanChatListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.GameListeners; diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/TownyChatListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/TownyChatListener.java index eec0cf8..8c1135d 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/TownyChatListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/TownyChatListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.GameListeners; diff --git a/src/main/java/com/cnaude/purpleirc/Hooks/DynmapHook.java b/src/main/java/com/cnaude/purpleirc/Hooks/DynmapHook.java index 2d44030..f622e3c 100644 --- a/src/main/java/com/cnaude/purpleirc/Hooks/DynmapHook.java +++ b/src/main/java/com/cnaude/purpleirc/Hooks/DynmapHook.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Hooks; diff --git a/src/main/java/com/cnaude/purpleirc/Hooks/FactionChatHook.java b/src/main/java/com/cnaude/purpleirc/Hooks/FactionChatHook.java index c5f6f15..4f1c08b 100644 --- a/src/main/java/com/cnaude/purpleirc/Hooks/FactionChatHook.java +++ b/src/main/java/com/cnaude/purpleirc/Hooks/FactionChatHook.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Hooks; import com.cnaude.purpleirc.PurpleIRC; diff --git a/src/main/java/com/cnaude/purpleirc/Hooks/JobsHook.java b/src/main/java/com/cnaude/purpleirc/Hooks/JobsHook.java index 88fd34a..7c5a769 100644 --- a/src/main/java/com/cnaude/purpleirc/Hooks/JobsHook.java +++ b/src/main/java/com/cnaude/purpleirc/Hooks/JobsHook.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Hooks; import com.cnaude.purpleirc.TemplateName; diff --git a/src/main/java/com/cnaude/purpleirc/Hooks/ReportRTSHook.java b/src/main/java/com/cnaude/purpleirc/Hooks/ReportRTSHook.java index a6607e1..e3a8423 100644 --- a/src/main/java/com/cnaude/purpleirc/Hooks/ReportRTSHook.java +++ b/src/main/java/com/cnaude/purpleirc/Hooks/ReportRTSHook.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Hooks; import com.cnaude.purpleirc.PurpleIRC; diff --git a/src/main/java/com/cnaude/purpleirc/Hooks/ShortifyHook.java b/src/main/java/com/cnaude/purpleirc/Hooks/ShortifyHook.java index 95d2f6d..d6353d5 100644 --- a/src/main/java/com/cnaude/purpleirc/Hooks/ShortifyHook.java +++ b/src/main/java/com/cnaude/purpleirc/Hooks/ShortifyHook.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Hooks; diff --git a/src/main/java/com/cnaude/purpleirc/Hooks/TownyChatHook.java b/src/main/java/com/cnaude/purpleirc/Hooks/TownyChatHook.java index 61e219c..627d203 100644 --- a/src/main/java/com/cnaude/purpleirc/Hooks/TownyChatHook.java +++ b/src/main/java/com/cnaude/purpleirc/Hooks/TownyChatHook.java @@ -1,12 +1,22 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Hooks; import com.cnaude.purpleirc.PurpleIRC; -import com.cnaude.purpleirc.Utilities.CaseInsensitiveMap; import com.palmergames.bukkit.TownyChat.Chat; import com.palmergames.bukkit.TownyChat.channels.channelTypes; import com.palmergames.bukkit.towny.exceptions.NotRegisteredException; diff --git a/src/main/java/com/cnaude/purpleirc/Hooks/VanishHook.java b/src/main/java/com/cnaude/purpleirc/Hooks/VanishHook.java index c51ee45..8e46e7b 100644 --- a/src/main/java/com/cnaude/purpleirc/Hooks/VanishHook.java +++ b/src/main/java/com/cnaude/purpleirc/Hooks/VanishHook.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Hooks; diff --git a/src/main/java/com/cnaude/purpleirc/Hooks/VaultHook.java b/src/main/java/com/cnaude/purpleirc/Hooks/VaultHook.java index 7db2a75..e2cf477 100644 --- a/src/main/java/com/cnaude/purpleirc/Hooks/VaultHook.java +++ b/src/main/java/com/cnaude/purpleirc/Hooks/VaultHook.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.Hooks; diff --git a/src/main/java/com/cnaude/purpleirc/IRCCommand.java b/src/main/java/com/cnaude/purpleirc/IRCCommand.java index 5129b16..f063093 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCCommand.java +++ b/src/main/java/com/cnaude/purpleirc/IRCCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc; /** diff --git a/src/main/java/com/cnaude/purpleirc/IRCCommandSender.java b/src/main/java/com/cnaude/purpleirc/IRCCommandSender.java index fb6cbf8..9c4a2b2 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCCommandSender.java +++ b/src/main/java/com/cnaude/purpleirc/IRCCommandSender.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc; import java.util.Set; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/ActionListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/ActionListener.java index 2854810..68b0a9b 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/ActionListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/ActionListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.IRCListeners; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/ConnectListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/ConnectListener.java index e53bf33..84193c9 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/ConnectListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/ConnectListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.IRCListeners; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/DisconnectListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/DisconnectListener.java index 9597c1f..77db392 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/DisconnectListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/DisconnectListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.IRCListeners; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/JoinListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/JoinListener.java index 3bab30a..88630bf 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/JoinListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/JoinListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.IRCListeners; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/KickListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/KickListener.java index 038a1fd..bf24bc6 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/KickListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/KickListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.IRCListeners; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/MessageListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/MessageListener.java index 6474942..19c82f9 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/MessageListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/MessageListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.IRCListeners; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/ModeListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/ModeListener.java index 3ef5e16..87fcebe 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/ModeListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/ModeListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.IRCListeners; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/MotdListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/MotdListener.java index 7a6351c..3ea0aa7 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/MotdListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/MotdListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.IRCListeners; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/NickChangeListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/NickChangeListener.java index 4a73eae..67747f2 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/NickChangeListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/NickChangeListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.IRCListeners; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/NoticeListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/NoticeListener.java index d1d1380..1519b23 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/NoticeListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/NoticeListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.IRCListeners; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/PartListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/PartListener.java index b21c201..2b07041 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/PartListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/PartListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.IRCListeners; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/PrivateMessageListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/PrivateMessageListener.java index f3505c8..fc5ffed 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/PrivateMessageListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/PrivateMessageListener.java @@ -1,6 +1,18 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package com.cnaude.purpleirc.IRCListeners; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/QuitListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/QuitListener.java index 5676127..a28dbe4 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/QuitListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/QuitListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.IRCListeners; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/ServerResponseListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/ServerResponseListener.java index ccb642e..72cea61 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/ServerResponseListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/ServerResponseListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.IRCListeners; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/TopicListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/TopicListener.java index f0a4610..96ec01f 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/TopicListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/TopicListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.IRCListeners; import com.cnaude.purpleirc.TemplateName; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/VersionListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/VersionListener.java index 816501c..f9104d7 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/VersionListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/VersionListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.IRCListeners; import com.cnaude.purpleirc.PurpleIRC; diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/WhoisListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/WhoisListener.java index ac3ba68..bf73d5a 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/WhoisListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/WhoisListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.IRCListeners; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/IRCMessage.java b/src/main/java/com/cnaude/purpleirc/IRCMessage.java index 13e97a9..de4b78d 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCMessage.java +++ b/src/main/java/com/cnaude/purpleirc/IRCMessage.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc; /** diff --git a/src/main/java/com/cnaude/purpleirc/IRCMessageQueueWatcher.java b/src/main/java/com/cnaude/purpleirc/IRCMessageQueueWatcher.java index 6be09e5..be2bb7d 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCMessageQueueWatcher.java +++ b/src/main/java/com/cnaude/purpleirc/IRCMessageQueueWatcher.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc; import java.util.Timer; diff --git a/src/main/java/com/cnaude/purpleirc/PurpleBot.java b/src/main/java/com/cnaude/purpleirc/PurpleBot.java index f64fb45..b341a56 100644 --- a/src/main/java/com/cnaude/purpleirc/PurpleBot.java +++ b/src/main/java/com/cnaude/purpleirc/PurpleBot.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc; import com.cnaude.purpleirc.IRCListeners.ActionListener; diff --git a/src/main/java/com/cnaude/purpleirc/PurpleIRC.java b/src/main/java/com/cnaude/purpleirc/PurpleIRC.java index ca77c35..1cfa512 100644 --- a/src/main/java/com/cnaude/purpleirc/PurpleIRC.java +++ b/src/main/java/com/cnaude/purpleirc/PurpleIRC.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc; import com.cnaude.purpleirc.GameListeners.CleverNotchListener; diff --git a/src/main/java/com/cnaude/purpleirc/TemplateName.java b/src/main/java/com/cnaude/purpleirc/TemplateName.java index e293a1e..e7cbd1b 100644 --- a/src/main/java/com/cnaude/purpleirc/TemplateName.java +++ b/src/main/java/com/cnaude/purpleirc/TemplateName.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc; /** diff --git a/src/main/java/com/cnaude/purpleirc/Utilities/BotsAndChannels.java b/src/main/java/com/cnaude/purpleirc/Utilities/BotsAndChannels.java index d0bb8fc..3c7e91a 100644 --- a/src/main/java/com/cnaude/purpleirc/Utilities/BotsAndChannels.java +++ b/src/main/java/com/cnaude/purpleirc/Utilities/BotsAndChannels.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Utilities; import com.cnaude.purpleirc.PurpleIRC; diff --git a/src/main/java/com/cnaude/purpleirc/Utilities/ChatTokenizer.java b/src/main/java/com/cnaude/purpleirc/Utilities/ChatTokenizer.java index d1b90e3..fca26b4 100644 --- a/src/main/java/com/cnaude/purpleirc/Utilities/ChatTokenizer.java +++ b/src/main/java/com/cnaude/purpleirc/Utilities/ChatTokenizer.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Utilities; import com.cnaude.purpleirc.PurpleBot; diff --git a/src/main/java/com/cnaude/purpleirc/Utilities/ColorConverter.java b/src/main/java/com/cnaude/purpleirc/Utilities/ColorConverter.java index d21eecb..53548d7 100644 --- a/src/main/java/com/cnaude/purpleirc/Utilities/ColorConverter.java +++ b/src/main/java/com/cnaude/purpleirc/Utilities/ColorConverter.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Utilities; import com.cnaude.purpleirc.PurpleIRC; @@ -18,8 +34,8 @@ public class ColorConverter { private final boolean stripGameColors; private final boolean stripIRCColors; private final boolean stripIRCBackgroundColors; - private final EnumMap ircColorMap = new EnumMap(ChatColor.class); - private final HashMap gameColorMap = new HashMap(); + private final EnumMap ircColorMap = new EnumMap<>(ChatColor.class); + private final HashMap gameColorMap = new HashMap<>(); private final Pattern bgColorPattern; private final Pattern singleDigitColorPattern; private final Pattern colorHack; @@ -131,13 +147,7 @@ private String getIrcColor(String ircColor) { String s = ""; try { s = (String) Colors.class.getField(ircColor.toUpperCase()).get(null); - } catch (NoSuchFieldException ex) { - plugin.logError(ex.getMessage()); - } catch (SecurityException ex) { - plugin.logError(ex.getMessage()); - } catch (IllegalArgumentException ex) { - plugin.logError(ex.getMessage()); - } catch (IllegalAccessException ex) { + } catch (NoSuchFieldException | SecurityException | IllegalArgumentException | IllegalAccessException ex) { plugin.logError(ex.getMessage()); } if (s.isEmpty()) { diff --git a/src/main/java/com/cnaude/purpleirc/Utilities/IRCMessageHandler.java b/src/main/java/com/cnaude/purpleirc/Utilities/IRCMessageHandler.java index 735516e..857e2ec 100644 --- a/src/main/java/com/cnaude/purpleirc/Utilities/IRCMessageHandler.java +++ b/src/main/java/com/cnaude/purpleirc/Utilities/IRCMessageHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Utilities; import com.cnaude.purpleirc.IRCCommand; diff --git a/src/main/java/com/cnaude/purpleirc/Utilities/NetPackets.java b/src/main/java/com/cnaude/purpleirc/Utilities/NetPackets.java index 7af455f..7de6b7c 100644 --- a/src/main/java/com/cnaude/purpleirc/Utilities/NetPackets.java +++ b/src/main/java/com/cnaude/purpleirc/Utilities/NetPackets.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 cnaude + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.cnaude.purpleirc.Utilities; import com.cnaude.purpleirc.PurpleBot;