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

    Tazzernator

    I'm unable to re create your error.
    [​IMG]

    motd-member.txt

    Code:
    Showing: motd for usergroup Member.
    %prefix%name
    %online
    %online_member
    http://atajsic.com/wiki/index.php/MCDocs/Permissions

    What?

    I replaced the old download links with new ones. It's impossible to even download the original v6 >.<

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

    seriosbrad

    v6 is awesome :)
     
    Tazzernator likes this.
  4. Offline

    woodzy

    CD#670
    Code:
    2011-04-12 06:41:26 [SEVERE] Could not pass event PLAYER_JOIN to MCDocs
    java.lang.NullPointerException
        at com.tazzernator.bukkit.mcdocs.MCDocsListener.groupMotd(MCDocsListener.java:343)
        at com.tazzernator.bukkit.mcdocs.MCDocsListener.onPlayerJoin(MCDocsListener.java:331)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:204)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:98)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  5. Offline

    Tazzernator

    Your permissions (world.yml) setup is incorrect.
     
  6. Offline

    woodzy

    cant be i had this in CB#617 updated to CB#670 and yes i updated the plugin and the permisson's plugin as well.
    so i think its ur plugin
     
  7. Offline

    Tazzernator

    MCDocs Version?
    Permissions Version?
    post world.yml and config.yml
     
  8. Offline

    woodzy

  9. Offline

    Tazzernator

  10. Offline

    woodzy

  11. Offline

    Tazzernator

  12. Offline

    shadrxninga

    Thanks for this :D
     
    Tazzernator likes this.
  13. Offline

    Phaedrus

  14. Offline

    Tazzernator

    [​IMG]

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

    Version 7
    • Re organised code, as to give feedback on what may be causing the plugin to crash,
    • Commented everything so others can understand my logic. (github)
     
    GmK likes this.
  15. Offline

    GmK

    @Tazzernator

    Since the old days, the first versions, I never had troubles with this plugin, it simply works. Perfect example of KISS ;) Thank you so much for it!

    Oh wait, haha, just when I wrote that, trying to startup v7:

    Code:
    10:54:52 [SEVERE] Could not load 'plugins/MCDocs.jar' in folder 'plugins':
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:530)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:136)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.NullPointerException
            at com.tazzernator.bukkit.mcdocs.MCDocsListener.<init>(MCDocsListener.java:43)
            at com.tazzernator.bukkit.mcdocs.MCDocs.<init>(MCDocs.java:47)
            ... 13 more
    Never had that before with one of my plugins, and v6 works flawlessly, weird...

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

    Tazzernator

    How embarrassing. Fixed. Redownload v7

    The sole reason for the v6 update was to move everything into one file, and to keep things, well, simple! :)

    Thanks for the cheer :)

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

    Hakaslak

    I'm getting this issue, notice how the names of the %online_owner and % online_admin keep getting repeated :(

    [​IMG]

    Code:
      &8|&7 MOTD - Titan v&a1.4.2.1&7 24/7 Factions Total War EULA: &e/eula
      &8|&f Please read and abide by our &e/rules&f or be banned.
      &8|&f Applying is required to be promoted [&9hakaslak.com/apply&f]
      &8|&f Questions? Use &e/help&f. Please read before asking anything
      &8|&a %size Online&f. Subscribe for perks! [&9hakaslak.com/subscribe&f]
      &8|&f For support: &e/modreq <insert help ticket here>
      &8|&f %online_owner %online_admin %online_recruiter
     
  18. Offline

    woodzy

    it said "file not found" so idk whats going on
     
  19. Offline

    Phaedrus

    @Woodzy Make sure you don't have any null entries in your permissions file. Replace null with two single quote marks. ''
     
  20. Offline

    Jandalf

    i mean u cant make a SILENT update, cause of craftbukkituptodate;)
     
  21. Offline

    Tazzernator

    well I just did. Twice.



    Both you posts do not fulfill the guidelines for support outlined on the frontpage of the wiki, and thus are being ignored. Please try again.
     
  22. Offline

    Hakaslak

    • Bukkit Build 670
    • MCDocs Version 7
    Code:
    header-format: '&c%commandname - Page %current of %count &f| &7%command <page>'
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]commands-list:[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]- /rules:rules.txt[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]- /subscribe:subscribe.txt[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]- /news:news.txt[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]- /motd:motd.txt[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]- /help:help.txt[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]- /faq:faq.txt[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]- /eula:eula.txt[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]- /shopguide:shopguide.txt[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]- /moneyguide:moneyguide.txt[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]- /mmoguide:mmoguide.txt[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]- /bankguide:bankguide.txt[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]- /opcommands:/opcommands.txt[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]- /bankcommands:/bankcommands.txt[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]- /who:who.txt[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]online-players-format: '%suffix%name&f, '[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=sans-serif]
    [/FONT][/SIZE][/COLOR]

    I'm getting this issue, notice how the names of the %online_owner and % online_admin keep getting repeated :(

    [​IMG]

    Code:
      &8|&7 MOTD - Titan v&a1.4.2.1&7 24/7 Factions Total War EULA: &e/eula
      &8|&f Please read and abide by our &e/rules&f or be banned.
      &8|&f Applying is required to be promoted [&9hakaslak.com/apply&f]
      &8|&f Questions? Use &e/help&f. Please read before asking anything
      &8|&a %size Online&f. Subscribe for perks! [&9hakaslak.com/subscribe&f]
      &8|&f For support: &e/modreq <insert help ticket here>
      &8|&f %online_owner %online_admin %online_recruiter
    Plugin is still broken, and I'm not sure what anything in the config.yml has to do with the bug =/
     
  23. Offline

    Tazzernator

    @Hakaslak

    Using your online-player-format, and the %online_variables I've been unable to re-create the error.

    I sense you world.yml is incorrectly structured. But that's only a hunch.
     
  24. Offline

    Hakaslak

    Do you mean the Group Manager yml file?
     
  25. Offline

    Tazzernator

     
  26. Offline

    DeanDip

    I think I am getting the same error Hakaslak is getting. My name is showing up twice in %online_admin, and I think (I don't remember clearly) some other people from other groups had their name show up twice, but not all people have their name show up twice. This is my GroupManager group permissions:
    Code:
    groups:
      Default:
        default: true
        permissions:
        - essentials.afk
        - essentials.clearinventory
        - essentials.compass
        - essentials.depth
        - essentials.getpos
        - essentials.help
        - essentials.list
        - essentials.mail
        - essentials.motd
        - essentials.ping
        - essentials.signs.disposal.use
        - essentials.signs.mail.use
        - mcdocs./colors
        - mcdocs./list
        - mcdocs./motd
        - mcdocs./news
        - mcdocs./on
        - mcdocs./rules
        inheritance: []
        info:
          prefix: ''
          build: false
          suffix: ''
      SemiAdminP:
        default: false
        permissions:
        - +worldguard.slay.*
        - essentials.ban
        - essentials.banip
        - essentials.burn
        - essentials.invsee
        - essentials.kill
        - essentials.protect.*
        - essentials.tpo
        - essentials.tpohere
        - groupmanager.*
        - vanish.vanish
        - worldedit.superpickaxe.*
        inheritance:
        - semiadmin
        info:
          prefix: '&7[SemiAdmin&7] '
          build: true
          suffix: '&5'
      SemiAdmin:
        default: false
        permissions:
        - essentials.bigtree
        - essentials.broadcast
        - essentials.clearinventory.others
        - essentials.deljail
        - essentials.invsee
        - essentials.jail.exempt
        - essentials.jails
        - essentials.mute
        - essentials.powertool
        - essentials.setjail
        - essentials.togglejail
        - essentials.whois
        - groupmanager.listgroups
        - groupmanager.mandemote
        - groupmanager.manpromote
        - groupmanager.manwhois
        - nocheat.airbuild
        - nocheat.bedteleport
        - nocheat.moving
        - nocheat.notify
        - nocheat.speedhack
        - worldedit.analysis.*
        - worldedit.brush.*
        - worldedit.butcher
        - worldedit.chunkinfo
        - worldedit.clipboard.*
        - worldedit.drain
        - worldedit.fill.*
        - worldedit.fixlava
        - worldedit.generation.*
        - worldedit.history.*
        - worldedit.listchunks
        - worldedit.region.*
        - worldedit.remove
        - worldedit.removeabove
        - worldedit.removebelow
        - worldedit.removenear
        - worldedit.replacenear
        - worldedit.selection.contract
        - worldedit.selection.expand
        - worldedit.selection.hpos
        - worldedit.selection.inset
        - worldedit.selection.outset
        - worldedit.selection.pos
        - worldedit.selection.shift
        - worldedit.selection.size
        - worldedit.snow
        - worldedit.superpickaxe
        - worldedit.thaw
        - worldedit.tool.*
        - worldedit.wand.*
        inheritance:
        - moderator
        info:
          prefix: '&7[SemiAdmin&7] '
          build: true
          suffix: '&c'
      Peasant:
        default: false
        permissions:
        - essentials.helpop
        - essentials.home
        - essentials.mail.send
        - essentials.msg
        - essentials.sethome
        - essentials.signs.free.use
        - essentials.spawn
        - essentials.warp
        inheritance:
        - default
        info:
          prefix: '&7[Peasant&7] '
          build: true
          suffix: ''
      Moderator:
        default: false
        permissions:
        - -worldguard.slay.*
        - -worldguard.reloadwg.*
        - essentials.back
        - essentials.back.ondeath
        - essentials.chat
        - essentials.compass
        - essentials.delwarp
        - essentials.give
        - essentials.helpop
        - essentials.item
        - essentials.jump
        - essentials.kit
        - essentials.kit.*
        - essentials.list
        - essentials.nick
        - essentials.protect.alerts
        - essentials.setwarp
        - essentials.signs.disposal.create
        - essentials.signs.free.create
        - essentials.signs.free.use
        - essentials.signs.heal.create
        - essentials.signs.heal.use
        - essentials.signs.mail.create
        - essentials.suicide
        - essentials.time
        - essentials.top
        - essentials.tp
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpahere
        - essentials.tpdeny
        - essentials.tphere
        - essentials.tppos
        - essentials.tptoggle
        - essentials.unlimited
        - essentials.warp.list
        - groupmanager.listgroups
        - groupmanager.mandemote
        - groupmanager.manpromote
        - groupmanager.manwhois
        - ichat.color
        - nocheat.flying
        - signColours.*
        - worldedit.extinguish
        - worldedit.fixwater
        - worldedit.navigation.*
        - worldedit.wand
        - worldguard.*
        - worldguard.stack
        inheritance:
        - peasant
        info:
          prefix: '&7[Mod] '
          build: true
          suffix: '&c'
      Admin:
        default: false
        permissions:
        - '*'
        inheritance:
        - semiadminp
        info:
          prefix: '&7[Admin&7] '
          build: true
          suffix: '&9'
    
    My GroupManager users permissions:
    Code:
    users:
      bluj40:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          prefix: ''
          suffix: '&1'
      ShadowMarioXLI:
        subgroups: []
        permissions: []
        group: SemiAdmin
      gmcouto:
        subgroups: []
        permissions: []
        group: SemiAdmin
      kooplugg:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          mc: '&2'
          prefix: The Duke Of
          suffix: '&2'
      UR__MOM:
        subgroups: []
        permissions: []
        group: SemiAdmin
      Blood_Baron:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          suffix: '&f'
      kevinqlol:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          prefix: everyone's favorite
      a9claim:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          suffix: '&e'
      dombo813:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          prefix: ''
          suffix: '&3'
      coolkrazie123:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          suffix: '&b'
      flailingmonkey:
        subgroups: []
        permissions: []
        group: Moderator
        info:
          suffix: '&6'
      Omeriobro101:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          prefix: ''
          suffix: '&2'
      awesomecommando:
        subgroups: []
        permissions:
        - -groupmanager.mandemote
        - -groupmanager.manpromote
        - -essentials.mute
        group: SemiAdmin
        info:
          prefix: ''
          suffix: '&e'
      Thepyrowall:
        subgroups: []
        permissions: []
        group: Moderator
        info:
          prefix: ''
          suffix: '&6'
      Lawltastic:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          suffix: '&b'
      trojax25:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          prefix: '&7emperor'
      caboose478:
        subgroups: []
        permissions: []
        group: Admin
        info:
          sufix: IV
          mc: '&9'
          Sufix: Esquire
      SnoekHook:
        subgroups: []
        permissions: []
        group: SemiAdmin
      zenexer:
        subgroups: []
        permissions:
        - essentials.god
        group: Moderator
      xan566:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          prefix: ''
          suffix: '&e'
      Dencyftw:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          prefix: ''
          suffix: '&5'
      XizorSun:
        subgroups: []
        permissions: []
        group: Moderator
      asajewski:
        subgroups: []
        permissions: []
        group: Moderator
      mighty_river:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          suffix: '&4'
      anjocaido:
        subgroups: []
        permissions: []
        group: Admin
        info:
          prefix: '&c'
          suffix: King
      raolsether:
        subgroups: []
        permissions: []
        group: SemiAdmin
      Gforcerex:
        subgroups: []
        permissions: []
        group: SemiAdmin
      deandip:
        subgroups: []
        permissions: []
        group: Admin
        info:
          suffix: '&9'
      piratecheese13:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          prefix: ''
          suffix: '&1'
      cdsnickel7:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          prefix: ''
          suffix: '&2'
      JDizzle10:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          prefix: ''
          suffix: '&2'
      txdaniel55:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          prefix: ''
          suffix: '&2'
      SilverLucario:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          prefix: '&7Plum Demolition Expert'
          suffix: '&7'
      Sevenstrums:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          prefix: ''
          suffix: '&1'
      seabo101:
        subgroups: []
        permissions: []
        group: SemiAdmin
      XXBMXX:
        subgroups: []
        permissions: []
        group: SemiAdmin
        info:
          prefix: ''
          suffix: '&5'
      lnze:
        subgroups:
        - SemiAdminP
        permissions: []
        group: SemiAdminP
        info:
          '[SemiAdmin]': Deserves Ice Cream =>
          DeservesIceCream=>: '[SemiAdmin]'
          prefix: '[SemiAdmin*]'
          suffix: '&d'
      luigi581:
        subgroups: []
        permissions: []
        group: SemiAdmin
      Nova_Six:
        subgroups: []
        permissions: []
        group: SemiAdmin
      Failure_117:
        subgroups: []
        permissions: []
        group: SemiAdmin
    
    My MCDocs config file:
    Code:
    header-format: '&c%commandname - Page %current of %count &f| &7%command <page>'
    commands-list:
    - /motd:motd.txt
    - /rules:rules.txt
    - /news:news.txt
    - /on:on.txt
    - /colors:colors.txt
    online-players-format: '%prefix%suffix%name &f| '
    
    My on.txt file:
    Code:
    &eOnline (%size):
    Admin: &f%online_admin
    SemiAdmin: &f%online_semiadminp &f%online_semiadmin
    Moderator: &f%online_moderator
    Peasant: &f%online_peasant
    Default: &f%online_default
    I don't mind the problem too much though. I can make due with just %online.

    There's a couple of things that I wished MCDocs could do, and that is have %prefix and %suffix check for player's prefixes and suffixes first before group's prefixes and suffixes, and I wish it could have a variable for showing player's nicknames if possible. I'm using Essentials v2.1 to have nicknames btw. Don't worry about my wishes, and just know that I love your plugin very much.
     
  27. Offline

    Tazzernator

    @DeanDip

    I've never used GroupManager. I'll test it out once I've finished my assignment from Uni :)
     
  28. Offline

    Racha

    How to disabe MOTD?
     
  29. Offline

    Tazzernator

    Yyou simply delete the file motd.txt :)
     
  30. Offline

    NinjaGrinch

    Love this plugin, great job with the latest rounds of updates. :)

    So far no issues which is always good.
     
    Tazzernator likes this.
  31. Offline

    Racha

    It makes a new one.
     

Share This Page