The_Pr007 Posted May 5, 2021 Share Posted May 5, 2021 I require a skript that doesn't allow non-op players to place barriers, bedrock, structure void. is that possible??? Link to comment Share on other sites More sharing options...
SuperOrca Posted May 5, 2021 Share Posted May 5, 2021 Not the correct category! Likes are appreciated Username: SuperOrca Discord: Link to Profile Rank: [VIP] Joined Minehut: August 10, 2017 Joined Forums: June 10, 2019 Experienced in Python, Java (mainly spigot), Javascript (node.js, basics of react.js), and Web Development. DM on discord me if you want a custom discord bot for your server (i'm bored). Link to comment Share on other sites More sharing options...
_Tarna_ Posted May 5, 2021 Share Posted May 5, 2021 Unless you are asking someone to make this for you, I'm moving it to Skript Discussion. You can just use the place event, check what block got placed, check if the player is not op, and if they aren't, cancel event. Discord - Tarna256#8675 In-game name - _Tarna_ Follow @Tarna_256 on Twitter --------------------------------------------------------- [VIP] - 7/27/2020 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...
BOXEY Posted May 5, 2021 Share Posted May 5, 2021 (edited) 6 hours ago, The_Pr007 said: I require a skript that doesn't allow non-op players to place barriers, bedrock, structure void. is that possible??? I don't know this will work for you but here is what I made you can change the options to better fit your server or the permmison #------------------ options: permission: block.admin noperm: &cHey, &7you cant do that prefix: &7&k[[ &bBlock &7&k[[ &7 #------------------ on place of barrier: if player has permission "{@permission}": stop else: send "{@prefix}{@noperm}" on place of bedrock: if player has permission "{@permission}": stop else: send "{@prefix}{@noperm}" on place of structure void: if player has permission "{@permission}": stop else: send "{@prefix}{@noperm}" Edited May 5, 2021 by Boxmonkey to help Link to comment Share on other sites More sharing options...
BanditEagle Posted May 6, 2021 Share Posted May 6, 2021 @Boxmonkeyyou can condense that so it is like this: on place of barrier, bedrock or structure void: 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...
The_Pr007 Posted May 6, 2021 Author Share Posted May 6, 2021 The 15 hours ago, Boxmonkey said: I don't know this will work for you but here is what I made you can change the options to better fit your server or the permmison #------------------ options: permission: block.admin noperm: &cHey, &7you cant do that prefix: &7&k[[ &bBlock &7&k[[ &7 #------------------ on place of barrier: if player has permission "{@permission}": stop else: send "{@prefix}{@noperm}" on place of bedrock: if player has permission "{@permission}": stop else: send "{@prefix}{@noperm}" on place of structure void: if player has permission "{@permission}": stop else: send "{@prefix}{@noperm}" the skript barely works, the message gets sent but the block gets placed. You should modify that in cancel evnt? 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