[WEB] plugin.yml displayer for devs

Discussion in 'Bukkit Tools' started by jkcclemens, Apr 18, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    jkcclemens

    I've been working on this for a while. Basically, what this does is read your plugin.yml from a url (e.g. your GitHub repo), and display it in a table. I wanted this since I'm way too lazy to update a table with all the data in my plugin.yml, but I couldn't find one. If one exists, then boy, do I feel idiotic.

    Here's an example.

    Features:
    • Fully HTML5 compliant and valid (check)
    • Uses Bootstrap
    • Easy to use (small setup)
    • No styling required
    • Reads plugin.yml automatically, so you don't need to create a table for your plugin
    Le source.

    - jkcclemens

    P.S.
    Really not sure if this is the right category, but I should suppose it is.
     
  2. Offline

    xXSniperzzXx_SD

    Can i get a link so i can do with mine?
     
  3. Offline

    jkcclemens

    What do you mean? Do you want a link to the source (in the post), or did you want a plugin.yml link? If you want one of those, just use GitHub (I assume you already push your source there).

    EDIT:
    If you don't use GitHub, I'm sure you could use Dropbox.
     
  4. Offline

    Mike111177

    What if you have a lot of subcommands? Will this work?
     
  5. Offline

    jkcclemens

    It shows the usage. May not work entirely well with just subcommands.
     
  6. Offline

    Mike111177

    i mean like i have a command /apples
    but it doesnt really do nything but /apples orange
    does do something
     
  7. Offline

    Mike111177

    all it gives me when i use it is
    Code:
    Command List
    $desc) { print ""; print ""; print ""; if (isset($desc['aliases'])) { $aliases = ""; foreach ($desc['aliases'] as $alias) { $aliases .= ($aliases == "") ? "/" . $alias : ", /" . $alias; } print ""; } else { print ""; } // Alternatively, you can do print ""; if you use permissions in commands: echo ""; } ?>
    Command	Description	Usage	Aliases	Permission
    /" . $command . "	" . $desc['description'] . "	" . str_replace('', $command, $desc['usage']) . "	" . $aliases . "	None	" . $desc['permission'] . "
    " . $config['prefix'] . $command . "
     
  8. Offline

    xXSniperzzXx_SD

    Same
     
  9. Offline

    jkcclemens

    You sure you both have PHP, right? This isn't just HTML.
     
  10. Offline

    Mike111177

    i dont get it
     
Thread Status:
Not open for further replies.

Share This Page