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

    Tazzernator

    [​IMG]

    [​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

    MacklinB

    Damn, another thing gone wrong. I'm using Craftbukkit 803 and MCDocs v9.1. If you need anything else, just tell me.

    The page header of each text file has gone to being fine, to this:
    Code:
    &cRULES - Page 1 of 2 &f: &7|rules <page>
    Heres my config.yml:
    Code:
    header-format: '&c%commandname - Page %current of %count &f| &7%command <page>'
    news-file: news.txt
    news-lines: 1
    motd-enabled: true
    commands-list:
    - /motd:motd.txt
    - /rules:rules.txt
    - /news:news.txt
    - /plugins:plugins.txt
    - /commands:commands-admin.txt:Admin
    - /commands:commands-default:Default
    online-players-format: '%name'
    Freaking awesome plugin by the way, I really appreciate all the work that has gone into it =)
     
  3. Offline

    Tazzernator

    That's an issue with my update. I'll fix that now.

    And done.

    [​IMG]

    [​IMG] [​IMG] [​IMG]

    Version 9.2

    • Colour codes fixed, and made future proof.



    https://github.com/Tazzernator/Bukkit-Plugins/commit/9c51563552443701aeea6a3f5837929469352480

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

    Nitnelave

    I feel I've got something wrong in the config, but I can't quite figure out what... It gives me Unknown Command for everything I use...
    config (open)
    header-format: '&c%commandname - Page %current sur %count &f| &7%command <page>'
    news-file: news.txt
    news-lines: 1
    motd-enabled: false
    commands-list:
    - /rules:rules.txt
    - /news:news.txt
    - /couleur:couleur.txt
    online-players-format: '%name '

    Also, I do not have spaces in front of the hyphens, but I tried with, and it did not work. CB803, MCDocs 9.2
    And no errors in the log
     
  5. Offline

    Tazzernator

    Have you tried downloading the zip, and using that as a template to go off?

    Make sure to put the plugin in the plugins folder, too.
     
  6. Offline

    cholo71796

    Hahahah!

    Pro.

     
  7. Offline

    Nitnelave

    Nevermind, I forgot to set up permissions for the commands ^^
    How would you go about displaying '&1 &2 ...' . I'd like to make a help entry for the color codes, but I can't display the color codes. My initial suggestion was to replace only '&&' by '&' so that you can type whatever you want, but if you want to display a &, just type two of them. Another way, for the current setup, would be to implement '&&1' -> '&1' or something like that.
    Oh, and by the way, it displays the message, but then it displays Unknow Command... But that may be due to the UnknownCommand plugin ,I'll test
     
  8. Offline

    Kahl

    I am having the same problem.

    Code:
    2011-05-24 20:22:57 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to MCDocs
    I would love iConomy 4.x support in the config to determine whether we're using iConomy 4 or 5 (or maybe an option to turn it off all together so it is not required)
    
    Thanks
     
  9. Offline

    Tazzernator

    Perhaps i'll do #! to become & -- I'll do that in the next update.

    Ok, I'll update so it doesn't crash on older versions. Is there any particular reason you havn't updated?
     
  10. Offline

    dslip

    Reason I havent update to iConomy 5 is that some of the plugins I use have not updated to iConomy 5. For example ecoCreature
     
  11. Offline

    MacklinB

    Tazzernator likes this.
  12. Offline

    Tazzernator

    [​IMG]

    [​IMG] [​IMG] [​IMG]

    Version 9.3

    • &#! is replaced to a single & for use with example colour codes. &#!1 &#!2 will display &1 or &2 without applying colours.
    • Fixed the crash for users using old versions of iConomy. Note it will not work with old versions. But it wont crash you anymore.
    • Moved the config saving to "in house" - included new instructional comments.

    https://github.com/Tazzernator/Bukkit-Plugins/commit/9c0293a3fc6e86f53653fab03b42ab75b7acc598

    Quick advanced tutorial:

    If your MCDocs directory is getting overly cluttered, you can actually place your text files in separate folders as long as you specify in the config.yml

    Folder Structure example:

    [​IMG]

    config to represent:

    Code:
    commands-list:
    - /motd:motd.txt
    - /about tazz:about/tazz.txt
    - /about booth:about/booth.txt
    - /about luke:about/luke.txt
    - /help:help/admin.txt:Admin
    - /help:help/mod.txt:Moderator
    - /help:help/vip.txt:VIP
    You can read more about using a different file for a different group here

    Another note, my group structure on my server (Incredicraft) is hierarchical. That is,

    Admin inherits Moderator which inherits VIP (default).
    Admin <-- Moderator <-- VIP

    So my help files:

    [​IMG]

    So an admin would receive when using /help
    /admin - Admin Command
    /mod - Moderator Command
    /vip - VIP Command

    Mod would see:
    /mod - Moderator Command
    /vip - VIP Command

    VIP would see:
    /vip - VIP Command

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

    Daniel Few

    @Tazzernator
    Hello. Love the look of this plugin, however i'm having an issue installing it.
    I place the MCDocs.jar in my plugins folder, however when i run the server, it doesn't generate the folder for MCDocs
    Can you help me with this please?
    Thanks again
    -DanJames

    EDIT: I've fixed this by coping the MCDocs folder with the files in from the .zip file. However just thought I'd mention that they are not generating with just the jar, unless I'm doing something wrong.

     
    Tazzernator likes this.
  14. Offline

    Tazzernator

    Cheers for letting me know.

    Update:

    [​IMG]

    [​IMG] [​IMG] [​IMG]

    Version 9.3.1

    • Fixed the error where the MCDocs folder was not being created on initial startup.
    https://github.com/Tazzernator/Bukkit-Plugins/commit/2df4eb5400f0e15e233761b77bcf1d7099bfad1d
     
    Daniel Few likes this.
  15. Offline

    Daniel Few

    @Tazzer
    Thank You for updating so quickly :p
    Just been trying it out and its excellent. Love the news feature where you can easily add news articles and have it display the latest news in the MOTD :p
    I had one idea, what about a break symbol to break up the news.txt, eg

    News1Line1
    News1Line2
    News1Line3
    <break>
    News2Line1
    News2Line2
    News2Line3
    News2Line4
    News2Line5
    <break>

    That way, in the 'Latest News', you could have an option to show a certain amount of lines, or up to the break. So even if your news articles are sometimes 3 lines, sometimes 5, sometimes 1, it will always show the latest full news. I don't know how many people would find this useful, but I would. :p
    -DanJames
     
  16. Offline

    Kahl

    Many thanks for the update! The reason I have not updated my iConomy is because I have some custom plugins that are not updated for it, and I don't need any of the new features.

    Really appreciate the fix though, thanks!
     
  17. Offline

    RTRD

    When players use for example /rules, i want to see that in the log. ;)
     
  18. Offline

    dslip

    @Tazzernator

    Thank you for fixing the errors on start up when using an older version of iConomy. Your hard work is appreciated. Accept my apology for not pasting the error message last time.
     
  19. Offline

    Tazzernator

    [​IMG]

    [​IMG] [​IMG] [​IMG]

    Version 9.4

    • If a player uses a command in MCDocs, it is logged in the console.
     
  20. Offline

    Psycho Robot

    Is it toggleable?
     
  21. Offline

    GmK

    You know, @Tazzernator , simply absolutely <3

    For some weird reason you do not have a 'Donate' button - consider getting one!
     
  22. Offline

    Tazzernator

    nope, i'll add that in later though.
     
  23. Offline

    Psycho Robot

    Jolly good
     
  24. Offline

    Tazzernator

    Eh, it makes people think I code for money, when really it is a hobby. :/
     
  25. Offline

    Psycho Robot

    Make a donate button that links them to Red Cross. Troll them good.
     
    GmK and Tazzernator like this.
  26. Offline

    Tazzernator

    [​IMG]

    [​IMG] [​IMG] [​IMG]

    Version 9.4.1

    • Command logging can now be toggled.
     
  27. Offline

    Psycho Robot

    I'd just like to say I appreciate you clearly stating when an update has taken place, and changing your version number accordingly. A lot of plugin devs don't, and it quickly becomes confusing as hell. Also, your update template is neat.
     
  28. Offline

    Tazzernator

    It'd be stupid not to, especially when trying to support the plugin. When you add new things into newer versions, sometimes you overlook some issues, and thus sometimes it can become unstable. Such as the iConomy variable recently.

    I also try to keep my changelog up to scratch:
    http://atajsic.com/wiki/index.php/MCDocs/Change_Log
     
  29. Offline

    Psycho Robot

    Boy does it. When iconomy 5.0 came out, within a day, the dev released 4-5 updates without updating the version number, just putting "fixed such and such" with a link which could easily have been overlooked.
     
  30. Offline

    Daniel Few

    @Tazzernator
    I have an idea, however I'm not sure if you'd want it if you want to keep this specific to commands.
    What about the ability to trigger the txt print from a sign. It would be nice as well if you didn't have to put say /help on the sign, if you could assign it to a sign and then put whatever text you want on there.

    I know I could use SignCommands or something simialr and just put /help on the sign, however it would be nice to be able to have anything written there. You could expand this to all blocks if wanted.
    -DanJames
     
  31. Offline

    Tazzernator

    http://forums.bukkit.org/threads/mi...-scrollable-command-menus-on-signs-803.18424/

    There is no reason to incorporate this into this plugin, when others provide solutions.

    My time can be spent more earnestly.
     

Share This Page