Facebook
From fyr og ansat, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 292
  1.  
  2.  
  3. command ansæt [<offline player>]:
  4.         permission: an.fy.allow
  5.         trigger:
  6.                 open chest with 3 rows named "&4&lAnsæt %arg 1%" to player
  7.                 wait 1 tick
  8.                 format slot 0 of player with wood axe named "&2&lBygger" with lore "&2Ansæt til bygger" to close then run [execute console command "bygger %arg 1%"]
  9.                 format slot 3 of player with book and quill named "&d&lHjælper" with lore "&dAnsæt til Hjælper" to close then run [execute console command "hjælper %arg 1%"]
  10.                 format slot 5 of player with Iron helmet named "&5&lModerator" with lore "&5Ansæt til Moderator" to close then run [execute console command "mod %arg 1%"]
  11.                 format slot 13 of player with golden sword named "&3&lVagt" with lore "&3Ansæt til vagt" to close then run [execute console command "vagtvagt %arg 1%"]
  12.                 format slot 21 of player with gold helmet named "&c&lAdmin" with lore "&cAnsæt til Admin" to close then run [execute console command "admin %arg 1%"]
  13.                 format slot 23 of player with Diamond helmet named "&4&lHead-Admin" with lore "&4Ansæt til Head-Admin" to close then run [execute console command "hadmin %arg 1%"]
  14.                 format slot 26 of player with 166 named "&4&lfyr" with lore "&4Viser hvad man skal gøre for at fyre" to close then run [make player execute command "/fyr"]
  15.                
  16.                
  17.                
  18. command vagtvagt [<offline player>]:           
  19.         permission: an.fy.allow
  20.         trigger:
  21.                 execute console command "/ne player %arg 1% prefix &3cvagt &7"
  22.                 execute console command "/manuadd %arg 1% cvagt"
  23.                 broadcast "&1[&6Ansætning&1] &e%arg 1% er lige blevet ansat som &3&lVAGT"
  24.                
  25. command bygger [<offline player>]:
  26.         permission: an.fy.allow
  27.         trigger:
  28.                 execute console command "/ne player %arg 1% prefix &2Bygger &7"
  29.                 execute console command "/manuadd %arg 1% bygger"
  30.                 broadcast "&1[&6Ansætning&1] &e%arg 1% er lige blevet ansat som &2&lBYGGER"
  31.                
  32.                
  33. command hjælper [<offline player>]:
  34.         permission: an.fy.allow
  35.         trigger:
  36.                 execute console command "/ne player %arg 1% prefix &dHjælper &7"
  37.                 execute console command "/manuadd %arg 1% hjælper"
  38.                 broadcast "&1[&6Ansætning&1] &e%arg 1% er lige blevet ansat som &d&lHJÆLPER"
  39.                
  40. command mod [<offline player>]:
  41.         permission: an.fy.allow
  42.         trigger:
  43.                 execute console command "/ne player %arg 1% prefix &5Moderator &7"
  44.                 execute console command "/manuadd %arg 1% moderator"
  45.                 broadcast "&1[&6Ansætning&1] &e%arg 1% er lige blevet ansat som &5&lMODERATOR"
  46.                
  47. command admin [<offline player>]:
  48.         permission: an.fy.allow
  49.         trigger:
  50.                 execute console command "/ne player %arg 1% prefix &cAdmin &7"
  51.                 execute console command "/manuadd %arg 1% admin"
  52.                 broadcast "&1[&6Ansætning&1] &e%arg 1% er lige blevet ansat som &c&lADMIN"
  53.                
  54.                
  55. command hadmin [<offline player>]:
  56.         permission: an.fy.allow
  57.         trigger:
  58.                 execute console command "/ne player %arg 1% prefix &4H-Admin &7"
  59.                 execute console command "/manuadd %arg 1% hadmin"
  60.                 broadcast "&1[&6Ansætning&1] &e%arg 1% er lige blevet ansat som &4&lHEAD-ADMIN"
  61.                
  62. options:
  63.         prefix: &eAmmut &7
  64.         rank: ammut
  65.  
  66. command fyr [<text>] [<offline player>] [<text>]:
  67.         permission: an.fy.allow
  68.         trigger:
  69.                 if arg 1 is not set:
  70.                         send "for at fyre skal du skrive /fyr [<Rank>] [<Spiller>] [<Grund>]"
  71.                 if arg 1 is "bygger":
  72.                         if arg 3 is set:
  73.                                 broadcast "&1&m------&r &6Fyring &1&m------"
  74.                                 broadcast "&6Spiller: &d%arg 2%"
  75.                                 broadcast "&6Rank: &2Bygger"
  76.                                 broadcast "&6Fyringsgrund: &d%arg 3%"
  77.                                 broadcast "&1&m-------------------"
  78.                                 execute console command "/ne player %arg 2% prefix {@prefix}"
  79.                                 execute console command "/manuadd %arg 2% {@rank}"
  80.                                 execute console command "/spawn %arg 2%"
  81.                                 execute console command "/eco reset %arg 2%"
  82.                 if arg 1 is "hjælper":
  83.                         if arg 3 is set:
  84.                                 broadcast "&1&m------&r &6Fyring &1&m------"
  85.                                 broadcast "&6Spiller: &d%arg 2%"
  86.                                 broadcast "&6Rank: &dHjælper"
  87.                                 broadcast "&6Fyringsgrund: &d%arg 3%"
  88.                                 broadcast "&1&m-------------------"
  89.                                 execute console command "/ne player %arg 2% prefix {@prefix}"
  90.                                 execute console command "/manuadd %arg 2% {@rank}"
  91.                                 execute console command "/spawn %arg 2%"
  92.                                 execute console command "/eco reset %arg 2%"
  93.                 if arg 1 is "moderator" or "mod":
  94.                         if arg 3 is set:
  95.                                 broadcast "&1&m------&r &6Fyring &1&m------"
  96.                                 broadcast "&6Spiller: &d%arg 2%"
  97.                                 broadcast "&6Rank: &5Moderator"
  98.                                 broadcast "&6Fyringsgrund: &d%arg 3%"
  99.                                 broadcast "&1&m-------------------"
  100.                                 execute console command "/ne player %arg 2% prefix {@prefix}"
  101.                                 execute console command "/manuadd %arg 2% {@rank}"
  102.                                 execute console command "/spawn %arg 2%"
  103.                                 execute console command "/eco reset %arg 2%"
  104.                 if arg 1 is "admin":
  105.                         if arg 3 is set:
  106.                                 broadcast "&1&m------&r &6Fyring &1&m------"
  107.                                 broadcast "&6Spiller: &d%arg 2%"
  108.                                 broadcast "&6Rank: &cAdmin"
  109.                                 broadcast "&6Fyringsgrund: &d%arg 3%"
  110.                                 broadcast "&1&m-------------------"
  111.                                 execute console command "/ne player %arg 2% prefix {@prefix}"
  112.                                 execute console command "/manuadd %arg 2% {@rank}"
  113.                                 execute console command "/spawn %arg 2%"
  114.                                 execute console command "/eco reset %arg 2%"
  115.                 if arg 1 is "headadmin" or "hadmin":
  116.                         if arg 3 is set:
  117.                                 broadcast "&1&m------&r &6Fyring &1&m------"
  118.                                 broadcast "&6Spiller: &d%arg 2%"
  119.                                 broadcast "&6Rank: &4Head Admin"
  120.                                 broadcast "&6Fyringsgrund: &d%arg 3%"
  121.                                 broadcast "&1&m-------------------"
  122.                                 execute console command "/ne player %arg 2% prefix {@prefix}"
  123.                                 execute console command "/manuadd %arg 2% {@rank}"
  124.                                 execute console command "/spawn %arg 2%"
  125.                                 execute console command "/eco reset %arg 2%"