jan_kk

GUIList v1.3

Oct 19th, 2014
1,243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. # ----------------------- #
  2. # GUIList v1.3 #
  3. # by Jan kk #
  4. # dla skript.pl #
  5. # ----------------------- #
  6.  
  7. # Opcje #
  8. #------------------#
  9.  
  10. options:
  11. przedmiot: 347 # przedmiot do otwierania listy (musi byc po angielsku lub ID)
  12. command /list:
  13. trigger:
  14. wait 2 ticks
  15. open chest with 6 rows named "&4>> &2&nGUIList&r &4<<" to player
  16. wait 1 tick
  17. format slot 45 of player with 1 of red stained clay named "&4Administratorzy" to close then run "menu1 %player%"
  18. format slot 46 of player with 1 of red stained clay named "&4Administratorzy" to close then run "menu1 %player%"
  19. format slot 47 of player with 1 of red stained clay named "&4Administratorzy" to close then run "menu1 %player%"
  20. format slot 48 of player with 1 of red stained clay named "&4Administratorzy" to close then run "menu1 %player%"
  21. format slot 49 of player with 1 of glass pane named "&b<<>>" to be unstealable
  22. format slot 50 of player with 1 of 159:5 named "&aGracze" to close then run "menu2 %player%"
  23. format slot 51 of player with 1 of 159:5 named "&aGracze" to close then run "menu2 %player%"
  24. format slot 52 of player with 1 of 159:5 named "&aGracze" to close then run "menu2 %player%"
  25. format slot 53 of player with 1 of 159:5 named "&aGracze" to close then run "menu2 %player%"
  26. loop all players:
  27. add 1 to {_online}
  28. if {_online} is smaller than 45:
  29. if player is an op:
  30. format slot {_online}-1 of player with 1 of red wool named "%loop-player%" to close
  31. else:
  32. format slot {_online}-1 of player with 1 of light green wool named "%loop-player%" to close
  33. command /menu1 [<player>]:
  34. executable by: console
  35. trigger:
  36. wait 2 tick
  37. open chest with 6 rows named "&4Administratorzy:" to argument-player
  38. wait 1 tick
  39. format slot 53 of argument-player with 1 of light blue wool named "&bPowrot" to close then run "lista %argument-player%"
  40. loop all players:
  41. if loop-player is an op:
  42. add 1 to {_onl}
  43. format slot {_onl}-1 of argument-player with 1 of red wool named "%loop-player%" to close
  44. command /menu2 [<player>]:
  45. executable by: console
  46. trigger:
  47. wait 2 tick
  48. open chest with 6 rows named "&2Gracze:" to argument-player
  49. wait 1 tick
  50. format slot 53 of argument-player with 1 of light blue wool named "&bPowrot" to close then run "lista %argument-player%"
  51. loop all players:
  52. if loop-player is not an op:
  53. add 1 to {_onl}
  54. format slot {_onl}-1 of argument-player with 1 of light green wool named "%loop-player%" to close
  55. on rightclick:
  56. if player is holding {@przedmiot}:
  57. execute player command "list"
  58. command /lista [<player>]:
  59. executable by: console
  60. trigger:
  61. execute argument-player command "list"
Advertisement
Add Comment
Please, Sign In to add comment