View difference between Paste ID: pnAvn642 and dMkgqngj
SHOW: | | - or go back to the newest paste.
1
#-----------------------------------------------------------------------------------------------------------#
2
#							  MyCommand Commands config file (last update v5.5.0)							#
3
#																											#
4
#  BukkitDev Help page : https://dev.bukkit.org/projects/mycommand/pages/getstarted    						#
5
#																											#
6
#	How to make a command :	(See an example command below)													#
7
#		For first, put your command name on first line  													#
8
#		Now put your command_line name after the "command:" line. Don't forget the '/' before your command.	#
9
#		So, now select your command type from a predefined list putting it after "type" line				#
10
#	COMMAND TYPE LIST :																						#
11
#		TEXT , ALIAS , RUN_COMMAND , BROADCAST_TEXT , RUN_COMMAND_TEXT , RUN_COMMAND_BROADCAST_TEXT			#
12
#		ADD_PERMISSION , WARMUP , COOLDOWN , RUN_CONSOLE , RUN_CONSOLE_RANDOM , SPOUT_TEXT					#
13
#       RUN_COMMAND_RANDOM , RUN_ASOPERATOR , ICON_MENU , SCOREBOARD , BUNGEE_TP , SPOUT_NOTIFICATION		#
14
#		BAR_API_TEXT , BAR_API_BROADCAST_TEXT , CALL_URL, TITLE, BROADCAST_TITLE, ACTION_BAR				#
15
#																											#
16
#	If your command is "TEXT" type, you can put multiple line of text below this parameter					#
17
#	You can do the same thing with the "RUNCOMMAND" type, but instead of text, puts commands in this list	#
18
#	For delayed command(s) add $delay$ before the command in runcmd Example : - $delay$/list				#
19
#	Set delay time with delaytimer: 5 (5 = seconds) | 														#
20
#   If you are using the Vault plugin, you can put the "cost: 123.0" with this line. 						#
21
#	You can customize your permission node by placing "permission-node:" field in a command					#
22
#	Also,you can change the permission error message with "permission-error:"								#
23
#   Custom error-message for invalid args ,put "error-message:" line in a command.							#
24
#   You can use itemcost : 'ID:AMOUNT' for set a cost with items. 											#
25
#   Register REAL commands putting "register: true" below the command.     									#
26
#   With register commands you can use the "tab_completer: - Hi - Hello!"									#
27
#   For Scripts and more features, find more on the bukkitdev page											#
28
#-----------------------------------------------------------------------------------------------------------#
29
gamemode_alias:
30
  command: /gm
31
  type: ALIAS
32
  alias: /gamemode
33
  permission-required: true
34
shortcut_with_arguments:
35
event:
36
  command: /Event
37
  type: RUN_COMMAND
38
  runcmd:
39
  - '$delay$$broadcasttext$&eEvent &8» $random_color3'
40
  - '$delay$$broadcasttext$&eEvent &8» $random_color2'
41
  - '$delay$$broadcasttext$&eEvent &8» $random_color1'
42
  - '$delay$$broadcasttext$&eEvent &8» &bDas Event startet!'
43
  cost: 0
44
  delaytimer: 1
45
  delaytimer_format: SECONDS
46
  permission-required: true
47
  permission-node: system.event
48
broadcast_example:
49
  command: /bc
50
  type: BROADCAST_TEXT
51
  text:
52
  - '&3Mini&bGames &8» &b$multiargs'
53
  required_args: 1
54
clear_chat:
55
  command: /cc
56
  type: BROADCAST_TEXT
57
  text:
58
  - '%Repeat%100% '
59
  - '&3Mini&bGames &8» &eDer Chat wurde von &b$player &egeleert.'
60
  permission-required: false
61
  permission-node: system.cc
62
dailybonus:
63
  command: /dailybonus
64
  type: RUN_COMMAND
65
  runcmd:
66
  - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
67
  - "$text$&bTäglicheBelohnung &8» &eHallo $player, hier ist deine TäglicheBelohnung."
68
  - "$text$&bTäglicheBelohnung &8» &eDu hast deine TäglicheBelohnung erhalten."
69
  - "%PlayerOptions%addItem: DIAMOND:1"
70
  - "$Script$%PlayerData%DailyBonus=$todaydate"
71
  - "$text$&bTäglicheBelohnung &8» &eKomme morgen wieder vorbei!"
72
  - "$Script$%else%"
73
  - "$text$&bTäglicheBelohnung &8 &e Hole dir deine TäglicheBelohnung morgen wieder ab!"
74
  permission-required: false
75
  permission-node: system.dailybonus
76
AFK:
77
  command: /afk
78
  permission-required: true
79
  permission-node: system.afk
80
  error-message: '&cServer &8┃ &7Benutze&8 × &c/afk &7[&cGrund&7]'
81
  type: TEXT
82
  text:
83
  - "&cServer &8┃ &7Der Spieler &c$player &7ist nun &cAFK&7. &cGrund &8× &7$arg1 $arg2 $arg3 $arg4 $arg5"
84
kit:
85
  command: /kit
86
  type: ICON_MENU
87
  iconmenu_size: 9
88
  iconmenu_title: '&cKit&5-&6Menü'
89
  iconmenu_mode: ICON_MENU
90
  permission-required: true
91
  iconmenu_commands:
92
  - '0:STAINED_GLASS_PANE:15:%stayopen%: : '
93
  - '1:STONE_SWORD:1:/ekit Spieler $player:&7Spieler:&7Nimm dir das Kit Spieler. '
94-
  - '2:STAINED_GLASS_PANE:15:%stayopen$: : '
94+
  - '2:IRON_SWORD:1:/ekit Premium $player:&6Premium:&7Nimm dir das Kit &6Premium&7. '
95
  - '3:STAINED_GLASS_PANE:15:%stayopen%: : '
96
  - '4:STAINED_GLASS_PANE:15:%stayopen%: : '
97
  - '5:STAINED_GLASS_PANE:15:%stayopen%: : '
98
  - '6:STAINED_GLASS_PANE:15:%stayopen%: : '
99
  - '7:STAINED_GLASS_PANE:15:%stayopen%: : '
100
  - '8:BARRIER:15:%close%:&cSchließen: '
101
  - '9:STAINED_GLASS_PANE:15:%stayopen%: : '