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

    FunnyMan3595

    Progress, but not done yet. There's another one at MCDocsListener.java:909.
     
  3. Offline

    Tazzernator

    fixed, i think~
     
  4. Offline

    DigidragonZX

    Good plugin... it's a shame it's not working right now... well I know you'll fix it soon :)
    tried MCDocs 10a latest yet and it gives me this...

    Code:
    [INFO] MCDocs: DigidragonZX: /commands
    2011-08-04 07:02:57 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to MCDocs
    java.lang.NullPointerException
        at java.lang.String.replace(Unknown Source)
        at com.tazzernator.bukkit.mcdocs.MCDocsListener.variableSwap(MCDocsListener.java:421)
        at com.tazzernator.bukkit.mcdocs.MCDocsListener.onPlayerCommandPreprocess(MCDocsListener.java:367)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:272)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:706)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  5. Offline

    Tazzernator

    try it again (10a)


    This plugin is from now on unsupported. I've burnt out. I have lost effort. if you need any further assistance, do not post here, read the fucking wiki. it's not difficult.


    if it crashes (exception) , then of course let me know here.
     
  6. Offline

    FunnyMan3595

    Yup, that works. It's ugly, because it's leaving %prefix by each username and complaining to console, but it does work.
     
  7. Offline

    NinjaGrinch

    Does this support PermissionsBukkit at the moment or is that still planned for the future?
     
  8. Offline

    Tibs

    10a is also working for me with permissionsbukkit, I have the same results as funnyman in the console.

    [INFO] [MCDocs] Warning, One of the following is not found: %group %prefix %suffix for player

    Sorry your feeling burnt out =( so I will just say thanks for all the work you have done, it is much appreciated.
     
  9. Offline

    cyberdude

    @Tazzernator
    I'm also sorry to hear that you are burned out by this. I love this! And I just found it today. The best MOTD plugin for my case by FAR. Only bummer is the 4 x warning everytime MCDocs reacts on something.
    Might I suggest some kind of quickfix? A setting to ignore the warning?

    ignoregroupwarning: true

    when that is true then don't print the warning. Everything works perfectly, just annoyed by the spam.
    This is of course just a quick fix.
    Doing it properly you would need to support mInfo or bInfo or some other Info manager.

    Edit:
    Alternative is to ignore the warning using IgnoreLogger with these two lines in block.txt
    Code:
    One of the following is not found
    Group not found for
    
     
  10. Offline

    Cubia

    needs update to superperms
     
  11. Offline

    cyberdude

    bPermissions does the trick for you.
     
  12. Offline

    johndoeloldr

    I know this has been specified in an earlier comment, but is there a possible estimate of a release with PermissionsBukkit? I spent an hour searching the documentation and thinking of every possible reason as to why it says it cant find what group that I am in (or for anyone else). I assumed it did have support for PermissionsBukkit since it works for [1000], but I could be wrong. Can you at least include this on the main page or something?

    Maybe I'm completely wrong and I actually did do something wrong. If I did just post back. Thanks.

    I'll try looking into bPermissions for a quick fix.

    ERROR:
    [INFO] [MCDocs] Warning, One of the following is not found: %group %prefix %suffix for player johndoe.
     
  13. Offline

    cyberdude

    3 posts up I wrote this.

    Alternative is to ignore the warning using IgnoreLogger with these two lines in block.txt
    Code:
    One of the following is not found
    Group not found for
    
     
  14. If someone has two groups in users.yml it only displays one help file/you can't choose which to display.
    It also ignores the second group.
     
  15. Offline

    johndoeloldr

    However, I believe that is for the old permissions system. For BukkitPermissions, all groups and users are listed in the config.yml. In addition, if support for BukkitPermissions is actually currently active, then there is a glitch (in reference to your post above) because I am only in one group.
     
  16. No, I mean if someone is in two groups, so lets say Hat and Hate, it goes off their first group.
    So if there's one that's only available to Hat, and it's first, it'll only show that one, regardless of if there's one for Hate too.
     
  17. Offline

    Kane

    Anyone had luck getting this to work right with permissionsbukkit and 1056?

    Code:
    15:14:11 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to MCDocs
    java.lang.NullPointerException
            at com.tazzernator.bukkit.mcdocs.MCDocsListener.onlineGroup(MCDocsListener.java:785)
            at com.tazzernator.bukkit.mcdocs.MCDocsListener.variableSwap(MCDocsListener.java:417)
            at com.tazzernator.bukkit.mcdocs.MCDocsListener.onPlayerCommandPreprocess(MCDocsListener.java:367)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:272)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:730)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:434)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  18. Offline

    SwearWord

    I'll try to pick it up, just give me a day or so to see if I can find the problem.

    Edit: Is the above error the only thing people are getting?
     
  19. Offline

    Pr4w

    The main error is the incompatibility with PermissionsBukkit :(
     
  20. Offline

    cyberdude

    @SwearWord
    And the news section support fetching from web, however the %news% tag that can be used in the MOTD does not, but should. I have fixed this on my own server (modified MCDocs).
    If you will continue this, then PM me and I'll send the fix for the %news% tag, it's not large or difficult, but using what has already been fixed is saving time for you ;)
     
  21. Offline

    SwearWord

    I MAY have solved the permissions bukkit issue:
    http://dl.dropbox.com/u/525461/MCDocs.jar

    However, I had no info on whether or not you guys were using a bridge. I need to know how your permissions are setup.

    @cyberdude
    I've never used MCdocs before so let me familiarize myself with its functions before I look at that problem.
     
  22. Offline

    NinjaGrinch

    I tried your version on Bukkit build 1056 and got the following error, cannot run RB1000 due to MultiVerse 2 requiring 1046+ for the record. This occurs whether I am using PermissionsBukkit or the bridge, it makes no difference (didn't think it would but tried anyways).


    Code:
    19:28:21 [SEVERE] Could not pass event PLAYER_JOIN to MCDocs
    java.lang.NullPointerException
            at com.tazzernator.bukkit.mcdocs.MCDocsListener.groupMotd(MCDocsListener
    .java:891)
            at com.tazzernator.bukkit.mcdocs.MCDocsListener.onPlayerJoin(MCDocsListe
    ner.java:877)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:244)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration
    Manager.java:124)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  23. Offline

    SwearWord


    Try this
    http://dl.dropbox.com/u/525461/plugins/MCDocs.jar
     
  24. Offline

    NinjaGrinch

    Still receive an error.

    Code:
    19:45:02 [SEVERE] Could not pass event PLAYER_JOIN to MCDocs
    java.lang.ArrayIndexOutOfBoundsException: 0
            at com.tazzernator.bukkit.mcdocs.MCDocsListener.groupMotd(MCDocsListener
    .java:890)
            at com.tazzernator.bukkit.mcdocs.MCDocsListener.onPlayerJoin(MCDocsListe
    ner.java:877)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:244)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration
    Manager.java:124)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  25. Offline

    SwearWord

    @Ninja Grinch
    Is that person not in a permissions group?
    Also can you get on IRC?
     
  26. Offline

    NinjaGrinch

    The user is an admin, again, tried with both PermissionsBukkit natively and SuperPermBridge.

    I am in the Bukkit IRC.
     
  27. Offline

    RchGrav

    Just wanted to put my own "spin" on how this was resolved in my case.

    I have every plugin working 100%, including MCDocs..

    I use a large variety of plugins... new and old.... My server also implements the "PermissionsBukkit / SuperPerms" bridge for my SuperPerm Management system..

    Maybe this will help someone.. It was my last resort to restore 100% functionality to my system and it WORKED for me 100%.

    Continue to this post if this interests you.
    http://forums.bukkit.org/posts/577470/

    Rich
     
  28. Offline

    SwearWord

    To everyone using this:
    I have decided to pick this up, however I WILL NOT be using the current source. I am restarting it from scratch. I already have it working with permissions, super permissions and can currently display text (colored) from a file and paginate it. It can also display different files for different groups for any command. If you don't need any more features than this then here is a copy of it: http://dl.dropbox.com/u/525461/plugins/MCDocs.jar

    Config Format:
    Code:
    commands:
        help:
            default: help.txt
            group1: helpgroupt1.txt
    Unfortunately, SuperPerms has no concept of group so you will need to give each group its own node: mcdocs.group.group1 for the above example. Give the default group mcdocs.group.default
     
  29. Offline

    RchGrav

    Are you going to use the same files that MCDocs uses?

    I have been using MCDocs since the beginning... and have developed all of my help resources around it...

    Just before the post I made above ... This whole SuperPerms issue became a 100% NON-ISSUE for me..

    Luckly I was able to find a workaround to support EVERYTHING no matter which permissions system it is employing. .. My solution may be more complicated for NEW server admins, but for ones who are already familiar with the prior permissions it may be the pill that cures the ill.

    It's hard to encourage someone to re-write an existing plugin that clearly isnt inactive.. but I also won't discourage you from helping people that could benefit from your endevour. Good Luck.

    Rich
     
  30. Offline

    SwearWord

    @RchGrav
    What do you mean same files? The files you have created (help.txt whatever) will be displayed the same way as MCDocs. However the configuration is different. It won't take long for you to port the old configuration to the new one.
     
  31. Offline

    RchGrav

    I'll be honest and say that that is probably the extent of the way the files are.. I guess what I meant to ask was if you were planning to maintain 100% compatibility with MCDocs... ie.. commands.txt, header, variables, etc.

    Its good to know there are options for people... I'm sure a few people could benefit from your plugin.

    I'm not really one to discourage another plugin.

    #1 priority was getting my system up to date 100% and be feature for feature compatible with all permissions systems.

    #2 priority would be to share my personal permissions discovery with other admins who may also be in my shoes.

    I'm sure there will be a people who will use yours... even more if its done before this one gets updated!

    For now my permissions config works 100% with everything .. even this.. superperms, multiworld .. etc.

    So the pressure is off of me finding a workaround for this. :)

    Rich
     

Share This Page