Package org.getspout.spoutapi.packet

Examples of org.getspout.spoutapi.packet.PacketAllowVisualCheats


    }
    if (update != null) {
      Bukkit.getServer().getScheduler().scheduleSyncDelayedTask(Spout.getInstance(), update, 2);
    }
    if (event.getPlayer() instanceof SpoutPlayer) {
      scp.sendPacket(new PacketAllowVisualCheats(PermHandler.allowSkyCheat(scp),PermHandler.forceSkyCheat(scp),PermHandler.showSkyCheat(scp),PermHandler.allowClearWaterCheat(scp),PermHandler.forceClearWaterCheat(scp),PermHandler.showClearWaterCheat(scp),PermHandler.allowStarsCheat(scp),PermHandler.forceStarsCheat(scp),PermHandler.showStarsCheat(scp),PermHandler.allowWeatherCheat(scp),PermHandler.forceWeatherCheat(scp),PermHandler.showWeatherCheat(scp),PermHandler.allowTimeCheat(scp),PermHandler.allowCoordsCheat(scp),PermHandler.allowEntityLabelCheat(scp),PermHandler.allowVoidFogCheat(scp),PermHandler.forceVoidFogCheat(scp),PermHandler.showVoidFogCheat(scp),PermHandler.allowFlightSpeedCheat(scp)));
    }
  }
View Full Code Here


    ((SimpleMaterialManager)SpoutManager.getMaterialManager()).onPlayerJoin(player);
    ((SimpleSkyManager)SpoutManager.getSkyManager()).onPlayerJoin(player);
    ((SimpleBiomeManager)SpoutManager.getBiomeManager()).onPlayerJoin(player);
    ((SimpleKeyBindingManager)SpoutManager.getKeyBindingManager()).onPlayerJoin(player);
    player.sendPacket(new PacketAllowVisualCheats(PermHandler.allowSkyCheat(player),PermHandler.forceSkyCheat(player),PermHandler.showSkyCheat(player),PermHandler.allowClearWaterCheat(player),PermHandler.forceClearWaterCheat(player),PermHandler.showClearWaterCheat(player),PermHandler.allowStarsCheat(player),PermHandler.forceStarsCheat(player),PermHandler.showStarsCheat(player),PermHandler.allowWeatherCheat(player),PermHandler.forceWeatherCheat(player),PermHandler.showWeatherCheat(player),PermHandler.allowTimeCheat(player),PermHandler.allowCoordsCheat(player),PermHandler.allowEntityLabelCheat(player),PermHandler.allowVoidFogCheat(player),PermHandler.forceVoidFogCheat(player),PermHandler.showVoidFogCheat(player),PermHandler.allowFlightSpeedCheat(player)));
    player.updatePermissions();
    PrecacheManager.onPlayerJoin(player);
    player.sendPacket(new PacketBlockData(SpoutManager.getMaterialManager().getModifiedBlocks()));
    Bukkit.getServer().getPluginManager().callEvent(new SpoutCraftEnableEvent(player));
    ((SpoutCraftPlayer)player).updateWaypoints();
View Full Code Here

TOP

Related Classes of org.getspout.spoutapi.packet.PacketAllowVisualCheats

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.