[MISC/GEN] PluginsManager [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by waf, Feb 24, 2011.

  1. Offline

    waf

    Me4tGrind3r likes this.
  2. Offline

    waf

    i may make it so that different plugins can be disabled/enabled for different worlds. obviously, this is assuming that bukkit does not implement this into its code. then i may not change the name.

    thank you :)
    see previous post though.
    all of the html stuff will still be here though. this is the main point of this plugin, as you all are aware of.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
  3. The css part? That was just me understanding what the css file is for (I didn't know that I had to make one at the time) or the plugin change log part? By that I mean if would be extremely helpful if you could grab the change log of other plugins with yours and put them under their plugin in the .html file (maybe even add a spoiler like box so you can click and it will revel the logs? :) ) Because I use the uptodate plugin to keep my plugins up to date and use yours to both check the current version as well as put it on my site so the users know what plugin are currently in use. Having the change log will help greatly because it will tell the users what has changed in each plugin as well as any new features. I know it sounds like of hard but most (if not all) plugin makers have a change log on their site (for their code) that maybe you can just grab the link to and add it to the .html file. If you have this, I am sure more people will download as it would be a GREAT tool to have ^^
     
  4. Offline

    waf

    interesting idea, but every plugin developer has a very different way of how they put their ChangeLogs on their websites. there is no standard way of doing it, unless they can send me a link to it like the CraftBukkitUpToDate plugin.
     
  5. If you did that, I would be willing to tell every plugin maker about it. If anything, I am sure they would be willing to tell you once they see this feature is available.
     
  6. Offline

    waf

    if you can, that would be great.
    thank you.

    but the changelog would probably have to be a webpage that just has it.
    it would be difficult to parse hundreds of different types of changelog pages if it was embedded in some other page.

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

    marshall007

    It would be fantastic if this plugin could export the raw plugin data to a database, or even just a flat file. I'd like more control over how this data is displayed on my site, and simply having a separate page isn't really intuitive. It would be great if we could extract this data and format it anyway we please.

    With the way this community is set up, it's hard for a plugin that isn't already very widely used to get other developers on board with such things.
    Yea, and handling changelogs would be quite messy. You're going to not only have to contact each developer and manually update/add the location of their changelog (and then parse it if it's not a file), but also reformat it so that each one is consistant and displayed nicely on the page your plugin generates. If you're going down this road at all I'd say just provide a link to the changelog next to the plugin version.


    Anyway, good luck with future development! I hope dearly that you decide to implement something like what I have suggested above, it would be quite useful!
     
  8. The maker of the mcMMO plugin said we have his permission to use his change log for the plugin
     
  9. Offline

    waf

     
  10. Offline

    marshall007

    If you're going the database route, I would suggest each plugin have its own row in the table, and then subsequent data in each column like version number, install date, and whatever other data about each individual plugin your plugin ends up extracting. If you just give us a flat file, I'd suggest XML formatting. Either one of these methods would make getting plugin data quite easy using PHP, but the option to use a MySQL database would be better imho.

    I assume by this you mean within the generated HTML page? This would be nice, but my goal is to display plugin data on my existing pages (as per my original suggestion).
     
  11. Offline

    waf

    i actually mean both. i will probably support generating a separate html page and just html that can be put into an existing page.
     
  12. Offline

    marshall007

    Alright, awesome! I'll be following development, keep it up.
     
  13. Offline

    waf

    on that note, what do you mean by displaying the data on your "existing pages"? what do you expect as an output of the plugin then?
     
  14. Offline

    marshall007

    I want an easy way to extract plugin information (using PHP or whatever you want) and display it on a page I create. Sorry if this isn't making sense, I'm not sure how else to explain it. Basically right now your plugin outputs an .html file which is really hard to parse through and get the raw data for use on my custom= page. I'd like to have it export either an .xml file (preferably to a directory we can set) in formatting similar to this (or, better yet, store similarly sorted data in a MySQL database):
    To clarify some tags, <time> is that time you currently list in the footer. <active> would be active number of plugins, <inactive> the number of inactive plugins, and <sum> would be total number of plugins on installed on the server.

    Edit: fixed some grammar/misspellings.
     
  15. Offline

    Plague

    Don't use a plus sign in the version tag. If you really need to use more versions, use [X-Y] or [X,Y].
     
  16. Offline

    waf

    my bad, fixed.
     
  17. Offline

    Toasty

    Canonical has been doing it with Ubuntu for years. They release the OS twice a year; once in April, and once in October. Thus, version 10.04 was released in April 2010.
     
  18. Offline

    MuttsNuts

    Does this support multi-worlds?
    I am looking for something to enable/disable plugins per world so I can stop the plugins for my rpg world from running in my creative world. Some of them have no permissions/commands hence not being able to stop them from running in the creative world, for example iConomy and related plugins are the most concern as it makes it easy for players to earn money just by playing in the creative world without the risks as fall damage etc is switched off.
     
  19. Offline

    waf

    i will eventually support multi-worlds. it is on my list of stuff to do.
     
    MuttsNuts likes this.
  20. Offline

    MiracleM4n

    I would like it if you could make it so that the plugins are in alphabetical order (Much easier to find a plugin). This would be much appreciated.
     
  21. Offline

    waf

    i will make that an option in the settings files when i next release an update to the plugin.
     
  22. Offline

    MiracleM4n

    Any ETA for next release as this would make the webpage it generates a lot more readable.
     
  23. Offline

    waf

    i plan on tentatively releasing the next update toward the end of july, since i will be adding support for permissions and craftirc. but i may release a bug fix for the slashes issue earlier and put the alphabetizing update in as well.
     
  24. Offline

    MiracleM4n

    Thanks. Will be looking forward to this. Will the source be up earlier on your GitHub?
     
  25. Offline

    waf

    yes it will. i usually release very minor updates on my website (the jar files), but the github will show all of the changes made.
     
  26. Offline

    waf

    This is a very minor update. Only added the option to alphabetize the plugins. There is a problem with new lines when the list is passed to the game itself. I will release another fix later in the month.

    Side note, from a long time ago: rename the config.yml file to pluginsmanager.setting in order for the plugin to continue working, if you have not done so already.

    I am aware the lp/listplugins command in game does not alphabetize the plugin names. I will be fixing that problem soon, and release an update in the next couple of weeks.

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

    MiracleM4n

    Permissions error for all current download links now (Current version here and the current version on you site). Please take a look into this.

    Also how do you set this alphabatization?

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

    waf

    oops, fixed.

    there is an option in the plugin settings file. Though, if you run the program with the line not there, it will recreate the entire file. I will look into a way to fix it so that it just adds to the file and not recreate the entire file.
    Also, if you want to just add the option yourself, the example settings file has been updated.

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

    MiracleM4n

    Thanks it didnt auto create it for the version I compiled myself. As for the alphabetization it is sorting all uppercase first than after it goes A-Z it than does lower case a-z anyway to fix this so that it doesnt matter what the case is?

    Also your GitHub is not up to date :(

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

    waf

    forgot to update it, done.

    first a question, what do you mean when you compiled yourself it does not create the file?
    second, i will fix the alphabet case issue in the next update. though i wonder if people prefer it case sensitive or not. probably case insensitive like you said.

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

Share This Page