1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Command Disabler Per-World

Discussion in 'Requests' started by lunarenzox, Jul 9, 2018.

  1. lunarenzox

    lunarenzox Member

    Joined:
    May 13, 2018
    Messages:
    17
    Likes Received:
    0
    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:
     
  2. Donut

    Donut Well-Known Member

    Joined:
    Mar 27, 2017
    Messages:
    1,340
    Likes Received:
    176
    Medals:
    Code (Skript):
    1. on command "/gmc":
    2.     if player's world is "world1":
    3.         cancel event
     
  3. BrettPlayMC

    Supporter

    Joined:
    Jan 26, 2017
    Messages:
    715
    Likes Received:
    53
    This is a more foolproof method:
    Code (Skript):
    1. on command "/gmc":
    2.     if player's world is "world1":
    3.         cancel event
    4.     else:
    5.         send "unknown command message"
     
  4. lunarenzox

    lunarenzox Member

    Joined:
    May 13, 2018
    Messages:
    17
    Likes Received:
    0
    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?
     

Share This Page

Loading...