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

    NinjaGrinch

    Works flawlessly! Great work! :)
     
    Tazzernator likes this.
  3. Offline

    Kevin Forte

    Works flawlessly indeed! I have a request though: Is it possible to have insertable page breaks in your documents? Like, %break?
    I would like to be able to have documents end with something like "See Page 2 for Examples of This" but that is very difficult to do currently.
     
  4. Offline

    Tazzernator

    It's not difficult at all. Just make a bunch of new lines....








    like that^







    and that^
     
  5. Offline

    Kevin Forte

    Yeah, but I have to judge the amount I'd need based on the wordwrapping of the Minecraft text box and then make sure I didn't have too many spaces to where I'd be going into the next page with blank spaces, you know?
     
  6. Offline

    Tazzernator

    It's not like you have to restart the server to test it mate :)

    I've mentioned before - As soon as you do word wrapping in-game, the pagination will break. It is YOUR responsibility to format the txt files so that one line in the txt file, is ONLY 1 line in minecraft.

    Word wrapping should NEVER happen, it will break shit.

    READ people.


    Nor can I implement something to stop that... As i've said many a time before

    IIIIII

    OOOOOO

    Although 6 characters long each, the distance varies.
     
  7. Offline

    Kevin Forte

    I suppose that's true. I've never had an issue with the word wrapping really, I just thought it'd be a nice feature to break the page. Whatever though, thanks anyways :)
     
  8. Offline

    Tazzernator

    GitHub updated. Sorry about the delay :)

    [​IMG]
     
  9. Offline

    dirkson

    I can't seem to get the custom-motd working - I have motd-wanderer.txt AND motd-Wanderer.txt , but when a Wanderer signs in, they're instead treated to the text from motd.txt
     
  10. Offline

    cjc343

     
  11. Offline

    dirkson

    Yes, I have commands.txt set up to handle the different groups, but motd.txt is the only one shown, even when manually using /motd. Here's the pertinent lines of config:

    /motd:motd-wanderer.txt:Wanderer
    /motd:motd.txt:Resident
    /motd:motd.txt:Citizen
    /motd:motd.txt:Subscriber
    /motd:motd.txt:Lord
    /motd:motd.txt:King
    /motd:motd.txt:Emperor
     
  12. Offline

    Tazzernator

    OK i've found the issue.

    Update Ahoy:

    ZIP | JAR

    motd-group.txt

    always lowercase.
     
  13. Offline

    Hudson Diesing

    I'm having a problem where it posted the same output twice when using a command. On login the motd is just once, but when a user types in /motd it double posts it, this is also happening with one of my other custom commands /donate, but not with any others.

    MC Doc 5.4.2.1
    Bukkit 606
     
  14. Offline

    Tazzernator

    Please post your commands.txt
     
  15. Offline

    Hudson Diesing

    /NULL:LEAVE.THIS.HERE
    /rules:rules.txt
    /apply:register.txt
    /news:news.txt
    /motd:motd.txt
    /donate:donation.txt
    ------WebKitFormBoundarynKAt5mRyp9Ul9pJ9--
     
  16. Offline

    Tazzernator

    Hmm.

    I know it may seem dumb, but have you tried restarting the server?

    If you have, mind archiving your craftbukkit dir, not including your world, and emailing it to me? I can do further testing.

    email: me[at]tazzernator[dot]com
     
  17. Offline

    Hudson Diesing

    I think I did restart a few times since I've had this problem, never thought about asking until now. I'll email it to you after my next restart....but what exactly do you want?

    Thanks for the help.
     
  18. Offline

    Tazzernator

    I want to try and replicate the error-

    I've never seen 2 of the same thing popup unless the plugin had 2 instances, that is MCDocsv1.jar and MCDocsv2.jar in the plugins folder.

    What other plugins are you using?
     
  19. Offline

    Hudson Diesing

    I changed my commands file to:
    /NULL:LEAVE.THIS.HERE
    /rules:rules.txt
    /apply:register.txt
    /news:news.txt
    /motd:motd-default.txt:default
    /motd:motd-builderandup.txt:Builder
    /motd:motd-builderandup.txt:Trusted
    /motd:motd-builderandup.txt:Moderator
    /motd:motd-builderandup.txt:BeautifulGirl
    /motd:motd-builderandup.txt:ModeratorBAMF
    /motd:motd-builderandup.txt:TechSupport
    /motd:motd-builderandup.txt:Owner
    /donate:donation.txt
    ------WebKitFormBoundarynKAt5mRyp9Ul9pJ9--

    Now, I'm only having problems with the /donate command.
    Lets see I'm using: (some of the plugins haven't been updated yet)

    AutoReplace.jar
    BigBrother.jar
    BorderGuardLite.jar
    ColorSheepPlugin.jar
    DelayedStop.jar
    FenceStack.jar
    FishPeople.jar
    GiveIt.jar
    HeroChat.jar
    HigherExplosives.jar
    Honeypot.jar
    iConomy.jar
    iConomyChestShop.jar
    InstantArmor.jar
    LWC.jar
    MagicCarpet.jar
    MCDocs.jar
    MinecartManiaAdminControls.jar
    MinecartManiaAutomations.jar
    MinecartManiaChestControl.jar
    MinecartManiaCore.jar
    MinecartManiaPressurePlate.jar
    MinecartManiaSignCommands.jar
    MinecartManiaStation.jar
    Minestalker.jar
    MultiVerse.jar
    NaturalGiants.jar
    NoCheatPlugin.jar
    PaintingSwitch.jar
    Permissions.jar
    PermissionsPlus.jar
    PlgSetspawn.jar
    PluginManager.jar
    PorteCoulissante.jar
    scrapbukkit.jar
    SMPoll.jar
    Warpz0r.jar
    WorldEdit.jar
     
  20. Offline

    Tazzernator

    Man I have no idea. - Only thought is that another plugin is using /donate - but it's doubtful.

    Blergh, sorry champ :/
     
  21. Offline

    Hudson Diesing

    Haha, thanks a lot either way XD Maybe it's good the donation information is double posted lol
     
  22. Offline

    Tazzernator

    Hahaha - If you get it sorted, make sure to post how you fixed it :)

    Just in case others come across the same issue :)
     
  23. Offline

    Hudson Diesing

    Well it stopped!

    here is my new commands file:
    Notice how /donate /motd and all other are above the multi-group files
    I tested it by moving /rules:rules.txt down to the bottom and it double posted it.
    Interesting results. XD
     
  24. Offline

    Tazzernator

    *loads up test server to try and replicate error*

    Works perfectly for me - no doubling up :/

    How strange.

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

    Hudson Diesing

    Weird indeed. I love this plugin! (just btw)
     
    Tazzernator likes this.
  26. Offline

    Tazzernator

    Haha - cheers mate :)
     
  27. Offline

    Alex K

    Hey Tazzernator, I'de love to get this working, but It just.....refuses. I add the mcdocs.* permissions to the permissions file, I add the plugins, no errors. I stop the server, make my file, load it up, no errors, go into the game, type the command specified (in this case /how) and it doesn't show a command, no error screens, nothing. Does the mcdocs.* allow this or do I need to add specific permissions for each command? If so, it's no big deal, just curious as to what the problem is. Thank You Very Much.
    -Alex.
     
    Tazzernator likes this.
  28. Offline

    Tazzernator

    Few Notes:

    - The modifications you make to the txt files for MCDocs don't require a server restart.
    - To reload permissions without restarting you go /permissions -reload (I THINK!!!)

    doing mcdocs.* should allow access to every command you create.

    Hmm, if nothing is showing up in console, the first thing that comes to mind is that your file cannot be found.

    perhaps check capitalisation?

    /rules:rules.txt

    rules.txt should be in /path/to/craftbukkit/plugins/MCDocs/rules.txt


    I'm off to uni now however, so I won't be able to reply for another 4-6 hours - sorry :(
     
  29. Offline

    shadrxninga

    @Tazzernator

    Just a few requests

    Can you add %admins and %mods to the variables list ( A Admins online list and a Mod Online List). To be in the list you need the permission mcdocs.admin or mcdocs.mod . Also iChat colours in the online list would be cool :D

    Thanks is this a great plugin
     
    Tazzernator likes this.
  30. Offline

    Tazzernator

    It's not that easy - Your admin group may be called admins, and another may be Chiefs.

    It's not universal. Perhaps I could use a permissions node.

    Blergh.
     
  31. Offline

    shadrxninga

    Thats what i me
    Thats what I meant - use a permission node - mcdocs.list.admin for example
     

Share This Page