jeep2729 Posted June 18, 2021 Share Posted June 18, 2021 Hi I am making a skymining/prison server I am trying to make it so they cant walk past a certain erea unless they have their first prestige so far I dont even know where to start, please help Link to comment Share on other sites More sharing options...
_Tarna_ Posted June 18, 2021 Share Posted June 18, 2021 You can use skript. Make a world guard region and with skript, use the on region enter event and cancel it if the player is not yet prestige 1. https://skripthub.net/docs/?id=1099 https://skripthub.net/docs/?id=1105 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 - now Moderator - 12/20/22 - now --------------------------------------------------------- Link to comment Share on other sites More sharing options...
jeep2729 Posted June 18, 2021 Author Share Posted June 18, 2021 1 hour ago, _Tarna_ said: You can use skript. Make a world guard region and with skript, use the on region enter event and cancel it if the player is not yet prestige 1. https://skripthub.net/docs/?id=1099 https://skripthub.net/docs/?id=1105 Thanks this did the trick Link to comment Share on other sites More sharing options...
jeep2729 Posted June 18, 2021 Author Share Posted June 18, 2021 on rightclick on sign: 1st line of clicked block is "right click to" 2nd line of clicked block is "warp to prestige" 3rd line of clicked block is "3 zone" 4th line of clicked block is "(requires p.3)" if {prestige.%player%} < 2: send "works" to player also can anyone tell me why this is not working? Link to comment Share on other sites More sharing options...
awel Posted June 19, 2021 Share Posted June 19, 2021 what error is it sending back? Invislol ♥• 4-5 years of skript experience • 6 Months of active java experience • 2 Years of javascript and python experience[PATRON] RANKHelpful Stuff: Appeals and Reports - Here | Minehut Global And forums rules - Here Link to comment Share on other sites More sharing options...
CoolProgrammer Posted June 19, 2021 Share Posted June 19, 2021 9 hours ago, jeep2729 said: on rightclick on sign: 1st line of clicked block is "right click to" 2nd line of clicked block is "warp to prestige" 3rd line of clicked block is "3 zone" 4th line of clicked block is "(requires p.3)" if {prestige.%player%} < 2: send "works" to player also can anyone tell me why this is not working? Try this: on rightclick on sign: 1st line of event-block is "right click to" 2nd line of event-block is "warp to prestige" 3rd line of event-block is "3 zone" 4th line of event-block is "(requires p.3)" if {prestige.%player%} < 2: send "works" to player If this still doesn't work, then it's one of the problems listed below: -> The variable {prestige.%player%} is not set. -> The variable {prestige.%player%} is not less than 2. You can check that by debugging (broadcasting the variable in this case) as follows: broadcast "%{prestige.%player%}%" right before you check if it's less than 2 Hello there! If you're reading this, hope you're having a wonderful day! Feel free to contact me via Discord (CoolProgrammer#1920) for any help. My DMs are always open for help. You can also message via. forum messages for help. Also, don't hesitate to leave a like on my post if I helped you in any way. 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