forked from kaboomserver/extras
Update command names
This commit is contained in:
parent
8ad4bfe961
commit
d68c8e54d0
3 changed files with 9 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
||||||
package pw.kaboom.extras;
|
package pw.kaboom.extras;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
|
@ -60,7 +62,6 @@ class BlockPhysics implements Listener {
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -351,6 +351,9 @@ class EntitySpawn implements Listener {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
/*System.out.println("better work");
|
||||||
|
event.getEntity().setPickupDelay(99999);
|
||||||
|
event.getEntity().setItemStack(new ItemStack(Material.TORCH));*/
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
|
|
|
@ -5,6 +5,10 @@ api-version: 1.13
|
||||||
version: master
|
version: master
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
|
broadcastraw:
|
||||||
|
aliases: [bcraw, tellraw]
|
||||||
|
description: Broadcasts raw text to the server
|
||||||
|
permission: extras.broadcastraw
|
||||||
clearchat:
|
clearchat:
|
||||||
aliases: cc
|
aliases: cc
|
||||||
description: Clears messages from the chat
|
description: Clears messages from the chat
|
||||||
|
@ -43,9 +47,6 @@ commands:
|
||||||
spidey:
|
spidey:
|
||||||
description: Annoying little spider...
|
description: Annoying little spider...
|
||||||
permission: extras.spidey
|
permission: extras.spidey
|
||||||
tellraw:
|
|
||||||
description: Broadcasts raw text to the server
|
|
||||||
permission: extras.tellraw
|
|
||||||
unloadchunks:
|
unloadchunks:
|
||||||
aliases: uc
|
aliases: uc
|
||||||
description: Unloads all unused chunks
|
description: Unloads all unused chunks
|
||||||
|
|
Loading…
Reference in a new issue