File tree Expand file tree Collapse file tree 6 files changed +6
-21
lines changed
src/main/java/eu/endermite/commandwhitelist/common/commands
CommandWhitelistWaterfall Expand file tree Collapse file tree 6 files changed +6
-21
lines changed Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >eu.endermite.commandwhitelist</groupId >
8
8
<artifactId >CommandWhitelist</artifactId >
9
- <version >2.5.3 </version >
9
+ <version >2.5.4 </version >
10
10
</parent >
11
11
12
12
<artifactId >Bukkit</artifactId >
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >eu.endermite.commandwhitelist</groupId >
8
8
<artifactId >CommandWhitelist</artifactId >
9
- <version >2.5.3 </version >
9
+ <version >2.5.4 </version >
10
10
</parent >
11
11
12
12
<artifactId >Common</artifactId >
Original file line number Diff line number Diff line change 5
5
import net .kyori .adventure .text .Component ;
6
6
import net .kyori .adventure .text .format .NamedTextColor ;
7
7
import net .kyori .adventure .text .minimessage .MiniMessage ;
8
- import net .kyori .adventure .text .minimessage .tag .resolver .TagResolver ;
9
- import net .kyori .adventure .text .minimessage .tag .standard .StandardTags ;
10
8
import java .util .ArrayList ;
11
9
import java .util .Collection ;
12
10
import java .util .List ;
13
11
14
12
public class CWCommand {
15
13
16
- public static MiniMessage miniMessage = MiniMessage .builder ().tags (
17
- TagResolver .builder ()
18
- .resolver (StandardTags .color ())
19
- .resolver (StandardTags .decorations ())
20
- .resolver (StandardTags .gradient ())
21
- .resolver (StandardTags .font ())
22
- .resolver (StandardTags .reset ())
23
- .resolver (StandardTags .rainbow ())
24
- .resolver (StandardTags .translatable ())
25
- .resolver (StandardTags .newline ())
26
- .resolver (StandardTags .clickEvent ())
27
- .resolver (StandardTags .keybind ())
28
- .build ()
29
- ).build ();
14
+ public static MiniMessage miniMessage = MiniMessage .miniMessage ();
30
15
31
16
public static boolean addToWhitelist (ConfigCache configCache , String command , String group ) {
32
17
CWGroup cwGroup = configCache .getGroupList ().get (group );
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >eu.endermite.commandwhitelist</groupId >
8
8
<artifactId >CommandWhitelist</artifactId >
9
- <version >2.5.3 </version >
9
+ <version >2.5.4 </version >
10
10
</parent >
11
11
12
12
<artifactId >Velocity</artifactId >
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >eu.endermite.commandwhitelist</groupId >
8
8
<artifactId >CommandWhitelist</artifactId >
9
- <version >2.5.3 </version >
9
+ <version >2.5.4 </version >
10
10
</parent >
11
11
12
12
<artifactId >Waterfall</artifactId >
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >eu.endermite.commandwhitelist</groupId >
8
8
<artifactId >CommandWhitelist</artifactId >
9
- <version >2.5.3 </version >
9
+ <version >2.5.4 </version >
10
10
<modules >
11
11
<module >CommandWhitelistCommon</module >
12
12
<module >CommandWhitelistBukkit</module >
You can’t perform that action at this time.
0 commit comments