on place

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

jusnorare

Member
Feb 17, 2021
2
0
1
I making place of break needs op

Code:
on place:
 player is in world "world"
 player don't have permission "admin"
 cancel event
 message "&c&lHey! &7Sorry, but you can't place that here."  to player
 play sound "entity.villager.no" with volume 2 at player

Phraseology

Code:
on break:
 player is in world "world"
 player don't have permission "admin"
 cancel event
 message "&c&lHey! &7Sorry, but you can't break that here."  to player
 play sound "entity.villager.no" with volume 2 at player

On break, that script works as intended.
Only on place scripts are unintentionally.. Block installation is not possible even if there is an OP...
The on break script breaks the block if it's an op, and doesn't break it if it's not...
What is the problem... If you know... Please fix it and send it...
 
I making place of break needs op

Code:
on place:
 player is in world "world"
 player don't have permission "admin"
 cancel event
 message "&c&lHey! &7Sorry, but you can't place that here."  to player
 play sound "entity.villager.no" with volume 2 at player

Phraseology

Code:
on break:
 player is in world "world"
 player don't have permission "admin"
 cancel event
 message "&c&lHey! &7Sorry, but you can't break that here."  to player
 play sound "entity.villager.no" with volume 2 at player

On break, that script works as intended.
Only on place scripts are unintentionally.. Block installation is not possible even if there is an OP...
The on break script breaks the block if it's an op, and doesn't break it if it's not...
What is the problem... If you know... Please fix it and send it...

Try make the permission
landprotection.admin
or something like that. It happens to me either and it was working fine when i edited the permission node
 
Status
Not open for further replies.