/Tutorial

Discussion in 'Plugin Requests' started by SkillAura, Sep 27, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    SkillAura

    If anyone could this, it'd be great :D

    So, i need a plugin that adds the command "/tutorial", In it, it warps you to places and displays a 1.8 title. (And subtitle), and after 5s warps you somewhere else

    ex:

    /tutorial

    Warps you to a shop area where you can't move
    And a 1.8 title shows up ( I Set)

    '§b§lShop'
    '§7Buy / Sell items here'

    After 5s, it warps to the next one and displays a new title.

    Now, thing is, there are plugins for this but i tried every plugin on bukkit/spigot and it just won't work.

    Cmds:

    /tutorialadmin setpoint (Number)
    Ex
    /tutorialadmin setpoint 1
    /tutorialadmin settitle (Number) &bTitle
    /tutorialadmin setsubtitle (Number) &7Subtitle
    /tutorialadmin settime (Number) (Time)

    Ex:

    /tutorialadmin setpoint 1
    /tutorialadmin settitle 1 &bTest
    /tutorialadmin setsubtitle 1 &7Test
    /tutoriadmin settime 1 5s
    and repeat with new numbers.

    And it auto runs the command on first join

    Can anyone do this?
     
    Last edited: Sep 27, 2015
  2. Online

    timtower Administrator Administrator Moderator

    @SkillAura CommandOverride by mrCookieSlime can do this, you need to fill in the JSON on the title command yourself though.
     
  3. Offline

    SkillAura

    @timtower What about not being able to move while in the warps, or having it wait 5s then warp to the next one?
     
  4. Online

    timtower Administrator Administrator Moderator

    @SkillAura The not moving: try a slowness effect, and it has build-in timers as far as I know.
    Not to mention that you didn't ask for not moving in your post.
     
  5. Offline

    SkillAura

    I Removed part of the quote but its been there
     
  6. Online

    timtower Administrator Administrator Moderator

    Would have been better if it was in this line:
     
  7. Offline

    mrCookieSlime

    @SkillAura @timtower
    Indeed, this could be done easily with CommandOverride.
    Link is in my Signature.

    Example:

    /tutorial:
    - "console:/effect <player> minecraft:slowness 10000 10"
    - "console:/tp <player> X Y Z"
    - "console:/title {}"
    - "WAIT 5"
    - "console:/tp <player> X Y Z"
    - "console:/effect <player> minecraft:slowness 0 11"

    This should give you a rough idea.
     
    oceantheskatr and timtower like this.
  8. Offline

    SkillAura

    @mrCookieSlime i don't see it in your signature. It mentions Quicksell slimefun and questworld but no links to CommandOverride

    Can you link me it?

    EDIT Nvm found it
     
  9. Offline

    mrCookieSlime

    ^^ Hehe, you are looking for a Link, remember?

    [​IMG]
     
  10. Offline

    SkillAura

    @mrCookieSlime It's semming to work, any way to remove the
    [​IMG]
    [​IMG] ?

    EDIT: Now i'm having some issues with it, should i pm you?

    The /tutorial says unknown cmd now but the config seems ok
    Config.yml (open)

    #
    # Name: CommandOverride
    # Author: mrCookieSlime
    #
    # Do not modify the Config while the Server is running
    # otherwise bad things might happen!
    #
    # This Plugin also requires CS-CoreLib to run!
    # If you don't have it installed already, its going to be
    # automatically installed for you
    #
    # This Plugin utilises an Auto-Updater. If you want to turn that off,
    # simply set options -> auto-update to false
    options:
    auto-update: true
    use-unknown-command-message: true
    unknown-command-message: '&7Sorry, I do not recognize this Command! Please type
    &b/help &7for Help.'
    commands:
    /example:
    - '&aThis is an Example Message'
    - '&6Feel free to ignore me ;)'
    - '&eYou propably want to change something in the config here. Just set /example:
    []'
    - '&cIf you do that this message will no longer show up.'
    - command:/say You can also make players execute commands now
    /tutorial:
    - "console:/effect <player> minecraft:slowness 10000 10"
    - "console:/title <player> title {text:"Tutorial...",color:"red",extra:[{}]}"
    - "console:/title <player> subtitle {text:"Please read this closely ",color:"gray",italic:true}"
    - "console:/warp tutorial1 <player>"
    - "console:/title <player> title {text:"Shop tutorial",color:"red",extra:[{}]}"
    - "WAIT 5"
    - "console:warp tutorial2 <player>"
    - "console:/title <player> title {text:"Shop tutorial",color:"red",extra:[{}]}"
    - "console:/effect <player> minecraft:slowness 0 11"

     
    Last edited: Sep 29, 2015
  11. Offline

    mrCookieSlime

    @SkillAura
    Yes, use MessageFilter by @fromgate
    or just do /gamerule <sendCommandFeedback/logAdminCommands> false
    I do not recall which of those two Gamerules it was.
     
  12. Offline

    SkillAura

    Alright, @mrCookieSlime , do you know why the command isn't working? The config is there
     
  13. Offline

    mrCookieSlime

    @SkillAura
    10/10 you have done something wrong.

    I obviously need more Info than that and attempting to add me on Skype is not going to work...
     
  14. Offline

    SkillAura

    @mrCookieSlime i put the config in a spoiler above. i'll put it again
    Config (open)

    #
    # Name: CommandOverride
    # Author: mrCookieSlime
    #
    # Do not modify the Config while the Server is running
    # otherwise bad things might happen!
    #
    # This Plugin also requires CS-CoreLib to run!
    # If you don't have it installed already, its going to be
    # automatically installed for you
    #
    # This Plugin utilises an Auto-Updater. If you want to turn that off,
    # simply set options -> auto-update to false
    options:
    auto-update: true
    use-unknown-command-message: true
    unknown-command-message: '&7Sorry, I do not recognize this Command! Please type
    &b/help &7for Help.'
    commands:
    /example:
    - '&aThis is an Example Message'
    - '&6Feel free to ignore me ;)'
    - '&eYou propably want to change something in the config here. Just set /example:
    []'
    - '&cIf you do that this message will no longer show up.'
    - command:/say You can also make players execute commands now
    /tutorial:
    - "console:/effect <player> minecraft:slowness 10000 10"
    - "console:/title <player> title {text:"Tutorial...",color:"red",extra:[{}]}"
    - "console:/title <player> subtitle {text:"Please read this closely ",color:"gray",italic:true}"
    - "console:/warp tutorial1 <player>"
    - "console:/title <player> title {text:"Shop tutorial",color:"red",extra:[{}]}"
    - "WAIT 5"
    - "console:warp tutorial2 <player>"
    - "console:/title <player> title {text:"Shop tutorial",color:"red",extra:[{}]}"
    - "console:/effect <player> minecraft:slowness 0 11"
     
  15. @SkillAura Put it in [code][/code] tags so we can see the format of it.
     
  16. Offline

    SkillAura

    Code:
    # 
    # Name: CommandOverride
    # Author: mrCookieSlime
    # 
    # Do not modify the Config while the Server is running
    # otherwise bad things might happen!
    # 
    # This Plugin also requires CS-CoreLib to run!
    # If you don't have it installed already, its going to be
    # automatically installed for you
    # 
    # This Plugin utilises an Auto-Updater. If you want to turn that off,
    # simply set options -> auto-update to false
    options:
      auto-update: true
      use-unknown-command-message: true
      unknown-command-message: '&7Sorry, I do not recognize this Command! Please type
        &b/help &7for Help.'
    commands:
      /example:
      - '&aThis is an Example Message'
      - '&6Feel free to ignore me ;)'
      - '&eYou propably want to change something in the config here. Just set /example:
        []'
      - '&cIf you do that this message will no longer show up.'
      - command:/say You can also make players execute commands now
      /tutorial:
      - "console:/effect <player> minecraft:slowness 10000 10"
      - "console:/title <player> title {text:"Tutorial...",color:"red",extra:[{}]}"
      - "console:/title <player> subtitle {text:"Please read this closely ",color:"gray",italic:true}"
      - "console:/warp tutorial1 <player>"
      - "console:/title <player> title {text:"Shop tutorial",color:"red",extra:[{}]}"
      - "WAIT 5"
      - "console:warp tutorial2 <player>"
      - "console:/title <player> title {text:"Shop tutorial",color:"red",extra:[{}]}"
      - "console:/effect <player> minecraft:slowness 0 11"
     
  17. Offline

    mrCookieSlime

  18. Offline

    SkillAura

    @mrCookieSlime the plugin just breaks. The unknown cmd msg dont work, and the 2 cmds added dont (/tutorial and the /example you added)
     
  19. Offline

    mrCookieSlime

    ... I need more Info than that...
     
    timtower likes this.
  20. Offline

    SkillAura

  21. Online

    timtower Administrator Administrator Moderator

  22. Offline

    mrCookieSlime

    Server Log via Pastebin would be a good start.
     
  23. Offline

    SkillAura

    Actually, i found the problem.

    It seems the title command might be too long. i remove it and it works perfect
    i change it from
    /title @p <player> {text:"Tutorial",bold:true}
    to
    /title <player> title t
    and it works
    @mrCookieSlime
     
  24. Offline

    mrCookieSlime

    @SkillAura
    Ohh, I see. It is not about that, you simply forgot to enclose your objects in ' and '
    you used " which causes errors when using tellraws, replace the beginnning and ending " with '
     
  25. Offline

    Mekbot

    hey @SkillAura could you post the fixed version of your config, cause i want to a tutorial for my server too xD and i would be easier for me if you posted it, thanks for your time :p
     
  26. Offline

    gomeow

  27. Offline

    mrCookieSlime

Thread Status:
Not open for further replies.

Share This Page