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

    narrowtux

    It wasn't working in 1.0.0 but I updated and it works.
     
  3. Offline

    Clucky

    Code:
    09:59:40 [INFO] Downloading Register.jar (66kb) ...
    09:59:41 [INFO] 99%
    09:59:41 [INFO] Download finished
    09:59:41 [SEVERE] Could not pass event PLUGIN_ENABLE to Register
    java.lang.IncompatibleClassChangeError: Expected static method com.nijikokun.register.payment.Methods.hasMethod()Z
        at com.nijikokun.register.listeners.server.onPluginEnable(server.java:37)
        at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:585)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:964)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at com.narrowtux.narrowtuxlib.NarrowtuxLib.checkForRegister(NarrowtuxLib.java:310)
        at com.narrowtux.narrowtuxlib.NarrowtuxLib.onEnable(NarrowtuxLib.java:108)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:170)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        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)
    09:59:41 [INFO] [NarrowtuxLib] v1.0.1 by [narrowtux] enabled.
    09:59:41 [SEVERE] Could not pass event PLUGIN_ENABLE to Register
    java.lang.IncompatibleClassChangeError: Expected static method com.nijikokun.register.payment.Methods.hasMethod()Z
        at com.nijikokun.register.listeners.server.onPluginEnable(server.java:37)
        at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:585)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:964)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        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)
    09:59:41 [SEVERE] Permission node 'groups' in server config is invalid
    java.lang.IllegalArgumentException: 'default' key contained unknown value
        at org.bukkit.permissions.Permission.loadPermission(Permission.java:268)
        at org.bukkit.permissions.Permission.loadPermission(Permission.java:235)
        at org.bukkit.craftbukkit.CraftServer.loadCustomPermissions(CraftServer.java:455)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:160)
        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)
    
    
    I manually updated and I still get this error. Why?
     
  4. Offline

    Liger_XT5

    Some plugins conflict with the register.jar file. Just delete the register.jar and go into the narrowtuxlib folder, in the config file change the option to download register to false, then rerun your server.
     
  5. Offline

    GravelSocks

    Do not use/embed calls to this plugin, or use it at your own risk. As above, it potentially downloads unsolicited files from tetragaming.com, getspout.org, etc. and, at a minimum, causes remote logging of private minecraft server locations at 3rd parties. It is a security risk and also downloads incompatible plugins (Register.jar) that cause server errors.

    The developer has not explained how the logged information is being used and/or stored and/or why there is no up-front disclosure in other plugins which use NarrowTuxLib (ie. Problems with PistonChest) -- or even this one -- nothing in the header about calls to remote servers. Furthermore, logging for the remote calls is intentionally obscured from the main minecraft server log. The point at which you "delete Register.jar" and/or change config files is already after the server has made remote download calls.

    There is no reason that any plugin should download code/invoke calls to remote locations without prior disclosure and permission and/or fail to log all such activity. This plugin should be removed/suspended until the developer provides full disclosure/explanation of his motives and explains how all harvested data is being used and stored. ( @Plague )

    In addition, a security audit should be part of the plugin approval process and bukkit.org should require all developers to fully disclose all other plugin dependencies, remote accesses, logging practices, and data exchanges in the plugin description to help better protect the bukkit userbase.
     
  6. Offline

    Kaikz

    What does it send to a remote server?

    btw, tetragaming is owned by someone on here. The guy offered free plugin hosting for devs.
     
  7. Offline

    GravelSocks

    At a minimum, it initiates unsolicited/unauthorized downloads of hidden dependencies and causes server ip addresses to be logged at remote sites. Other than that, I haven't crawled over all the source, but it shouldn't be doing either of those things in the first place. If someone is offering "free" plugin hosting, how are they using the information they are collecting?
     
  8. Offline

    Monimix

    With ShowCase, I receive 2 notifications with the same numbers, and impossible to read them :/
    When I reload my server, this bug disappear. Just me?
     
  9. Offline

    GravelSocks

    Any reply on how/why private minecraft server information such as IP address is being logged and used by you or others on remote systems and why you do not disclose that you establish remote connections and download unsolicited code?
     
  10. Offline

    MysticalMan

  11. Offline

    Joy

  12. Offline

    amunro

    Any fix?

    Code:
    2011-12-15 13:17:22 [SEVERE] Error occurred while enabling NarrowtuxLib v1.1.0 (Is it up to date?): tried to access class org.getspout.spout.player.SimpleFileManager$2 from class org.getspout.spout.player.SimpleFileManager
    java.lang.IllegalAccessError: tried to access class org.getspout.spout.player.SimpleFileManager$2 from class org.getspout.spout.player.SimpleFileManager
        at org.getspout.spout.player.SimpleFileManager.addToCache(SimpleFileManager.java:280)
        at com.narrowtux.narrowtuxlib.NarrowtuxLib.onEnable(NarrowtuxLib.java:99)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  13. Offline

    Royalgamer06

    Please update to RB 1.0.1-r1!
    I have Win7, 64 bit, java 1.7
    error log on reload:
     
  14. Offline

    riolu447

    Hey narrowtux! idk if it is showcase or narrow tux lib but when people try to make or stock showcases we get the following error:
    Error (open)

    [SEVERE] Could not pass event PLAYER_CHAT to NarrowtuxLib
    java.lang.NullPointerException
    at org.bukkit.craftbukkit.inventory.CraftItemStack.clone(CraftItemStack.java:215)
    at org.bukkit.craftbukkit.inventory.CraftItemStack.clone(CraftItemStack.java:13)
    at com.narrowtux.showcase.ShowcasePlayer.remove(ShowcasePlayer.java:89)
    at com.narrowtux.showcase.types.FiniteShowcase.createShowcase(FiniteShowcase.java:83)
    at com.narrowtux.showcase.ShowcaseCreationAssistant.onAssistantFinish(ShowcaseCreationAssistant.java:91)
    at com.narrowtux.narrowtuxlib.assistant.Assistant.stop(Assistant.java:240)
    at com.narrowtux.narrowtuxlib.assistant.Assistant.onPlayerChat(Assistant.java:88)
    at com.narrowtux.narrowtuxlib.event.NTLPlayerListener.onPlayerChat(NTLPlayerListener.java:32)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:727)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:183)
    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:93)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:586)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

    Thanks for the help!
     
  15. Offline

    slappy9876

    @narrowtux Help what plugins do I need and what do I need to do to set it up and use it!
     
  16. Offline

    seanth

    After a lot of debugging, I tracked an odd problem down to NarrowtuxLib 1.2.0. When it is present, it somehow conflicts with the MyHome plugin and keeps players from using /home
     
  17. Offline

    dimer3

    I want to get rid of this plugin since my server is very laggy but everytime I try to get rid of the plugin it just comes back.

    I deleted the jar and the folder but it just downloads it self back.
     
  18. Offline

    CKSpoiler

    Hey, could you please update to R5? :)
     
  19. Offline

    DaEgo

    This Plugin is not compatible with newest update
    CB 1943 (http://dl.bukkit.org/downloads/craftbukkit) is the last version it works with plugin
    please update
    thx

    Show Spoiler

    Code:
    Could not load 'plugins\NarrowtuxLib.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerListener
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:153)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:288)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:212)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:186)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:162)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerListener
        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:41)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at com.narrowtux.narrowtuxlib.NarrowtuxLib.<init>(NarrowtuxLib.java:58)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:149)
        ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.player.PlayerListener
        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:41)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 27 more
    
     
  20. Offline

    Vas

    Seems like another abandon mod.

    Code:
    2012-03-02 17:45:04 [SEVERE] Could not load 'plugins/narrowtuxlib.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerListener
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:148)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:287)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:211)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:206)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:182)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:147)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerListener
        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:41)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        at com.narrowtux.narrowtuxlib.NarrowtuxLib.<init>(NarrowtuxLib.java:58)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144)
        ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.player.PlayerListener
        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:41)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 26 more
     
  21. Offline

    revo96

    Can you update this to R5 or R6 or R0-2
     
  22. Offline

    Turitafo

    Update to R6 please, i need it for showcase
     
  23. Offline

    DaEgo

    actual error
    Show Spoiler
    Code:
    Error occurred while enabling NarrowtuxLib v1.3.0 (Is it up to date?)
    java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getAuthors()Ljava/util/ArrayList;
        at com.narrowtux.narrowtuxlib.NarrowtuxLib.sendDescription(NarrowtuxLib.java:132)
        at com.narrowtux.narrowtuxlib.NarrowtuxLib.onEnable(NarrowtuxLib.java:100)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:363)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
     
  24. Offline

    tincopper2

    I have it, i get errors, but showcase still works :/
     
  25. Offline

    DaEgo

    send it to me plz, for me its only "show" i dont use it as trader
     
  26. Offline

    Austin

    narrowtux

    I assume your updating this...?
     
  27. Offline

    7143travis

    Is this plugin compatible with 1.2.3? Just wondering...
     
  28. Offline

    treestompz

    Does anyone have this running smoothly on 1.2.3?
     
  29. Offline

    Ejupa

    I would like a way to use just the floaty block part of showcase and none other stuff. Seeing that narrowtuxlib errors like no tomorrow and still isn't fixed yet. Myself and a lot of other servers just use it in that way for just the floaty blocks for the stores. Could you just make a lite ver with just that. I think it would make a lot of admins happy if you did. and it would be a hell of a lot less programming. :)
     
  30. Offline

    dabiggman

    To answer every question:

    No, this isn't compatible with 1.2.3 and no, Narrowtux has not shown up in a few weeks to update it. I would move along like most server owners have.
     
  31. Offline

    gabessdsp

    PLEASE COME AND UPDATE YOUR MOD! Your mod is now broken with Minecraft 1.2.3!!!!!!!!!!!!! :'(

    So how can I move along running my server if some of my essential mods require this narrowtuxlib?

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

Share This Page