Command Disabler Per-World

  • 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 comminuty!

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

lunarenzox

Member
May 13, 2018
17
0
0
21
Can any one give or make a skript that can disable a certain command per world?
like i want to disable /gmc on world1 but /gmc can use on world2
Thanks to anyone that can share this skript :emoji_grinning:
 
code_language.skript:
on command "/gmc":
    if player's world is "world1":
        cancel event
 
This is a more foolproof method:
code_language.skript:
on command "/gmc":
    if player's world is "world1":
        cancel event
    else:
        send "unknown command message"
thanks for your help guys :emoji_grinning:,
btw can i ask if you know on how to disable creeper egg?
Disable creeper egg throw, pickup, place, exlode?