Inactive [DEV] NarrowtuxLib v1.3.1 - Assistant, Translation, Notifications, etc. [1.2.3-R0.3]

Discussion in 'Inactive/Unsupported Plugins' started by narrowtux, Jul 12, 2011.

  1. Offline

    narrowtux

    NarrowtuxLib
    Version 1.3.1

    This Library has been created by me to have a common base for all of my plugins.
    Feel free to use it's functionality in your own plugins ;)

    Features
    • Assistant API - You may know the Assistants from my Showcase plugin, the classes have now been moved to this plugin, so when multiple plugins use assistants, they won't interfere so much like it is now
    • Translation API - Translations can be in a flatfile (key=value). Translations can have multiple arguments and colors in [COLOR]-Tags.
    • Notification API - Plugins can send notifications to players. When the players are offline, the notifications are gathered and send to them when they come online
    • Some Helper-Classes, like the FlatFileReader or FileUtils which can get/set contents to a file.
    • Auto-Update - so every Server has the latest version of that (thanks @Afforess for this one in your source ;))
    • @nijikonkun 's Register API built in!
    Download
    NarrowtuxLib.jar
    Sourcecode on github

    Plugins that use this Library
    • Showcase
    • PistonChest
    Feel free to drop a message with your plugin here ;)

    Changelog

    Version 1.3.1
    • Compatible build with 1.2.3-R0.3
    [snip...]
    Version 1.0
    • Uses Register.jar as plugin, thus fixes some bugs concerning economy systems.
    Version 0.5
    • Updated for Spout
    • Assistant use the GUI when spoutcraft is installed on the client.
    • Can disable the automatic installation of Spout in the config (use with caution, this will likely break plugins which use the Assistant API)
    Version 0.4
    • Register API
    Version 0.3
    • Notification API
    • BukkitContrib dependency
    Version 0.2
    • First public release
    Todo
    • Documentation with JavaDocs (nearly done)
    • Add a NarrowtuxPlayer class which can handle Item-add/remove and Money, as well as sending messages and notifications (via BukkitContrib)
     
    lolwizard, dark_hunter and woodzy like this.
  2. Offline

    Sayshal

    Yep.. :/ any fix?
     
  3. Offline

    Alex Parks

    I honestly don't like what you're doing here, either. I don't need these kind of plugins in my server..
     
  4. Offline

    narrowtux

    You're free to not use them but then you can't use my other plugins too.

    I'm sorry, fixed the issue.

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

    alfskan

    :'(where can I found old ver.? 0.4 needed..
     
  6. Offline

    Deva5tat0r

    Can you plz make v0.4 available for download.
     
  7. Offline

    chersn

    pls link download 0.4
     
  8. Offline

    lamas525

  9. Offline

    Deva5tat0r

  10. Offline

    Cenarius

    it keeps downloading spout, and when i set it to false it gives an error :
    Code:
    14:50:12 [SEVERE] Error occurred while enabling NarrowtuxLib v0.5.1 (Is it up to
     date?): org/getspout/spoutapi/event/screen/ScreenListener
    java.lang.NoClassDefFoundError: org/getspout/spoutapi/event/screen/ScreenListene
    r
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(Unknown Source)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$000(Unknown Source)
            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.JavaPluginLoader.getClassByName(JavaPluginLoad
    er.java:219)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:32)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at com.narrowtux.Main.NarrowtuxLib.registerEvents(NarrowtuxLib.java:110)
    
            at com.narrowtux.Main.NarrowtuxLib.onEnable(NarrowtuxLib.java:83)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:878)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:272)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146
    )
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: org.getspout.spoutapi.event.screen.
    ScreenListener
            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)
            ... 27 more
    14:50:12 [INFO] Version: 51
    14:50:12 [INFO] [NarrowtuxLib] Payment method found (iConomy version: 5)
    EDIT: i've showcase and i love it, please don't force me to use spout my players hate the client idea -.-
     
  11. Offline

    narrowtux

    You don't need the client, it works great with vanilla clients too.
    Everything in Showcase falls back to chat when no spoutcraft client is installed.
     
    Cenarius likes this.
  12. Offline

    erdrickk

    I am using showcase 0.73 and NarrowTuxLIB 0.5 with the option set to NOT download Spout

    I get this like 1000000000000000 times

    2011-08-05 22:44:41 [SEVERE] Could not pass event PLAYER_CHAT to NarrowtuxLib
    java.lang.NoClassDefFoundError: org/getspout/spoutapi/gui/PopupScreen
    at com.narrowtux.event.NTLPlayerListener.onPlayerChat(NTLPlayerListener.java:15)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:682)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: org.getspout.spoutapi.gui.PopupScreen
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    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(ClassLoader.java:321)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    ... 13 more

    can I get a link for NarrowtuxLIB 0.4 ?? I want to use that and go back to showcase 0.72 so my users can have shops. The link above keeps giving me page loading errors

    edit:

    I also get this in the Starup Logs.......I have the Spout auto download turned off in the Config

    [SEVERE] Error occurred while enabling NarrowtuxLib v0.5.1 (Is it up to date?): org/getspout/spoutapi/event/screen/ScreenListener
    java.lang.NoClassDefFoundError: org/getspout/spoutapi/event/screen/ScreenListener
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:219)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:32)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    at com.narrowtux.Main.NarrowtuxLib.registerEvents(NarrowtuxLib.java:110)
    at com.narrowtux.Main.NarrowtuxLib.onEnable(NarrowtuxLib.java:83)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: org.getspout.spoutapi.event.screen.ScreenListener
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    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(ClassLoader.java:321)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    ... 26 more

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

    funstein

    @narrowtux So I had been using Showcase, BukkitContrib and Narrowtuxlib on my server, but it suddenly started asking for Spout. I do NOT want to use spout, I am OK with BukkitContrib, and had some hard times having players use it, so I'd appreciate if you could tell me how to use Showcase without Spout. I want the old version back.
     
  14. Offline

    narrowtux

    You should remove BukkitContrib, Spout is it's successor. If you have any plugins that still use BukkitContrib, urge their authors to update to Spout!
     
  15. Offline

    erdrickk

    So NArrow - do you have any ideas regarding my Errors I've posted? I really need some help here.

    Also - so far Spout is one giant laggy buggy mess, I hate it so much.

    Man I just checked my server logs and have 20 Megs of that damn error spamming

    Can you please for the love of god post up the NarrowTuxLIB 0.4 version

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

    funstein

    @narrowtux Why isnt it possible to use the old version? I am sure noone wants Spoutcraft instead of minecraft. It supports nothing.

    at least noone on my server.

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

    Bobertbarker

    Ok I'm going to sound like the biggest noob ever, but I have this in my plugins folder and I have no idea where it came from. I definitely didn't download it. And now my chat doesn't show up. I see everything in the console, but I see nothing in game chat, other than things like HeroicDeath and server notifications and such. When I try to talk it sends an error saying "Could not pass event PLAYER_CHAT to NarrowtuxLib"
     
  18. Offline

    Sayshal

    What plugins do you use?
     
  19. Offline

    erdrickk

    If you use Showcase then this plugin auto downloads and installs...Fail, I know. Honestly this is a terrible buggy piece of garbage.
     
    Sayshal likes this.
  20. Offline

    narrowtux

    Another time: You just need the PLUGIN on your server, not the client mod, which adds some nice features, but Spout can work completely without it!
    This was downloaded by Showcase, because it's a library.
    Can you post the complete error log?
     
  21. Offline

    funstein

    @narrowtux alright then. Thanks for that.
     
  22. Offline

    Clucky

    Help...:eek: :(
     
  23. Offline

    Bobertbarker

    Everything seems to be working fine all of a sudden. Thanks anyway.
     
  24. Offline

    narrowtux

    Delete BukkitContrib, update all plugins that use BukkitContrib.
     
  25. Offline

    Mozartripper

    the jar url lead to a blocked site. (Reported Web Forgery)
     
  26. Offline

    Digi

    I want this to work without spout, it seems it has a option to disable spout downloading but it gives errors when loading without it and when players chat :/

    Show Spoiler
    2011-08-10 11:53:46 [SEVERE] Error occurred while enabling NarrowtuxLib v0.5.1 (Is it up to date?): org/getspout/spoutapi/event/screen/ScreenListener
    java.lang.NoClassDefFoundError: org/getspout/spoutapi/event/screen/ScreenListener
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    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.JavaPluginLoader.getClassByName(JavaPluginLoader.java:219)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:32)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.narrowtux.Main.NarrowtuxLib.registerEvents(NarrowtuxLib.java:110)
    at com.narrowtux.Main.NarrowtuxLib.onEnable(NarrowtuxLib.java:83)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:285)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:272)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:336)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: org.getspout.spoutapi.event.screen.ScreenListener
    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)
    ... 27 more

    Show Spoiler
    12:02:17 [SEVERE] Could not pass event PLAYER_CHAT to NarrowtuxLib
    java.lang.NoClassDefFoundError: org/getspout/spoutapi/gui/PopupScreen
    at com.narrowtux.event.NTLPlayerListener.onPlayerChat(NTLPlayerListener.java:15)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:682)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:452)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:362)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: org.getspout.spoutapi.gui.PopupScreen
    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)
    ... 13 more
     
  27. Offline

    narrowtux

    Oh, seems I have to change my host…

    Who the fuck reported this download as phishing?
    It's not funny and also a phishing site isn't a download (which means you're pretty dumb)

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

    rondan69

    an error with NarrowtuxLib


    bukkit 1056 and Showcase bukkit v0.7.3

    11:56:02 [INFO] XXXXX [/127.0.0.1:49933] logged in with entity id 171 at ([wo
    rld] 14.954549918107553, 79.0, 116.20743631043005)
    11:56:02 [SEVERE] java.lang.NullPointerException
    11:56:02 [SEVERE] at java.lang.System.arraycopy(Native Method)
    11:56:02 [SEVERE] at java.io.BufferedOutputStream.write(Unknown Source)
    11:56:02 [SEVERE] at java.io.DataOutputStream.write(Unknown Source)
    11:56:02 [SEVERE] at net.minecraft.server.Packet51MapChunk.a(Packet51MapCh
    unk.java:88)
    11:56:02 [SEVERE] at net.minecraft.server.Packet.a(Packet.java:116)
    11:56:02 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:107)
    11:56:02 [SEVERE] at net.minecraft.server.NetworkManager.d(NetworkManager.
    java:263)
    11:56:02 [SEVERE] at net.minecraft.server.NetworkWriterThread.run(SourceFi
    le:107)
    11:56:02 [INFO] Connection reset
    11:56:02 [INFO] XXXXX lost connection: disconnect.genericReason
     
  29. Offline

    an0x

    ive send to google as to stopad thats not an phishing site i hope this helps to kill this stupid warnings
     
  30. Offline

    slantykins

    NarrowtuxLib is downloading Spout 1.0.1 which is causing #1060 servers to stop letting people join. Can you update to remove the auto-download as its not a useful feature at all when it causes issues like this?
     
  31. Offline

    narrowtux

    You can configure to not download it but it's not recommend when you use showcase.
    Thx I did too, is there any way to see if that has been approved?
     

Share This Page