[INACTIVE] [DEV/ADMN] PluginFileManager v1.0.0 - Keep all the player files in one place [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Boreeas, Aug 13, 2011.

  1. PluginFileManager attempts to keep the number of open documents to a minimum, to both reduce ram usage and to make manual editing easier.
    I use this on a server I play on which uses a lot of plugins which need to keep data about players, and I decided to share it.

    Version: 1.0.0
    Recommended Build: 1000

    For server admins:
    Place this in the plugins folder. That's it, no permissions to add or anything to configure. If everything works alright, you should be albe to find all your player information in the plugins/FileManager folder

    For plugin developers:
    Import the jar.
    Create a new PlayerProperties Object. The argument is the name of the player and also the name of the file. I would recommend that you use Player.getName() - of course, you can create any properties file with it, but intended is it for players. You can add strings and primitive types for now - it will automatically parse anything to strings, and also fetch them, of course.
    The arguments are
    * key - The key you want your value associated with
    * value - The value, duh
    * plugin - The name of your plugin - This should avoid namespace issues, and throw a NamespaceAlreadyInUseException if a plugin other than yours already uses they keyword

    Please make sure to build in a failsafe, in case an admin does not use this plugin

    Please note that this plugin is still in the alpha phase, I can't guarantee that there won't be namespace issues or lost data later on.

    Download:
    <Edit by Moderator: Redacted mediafire url>

    Github:
    https://github.com/Boreeas/FileManager

    Changelog:
    Version 1.0.0
    * Initial release
     
    Last edited by a moderator: Nov 12, 2016
  2. Offline

    RobZ_SD

    Im sorry, but what does this do?
     
  3. Offline

    Zaros

    Stores everything in one folder/file to reduce the need for massive disk/ram usage.
    Edit: I'm suprised this hasn't caught on, its a great idea.
     
    microskies likes this.
  4. @Zaros Almost no one downloaded this, so I didn't continue with it. If people want me to update it for 1185, I'll do that
     
  5. Offline

    Zaros

    I honestly think bukkit should adopt it. Its a lot faster and friendlier than the current method!

    I mean, think about it. Bukkit keeps all the information together. Why not keep all plugin user data together.
     
  6. Offline

    Tadzius147

    I get error . maybe someone know fix ?


    Code:
    18:30:48 [SEVERE] Error occurred while enabling FileManager v1.0.0 (Is it up to
    date?): null
    java.lang.NullPointerException
            at java.io.File.<init>(Unknown Source)
            at com.fantasycraft.filemanager.NamespaceCheck.<init>(NamespaceCheck.jav
    a:23)
            at com.fantasycraft.filemanager.FileManager.onEnable(FileManager.java:24
    )
            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(SimplePluginManage
    r.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)
     
  7. @Tadzius147
    This plugin is sadly no longer supported - it was never actually used in first place, as far as I know.
     
  8. Offline

    efstajas

    It was. No posts means no problems. ;)
     
  9. @efstajas
    71 downloads ;). Plus, this is only a framework - without any plugins using it, it is useless.
     
  10. Offline

    efstajas

    Aaah, okay. nevertheless it's a great idea and you should maybe ask some of the main devs of bukkit to integrate something similar into cb.
     

Share This Page