Fletchermed Posted April 18, 2021 Share Posted April 18, 2021 My friend and just started a new minehut server where we only have 3 lives, I am just learning skript so I wanted to test how much I knew... clearly not much, but I want to know why there are 11 errors and how I can fix them. the code is in pastebin: https://pastebin.com/VQFsQiyA The thing that is messed up is the command /livesplus at the bottom, I don't really understand how the GUI system works but I would like some help! Thanks! Link to comment Share on other sites More sharing options...
BanditEagle Posted April 18, 2021 Share Posted April 18, 2021 Hi there, would you mind sending a screenshot of the erros so it will be easier to help out? Also, in your server, what Skript addons are added (if any)? 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...
Fletchermed Posted April 18, 2021 Author Share Posted April 18, 2021 (edited) Currently I am unable to get into my pc so I cannot take a screenshot, when I am able to get on again, I will post a screenshot of the errors, first I need to know what you mean the by the errors though. Do I need to take a picture ingame or a picture of the code on the minehut website? Also, I have no addons to the skript plugin. Edited April 18, 2021 by FletcherMed Link to comment Share on other sites More sharing options...
BanditEagle Posted April 18, 2021 Share Posted April 18, 2021 I think the issue is you have no addons to the skript plugin. Looking at your code, it seems you are trying to make a GUI with the format of TuSKe skript addon. I suggest you add that plugin to your server and try to run the code again. As for getting a screenshot of the error, what I mean is that when you reload the skript in-game with /sk reload [filename], if some error messages pop up in your chat, take a screenshot of those and send them over. 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...
Fletchermed Posted April 18, 2021 Author Share Posted April 18, 2021 (edited) Once I am able to get on, I will take and send a screenshot of the errors if still needed. But for now while I am on mobile, I will add the TuSKe addon to skript and try to reload in the console. Edited April 18, 2021 by FletcherMed Link to comment Share on other sites More sharing options...
_Tarna_ Posted April 18, 2021 Share Posted April 18, 2021 Moved to Skript Discussion Please post in the right category next time when needing help with skript. Discord - tarna256 In-game name - _Tarna_ Website - https://tarna.dev Paste Site: https://paste.tarna.dev --------------------------------------------------------- [VIP] - 7/27/2020 Community Support - 7/8/20 - 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - 12/20/22 Moderator - 12/20/22 - now --------------------------------------------------------- Link to comment Share on other sites More sharing options...
Pryzmm Posted April 19, 2021 Share Posted April 19, 2021 8 hours ago, FletcherMed said: Once I am able to get on, I will take and send a screenshot of the errors if still needed. But for now while I am on mobile, I will add the TuSKe addon to skript and try to reload in the console. Oh boy, here we go. * You can replace "if player hasn't played before:" with "on first join:" * remove the "livesplus" from formatting the gui * with if statements you'll need a ":" at the end of them Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
Fletchermed Posted April 19, 2021 Author Share Posted April 19, 2021 17 hours ago, AgentGamerPro said: Oh boy, here we go. * You can replace "if player hasn't played before:" with "on first join:" * remove the "livesplus" from formatting the gui * with if statements you'll need a ":" at the end of them Now I have 14 errors, so if you can maybe fix the problem for me... that might honestly be better lol here's the updated the code I have: https://pastebin.com/y1efE0Wg. If you wouldn't mind I think I would honestly prefer someone else to fix this since I have no idea what is going on and then I can have feedback and learn off of that along with more tutorials, lol. Link to comment Share on other sites More sharing options...
Fletchermed Posted April 19, 2021 Author Share Posted April 19, 2021 1 minute ago, FletcherMed said: Now I have 14 errors, so if you can maybe fix the problem for me... that might honestly be better lol here's the updated the code I have: https://pastebin.com/y1efE0Wg. If you wouldn't mind I think I would honestly prefer someone else to fix this since I have no idea what is going on and then I can have feedback and learn off of that along with more tutorials, lol. Also I forgot to change the colons from the format lines back to the if statements Link to comment Share on other sites More sharing options...
BanditEagle Posted April 19, 2021 Share Posted April 19, 2021 You have 2 main errors you need to fix. 1) Formatting. This is really evident in your whole skript as you use different spacing for each line and there are so many that are incorrect. Just stick with 1 and continue. I personally prefer 2 spaces but some do 4 spaces and some do 1 tab. Upto you. 2) You forgot to add the colons at the end of the if statements. Fix this. If you fix all thse issues I bet the skript will be working fine. 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...
Pryzmm Posted April 19, 2021 Share Posted April 19, 2021 11 minutes ago, FletcherMed said: Also I forgot to change the colons from the format lines back to the if statements I have fixed the skript and here is the link:https://pastebin.com/hjP4NKcq 1 Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
Fletchermed Posted April 20, 2021 Author Share Posted April 20, 2021 (edited) 23 hours ago, AgentGamerPro said: I have fixed the skript and here is the link:https://pastebin.com/hjP4NKcq After receiving your code, I encountered 6 errors, however, I have actually managed to fix all the errors, believe it or not. The only problem is, I can't seem to run it, Skript tells me: "An internal error has occurred while attempting to perform this command." when I try and run it. So if someone can try the command: /livesplus or /lp and see what happens. that would be awesome. If the same thing happens, then there is probably something wrong with the code still. Almost forgot the pastebin link lol: https://pastebin.com/jRmPDfGG Oh and if you manage to find the problem, whether it is in the code or not, can you please tell me, thanks! Edited April 20, 2021 by FletcherMed Forgot pastebin link and asked for solution if found Link to comment Share on other sites More sharing options...
Fletchermed Posted April 21, 2021 Author Share Posted April 21, 2021 EVERONE... IT WORKS!!! I took a little look at the log, and figured out that the problem was that I had a GUI addon and that was what was messing it all up. So I got rid of it and It works, now I just need to make a texture pack for the glass panes to hearts and I'm good! Thank you everyone for your help! Link to comment Share on other sites More sharing options...
Pryzmm Posted April 21, 2021 Share Posted April 21, 2021 12 minutes ago, FletcherMed said: EVERONE... IT WORKS!!! I took a little look at the log, and figured out that the problem was that I had a GUI addon and that was what was messing it all up. So I got rid of it and It works, now I just need to make a texture pack for the glass panes to hearts and I'm good! Thank you everyone for your help! No prob mate! 1 Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present 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