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

    Daniel Few

    @Tazzernator ye thats what i said above. I know there are other plugins but it would be nice all in one. However I actually see that there isn't any point implementing it as like you said, there are others.
    -DanJames
     
  3. Offline

    jamescosten

    Ok i have just done a review for this plugin:



    Let me know what you guys think.
     
  4. Offline

    cholo71796

    Could there be an option (or just have it hard-codedly changed) for, in the case that they exist, user specific Permissions prefixes to override their group prefix?
     
  5. Offline

    Tazzernator

    Yes you can do this already

    In your permissions setup:

    http://pastebin.com/LtG5TWuy
     
  6. Offline

    cholo71796

    I'm not sure what you mean. I already have specific prefixes for certain players, but it seems that group prefixes take precedence over player-specific prefixes in your plugin. In the player list, it displays my group prefix when it should be displaying my player-specific prefixes.
     
  7. Offline

    Tazzernator

    Oh, right. I'll look into that. Sorry!

    Thanks!
     
  8. Offline

    hofec

    @Tazzernator

    many thanks for your excellent plugin sir ! [diamond] I'm using it all the time.

    I have one suggestion for you. Can u make possible in your config an option, when i can match some nicknames to the blacklist or the whitelist (like some admin or moderator nicks ..) which are not visible in the online list for all my players ?

    It will be great make this toggable with some command - like /hidenick and /shownick
    I just want to use your custom /online feature, where i can define my own strink with prefixes and sufixes ..

    This way I could be on my server in total secrecy .. :rolleyes:

    And yes .. this could be totally excellent with /dynmap hide/show (from Dynmap plugin) and /vanish (from VanishNoPickup plugin) too ! :D :cool:

    Thank you in advence.
     
  9. Offline

    Nitnelave

    Is it normal to get this error :
    error (open)
    [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to MCDocs
    java.lang.NullPointerException
    at java.lang.String.replace(String.java:2219)
    at com.tazzernator.bukkit.mcdocs.MCDocsListener.variableSwap(MCDocsListener.java:363)
    at com.tazzernator.bukkit.mcdocs.MCDocsListener.onPlayerCommandPreprocess(MCDocsListener.java:315)
    at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:271)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:693)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    every time you type a mcdocs defined command, such as /rules? By the way, running CB803, MCDocs 9.4.1.
    It outputs an 'Unknown command'. I could only test that with an admin, though (so yes, I have the permissions).
     
  10. Offline

    Tazzernator

    Your permissions file is incorrect. It is crashing trying to find your group.

    This is pretty low priority, but I will eventually get to this.

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

    Pete Mo

    Is it possible to implement a way for MCDocs to allow editing (or just adding to) docs within the game. I would like to allow some players to be able to update the news, including things they ad others have done, so that other players can catch up.
     
  12. Offline

    Nitnelave

    It seems unlikely, all of the other plugins are working great. In any case, here it is, if you can find an error :
    minetelier.yml (open)
    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance: null
            permissions:
            - lwc.blockinventory
            - worldguard.slay
            - admincmd.player.list
            - petition
            - '-modifyworld.entity.mobtarget'
            - '-modifyworld.items.pickup.*'
            - '-modifyworld.vehicle.destroy'
            - modifyworld.*
            - 'mcdocs./regles'
            - 'mcdocs./couleur'
            - 'mcdocs./news'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - '-LightningEvent.onMove'
            - '-LightningEvent.onQuit'
            - '-LightningEvent.onDeath'
            - '-LightningEvent.onRespawn'
            - '-iConomyDeath.use'
            - '-modifyworld.entity.mobtarget'
            - '*'
        Basic:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - elevators.builder
            - realshop.shop
            - realshop.help
            - realshop.info
            - realshop.create
            - realshop.delete
            - realshop.give
            - realshop.open
            - realshop.close
            - realshop.buy
            - realshop.sell
            - realshop.xbuy
            - realshop.xsell
            - realshop.damageditems
            - realshop.price.*
            - lwc.protect
            - worldguard.slay
            - BedRespawn.*
            - joerep.user.*
            - admincmd.player.list
            - nSpleef.member.*
            - tombstone.use
            - tombstone.lwc
            - tombstone.sign
            - tombstone.quickloot
            - iConomyDeath.use
            - petition
            - monsterhunt.usercmd.*
            - monsterhunt.rewardeverytime
            - LightningEvent.onJoin
            - modifyworld.*
            - gastronomic.player.*
            - pvptoggle.use
            - pvptoggle.command.*
            - 'mcdocs./regles'
            - 'mcdocs./couleur'
            - 'mcdocs./news'
            - GiftSend.send
        Initiates:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: Basic
            permissions:
            - elevators.advancedbuilder
            - tombstone.large
            - tombstone.freesign
            - tombstone.cmd.tombfind
        Moderators:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: Initiates
            permissions:
            - nocheat.notify
            - lwc.mod
            - assignpermissions.add.group.Initiates
            - assignpermissions.del.group.Initiates
            - assignpermissions.list.group.Initiates
            - elevators.operator
    users:
        nitnelave:
            group: Admins
        sean:
            group: Admins
        Smaug:
            group: Basic
        totolafouine:
            group: Basic
        nitnelave1:
            group: Initiates
        whiterabbit:
            group: Initiates
        nitnelav:
            group: Basic
        gonan31:
            group: Basic
        Vince:
            group: Basic
        Test:
            group: Basic
     
  13. Offline

    Tazzernator

    Not at the moment, and i'm not too sure how to do it. It becomes pretty complicated when you have 5/6 page documents, and wanting to choose exactly which line to edit...


    Minecraft just isn't cut out for it :/

    Are you using permissions 3? Groups and users I believe are split up into different files.

    I don't have the time to test your permissions setup, I'm about to head off to another client interview, sorry :s

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

    Pete Mo

    I'm sorry, I was not quite clear here. I understand how editing a document would be hard within Minecraft, but how about adding to one. For example, adding a new entry to the top of the news document.

    Anyway, thanks for such a great plugin!
     
  15. Offline

    hofec

    If yes, u will be my new hero. Thank you! [cookedmeat]
     
  16. Offline

    Ben91

    Thank you for the awesome work !

    Going to test it on Build 818.

    ++
     
    Tazzernator likes this.
  17. Offline

    LastKossack

    Great plugin!

    Just a suggestion, what do you think about executing commands linked with the main command, like this:

    Executing command /kill
    %command_execute:kill %player
    %command_execute:me kills herself

    Then when you type , for example: /suicide
    Executing command /kill
    *The player dies*
    *Player kills herself

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

    Tazzernator

    This plugin is aimed at simple information. Essentials has these features.
     
  19. Offline

    LastKossack

    You have heard something about bShortcut? You can integer some of those features like Multiple commands execution to customize the user's commands. Like: Say something then execute a existing command.

    Another example:
    .txt:
    %command_execute:say Stoping the server!
    Youre about to stop the server!
    %command_execute:saveall
    %command_execute:stop


    Just a side note: When I change the header in the in the config file y get the default header again ._. Ill try stopping my server just in case.
     
  20. Offline

    Tazzernator

    This plugin is aimed at informational distribution. It provides admins a way to easily send information to users. Customise help files, Everything. It's not pitched for use with changing elements.

    In game - go /mcdocs -reload
     
  21. Offline

    LastKossack

    Ook... the but think about it, another example, i was making a tutorial for the newbies, they need some basics from the store so i typed the next on the .txt file:
    Hello %player!
    %command_execute:warp store
    Here is the store, here you can buy some interesting items, they can help you with your journey around this world!
    Just left or right click on the signs to see what happen! Here; take some coins and get a torch.
    %command_execute:money grant %player 5

    Note: Isnt working hehe, the news-file goes back to the default
     
  22. Offline

    Tazzernator

    I'm not doing it, sorry.
     
  23. Offline

    LastKossack

    Ok but the problem with the header customization... try it by yourself.
     
  24. Offline

    Tazzernator

    /mcdocs -reload in game.

    It works fine for me.
     
  25. Offline

    LastKossack

    I just add a line "header-format" like the wiki says, and i changed the default "news-file", as you can see there are 2 "news-file" lines these are the "default". When I press /mcdocs -reload or /reload...
    [​IMG]
    This happens.
    [​IMG]
    My Bukkit Build: 818
    [​IMG]

    Config file:
    Show Spoiler

    Code:
    #MCDocs 9.4.1 by Tazzernator / Andrew Tajsic version
    #Configuration File.
    #For detailed assistance please visit: http://atajsic.com/wiki/index.php/MCDocs
    
    #Here we determine which command will show which file.
    commands-list:
    - /testo:testo.txt
    - /mv:mv.txt
    - /dm:dm.txt
    - /noticias:noticias.txt
    - /register:register.txt
    - /ayuda:ayuda.txt
    - /reglas:reglas.txt
    - /tutoriales:tutoriales/tutoriales.txt
    - /casas:tutoriales/casas.txt
    - /empleo:tutoriales/empleo.txt
    - /habilidades:tutoriales/habilidades.txt
    - /tiendas:tutoriales/tiendas.txt
    
    #This changes the pagination header that is added to MCDocs automatically when there is > 10 lines of text.
    news-file: '&c%commandname - Page %current of %count &f| &7%command <page>'
    
    #Format to use when using %online or %online_group.
    online-players-format: '%prefix%name'
    
    #The file to displayed when using %news.
    news-file: news.txt
    
    #How many lines to show when using %news.
    news-lines: 1
    
    #Show a MOTD at login? Yes: true | No: false
    motd-enabled: true
    
    #Inform the console when a player uses a command from the commands-list.
    command-log-enabled: true
    
     
    Tazzernator likes this.
  26. Offline

    Tazzernator

    [​IMG]

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

    Version 9.5
    • Fixed a typo in the save method (news-file instead of header-format) :s
    • To upgrade simply download the jar, and replace the existing MCDocs.jar. reload the server.
      • Your config.yml will be automatically updated.

    Updated OP

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

    LastKossack

  28. Offline

    LastKossack

    So here is another bug:

    When you change de codification from ANSI to UTF-8 or others you save, you continue normally, but then! the codification goes again ANSI D: aaand the /mcdocs -reload isnt working at the moment (From 9.5 to here)
     
  29. Offline

    icomeinpieces

    i keep getting a can't pass on player join event to MCdocs.
    CB 818 and mcdocs 9.5
     
  30. Offline

    Tazzernator

     
  31. Offline

    icomeinpieces

    2011-06-04 01:24:16 [SEVERE] Could not pass event PLAYER_JOIN to MCDocs
    CB 818 MCdocs 9.5
    clean/default install config
     

Share This Page