Sueta

PlayersTutorials | Infinite phases | Set it in-game!

1.1

Infinite phases, cooldown, teleport, command (also with player name!), message with in-game commands

·Plugin

Tutorial.jpg
PlayersTutorials provides a in-game tutorials creator for your Minecraft Server, so that you can create a tutorial for first join players or make them the possibility of following it using the /tutorial command.

YouTube

Skript License:

  • This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Italy License.

Things to add:

  • Multiple commands system instead of /settutorial setcommand
  • More placeholders for /settutorial setcommand
  • Logs
  • Set that title & subtitle stops after the cooldown time

Contact:
-
Telegram: @Sitieno14_bot (act like it's a contact, isn't really a bot)
Please if you find a bug or wanna suggest a feature contact me on telegram reporting/talking about it and I will fix or add new features with a new version release.

Server that use this plugin:
(Review if you want your server in this list)
- Play.MineBukketNT.Tk ( Spanish Network )
-

Features:
-
Infinite tutorial phases
- Customizable cooldown between a tutorial phase and another one

- Customizable command to run from console in a tutorial phase
- Customizable message to send in a tutorial phase

- Customizable teleport location for a tutorial phase
- Manage all phases in-game
- In-file config for defaultcooldown, No Damage while in Tutorial, No Move while in Tutorial, Start tutorial on first join, autoupdate
- Toggleable no damage option while following the Tutorial
- Toggleable no move option while following the Tutorial
- Toggleable start tutorial on first join
- AutoUpdate (You will have to set again the 5 in-file config options but it is easy since them are false and true and updates are really important)
- Stop the tutorial at any time
- Start tutorial at any time
- All exceptions managed (Every command of this skript will have an output also if you didn't use subcommands well)
- Removing a phase will scale by 1 other phases after the removed one

Commands:
2018-03-04_18.12.01.png
2018-03-04_18.12.25.png

/tutorial - Start the tutorial
/tutorial stop or /stoptutorial - Stop the tutorial

/playerstutorials config <reload/recreate/create> - Reload / Recreate / Create the external config

/settutorial info <phase> - Info about a phase
/settutorial list - List of all phases
/settutorial setmessage <phase> - Set a message to send to the player when he will be in the specified phase
/settutorial setcommand <phase> - Set a command to execute from console when a player will be in the specified phase
> PlaceHolder: ptplayer = player that will be in the phase's name
[Not the displayname, the vanilla's one]
/settutorial setteleport <phase> - Set the teleport location when a player will be in the specified phase to the location where you execute the command
/settutorial setcooldown <phase> - Set the cooldown before the phase will switch from the previous one for a specified phase
/settutorial settitle <phase> - Set a title to send to the player when he will be in the specified phase
/settutorial setsubtitle <phase> - Set a title to send to the player when he will be in the specified phase

Set a thing to the "value" none if you want to reset it to default value (nothing or defaultcooldown)

/settutorial addphase - Add a phase
/settutorial removephase <phase> - Remove the specified phase

Dependencies:

  • Included in the .zip for 1.8 versions
  • WildSkript
  • Skript 2.2
  • SkQuery

Permissions:
- /tutorial
- tutorial.command
- /stoptutorial or /tutorial stop - tutorial.stop
- /settutorial - tutorial.set

Config & Options & Customization:
-
In game with /settutorial subcommands
- External Config (plugins/PlayersTutorials/config.yml):

#                                                                       #
#                   -|PlayersTutorials by Sitieno14                     #
#                   -|Version: 1.1                                      #
#                   -|File: Config.yml                                  #
#                                                                       #

nopermission-error-message: "\xa7cYou don't have the required permission for this\
  \ command."
defaultcooldown: '5'
TutorialNoDamage: 'true'
TutorialNoMove: 'false'
TutorialNoCommand: 'false'
TutorialOnFirstJoin: 'true'
autoupdate: 'true'

"API for developers":
{InTutorial::%player%}
> true while player is following the tutorial
> false if player almost one time followed the tutorial

Examples of using API:

Check with /checktutorial command another online player's intutorial variable status:

command /checktutorial <player>:
    trigger:
        if {InTutorial::%arg 1%} is true:
            send "&6%arg 1% &eis following a tutorial"
            stop
        if {InTutorial::%arg 1%} is false:
            send "&6%arg 1% &ealmost one time followed the tutorial"
            stop

Teleport to spawn (setted with another command) with /spawntp command only if you aren't following a tutorial:
[CODE]command /spawntp:
    trigger:
        if {InTutorial::%player%} is true:
            send "&cYou can't tp to spawn while you are following the tutorial"
            stop
        else:
            teleport player to {spawn}
            stop

Similar projects

Plugin →