Hello where is the error here
because I always get this message when reloading the file
because I always get this message when reloading the file
Code:
>sk reload 1
[15:56:29 INFO]: [Skript] Reloading 1.sk...
[15:56:29 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (1.sk, line 34: if loop-player has permissions "fly.bypass":')
[15:56:29 ERROR]: 'in world "world"' is not an entity type (1.sk, line 2: if player is in world "world":')
[15:56:29 ERROR]: 'in world "world"' is not an entity type (1.sk, line 16: if player is in world "world":')
[15:56:29 ERROR]: 'in world "world"' is not an entity type (1.sk, line 24: if player is in world "world":')
[15:56:29 ERROR]: 'in world "world"' is not an entity type (1.sk, line 33: if loop-player is in world "world":')
[15:56:29 INFO]: [Skript] Encountered 4 errors while reloading 1.sk!
Code:
on command "/fly":
if player is in world "SkyPvP":
if player has permissions "fly.bypass":
stop
else:
cancel event
send "&8» &cDies kannst du nur auf deinem IS!"
on command "/efly":
if player is in world "SkyPvP":
if player has permissions "fly.bypass":
stop
else:
cancel event
send "&8» &cDies kannst du nur auf deinem IS!"
on command "/essentials:fly":
if player is in world "SkyPvP":
if player has permissions "fly.bypass":
stop
else:
cancel event
send "&8» &cDies kannst du nur auf deinem IS!"
every tick:
loop all players:
if loop-player is in world "SkyPvP":
if loop-player has permissions "fly.bypass":
else:
if loop-player is flying:
set flight mode of loop-player to false