Plugin's files
The plugin's configuration files

Config

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