CommandTutorial
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 /tut next, before they get to the next command.
Features:
- Configurable!
- Reloadable!
- Reward for completion!
- Up to 99 commands possible!
- Manually translatable! (All 5 messages in config)
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.
- 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
- /tut next shows next instruction with the next command.
- /tut skip skips the tutorial if skipping is enabled in the config
- /tut reload simply reloads the plugin.
Permissions:
- tut.*: Grants admin permissions for this plugin (deafult: op) This means, you can't test it as an op by default! (because you got tut.ignore)
- tut.use: Users with this permission will be shown the tutorial text and it allows /tut next and /tut skip (if skippable = true). (default: true)
- tut.ignore: Users with this permission won't be shown the tutorial. (overwrites tut.use)
- tut.reload: Allows to reload the plugin.
Changelog:
- v1.0.1: Hotfix
- v1.0: Just wanted to update for latest Bukkit version and ended up rewriting most of it.
Known bugs:
- None :)
Source code: GitHub
@LoganTheEpicJH
New version available, I found the issue.
Edit: Update still needs to be approved by BukkitDev
@LoganTheEpicJH
What does your config look like? Did you just type "/tut"? (That command doesn't have an effect)
@D00py
I get an error when typing /tut with the following:
08.04 18:32:45 [Server] INFO LoganTheEpicJH issued server command: /tut 08.04 18:32:45 [Server] INFO [TuT] The user yml file couldnt be edited! 08.04 18:32:45 [Server] WARN java.io.IOException: No such file or directory 08.04 18:32:45 [Server] WARN at java.io.UnixFileSystem.createFileExclusively(Native Method) 08.04 18:32:45 [Server] WARN at java.io.File.createNewFile(File.java:1012) 08.04 18:32:45 [Server] WARN at me.doopy.tutorial.UserManager.setStepForUser(UserManager.java:18) 08.04 18:32:45 [Server] WARN at me.doopy.tutorial.PlayerListener.onPlayerCommandPreprocess(PlayerListener.java:57) 08.04 18:32:45 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 08.04 18:32:45 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 08.04 18:32:45 [Server] WARN at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 08.04 18:32:45 [Server] WARN at java.lang.reflect.Method.invoke(Method.java:498) 08.04 18:32:45 [Server] WARN at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) 08.04 18:32:45 [Server] WARN at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 08.04 18:32:45 [Server] WARN at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) 08.04 18:32:45 [Server] WARN at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) 08.04 18:32:45 [Server] WARN at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1154) 08.04 18:32:45 [Server] WARN at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) 08.04 18:32:45 [Server] WARN at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) 08.04 18:32:45 [Server] WARN at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) 08.04 18:32:45 [Server] WARN at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) 08.04 18:32:45 [Server] WARN at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 08.04 18:32:45 [Server] WARN at java.util.concurrent.FutureTask.run(FutureTask.java:266) 08.04 18:32:45 [Server] WARN at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) 08.04 18:32:45 [Server] WARN at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) 08.04 18:32:45 [Server] WARN at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) 08.04 18:32:45 [Server] WARN at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) 08.04 18:32:45 [Server] WARN at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
@GPlayer93
@JaMaHoEsa
It took some time, but I did ;)
this is exactly what i was looking for ... can u pls update?
Can you please update? It seems like a great plugin :)
@D00py
+1 Spout support.
Spout is great, you should get familiar with it.
@carstorm
I´ve got no experience with Spout, and I don´t know if there are many server owners with spout and who want to use my plugin... What do you think? :)
@DubstepMiner
Thanks! But I think the other plugin has to have an interface for other plugins, but ckecking rightclicking on signs could be possible... But how would you like to configure it?
You should make a sprout version of this so that people can have a gui and buttons rather then all txt!
I know this is 'Command' tutorial, but anyway of checking to see if a player has interacted with a sign, for expample, to check if they have bought a peice of dirt from ChestShop, or bought a plot from SimpleRegionMarket?
Otherwise, this is a pretty neat plugin, and congratulations on the good work.