I wanted to creat a script that would forbid people from placing a block, messaging 'It's not allowed to place a block.' This is what I wrote.
My codes:
This is a very basic set of codes as you see, but when I tried to reload the file but there came an error!
It said
Never mind "블럭설치". It's just the name of the script file.
I guessed that maybe 'message' keward should be related to the error so I changed it into 'broadcast' and it worked without an error!
So, I guess 'message' caused this error. Please tell me what is the problem exactly and what should I do to solve this situation.
In addition, my skript plugin's version is 2.8.2
My codes:
Code:
on place:
message "It's not allowed to place a block"
cancel event
This is a very basic set of codes as you see, but when I tried to reload the file but there came an error!
It said
Code:
Line 2: (블럭설치.sk)
There are multiple command senders in an on place event. You must define which command sender to use.
Line: message "It's not allowed to place a block"
[Skript] Encountered 1 error while reloading 블럭설치.sk! (27ms)
Never mind "블럭설치". It's just the name of the script file.
I guessed that maybe 'message' keward should be related to the error so I changed it into 'broadcast' and it worked without an error!
So, I guess 'message' caused this error. Please tell me what is the problem exactly and what should I do to solve this situation.
In addition, my skript plugin's version is 2.8.2