TutorialSpawn
Introduction: TutorialSpawn allows the user to create a tutorial area for their server. A player can view the tutorial area and then enter a passphrase to leave the tutorial. Players will be forced back into the tutorial area every time they log-in until they enter the proper passphrase.
Purpose: I found the need for servers to have an initial tutorial area without having to interfere with their normal spawn area. This plugin allows the user to have a tutorial area that users will automatically port to, while being able to maintain a smaller, less cluttered spawn for the players who already know how the server functions.
Commands (v1.32b+):
Command | Description |
---|---|
/tsphrase [passphrase] | Confirm phrase |
/tssetphrase [passphrase] | Set passphrase |
/tsgetphrase | Get passphrase |
/tsspawn | Teleport to tutorial spawn |
/tssetspawn | Set tutorial spawn location |
/tsexit | Teleport to tutorial exit |
/tssetexit | Set location to teleport to once passphrase is entered |
/tssetmje [integer] | Set maximum join events (EX /tssetmje 5) |
/tsgetmje | Get maximum join events |
/tssetrp [true/false] | Set reuse passphrase setting (EX /tssetrp true) |
/tsgetrp | Get reuse passphrase setting |
/tssettd [double] | Set teleport delay (EX /tssettd 0.5) |
/tsgettd | Get teleport delay |
Once the spawn has been set, users will be transported to that location every time they log-in until they enter the correct passphrase using /tsphrase or until they reach the maximum amount of join events (Default maximumJoinEvents is set to -1. maximumJoinEvents will have to be set to a non-negative integer for this feature to work). Default phrase is putwhateverphraseyoulike and can be changed in the config.yml or by using the /tssetphrase command.
Permissions (v1.32b+):
Permission node | Description | Default |
---|---|---|
tutorialspawn.phrase | Allows user to input passphrase needed to leave tutorial | true |
tutorialspawn.phrase.get | Allows user to get current passphrase | false |
tutorialspawn.phrase.set | Allows user to set current passphrase | false |
tutorialspawn.spawn | Allows user to teleport to tutorial spawn | false |
tutorialspawn.spawn.set | Allows user to set tutorial spawn | false |
tutorialspawn.exit | Allows user to teleport to tutorial exit | false |
tutorialspawn.exit.set | Allows user to set tutorial exit | false |
tutorialspawn.mje.get | Allows user to get current maximum join events | false |
tutorialspawn.mje.set | Allows user to set current maximum join events | false |
tutorialspawn.rp.get | Allows user to get reuse passphrase setting | false |
tutorialspawn.rp.set | Allows user to set reuse passphrase setting | false |
tutorialspawn.td.get | Allows user to get current teleport delay | false |
tutorialspawn.td.set | Allows user to set current teleport delay | false |
Each permissions can be used as a wildcard (EX: tutorialspawn.phrase.* would give the permissions for tutorialspawn.phrase, tutorialspawn.phrase.get, and tutorialspawn.phrase.set). The only permissions a user should need is the tutorialspawn.phrase permission, which is set as default:true for all users. The rest of the permissions are considered admin/op controls.
Files (v1.32b+):
For previous version info visit TutorialSpawn 1.21b | TutorialSpawn 1.0b
If you like this plugin please donate to [email protected] (PayPal)
Check out my other project:
@Expatcat
Sorry for the late response. What version of craftbukkit are you using?
Hello! I would like to pop in and just say that I love this plugin! It's simple, straightforward, and laid out in an effective and understandable manner! Not to mention, I find it very useful for my server.
Thanks for keeping it updated guys, and continue being awesome!
The new version does not work for me.
[13:24:01 ERROR]: Could not load 'plugins/TutorialSpawn.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/fuzzystatic/TutorialSpawn/TutorialSpawn : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:308) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:231) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:255) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:233) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] Caused by: java.lang.UnsupportedClassVersionError: me/fuzzystatic/TutorialSpawn/TutorialSpawn : Unsupported major.minor version 51.0
@alex444143
I don't know any reason why any version should not work, the bukkit API hasn't changed in a way that would affect this plugin. Either way the latest version is out and is merely some backend changes. 1.34 and 1.32 should function exactly the same to the end user.
@miikedenton I'll have to add it to the plugin in a future update. Thanks for the suggestion.
Using with most recent version and works really well. Only request would be customisable messages upon correct phrase being entered and error messages. Is this possible through the creation of a language.yml or would this require an update to the plugin?
Is used the old version, it worked pretty good and without errors
@alex444143
My apologies, it seems I forgot some required files upon compression. I have reuploaded the file and hopefully it should work properly after that. It may take a day or two for it to be approved.
This plugin has no other plugin dependencies thus far.
Does it has any dependency plugin cuz it doesnt work on 174
@FuzzyStatic
I just wanted to follow up after my test. The new option works to my satisfaction.
Thanks again!! :D
@FuzzyStatic
Thanks!
I appreciate your help with this; I'll go try it out now.
@TorchuVadergear
So with the v1.32b release I added a reusePassphrase option. Set this to true and people should be able to use /tsphrase at any time.
v1.32b will be up once approved.
@TorchuVadergear
Ok, I see the predicament. I assume you do not want them to have /tsexit either since you want them to use /tsphrase.
I can create a flag that will allow players to repeat the /tsphrase command. Initially, I did not allow for repeat use of /tsphrase for concerns that people would use it to escape PvP situations.
@TorchuVadergear
Yes, you can do this by giving the player the tutorialspawn.spawn permission and he will be able to type /tsspawn to teleport to the tutorial spawn. I did not set this as a default as it can be used by PvPers to teleport out of combat if not denied properly by other plugins. If this is not useful enough or what you are looking for I can try to make a more robust system to fit your needs.
@FuzzyStatic
I wanted the tutorial area to be mandatory at first, but optional to go back to. This way, it could be used as a reference later on. Does this make sense?
@TorchuVadergear
I'm trying to understand your request. It seems you want players to take the tutorial again?
I had a plan for using this plugin, but we can't seem to make it work because of a small detail.
Once someone uses /tsphrase and enters the correct phrase, they get TP'd to the exit, which is good. However, once they've done it they can't use it again. I was hoping to have a sort of 'pit' for the tutorial and have players who are in the pit use the phrase to get out of it.
Could I recommend this to you as an update?
v1.21b should be out once approved.