Hey,
I'm currently coding a Skript and everything worked.
1 day later (present day) it ignored it.
When I join it should turn the command off but it doesn't.
Heres my Minecraft version:
1.8
Here's my code:
it also started blocking other skripts.
Look:
[doublepost=1604494684,1604484317][/doublepost]Please help?
please
===SOLVED===
PlugMan has a bug when you disable Skript, /sk and /sk arguments will work, but not the skripts themselves.
Don't ask me I just started with Java
I'm currently coding a Skript and everything worked.
1 day later (present day) it ignored it.
When I join it should turn the command off but it doesn't.
Heres my Minecraft version:
1.8
Here's my code:
Code:
options:
prefix: &8(&f&lBuildToggle&8)&r
command /buildtoggle:
aliases: /build
permission: build
permission message: {@prefix} &cYou don't have the required permission to perform this command.
trigger:
if {build.%player%} is not set:
set {build.%player%} to true
send "{@prefix} &cYour build mode is now off"
stop trigger
if {build.%player%} is set:
clear {build.%player%}
send "{@prefix} &aYour build mode is now on"
on block place:
if {build.%player%} is true:
cancel event
send "{@prefix} &cYou cannot build because your build mode is off!"
if {build.%player%} is false:
stop trigger
stop
on block break:
if {build.%player%} is true:
cancel event
send "{@prefix} &cYou cannot build because your build mode is off!"
if {build.%player%} is false:
stop trigger
stop
on join:
player has the permission "build"
{build.%player%} is false:
make player execute command "/build"
it also started blocking other skripts.
Look:
Code:
command /clearchat:
aliases: /clearc, /cchat
permission: clearchat.use
permission message: "&cYou cant do that!"
trigger:
loop all players:
if loop-player doesn't have permission "clearchat.use":
loop 1000 times:
send " " to loop-player
broadcast "&e&lThe chat has been cleared."
else if loop-player has permission "clearchat.use":
stop
please
===SOLVED===
PlugMan has a bug when you disable Skript, /sk and /sk arguments will work, but not the skripts themselves.
Don't ask me I just started with Java
Last edited: