Files
ffa-command-blocker.sk
Code
1 15
ffa-command-blocker.sk
# FFA Command Blocker
# Disables all commands in the FFA world except /spawn
# OP players bypass all restrictions
on command:
# Check if player is in the FFA world
if player's world is "ffa":
# Check if player is NOT op
if player is not op:
# Check if command is NOT spawn
if command is not "spawn":
# Cancel the command
cancel event
# Send bold red message
send "&c&lCommands are disabled in this world" to player