rewgwgr Posted August 12, 2021 Share Posted August 12, 2021 Hello! Im Currently Working on a Server! I know Very little about Skript so i was wondering if anybody would help with a skript i (wanted) to make! The Skript: /Verify I Want to make it so that the Player is Unable to move until they do /Verify, Thanks! Link to comment Share on other sites More sharing options...
Lapzzo Posted August 12, 2021 Share Posted August 12, 2021 I am skripting this! Let me do it it will take 5 minutes 1 Link to comment Share on other sites More sharing options...
Lapzzo Posted August 12, 2021 Share Posted August 12, 2021 Done! I havent tested it, but if it doesnt work tell me the errors. on join: if {verify::%player%} is false: set player's walk speed to 0 send "&7Please verify by executing /verify to play!" to player else: if {verify::%player%} is true: set player's walk speed to 0.2 command /verify: trigger: if {verify::%player%} is false: send "&aYou have verified!" to player else: if {verify::%player%} is true: send "&cYou have already verified" to player 1 Link to comment Share on other sites More sharing options...
rewgwgr Posted August 12, 2021 Author Share Posted August 12, 2021 4 minutes ago, Lapzzo said: Done! I havent tested it, but if it doesnt work tell me the errors. on join: if {verify::%player%} is false: set player's walk speed to 0 send "&7Please verify by executing /verify to play!" to player else: if {verify::%player%} is true: set player's walk speed to 0.2 command /verify: trigger: if {verify::%player%} is false: send "&aYou have verified!" to player else: if {verify::%player%} is true: send "&cYou have already verified" to player Alright! 1. Thank you so Much! 2. I Installed & Reloaded it, no errors 3. i hopped on an alt to try it out (the alt had never previously joined), and he was able to move without doing /verify (not sure if that was supposed to happen), I Then typed /verify and nothing happened.. Link to comment Share on other sites More sharing options...
Lapzzo Posted August 12, 2021 Share Posted August 12, 2021 Just now, rewgwgr said: Alright! 1. Thank you so Much! 2. I Installed & Reloaded it, no errors 3. i hopped on an alt to try it out (the alt had never previously joined), and he was able to move without doing /verify (not sure if that was supposed to happen), I Then typed /verify and nothing happened.. Let me see Link to comment Share on other sites More sharing options...
Lapzzo Posted August 12, 2021 Share Posted August 12, 2021 You need another account to do this one, as it only works on the accounts first join. on join: if {verify::%player%} is false: set player's walk speed to 0 send "&7Please verify by executing /verify to play!" to player else: if {verify::%player%} is true: set player's walk speed to 0.2 command /verify: trigger: if {verify::%player%} is false: send "&aYou have verified!" to player else: if {verify::%player%} is true: send "&cYou have already verified" to player on first join: set {verify::%player%} to false Link to comment Share on other sites More sharing options...
rewgwgr Posted August 12, 2021 Author Share Posted August 12, 2021 2 minutes ago, Lapzzo said: You need another account to do this one, as it only works on the accounts first join. on join: if {verify::%player%} is false: set player's walk speed to 0 send "&7Please verify by executing /verify to play!" to player else: if {verify::%player%} is true: set player's walk speed to 0.2 command /verify: trigger: if {verify::%player%} is false: send "&aYou have verified!" to player else: if {verify::%player%} is true: send "&cYou have already verified" to player on first join: set {verify::%player%} to false ok im about to hop on to yet ANOTHER alt to test this out ill update you after! Thanks! 1 Link to comment Share on other sites More sharing options...
Lapzzo Posted August 12, 2021 Share Posted August 12, 2021 No problem! Thanks for testing it out. Btw u have a lot of alts xd Link to comment Share on other sites More sharing options...
rewgwgr Posted August 12, 2021 Author Share Posted August 12, 2021 3 minutes ago, Lapzzo said: No problem! Thanks for testing it out. Btw u have a lot of alts xd OK, I Tested it /verify works fine! The Problem: I Can Still Move When I Join.. (Im on an alt that has never joined before btw) 1 Link to comment Share on other sites More sharing options...
Lapzzo Posted August 12, 2021 Share Posted August 12, 2021 I set the walkspeed to 0 tho. Were there any errors? Link to comment Share on other sites More sharing options...
rewgwgr Posted August 12, 2021 Author Share Posted August 12, 2021 12 minutes ago, Lapzzo said: You need another account to do this one, as it only works on the accounts first join. on join: if {verify::%player%} is false: set player's walk speed to 0 send "&7Please verify by executing /verify to play!" to player else: if {verify::%player%} is true: set player's walk speed to 0.2 command /verify: trigger: if {verify::%player%} is false: send "&aYou have verified!" to player else: if {verify::%player%} is true: send "&cYou have already verified" to player on first join: set {verify::%player%} to false Alright Thanks! Before I Test This, i'd like to say 1. Thank You so Much 2. if This Doesn't work, would it be possible to make it so it Automatically Teleports the Player to Certain Coordinates (in a loop), and when you type /verify it just stops running the command (just an idea, not sure it'll work though.) 1 Link to comment Share on other sites More sharing options...
Lapzzo Posted August 12, 2021 Share Posted August 12, 2021 I think so. Let me try 1 Link to comment Share on other sites More sharing options...
rewgwgr Posted August 12, 2021 Author Share Posted August 12, 2021 1 minute ago, Lapzzo said: I think so. Let me try Thanks! 1 Link to comment Share on other sites More sharing options...
Lapzzo Posted August 12, 2021 Share Posted August 12, 2021 I know its possible, but I dont feel like doing it. Sorry hopefullt you find someone who can do it :c Link to comment Share on other sites More sharing options...
rewgwgr Posted August 12, 2021 Author Share Posted August 12, 2021 1 minute ago, Lapzzo said: I know its possible, but I dont feel like doing it. Sorry hopefullt you find someone who can do it :c Alright Thanks for Trying! Stay Safe! 1 Link to comment Share on other sites More sharing options...
Lapzzo Posted August 12, 2021 Share Posted August 12, 2021 22 minutes ago, rewgwgr said: Stay Safe! Thanks Link to comment Share on other sites More sharing options...
AbusingNub Posted August 13, 2021 Share Posted August 13, 2021 on join: if {verify::%player%} is false: set {_location} to location of player every 1 seconds in <world name>: teleport player to {_location} send "&7Please verify by executing /verify to play!" to player else: if {verify::%player%} is true: send "Welcome back to <servername>" command /verify: trigger: if {verify::%player%} is false: send "&aYou have verified!" to player else: if {verify::%player%} is true: send "&cYou have already verified" to player on first join: set {verify::%player%} to false No clue if this will work, but worth a try! Hope this helps --- AbusingNub --- -- Owner of the DevilsNetwork -- ◉ DevilsPvP.minehut.gg ◉ BridgesWar.minehut.gg Here to lend a helping hand. Link to comment Share on other sites More sharing options...
Lapzzo Posted August 13, 2021 Share Posted August 13, 2021 I remade abusingnubs one to make it work: on join: if {verify::%player%} is false: set {_location} to location of player every second: teleport player to {_location} send "&7Please verify by executing /verify to play!" to player else: if {verify::%player%} is true: send "&aWelcome back %player%!" to player command /verify: trigger: if {verify::%player%} is false: send "&aYou have &lverified &asuccessfully!" to player else: if {verify::%player%} is true: send "&cYou have already &lverified" to player on first join: set {verify::%player%} to false Link to comment Share on other sites More sharing options...
Checkmate128 Posted August 14, 2021 Share Posted August 14, 2021 11 hours ago, Lapzzo said: I remade abusingnubs one to make it work: on join: if {verify::%player%} is false: set {_location} to location of player every second: teleport player to {_location} send "&7Please verify by executing /verify to play!" to player else: if {verify::%player%} is true: send "&aWelcome back %player%!" to player command /verify: trigger: if {verify::%player%} is false: send "&aYou have &lverified &asuccessfully!" to player else: if {verify::%player%} is true: send "&cYou have already &lverified" to player on first join: set {verify::%player%} to false You can use: else if ... instead of: else: if ... Results in cleaner-looking code. Owner of oldgaffle.minehut.gg. (my paintball server) Owner of karted.minehut.gg. (my mario kart server) Advocate of individual freedom, especially freedom of speech. Cooler than Stalemate128. Link to comment Share on other sites More sharing options...
ItsKirby Posted August 14, 2021 Share Posted August 14, 2021 On 8/12/2021 at 10:27 AM, Lapzzo said: I set the walkspeed to 0 tho. Were there any errors? You could add something like this: on any movement: if {verify::%player%} is false: cancel event send "Do /vertify" to player But im guessing it's already too late Yo who actually reads these [Vip] - 12/29/2020[Pro] - 1/25/2022 Link to comment Share on other sites More sharing options...
AbusingNub Posted August 15, 2021 Share Posted August 15, 2021 On 8/14/2021 at 1:26 AM, Lapzzo said: I remade abusingnubs one to make it work: on join: if {verify::%player%} is false: set {_location} to location of player every second: teleport player to {_location} send "&7Please verify by executing /verify to play!" to player else: if {verify::%player%} is true: send "&aWelcome back %player%!" to player command /verify: trigger: if {verify::%player%} is false: send "&aYou have &lverified &asuccessfully!" to player else: if {verify::%player%} is true: send "&cYou have already &lverified" to player on first join: set {verify::%player%} to false Thanks! Didn't have any time to test, so purely was going off the top of my head haha 1 --- AbusingNub --- -- Owner of the DevilsNetwork -- ◉ DevilsPvP.minehut.gg ◉ BridgesWar.minehut.gg Here to lend a helping hand. Link to comment Share on other sites More sharing options...
Lapzzo Posted August 15, 2021 Share Posted August 15, 2021 Just now, AbusingNub said: Thanks! Didn't have any time to test, so purely was going off the top of my head haha No problem! I just fixed a few mistakes, and made the send thing look better, most of it was from the help of you 1 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