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
SHOULD also be /hat remove [player] If [player] is not defined it should automaticly goto the player who is sending the command
@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 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?
Example: /hat STONE TestPerson &bStone_Hat &7THIS_IS_LORE;&7SECOND_LINE Material, Player, Hat name, Hat lore
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
Oh okay, I understand you I think, so "_" can be the space for the name and "." can be the space for the lore?