Jump to content
  • 0

How do I make world-specific commands?


Anothuor

Question

So, I was on my server making KitPVP and since I have multiple gamemodes I need the kitpvp commands to only be usable in the ul_kitpvp world. How do I do this?

><><><><><><><><><><><><><><><><><><><><

9percentnoob.png.4de9712dd8b95f89f52193a16df1e7bd.png

><><><><><><><><><><><><><><><><><><><><

hahahahaha youtube plug
anothuor

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Check the configuration file, as there's always a chance that there's an option in there that disables commands in specific worlds. If not, then you can use Skript
 

on command "command1" or "command2":
    if player is in world "worldname":
        cancel event
        send formatted "&cYou cannot use these commands in this world"


 

Edited by Koroonotchii

Junior Mod (01/04/2020) - Resigned 

 Discord » Koronotchi#0001 
Minecraft Username » Koronotchi 

image.png.17a385f298c8969f6b1cf03e27ee50d3.png

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...