Hats

Discussion in 'Plugin Requests' started by TenchiPlaysMC, Oct 5, 2015.

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

    TenchiPlaysMC

    Plugin category:
    Fun

    Suggested name:
    CommandHats

    What I want:
    Just a block that goes on your head executed by a command.

    Ideas for commands:
    [] = Optional <> = Required
    /hat <ID> [player] [hat_name] [hat_lore] - You can use ';" for the next line for lore
    /hat remove [player] - Removes the hat

    Ideas for permissions:
    CommandHats.hat - Allows the user to get a hat and remove their hat
    CommandHats.hat.other - Allows the user to put a hat on another player and remove another players hat
    CommandHats.hat.name - Allows the user to name their hat
    CommandHats.hat.lore - Allows the user to put a lore on their hat

    Config Example:
    Code:
    hat-movement: false #Should players be allowed to move their hat?
    no-perm-message: '&cYou don''t have access to this!'
    remove-hat-message: '&cYou removed your hat!'
    remove-hat-other-message: '&aYou removed %player%''s hat!'
    send-hat-by-player-message: false #Should the "remove hat by player" message be enabled?
    remove-hat-by-player-message: '&cYour hat was removed by: %player%'
    hat-usage: '&cCorrect usage: /hat <ID | Remove> [player] [hat_name] [hat_lore] '
    
    When I'd like it by:
    Soon as possible :D
     
    Last edited: Oct 5, 2015
  2. Offline

    Binner_Done

    SHOULD also be /hat remove [player]
    If [player] is not defined it should automaticly goto the player who is sending the command ;)
     
    oceantheskatr likes this.
  3. Offline

    TenchiPlaysMC

    Oh okay :p
     
  4. Offline

    TenchiPlaysMC

    Bump. ^-^
     
  5. Offline

    Scimiguy

  6. Offline

    TenchiPlaysMC

  7. Offline

    Binner_Done

    @Scimiguy He wants it so the command sender can put a hat with any block ID on a target player
    ^ Person who types command ^ ANY! ^ /hat <id> <target player>
     
    TenchiPlaysMC likes this.
  8. Offline

    TenchiPlaysMC

  9. Offline

    tkuiyeager1

    @TenchiPlaysMC i will try to make it, i am not sure i will succeed.
    Edit:
    how can i know when the hat_name ends and then the lore is starting?
    Example:
    /hat <ID> [Player] [hat_name] [lore].
    how can i know when the hat_name ends?
     
    Last edited: Oct 10, 2015
  10. Offline

    TenchiPlaysMC

    Example:

    /hat STONE TestPerson &bStone_Hat &7THIS_IS_LORE;&7SECOND_LINE
    Material, Player, Hat name, Hat lore
     
  11. Offline

    tkuiyeager1

    you didnt under stand me. i need to know what is the things that make difference between the hat name and lore because when i get hat im actually creating a loop for every word after the hatname so if the hat name is a few words, so i need to know when to stop this loop to get the lore example:
    /hat 1 Player &cTest &6HatName Name HatName (maybe "." can do the difference between the name and the lore?) .LORE
     
  12. Offline

    TenchiPlaysMC

    Oh okay, I understand you I think, so "_" can be the space for the name and "." can be the space for the lore?
     
  13. Offline

    Scimiguy

    @tkuiyeager1
    What's the point of lore when you're wearing the hat?
     
  14. Offline

    TenchiPlaysMC

    Just to make it look fancy
     
  15. Offline

    tkuiyeager1

    sorry @TenchiPlaysMC its too confusing for me maybe someone else can make it.
     
Thread Status:
Not open for further replies.

Share This Page