-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeluxejoin
163 lines (163 loc) · 6.38 KB
/
deluxejoin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
# DeluxeJoin v2.8.0 configuration
# Via config.helpch.at
#
# You can create as many formats for motd and join/leave you like.
# All formats must contain action lists with valid actions
#
# All actions must start with a valid action tag!
#
# Valid Actions:
#
# JSON message: [JSONMESSAGE], [JSON]
#
# DESCRIPTION: Send a JSON message to the target player
#
# EXAMPLE: - '[JSON] {"text":"this is sent to the target player"}'
#
# JSON broadcast: [JSONBROADCAST], [JSONBC]
#
# DESCRIPTION: Send a JSON broadcast to the entire server specific to the target player
#
# EXAMPLE: - '[JSONBROADCAST] {"text":"this is sent all players"}'
#
# Chat message: [MESSAGE], [MSG]
#
# DESCRIPTION: Send a message to the target player
#
# EXAMPLE: - '[MESSAGE] &aThis is sent to the player joining/leaving/viewing the MOTD'
#
# Chat broadcast: [BROADCAST], [BC]
#
# DESCRIPTION: Send a broadcast to the entire server specific to the target player
#
# EXAMPLE: - '[BROADCAST] &aThis is sent to all players'
#
# Actionbar message: [ACTIONBARMSG], [ACTIONMSG]
#
# DESCRIPTION: Send an actionbar message to the target player
#
# EXAMPLE: - '[ACTIONMSG] &aThis is sent to the target player'
#
# Actionbar broadcast: [ACTIONBARBROADCAST], [ACTIONBROADCAST]
#
# DESCRIPTION: Send an actionbar broadcast to the server specific to the target player
#
# EXAMPLE: - '[ACTIONBROADCAST] &aThis is sent to all players'
#
# Title message: [TITLEMESSAGE], [TITLEMSG]
#
# DESCRIPTION: Send a title and/or subtitle message to the target playe
#
# EXAMPLE: - '[TITLEMSG] title:&aWelcome to the server subtitle:&bsubtitle here fadein:10 stay:20 fadeout:10'
#
# Title broadcast: [TITLEBROADCAST], [TITLEBC]
#
# DESCRIPTION: Send a title broadcast to the entire server specific to the target player
#
# EXAMPLE: - '[TITLEBC] title:&a%player% joined! subtitle:&bsubtitle here fadein:10 stay:20 fadeout:10'
#
# Player command: [PLAYERCOMMAND], [PLAYERCMD]
#
# DESCRIPTION: Force the target player to execute a command
#
# EXAMPLE: - '[PLAYERCMD] /spawn'
#
# Console command: [CONSOLECOMMAND], [CONSOLECMD]
#
# DESCRIPTION: Execute a console command where target specific placeholders can be used
#
# EXAMPLE: - '[CONSOLECMD] spawn %player%'
#
# Player sound: [SOUND], [PLAYERSOUND]
#
# DESCRIPTION: Play a sound to the target player
#
# EXAMPLE: - '[SOUND] NOTE_PLING 10 10'
#
# Broadcast sound: [BROADCASTSOUND], [BCASTSOUND]
#
# DESCRIPTION: Play a sound to the entire server
#
# EXAMPLE: - '[BROADCASTSOUND] NOTE_PLING 10 10'
#
#
#
#
# If you want to display a line with normal text and color codes
# you must start the line with the [MESSAGE] tag
# formatName:
# join_actions:
# - '[MESSAGE] &eWelcome to the server %player%!'
#
# If you want to use multiple JSON components in one String
# you must separate them with an And operator -> &&
# formatName:
# join_actions:
# - '[JSONMESSAGE] {"text":"Welcome","color":"green"}&&{"text":" player","color":"yellow"}'
#
# template
# ================
# deluxejoin_formats:
# <formatIdentifier>:
# priority: <unique number here>
# join_actions:
# - '[JSONBROADCAST] {"text":"%player% joined the game","color":"yellow"}'
# leave_actions:
# - '[JSONBROADCAST] {"text":"%player% left the game","color":"yellow"}'
# ================
# The priority system is very important! It works just like
# the DeluxeChat format priority system. This allows players to
# have multiple permissions and DeluxeJoin will know what join/leave
# format to assign the player. 1 would be the highest priority (first)
# 1000 would be the lowest priority (last)
#
# The permission node for a format is:
# deluxejoin.format.<identifier>
#
# Placeholders are available if you have DeluxeChat or PlaceholderAPI installed on your server!
# You may use any placeholders anywhere inside of your formats.
# All placeholders are specific to the target player joining, leaving, or viewing the MOTD
#
# If the MOTD system is enabled, it follows the same format as join/leave formats.
# You can create as many MOTDs you like, the player needs permission for a motd to
# view it. The permission node is:
# deluxejoin.motd.<identifier>
#
# The following actions CAN NOT be used in leave_actions as the player has already left the server:
# JSON message, chat message, actionbar message, title message, player command, player sound
#
# The following actions CAN NOT be used in motd_actions as these actions would affect all players online:
# JSON broadcast, chat broadcast, actionbar broadcast, title broadcast, broadcast sound
#
# If you need an easy way to create JSON messages,
# visit http://minecraftjson.com/
deluxejoin_formats:
default:
priority: 1
join_actions:
- '[JSONBROADCAST] {"text":"[","color":"dark_gray"}&&{"text":"+","color":"green","bold":"true"}&&{"text":"]","color":"dark_gray"}&&{"text":" %player%","color":"gray","hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Players
online: &f%online%","color":"aqua"}]}}}'
leave_actions:
- '[JSONBROADCAST] {"text":"[","color":"dark_gray"}&&{"text":"-","color":"red","bold":"true"}&&{"text":"]","color":"dark_gray"}&&{"text":" %player%","color":"gray","hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Players
online: &f%online%","color":"aqua"}]}}}'
first_join:
announce_on_join: true
actions:
- '[JSONBROADCAST] {"text":"This is %player%s first time joining!","color":"green","hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Welcome
%player%!","color":"yellow"}]}}}'
motd:
enabled: true
delay: 1
motds:
default:
priority: 1
motd_actions:
- '[MESSAGE] &8&m+---------------------------------------------------+'
- '[JSONMESSAGE] {"text":" Welcome to the server ","color":"green"}&&{"text":"%player%","color":"white","hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"That
is your name right?","color":"yellow"}]}}}'
- '[MESSAGE] &f'
- '[MESSAGE] &f'
- '[MESSAGE] &eThis motd was brought to you by &7DeluxeJoin'
- '[JSONMESSAGE] {"text":" &6Visit &7DeluxeJoin &6on Spigot "}&&{"text":"Click
here!","color":"white","clickEvent":{"action":"open_url","value":"http://www.spigotmc.org/resources/deluxejoin.4846/"}}'
- '[MESSAGE] &8&m+---------------------------------------------------+'