pnguin Posted April 23, 2021 Share Posted April 23, 2021 Hi there! Ok i decided to skript my own chat format but i kept getting an error heres the error I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
BanditEagle Posted April 23, 2021 Share Posted April 23, 2021 can you send the skript so we can help? If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
pnguin Posted April 23, 2021 Author Share Posted April 23, 2021 Just now, BanditEagle said: can you send the skript so we can help? on chat: if {%player%.rainbowcolor} is true: set chat format to "%coloured player's prefix%&8|%coloured player's displayname%&r &7» &f%coloured message%" else: if player has permission "staff.chat": set chat format to "%coloured player's prefix%&8|%coloured player's displayname%&7 » &f%coloured message%" else: set chat format to "%coloured player's prefix%&8|%coloured player's displayname%&7 » &8%message%" I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
BanditEagle Posted April 23, 2021 Share Posted April 23, 2021 try this: on chat: set {_playerprefix} to player's prefix if {%player%.rainbowcolor} is true: set chat format to "%{_playerprefix}%&8|%player's displayname%&r &7» &f%coloured message%" else if {%player%.rainbowcolor} is false: set chat format to "%{_playerprefix}%&8|%player's displayname%&r &7» &f%message%" if player has permission "staff.chat": set chat format to "%{_playerprefix}%&8|%coloured player's displayname%&7 » &f%coloured message%" else: set chat format to "%{_playerprefix}%&8|%coloured player's displayname%&7 » &8%message%" If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
pnguin Posted April 24, 2021 Author Share Posted April 24, 2021 15 hours ago, BanditEagle said: try this: on chat: set {_playerprefix} to player's prefix if {%player%.rainbowcolor} is true: set chat format to "%{_playerprefix}%&8|%player's displayname%&r &7» &f%coloured message%" else if {%player%.rainbowcolor} is false: set chat format to "%{_playerprefix}%&8|%player's displayname%&r &7» &f%message%" if player has permission "staff.chat": set chat format to "%{_playerprefix}%&8|%coloured player's displayname%&7 » &f%coloured message%" else: set chat format to "%{_playerprefix}%&8|%coloured player's displayname%&7 » &8%message%" Sorry for the late response but it still has errors I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
BanditEagle Posted April 24, 2021 Share Posted April 24, 2021 thats with formatting. fix the spacings so it matches your skript and try it again. If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
pnguin Posted April 24, 2021 Author Share Posted April 24, 2021 2 minutes ago, BanditEagle said: thats with formatting. fix the spacings so it matches your skript and try it again. It still has the same error with the %player's prefix% I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
BanditEagle Posted April 24, 2021 Share Posted April 24, 2021 (edited) try this: on chat: set {_playerprefix} to prefix of player's uuid if {%player%.rainbowcolor} is true: set chat format to "%{_playerprefix}%&8|%player's displayname%% ? % &7» &f%message%" else: if player has permission "staff.chat": set chat format to "%{_playerprefix}%&8|%player's displayname%% ? % &7» &f%message%" Edited April 24, 2021 by BanditEagle 1 If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
pnguin Posted April 24, 2021 Author Share Posted April 24, 2021 No errors tysm I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
BanditEagle Posted April 24, 2021 Share Posted April 24, 2021 1 minute ago, pizzaschut said: No errors tysm did it work? If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
pnguin Posted April 24, 2021 Author Share Posted April 24, 2021 Just now, BanditEagle said: did it work? It doesnt have errors but it doesnt like show the format in chat I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
BanditEagle Posted April 24, 2021 Share Posted April 24, 2021 do you have a plugin such as LuckPerms which sets your player prefix? If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
pnguin Posted April 24, 2021 Author Share Posted April 24, 2021 1 minute ago, BanditEagle said: do you have a plugin such as LuckPerms which sets your player prefix? yes i have luckperms installed I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
BanditEagle Posted April 24, 2021 Share Posted April 24, 2021 Just now, pizzaschut said: yes i have luckperms installed With luckperms, did you create a group, give yourself that group, and make sure that group has a prefix set up? If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
pnguin Posted April 24, 2021 Author Share Posted April 24, 2021 1 minute ago, BanditEagle said: With luckperms, did you create a group, give yourself that group, and make sure that group has a prefix set up? yes i have the group owner with a prefix set and i have the owner rank I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
BanditEagle Posted April 24, 2021 Share Posted April 24, 2021 do you mind sending {_playerprefix} to yourself and see what it says? If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
pnguin Posted April 24, 2021 Author Share Posted April 24, 2021 5 minutes ago, BanditEagle said: do you mind sending {_playerprefix} to yourself and see what it says? The exact same I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
BanditEagle Posted April 24, 2021 Share Posted April 24, 2021 Just now, pizzaschut said: The exact same ... what does it say? If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
pnguin Posted April 24, 2021 Author Share Posted April 24, 2021 There arent any errors but its the vanilla minecraft chat format I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
BanditEagle Posted April 24, 2021 Share Posted April 24, 2021 on chat: set {_playerprefix} to prefix of player's uuid send {_playerprefix} to player if {%player%.rainbowcolor} is true: set chat format to "%{_playerprefix}%&8|%player's displayname%% ? % &7» &f%message%" else: if player has permission "staff.chat": set chat format to "%{_playerprefix}%&8|%player's displayname%% ? % &7» &f%message%" can you do this and tell me what it sends to you? like just take a screenshot of it and send it If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now