qmagnet

CC#4 - Clock Commands, Anti-Cheat System, Jesper's XP Spawne

Oct 16th, 2014
572
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. Teleport a random Creeper up 10 blocks
  2. ---------------------------------------
  3. /tp @r[type=Creeper] ~ ~10 ~
  4.  
  5.  
  6. Setblock Clock
  7. ---------------------------------------
  8. setblock ~ ~-1 ~ redstone_block
  9. setblock ~ ~1 ~ clay
  10.  
  11.  
  12. Fill Clock
  13. ---------------------------------------
  14. /fill ~ ~-1 ~ ~ ~-1 ~4 redstone_block
  15. /fill ~ ~1 ~ ~ ~1 ~4 clay
  16.  
  17.  
  18. Anti-cheat System (Puts players who try to go Creative Mode back into Adventure Mode)
  19. ---------------------------------------
  20. /testfor @a[m=1]
  21. - (tests for any player in Creative Mode)-
  22. -> place comparator
  23. /gamemode a @a[m=1]
  24. - (switches any player in Creative Mode to Adventure Mode)-
  25. /tellraw @a[m=1] "You can't be in that gamemode"
  26. - (gives all players who cheated a message) -
  27.  
  28.  
  29. Jesperian XP Spawner (alter coordinates after Pos to the pressure plate)
  30. ---------------------------------------
  31. /setblock ~ ~1 ~ minecraft:mob_spawner 0 destroy {SpawnCount:1,SpawnRange:1,MinSpawnDelay:1,MaxSpawnDelay:1,MaxNearbyEntities:32000,EntityId:XPOrb,SpawnData:{Age:5999s,Pos:[16.5,64.0,40.5]},RequiredPlayerRange:3}
Advertisement
Add Comment
Please, Sign In to add comment