kazuken0814

Untitled

Jun 29th, 2018
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.11 KB | None | 0 0
  1. command /gm [<text>]:
  2.     permission: GameMode.Admin
  3.     permission message: &f[%{Prefix}%Game&fMode] » Dafür hast du keine %{Prefix}%Rechte !
  4.     trigger:
  5.         if arg 1 is not set:
  6.             send ""
  7.            
  8.         if arg 1 is "0":
  9.             set player's gamemode to survival
  10.             send "&f[%{Prefix}%Game&fMode] » &fDein %{Prefix}%Spielmodus &fwurde zu %{Prefix}%Überleben &fgesetzt"
  11.            
  12.         if arg 1 is "1":
  13.             set player's gamemode to creative
  14.             send "&f[%{Prefix}%Game&fMode] » &fDein %{Prefix}%Spielmodus &fwurde zu %{Prefix}%Kreativ &fgesetzt"
  15.            
  16.         if arg 1 is "2":
  17.             set player's gamemode to adventure
  18.             send "&f[%{Prefix}%Game&fMode] » &fDein %{Prefix}%Spielmodus &fwurde zu %{Prefix}%Abendteuer &fgesetzt"
  19.            
  20.         if arg 1 is "3":
  21.             execute command "/gamemode 3 %player%"
  22.             send "&f[%{Prefix}%Game&fMode] » &fDein %{Prefix}%Spielmodus &fwurde zu %{Prefix}%Zuschauer &fgesetzt"
  23.            
  24.         if arg 1 is "menu":
  25.             open chest with 3 rows named "&f» %{Prefix}%GameMode" to player
  26.             format slot 0 of player with black glass named "&f" with no nbt to be unstealable
  27.             format slot 1 of player with black glass named "&f" with no nbt to be unstealable
  28.             format slot 2 of player with black glass named "&f" with no nbt to be unstealable
  29.             format slot 3 of player with black glass named "&f" with no nbt to be unstealable
  30.             format slot 4 of player with black glass named "&f" with no nbt to be unstealable
  31.             format slot 5 of player with black glass named "&f" with no nbt to be unstealable
  32.             format slot 6 of player with black glass named "&f" with no nbt to be unstealable
  33.             format slot 7 of player with black glass named "&f" with no nbt to be unstealable
  34.             format slot 8 of player with black glass named "&f" with no nbt to be unstealable
  35.             format slot 9 of player with black glass named "&f" with no nbt to be unstealable
  36.             format slot 10 of player with yellow wool named "&f» &7Prefix &fFarbe &eGelb" to close then run [execute player command "/prefix gelb"]
  37.             format slot 11 of player with light green wool named "&f» &7Prefix &fFarbe &aGrün" to close then run [execute player command "/prefix grün"]
  38.             format slot 12 of player with red wool named "&f» &7Prefix &fFarbe &4Rot" to close then run [execute player command "/prefix rot"]
  39.             format slot 13 of player with blue wool named "&f» &7Prefix &fFarbe &9Blau" to close then run [execute player command "/prefix blau"]
  40.             format slot 14 of player with orange wool named "&f» &7Prefix &fFarbe &9Blau" to close then run [execute player command "/prefix orange"]
  41.             format slot 15 of player with light gray wool named "&f» &7Prefix &fFarbe &7Hellgrau" to close then run [execute player command "/prefix hellgrau"]
  42.             format slot 16 of player with gray wool named "&f» &7Prefix &fFarbe &8Grau" to close then run [execute player command "/prefix grau"]
  43.             format slot 17 of player with black glass named "&f" with no nbt to be unstealable
  44.             format slot 18 of player with black glass named "&f" with no nbt to be unstealable
  45.             format slot 19 of player with black glass named "&f" with no nbt to be unstealable
  46.             format slot 20 of player with black glass named "&f" with no nbt to be unstealable
  47.             format slot 21 of player with black glass named "&f" with no nbt to be unstealable
  48.             format slot 22 of player with black glass named "&f" with no nbt to be unstealable
  49.             format slot 23 of player with black glass named "&f" with no nbt to be unstealable
  50.             format slot 24 of player with black glass named "&f" with no nbt to be unstealable
  51.             format slot 25 of player with black glass named "&f" with no nbt to be unstealable
  52.             format slot 26 of player with black glass named "&f" with no nbt to be unstealable
  53.            
  54.         if arg 1 is "help":
  55.             send "&f-----------------[%{Prefix}%Game&fMode]-----------------"
  56.             send "&0"
  57.             send "&f» %{Prefix}%/gm &f0/1/2/3 &7Damit wechselt ihr den Spielmodus"
  58.             send "&f» %{Prefix}%/gm &fmenu &7Öffnet damit eine GUI für die Prefix Farben"
  59.             send "&f» %{Prefix}%/gm &fhelp &7Zeigt alle Commands von System dar."
  60.             send "&1"
  61.             send "&f-----------------[%{Prefix}%Game&fMode]-----------------"
  62.             stop
  63.        
  64. command /prefix [<text>]:
  65.     permission: GameMode.Admin
  66.     permission message: &f[%{Prefix}%Game&fMode] » Dafür hast du keine %{Prefix}%Rechte !
  67.     trigger:
  68.         if arg 1 is "blau":
  69.             set {Prefix} to "&9"
  70.             send "&f[&9Game&fMode] » Die &9Prefix &fFarbe wurde zu &9Blau &fgesetzt"
  71.            
  72.         if arg 1 is "rot":
  73.             set {Prefix} to "&4"
  74.             send "&f[&4Game&fMode] » Die &4Prefix &fFarbe wurde zu &4Rot &fgesetzt"
  75.            
  76.         if arg 1 is "grün":
  77.             set {Prefix} to "&a"
  78.             send "&f[&aGame&fMode] » Die &aPrefix &fFarbe wurde zu &aGrün &fgesetzt"
  79.            
  80.         if arg 1 is "orange":
  81.             set {Prefix} to "&6"
  82.             send "&f[&6Game&fMode] » Die &6Prefix &fFarbe wurde zu &6Orange &fgesetzt"
  83.            
  84.         if arg 1 is "hellgrau":
  85.             set {Prefix} to "&7"
  86.             send "&f[&7Game&fMode] » Die &7Prefix &fFarbe wurde zu &7Hellgrau &fgesetzt"
  87.            
  88.         if arg 1 is "grau":
  89.             set {Prefix} to "&8"
  90.             send "&f[&8Game&fMode] » Die &8Prefix &fFarbe wurde zu &8Grau &fgesetzt"
  91.            
  92.         if arg 1 is "gelb":
  93.             set {Prefix} to "&e"
  94.             send "&f[&eGame&fMode] » Die &ePrefix &fFarbe wurde zu &eGelb &fgesetzt"
Advertisement
Add Comment
Please, Sign In to add comment