Inactive [INFO] MCDocs v14.3 ~ Documentation Plugin || MOTD, Local or Online Files, Your Commands [1.3.1]

Discussion in 'Inactive/Unsupported Plugins' started by Tazzernator, Jan 17, 2011.

  1. Offline



    [​IMG] [​IMG] [​IMG] [​IMG]
    NEWS (open)

    Version 11.2 released (22nd October 2011)

    Version 11.2
    • Added permissions wildcard support (mcdocs.*) works for all commands.
      • Note: this only allows all commands. mcdocs.reload does not fall under this wildcard. This needs to be set separately.
    • Added some try catch around the motd: configs.
    • Fixed motd-enabled
    Version 11.1
    • Removed the spacing that occurs when you only have 1 page.
    • New variable: %time (Shows what time it is in the player's world in 12 hour format.
      • Sun rises @ 5am, Sets @ 7pm
    Version 11
    • Updated to work with PermissionsBukkit (Tested, nodes work)
    • Updated to work with Register for %balance, you will need to download the Register plugin for this to work with iConomy and various other economy plugins.
    • Optimised much of the code.
    • Updated the commands config structure, much simpler now than before. :)
    • You can now use %name, %size, %world, %group, %ip, %world, %prefix, %suffix in your file paths in the config.yml
    • Redefined the MOTD process.
      • Is now all defined within configuration
      • You can now use online files
    • Changed how logging occurs, you can toggle if you want to be informed about errors or not in the config now.
    • Group support now uses an in house permission system, where you define the groups players are in manually.
    • New permissions-enabled variable, Do you have any permissions system installed? Yes: true | No: false
    DoomLord, Camberme, efstajas and 18 others like this.
  2. Offline


    Nice Work!
  3. Offline


    Thanks alot!
  4. Offline


    Great job!
    (btw, where's #10? :))
  5. Offline


    Thanks for the great plugin! Are there any formatting options besides color? For example, setting up columns and lining them up? If not, is that something that might be added? Perhaps, even, the ability to choose/use different fonts as well.

  6. Offline


    Works mint - good on ya for making this!!!
  7. Offline


    I don't think it's possible to change anything but the color in Minecraft at the moment. Correct me if I'm wrong! :)
    Bahaha. Woops :p
  8. Offline


    I want to add a bunch of dumb little things for myself, like /admins and /commands and /plugins and /Jmainguy. that point to text files that i can edit with w/e. I dont understand any code but figure i can copy and paste yours and change ("/news") to /w.e i want and change news.txt to w.e i want. my question is 1. is that kewl with you? and 2. once i change the .java files which program should i use to compile it into a jar for bukkit to read.

    or better yet can you make a configeration file where we can add text files we want it to search for, perhaps with path docs/* or something? Thank you very much for reading and sry for my nubbiness
  9. Offline


    I've actually mostly completed this. I have a commands.txt which at the moment is:


    I'm cleaning up my code, and then i'll release it. ETA 30 mins.
    --- merged: Jan 18, 2011 6:01 AM ---
    Done! 2.0 Uploaded.
  10. Offline


    Awesome! Although, I think I would prefer a documentation plugin to have a global command instead. Adding all those custom commands could cause probs with other plugins. Something like "/doc rules" or the like...

    Right now, I am able to display all but the rules file. In fact, when I type /rules, it crashes my client! =O Could this have to do with a typo in the rules.txt file? (I used rules as more of a command ref for all the plugins but now I can change to whatever I want: /ref) :)

    §4#1 §f- §aHave fun!!
    §aSome helpful commands:
    §4/warp help §f- §afor a list of warping commands and options.
    §4/home help §f- §afor a list of home commands and options.
    §4/tp help §f- §afor a list of teleportation commands.
    §4/warp help §f- §a
    **EDIT NEVER MIND... I see the trailing color tag. Looks like a sloppy cut-and-paste in my file. Just noticed it as I post-proofed my post. :)
    --- merged: Jan 18, 2011 1:20 PM ---
    Oh, while I am thinking of it... Is it possible to include a paginator? For long text files, MCDocs automatically would break it into pages. So, if I made a /ref command that points to ref.txt, and ref.txt turned out to be 3 pages long, MCDocs would break it up into pages allowing me to use /ref 1, /ref 2, /ref 3 etc...

    Thanks again for a very useful mod!

    **Edit: Typos
  11. Offline


    A paginator. Hmm. I have an idea on how to do it, however, it's alot of OO.

    It's most likely crashing because you have gaps in your *.txt

    If you're gonna have a gap Like between the following listed below. It may crash the plugin :/

    Maybe try putting a space on the lines with nothing on it?

    §aSome helpful commands: §4/warp help §f- §afor a list of warping commands and options.
  12. Offline


    Thanks for the help! Completing that last line in rules.txt fixed it for me. When i pasted the line, I left the text after the last colour tag off. So, the line ended with a color tag. It didn't like that. Updated to 2.0 and tested. Everything works. :)

    (Sorry for the rapid-fire posts. I am rushing around trying to update all the mods I can before heading into work! Rush=Frenetic Mistakery!) LOL

  13. Offline


    Ah, Glad to hear it's working for you! :)
  14. Offline


    Not working for me unfortunately.
    Using Latest build available.

    Jan 18, 2011 8:29:08 AM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to MCDocs
    java.lang.ArrayIndexOutOfBoundsException: 1
        at com.bukkit.tazzernator.mcdocs.MCDocsListener.onPlayerCommand(
        at org.bukkit.plugin.SimplePluginManager.callEvent(
        at net.minecraft.server.NetServerHandler.c(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(SourceFile:232)
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
        at net.minecraft.server.MinecraftServer.h(
  15. Offline


    Agreed with the above posts, the ability to have pagination would be great in the future but no real need now. Thanks a lot, you've helped a lot!
  16. Offline


    What build?
  17. Offline


    Awesome Tazz very vool plugin
  18. Offline


  19. Offline


    I'm assuming the exception is happening when you use a command?

    If so, can you please upload all your .txts?

  20. Offline


    Just for the record (and possibly to help others troubleshoot their own setup), I am using build 79 and this mod is working well for me.

  21. Offline




    §a----NEWS <3 Honey----
    §c7/1/2011 §fServer Back-up!
    §c7/1/2011 §fSwitched to Bukkit
    §c8/1/2011 §fNew Plugins
    §c9/1/2011 §fFixed some lag issues
    §c10/1/2011 §fAdded Some new Plugins
    §c11/1/2011 §fServer lag expected when people explore.

    §4#1 §f- §aListen to the §cAdmins§a, they know best.
    §4#2 §f- §aNo Griefing!
    §4#3 §f- §aDo NOT modify others work, if you wish to help, ask.
    §4#4 §f- §aDo NOT build single towers or tunnels.
    §4#5 §f- §aDo NOT flatten any areas. Only Honeydew may flatten.
    §4#6 §f- §aBuild in allocated areas, or:
    §4#7 §f- §aCreate allocated areas.
    §4#8 §f- §aCreated areas must have a linking road.
    §4#9 §f- §aNever build too high:
    §4#10 §f- §aReport all wrong doings directly on the forums.
  22. Offline


    Really nice work, will help alot of server admins out now.
  23. Offline



    you MUST have something on the other side of the :

    You must also have a / infront of your command.

    If you don't want to use them, remove them.

    EDIT: And you must not have gaps, like you do between motd and register.

    My plugin reads each line, and then splits the usable data by the ":"

    If it can't find the data, it'll throw the exception, which is what you have been doing...
  24. Offline


    Updated to 2.1
  25. Offline


    Download Link is dead..
  26. Offline


    Woops. Fixed, Thanks for that! :)
  27. Offline


    is it supposed to print to console when the plugin is loaded becuase it does not for me.. xD
  28. Offline



    In the archive, place the MCDocs.jar and the MCDocs folder into the plugins folder. Then restart your server.
  29. Offline


    i seee the download linked to a MCDocs-v2.1.jar no a MCDocs.jar .. ill rename

    MCDocs version 2.1 is enabled!
    yay! thanks
  30. Offline


    Renaming would not of made a difference. And i simply forgot to put -v2.1.jar into my post.

    w/e lol - Glad to hear it's working! :)

Share This Page