[GEN/CHAT] CommandTutorial 0.6.2 - Never explain commands again! [1597]

Discussion in 'Inactive/Unsupported Plugins' started by D00py, Dec 14, 2011.

  1. ==== CommandTutorial ====
    **Version:** 0.6.2

    With CommandTutorial, you can configure a tutorial for first joining users, which explains the available commands on your server.
    You can edit every message, and all commands users have to type, before they get to the next command.


    Download(v0.6.2)

    Download(v0.6.1)


    I´m going to move to BukkitDev!


    **Features:**
    • Configurable!
    • Reloadable!
    • Up to 99 commands possible!
    **How to use:**
    Read the instructions, type the command(don´t forget to press enter), and type /tut next. (Could remove it, but would be two messages at once).


    **How to configure:**
    • Open config.yml.
    • Add the next numbers after 2 if you want more commands, in the same way I did.
    • Write an message the user will get before he should type the command(with the command).
    • Write the command the user should type before going on (with slash).
    • Edit the messages shown at start and end of tutorial.
    • Reload plugin with /tut reload.
    • Finished :)
    **Commands:**
    • /tut info shows version number and developers name(my one :) )
    • /tut next shows next instruction with the next command.
    • /tut reload simply reloads the plugin.
    **Known bugs:**
    • None :)
    **Changelog:**
    • 0.6.2 - Fixed generating an exception when typed /tut. Will show now commands of this plugin.
    • 0.6.1 - First release
     
    Don Redhorse likes this.
  2. Offline

    convictedsaint

    Can you please fix the exception?
    Code:
    03:29:20 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'tut'
     in plugin Tutorial v0.5.7
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    5)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    78)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:757)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :180)
            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:93)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :550)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
            at me.doopy.tutorial.Tutorial.onCommand(Tutorial.java:111)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 14 more
    I really want to try out this plugin :D
     
  3. Ehm ive written /tut generates exception :D
    I think you dont need the command /tut without parameters.
    But I´ll try to fix this nevertheless.

    Fixed it, will show now list of commands of my plugin. Please update to 0.6.2.

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

    convictedsaint

    /tut is fixed, thanks. Although /tut next only displays one of the 3 descriptions I wrote in the config without displaying the command itself. How's this supposed to work exactly?
     
  5. You have to write the command in the instruction/message :D
     

Share This Page