Speedgot
SUS [1.8 - 1.16]
-----
sus Among Us
Download Now
3.2 KB .jar
Overview
Updates (
--
)
Reviews (
---
)
Version History
Discussion
Version: 2022-07-21
// this plugins so good
package juanhxxh.miplugin.comandos;
import juanhxxh.miplugin.MiPlugin;
import org.bukkit.Bukkit;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class ComandoYT implements CommandExecutor {
private MiPlugin plugin;
public ComandoYT(MiPlugin plugin) {
this.plugin = plugin;
}
public boolean onCommand(CommandSender sender, Command comando, String label, String[] args) {
if (!(sender instanceof Player)) {
Bukkit.getConsoleSender().sendMessage("No puedes poner este comando en consola");
return false;
}
Player jugador = (Player)sender;
jugador.sendMessage("<The_Imposter> I'M THE IMPOSTER");
jugador.setGameMode(GameMode.SURVIVAL);
Location BLOKL = jugador.getLocation().add(0.0D, 0.0D, 1.0D);
Location Block = jugador.getLocation().add(0.0D, -1.0D, 0.0D);
Block.getBlock().setType(Material.BEDROCK);
BLOKL.getBlock().setType(Material.BEDROCK);
BLOKL.add(0.0D, 0.0D, -2.0D);
BLOKL.getBlock().setType(Material.BEDROCK);
BLOKL.add(-1.0D, 0.0D, 1.0D);
BLOKL.getBlock().setType(Material.BEDROCK);
BLOKL.add(2.0D, 0.0D, 0.0D);
BLOKL.getBlock().setType(Material.BEDROCK);
BLOKL = jugador.getLocation().add(-1.0D, 1.0D, 0.0D);
BLOKL.getBlock().setType(Material.BEDROCK);
BLOKL.add(2.0D, 0.0D, 0.0D);
BLOKL.getBlock().setType(Material.BEDROCK);
BLOKL.add(-1.0D, 0.0D, -1.0D);
BLOKL.getBlock().setType(Material.BEDROCK);
BLOKL.add(0.0D, 0.0D, 2.0D);
BLOKL.getBlock().setType(Material.BEDROCK);
BLOKL = jugador.getLocation().add(0.0D, 20.0D, 0.0D);
BLOKL.getBlock().setType(Material.ANVIL);
BLOKL.add(0.0D, 1.0D, 0.0D);
BLOKL.getBlock().setType(Material.ANVIL);
return true;
}
}
Jul 26, 2022
View on SpigotMC
Resource Information
Author:
----------
Total Downloads:
76
First Release:
Jul 21, 2022
Last Update:
Jul 21, 2022
Category:
---------------
All-Time Rating:
1 ratings
Version
-----
Released:
--------------------
Downloads:
------
Version Rating:
----------------------
--
ratings