Wolfeee_ Posted April 15, 2020 Share Posted April 15, 2020 Simple Captcha Skript... What does it do?: - This skript should prevent most bots, but it can still easily be bypassed as it is not strongly coded. - This makes it so, people will not do anything stupid like spamming the chat and being obviously obnoxious and toxic towards others.How to set it up!: Okay, to setup this skript as you may have seen in my last skript you need to navigate back to the script folder. You then need to add the file into the folder itself, and paste the skript into it. Once you paste it in, go back to your game. Also, you must name the file "filenamehere.sk" (include the .sk because it wont save if you don't add the .sk at the end) and then go back into your game. You will need to do /sk reload <filenamehere>.sk then you should be good to go. Rejoin the server, and it should hopefully work. Like I said, I have not tested it. To make staff members bypass the captcha, add the following permission to the rank: captcha.bypass Spoiler https://pastebin.com/xKHKw2ey IGN: Wolfeee_ Discord: Nathan.#4380 Link to comment Share on other sites More sharing options...
Elektrodes Posted April 20, 2020 Share Posted April 20, 2020 Hey there! By reading the skript, I believe it would work wonders. I'd imagine most bots would be able to read for a Captcha chat message though, so I would experiment with putting the integer on a bossbar or sidebar instead. If you want to go even farther, put the number on a sign and teleport the player to it. Bots would have a super fun time trying, but not succeeding, in getting that number. Link to comment Share on other sites More sharing options...
downtrend Posted April 20, 2020 Share Posted April 20, 2020 Bots will be able to bypass this since its in chat Link to comment Share on other sites More sharing options...
Wolfeee_ Posted April 22, 2020 Author Share Posted April 22, 2020 On 4/19/2020 at 10:26 PM, Elektrodes said: Hey there! By reading the skript, I believe it would work wonders. I'd imagine most bots would be able to read for a Captcha chat message though, so I would experiment with putting the integer on a bossbar or sidebar instead. If you want to go even farther, put the number on a sign and teleport the player to it. Bots would have a super fun time trying, but not succeeding, in getting that number. @Elektrodes How would I send a action bar to a player? IGN: Wolfeee_ Discord: Nathan.#4380 Link to comment Share on other sites More sharing options...
Elektrodes Posted April 22, 2020 Share Posted April 22, 2020 (edited) 4 hours ago, Wolfeee_ said: @Elektrodes How would I send a action bar to a player? Hey! I'm glad you're interested in figuring this out. This is the way I'd do it, but if you wanna take your own spin on it feel free! on join: if player doesn't have permission "captcha.bypass": set {captcha::%player's uuid%} to true set {_integer} to a random integer between 1 and 5000: set action bar of player to "&b&o/captcha %{_integer}%" to player I believe this type of action bar would work, I haven't tested it out though. I would set them to local variables like {_integer} so the integer doesn't change as another player logs on. Hope it helps! Edited April 22, 2020 by Elektrodes Link to comment Share on other sites More sharing options...
Wolfeee_ Posted April 22, 2020 Author Share Posted April 22, 2020 Ah alright, thanks! @Elektrodes 1 IGN: Wolfeee_ Discord: Nathan.#4380 Link to comment Share on other sites More sharing options...
Migins Posted April 22, 2020 Share Posted April 22, 2020 2 hours ago, Elektrodes said: on join: if player doesn't have permission "captcha.bypass": set {captcha::%player's uuid%} to true set {_integer} to a random integer between 1 and 5000: set action bar of player to "&b&o/captcha %{_integer}%" to player You can do something like this instead set {_e} to random 5 char string from charset `a-zA-Z0-9` ► Support July 29, 2020 → November 3, 2020 ► Helper November 3, 2020 → February 22, 2021 ► Moderator February 22, 2021 → May 17, 2021 ► I might not always respond to forum dms, however I am always contactable on discord (mig#0069) Link to comment Share on other sites More sharing options...
Wolfeee_ Posted April 22, 2020 Author Share Posted April 22, 2020 @Migqy Alright, thanks! I'll use this as a future reference 1 IGN: Wolfeee_ Discord: Nathan.#4380 Link to comment Share on other sites More sharing options...
Ostricch Posted April 29, 2020 Share Posted April 29, 2020 What addon do i need for "on movement:" Link to comment Share on other sites More sharing options...
mj80 Posted May 8, 2020 Share Posted May 8, 2020 On 4/29/2020 at 6:48 AM, Ostricch said: What addon do i need for "on movement:" Pretty sure you don't need an addon for that. on any movement: # code Link to comment Share on other sites More sharing options...
Houlton Posted May 8, 2020 Share Posted May 8, 2020 On 4/15/2020 at 5:09 AM, Wolfeee_ said: Simple Captcha Skript... What does it do?: - This skript should prevent most bots, but it can still easily be bypassed as it is not strongly coded. - This makes it so, people will not do anything stupid like spamming the chat and being obviously obnoxious and toxic towards others.How to set it up!: Okay, to setup this skript as you may have seen in my last skript you need to navigate back to the script folder. You then need to add the file into the folder itself, and paste the skript into it. Once you paste it in, go back to your game. Also, you must name the file "filenamehere.sk" (include the .sk because it wont save if you don't add the .sk at the end) and then go back into your game. You will need to do /sk reload <filenamehere>.sk then you should be good to go. Rejoin the server, and it should hopefully work. Like I said, I have not tested it. To make staff members bypass the captcha, add the following permission to the rank: captcha.bypass Hide contents https://pastebin.com/xKHKw2ey Also, you could use "kick player due to "&c&oWrong Captcha Code! &7(&b&oRejoin with the IP servernamehere.minehut.gg to redo the captcha!&7" and not "make console execute command "kick %player% &c&oWrong Captcha Code! &7(&b&oRejoin with the IP servernamehere.minehut.gg to redo the captcha!&7)" I'm just a known player who been playing since the 24 July 2019. ➤ Please don't DM me for support, go here (if you don't mind waiting) or join Minehut's Discord (which is more active) if you need assistance. 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