[CHAT] DanAndChat v1.0 Alpha - Prefixes, and local channels![1240/1185]

Discussion in 'Inactive/Unsupported Plugins' started by McAndze, Jan 30, 2011.

  1. Offline



    DanAndChat v1.0.0-alpha
    ~ The Open Source Chat-Channel Plugin ~
    I'm currently looking for someone to help me develop DanAndChat.
    Due to real-life issues I don't have as much time for this project as I'd wanted. Throw me a PM if you're interested.

    ..is an open source chat-project. If you're using the latest version, it will work out of the box for the average server.
    On top of that, there are a lot of configuration options, if you want to customize DanAndChat.

    It aims to provide an alternative to HeroChat and similar plugins, while also later aiming to expand the usability in another direction, to fit e.g. roleplaying much more, but still be highly configurable so that you only get it to do, what you want it to do.
    Show Spoiler
    Note this plugin sends usage statistics to me so I can see how many people are using this plugin and its popularity. This is a way for me of keeping track of how popular this plugin is. However, if you wish to opt-out there is an option to do so, go to the folder: plugins/stats and find config.yml and edit appropritately.
    If you wish to send me statistics but not have your server listed change listserver: false but keep opt-out: false.
    The stats are public and can be found here: http://usage.blockface.org/plugin/DanAndChat.

    [​IMG]DanAndChat v1.0.0-alpha (Functional, not finished) - Plug'n'Play (Changelog Coming up)
    [​IMG]DanAndChat v0.1.14 - Jar| v0.1.13| v0.1.12| v0.1.11
    [​IMG]DanAndChat v0.1.14 - Pre-configured Zip| v0.1.13| v0.1.12| v0.1.11


    Old post - Keeping it for own purposes. (open)
    DanAndChat v0.1.14(Formerly NaviaChat)[/quote][/B][/SIZE]
    Stykernag, Saidy99 and Samkio like this.
  2. Offline


    This plugin is soon to become active again. I'm rewriting major parts of the plugin, to clean up code, optimize calculations, and make configuration far more extended and better.

    I am about to talk to DThielke(Creator of HeroChat) if it is possible to fork or mod HeroChat in some way, to be more RP-based, but since my idea is not certain to get accepted, I'll continue developing this.

    NaviaChat has, since the last update on this thread, been updated a lot, and has gained a lot of cool things. NaviaChar has also been released, but was too buggy to keep on the server. They worked quite well together though.


    ~ McAndze
  3. Offline


    Forgot I had this thread. I re-did it to fit the new DanAndChat update.

    Changelog - 0.1.10:
    • Added chat-logging. A log will be saved in plugins/DanAndChat/logs/<ChannelName>.log
    • Added /channel write - to write everything to the respective log file.
    • Added equivalent console command.

    Changelog - 0.1.11:
    • Refactored some code. Made it easier for me to work with.
    • Removed annoying debug code.

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


    Does it work with factions ?
  5. Offline


    I'll take a look at it and report back.

    - McAndze

    It definitely works with Factions. But don't enable Factions chat. I'll look into hooking into Factions.

    Added a small fix, where a player's channels would not initialize when joining the server. This is such a small fix, that I decided not to consider it a new version.
    Use the same download links as before :)

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


    This changelog may be of your interest. Just a small update:

    Changelog - 0.1.12:
    • Fixed channel initialization.
    • Now works alongside Factions Chat.
  7. Offline


    Hey would you be able to add A health bar ? like in hero chat or mchat etc ?
  8. Offline


    That's a great idea! I'll add it to the list of formatting possibilities.
    It'll be included in 0.1.13.
  9. Offline


    also does it work with permissionsex ?
  10. Offline


    DanAndChat uses the built-in permissions system. As far as I know, PermissionsEX supports this. So, yes. Though I've only tested it with PermissionsBukkit.

    @jake122122 - This might be of interest too, I added your request:

    Changelog - 0.1.13:
    • Now removes &PLAYER.COLOUR if ColorMe isn't enabled.
    • Added support for RPGWorld.
    • Added formatting variable &PLAYER.RPGPREFIX to use the prefix from RPGWorld in the chat.
    • Added formatting variable &PLAYER.HEALTH to show player's health in the chat.
    • Fixed a bug, where a player would not be granted any channels, if not specified in permissions.
    • Removed annoying debug messages.

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


    Error occurred while enabling DanAndChat v0.1.13 (Is it up to date?): me/samkio/RPGWorld/chat/RPGWorldChatPlugin
    java.lang.NoClassDefFoundError: me/samkio/RPGWorld/chat/RPGWorldChatPlugin
        at com.gmail.andreasmartinmoerch.danandchat.DanAndChat.initializeStuff(DanAndChat.java:110)
        at com.gmail.andreasmartinmoerch.danandchat.DanAndChat.onEnable(DanAndChat.java:76)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: me.samkio.RPGWorld.chat.RPGWorldChatPlugin
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
    Whats going on here? If you tell me I would like to ask you something else.
  12. Offline


    Looks awesome, gonna try it now. :D
  13. Offline



    EDIT: Nevermind, it's now fixed. Use normal download links :)
  14. Offline


    Changelog - 0.1.14:
    • Temporarily removed support for RPGWorld, as there were a few conflicts. when RPGWorld was not installed.
    • Added formatting variable &PLAYER.PREFIX
    • Added permission "danandchat.prefix.<PREFIX>" to accompany &PLAYER.PREFIX
  15. Offline


    Pretty much the same as Hero Chat..
  16. Offline


    From the first post:

    Also a bit of information:

    DanAndChat started out as NaviaChat, supposing to replace "ChatChannels" which was a plugin for hMod. I kept it to myself for a while, but when it started maturing and became more of an RP-plugin I decided to release it. This was in early January I think. Now, many months later, I picked it up again. I'll soon start working on the RP-features again, which will give DanAndChat, while still being an Open-Source alternative to HeroChat, some cool rp-features, which you can use if you want.

    So yes, this is pretty much the same as HeroChat. Maybe you can consider HeroChat Microsoft Office (Though less proprietary) and DanAndChat OpenOffice/LibreOffice, what have you :)

    - McAndze
    Doidle likes this.
  17. Offline


    Sounds reasonable =)
  18. Offline


    How exactly does one go about using the prefix system implemented on this. I need to begin moving to permissions bukkit and this is the only chat plugin I like the supports both prefixes and perms.
    So how would I use the nodes for prefixes an such? Perhaps you may want to include a bit more instruction on that. Sorry as I appear to be a noob :p
  19. Offline


    Go to the PermissionsBukkit thread. This thread tells you how to add permissions.
    The permissions you have to add are: "danandchat.prefix.<PREFIX>" where you replace <PREFIX> with the prefix you want.

    If you need support with Permissions, you probably want to go there instead. Not that I don't want to help you, I just won't have the time before tomorrow :)
  20. Offline


    All right, cleaned up the thread, uploaded 0.2-dev, and preparing for 0.2.

    EDIT: Lost all the files for 0.2, so I'm working on decompiled files now. This will take a while to clean up. It's been reported though, that 0.2 is pretty stable for now.

    Added some more to the 0.2-dev.

    • Added subcommands to /channel: /channel reload
    • Added permissionnode: danandchat.channel.reload
    • Added "me-formatting" to channels.yml
    • Added "globals" sections to channels.yml, to fall back to.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 7, 2016
  21. Some Error on startup after downloading the .jar:

    2011-09-26 06:29:52 [SEVERE] Error occurred while enabling DanAndChat v0.1.14 (Is it up to date?): null
            at com.gmail.andreasmartinmoerch.danandchat.Settings.getChannels(Settings.java:44)
            at com.gmail.andreasmartinmoerch.danandchat.channel.Channels.<init>(Channels.java:17)
            at com.gmail.andreasmartinmoerch.danandchat.DanAndChat.initializeStuff(DanAndChat.java:113)
            at com.gmail.andreasmartinmoerch.danandchat.DanAndChat.onEnable(DanAndChat.java:76)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Doesn't the .jar creates the required files on first startup?
    Seems not - and error while trying to catchup the channels or something :eek:

    craftbukkit #1185
  22. Offline



    It does not actually, only the 0.2 version does that. It's been reported that the download links are corrupt so I'll fix those once I get access to a computer:p
  23. Offline


    Can I remind you about CraftIRC support? I'm currently using a bad workaround to get it to work.
  24. Offline


    Added to my To-do list. It may be included with the next release (1.0.0)
  25. Offline


    I'm getting the same error. I'd really like to know how to fix this, as DanAndChat is the only DECENT chat plugin that supports local and /me chats...
  26. Offline


    That error is fixed in DanAndChat 1.0.0. Expect a beta tomorrow. Maybe even tonight. If something goes wrong, I'll try applying the same fix to the old versions, so you have something to use meanwhile.
  27. Offline


  28. Offline


    I love this plugin ! You made everything very intuitive and easy to set up. I love all the features you implemented so far. I run quite a large server and had been looking for a replacement for herochat. One problem im having at the moment, is that /prefix is throwing up errors in the console. I will try to use a temporary plugin for prefixes for now.
  29. Offline


    Thanks a lot for your comment! I think I know which error you're having (This is an alpha after all), but if you want to, you can go ahead and post the error log here, if the next version doesn't fix it. I'll try releasing alpha3 within a few hours.

    EDIT: Nevermind, found your ticket on BukkitDev :)
  30. Offline


    No problem ;) Would it be possible to send /me only to a local channel? Also what are the 'Roleplaye features' you mention on your to-do list ?
  31. Offline



    /me's only send to the channel you're focused at. (Another plugin might use the command /me though). This is not documented, but I'll include proper documentation (How to use, format and enable global emotes) with the next alpha. It also has its flaws so I'll have to fix those first.

    This used to be called NaviaChat, long time ago before I abandoned it for quite a while, and was focused at roleplaying. I am planning on including those features again, but of course making them completely optional. I'll see if I can dig up the old feature-list.

Share This Page