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

    Cosmic Break

    ah, i see, ive been using an old version for a while, and just decided to update to the latest version. ive added the new permissions to groups
     
  3. Offline

    Tazzernator

    Still shouldnt crash like that tho - :/

    Blergh - idk.
     
  4. Offline

    crazydog

    MCDocs 5.2, Craftbukkit 432, GroupManager 0.9d

    Firstly, I get this as well:
    Secondly, no Docs work. Neither those that use permissions, nor those that are un-permissioned. I have the mcdocs.* permission, as confirmed by Group Manager:
    "This uesr inherits the permission from group: User
    Permission Node: mcdocs.*"
     
  5. Offline

    Tazzernator

    I havnt' looked into Group Manager nor will I

    I will wait until an official permissions system in built into bukkit.
     
  6. Offline

    crazydog

    The thing is groupmanager works with *any* plugin that supports permissions.

    The other thing is that commands that do not use permissions do not work. Or are you saying that because I'm using GroupManager, mcdocs thinks I have no permissions?
     
  7. Offline

    Tazzernator

    MCDocs defaults to working if no permissions are present. -- It's obvious that GroupManager is thus changing this variable to not null.

    Are you sure that wild cards can be used with GroupManager?

    It should be noted I've never even heard of it - nor read up on it - nor intend to.
     
  8. Offline

    crazydog

    GroupManager supports *everything* permissions does. It has a fake permissions plugin so other plugins know that permissions "Exists", although GroupManager is the real plugin dong everything.
     
  9. Offline

    Tazzernator



    What you can do however -- Is download version 4.3 which doesn't use permissions at all.

    http://tazzernator.com/files/bukkit/plugins/MCDocs/

    Note: This version will throw a warning about the constructor but still works as far as I know.
     
  10. Offline

    Phaedrus

    Just updated MCdocs to 5.2 and bukkit to 432 and permissions to 2.1 and everything seems to be going fine with group-specific /help menus, etc.

    I did have to convert my text files from UTF-8 to ANSI though, otherwise weird characters would appear.
     
  11. Offline

    Tazzernator

    Thanks for the input and information! :)
     
  12. Offline

    crazydog

    So, now that Nijikokun has left the building would you be willing to support GroupManager? Or are you going to only support an unsupported plugin until Bukkit has a built in permissions type feature?
     
  13. Offline

    Phaedrus

    Permissions 2.1 works fine with it though. I get no crashes. Somethings gone weird with your setup.
     
  14. Offline

    tekac

    anyone care to share their motd/help/rules/other files? I'm interested in seeing what other creative minds have created :D
     
  15. Offline

    crazydog

    It works fine with Permissions for me.

    What I'm saying is since Niji has stopped supporting his plugins for an undetermined amount of time, GroupManager seems to be what will take over the place of Permissions, as other plugins will replace Niji's other plugins.

    Because GroupManager is now the de facto "Permissions" plugin, it would be nice for Tazzernator to attempt to support it, rather than ignore it completely and only support a plugin that is no longer supported by its author.
     
  16. Offline

    Phaedrus

    Niji has released all his source code though, and there are already people picking up where he left off to continue development. Permissions isn't dead by any means. And by the sounds of it, the official Bukkit permissions system is right around the corner.
     
  17. Offline

    tehseano

    Group-specific file readouts are not working for me. Also, /motd does not give me a readout of the MOTD, only logging in does. I have disabled the commands in Essentials (help, rules, motd). I only have 3 groups setup in Permissions 2.1 : "Default, Moderator, Admin". I have the text files motd-admin.txt and motd.txt, and according to the OP, that ought to show the motd-admin to my users of the group Admin, but it still just shows motd.txt

    As for commands, I edited commands.txt as follows:
    Code:
    /NULL:LEAVE.THIS.HERE:NULL
    /motd:motd.txt:Default
    /motd:motd.txt:Moderator
    /motd:motd-admin.txt:Admin
    Which if I type /motd as an admin, should show my motd-admin.txt, correct?

    Bukkit: 439
    Permissions: 2.1
    MCDocs: 5.2
     
  18. Offline

    Tazzernator

    Yes it should.

    This scenario is the reason I held off putting permissions into the plugin to start with. It took me initially about 5-6 hours to fully intergrate permissions, test and expand, then optimise. Now to be told - Well no it's all redundant- do it all again for some other plugin is a kick in the face.

    For this reason- I will have a quick look into permissions 2.1 - And modify it if possible- Otherwise, permissions will not be supported until there is an official package BUILT IN to bukkit itself.

    Works flawlessly with MCDocs 5.2 CB b439 Permissions 2.1 or GroupManager 0.99

    See Here:
    http://forums.bukkit.org/threads/in...the-fly-updates-colours.894/page-9#post-82439
     
  19. Offline

    Jobsti

    HeyHO Chef ;)

    So, today I switched to #437 (some plugin problems above #437), from permissions to GroupManager, iChat to HeroChat, MCD 5 (or 4.3?!) to 5.2 and tested the "new" permissions... different motd for guests (before I used general.help and general.motd), different helpfile for guests and members, and modcommands-help only for mods.

    It works great, a big fat thanks from me @Tazzernator
     
    Tazzernator likes this.
  20. Offline

    Tazzernator

    Fully tested Permissions 2.1 and GroupManager - b439

    They both work flawlessly on the current MCDocs (v5.2)

    Below are by configs for both plugins as an example - And a screenshot of my txt files. DO NOT copy paste these configs, as I'm unsure if they keep the spaces YAML needs.

    Permissions 2.1 (open)

    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'mcdocs./rules'
                - 'mcdocs./motd'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'mcdocs./news'
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
    users:
        Tazzernator:
            group: Admin
            permissions:
    

    GroupManager (open)

    Code:
    users:
      tazzernator:
        permissions: []
        group: SemiAdmin
        info: {prefix: '', build: false, suffix: ''}
    groups:
      Default:
        default: true
        permissions: [mcdocs./rules, mcdocs./motd]
        inheritance: []
        info: {prefix: '', build: false, suffix: ''}
      SemiAdmin:
        default: false
        permissions: [mcdocs./news]
        inheritance: [Default]
        info: {prefix: '', build: false, suffix: ''}
      Admins:
        default: false
        permissions: ['*']
        inheritance: [SemiAdmin]
        info: {prefix: '', build: false, suffix: ''}
    plugin:
      permissions: {system: default}
    

    commands.txt (open)

    Code:
    /NULL:LEAVE.THIS.HERE:NULL
    /rules:rules.txt
    /registration:register.txt
    /news:news.txt
    /motd:motd.txt:Default
    /motd:motd-semiadmin.txt:SemiAdmin
    /motd:motd-admins.txt:Admins
    

    Screenshots (open)

    [​IMG]
    [​IMG]
    [​IMG]
     
  21. Offline

    tehseano

    ////EDIT

    I just decided to start using GroupManager, works great now. so...thanks!
     
  22. I can't seem to the the %prefix to work, most likely because i nolonger use permissions, but using GroupManager. Any chance you could make the %prefix and %suffix work from GroupManager as well?

    It does get the info, but doesn't interpret it correctly, for example: Admin group has a prefix of '&5', which should make anything coming after the %prefix, purple color, but currently it just shows the &5 in the motd (where i use it) instead of using it as the colorcode.
     
  23. Offline

    Racha

    2011-02-25 19:05:00 [SEVERE] Could not pass event PLAYER_JOIN to MCDocs
    java.lang.NullPointerException
    at com.tazzernator.bukkit.mcdocs.MCDocsListener.groupMotd(MCDocsListener
    .java:283)
    at com.tazzernator.bukkit.mcdocs.MCDocsListener.onPlayerJoin(MCDocsListe
    ner.java:272)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:130)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
    at net.minecraft.server.ServerConfigurationManager.a(ServerConfiguration
    Manager.java:97)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:68)
    at net.minecraft.server.Packet1Login.a(SourceFile:46)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:34)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Help ;(
     
  24. Offline

    Daveyo

    %group is just displaying %group instead of there group
     
  25. Offline

    Tazzernator

    Woops! I'll fix that now
    Try the new build - Does that fix the error? -- As I've noted before I've fully tested both permissions plugins and they work flawlessly
    That means permissions is not being detected.


    New Build:

    MCDocs 5.2.1

    Quick Fixes:
    • Supposed fix line for Permissions added
    • Fixed the prefix/suffix woopsie.
    Download: ZIP | JAR
     
  26. Offline

    Racha

    How can i disable MOTD? I deleted the text, but it shows pages ;(
     
  27. Offline

    Tazzernator

    If you deleted the text file then it is another plugin that is showing a motd.
     
  28. Offline

    Racha

    ok i will delete the file, not only text :)
     
  29. Offline

    Tazzernator

    Build 454+ breaks any plugins using onPlayerCommand. - So this plugin is included

    Unfortunately I'm working today (Sunday) and I have a full day at uni tomorrow (Monday)

    I'm home tuesday and will update then.
     
  30. Offline

    Jandalf

    ok, ill wait:) nice plugin so far:)
    but i u have too much time could u remove the "!" after
    Code:
    2011-02-27 15:13:16 [INFO] MCDocs by Tazzernator (Andrew Tajsic) - version 5.2.1 is enabled!
    so that it fits in one line? (very low priority:D)
     
  31. Offline

    tremor

    How about Group Manager support for those of us who also use Essentials or Group Manager instead of permissions?

    -- edit --

    ignore i think the problem was on my end?
     

Share This Page