public void Use(Player p, string[] args) { foreach (Player pl in Server.Players.ToArray()) { p.SendMessage(pl.USERNAME + " " + pl.id); } }
public void Use(Player p, string[] args) { p.SendMessage("Please place/destroy a block."); p.CatchNextBlockchange(new Player.BlockChangeDelegate(BlockChange), null); }
public void CatchBlock2(Player p, ushort x, ushort z, ushort y, byte NewType, bool placed, object DataPass) { Point3 FirstBlock = (Point3)DataPass; Point3 SecondBlock = new Point3(x, z, y); p.SendMessage("This is where we would initiate a Cuboid!"); }
public void CatchBlock(Player p, ushort x, ushort z, ushort y, byte NewType, bool placed, object DataPass) { Point3 FirstBlock = new Point3(x, z, y); p.SendMessage("Please place another block..."); p.CatchNextBlockchange(new Player.BlockChangeDelegate(CatchBlock2), (object)FirstBlock); }