Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
MythicCraft
MythicCosmetics
Commits
5f5bc7eb
Commit
5f5bc7eb
authored
3 years ago
by
Ashijin
Browse files
Options
Download
Email Patches
Plain Diff
fix
parent
2cba71f2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
131 additions
and
21 deletions
+131
-21
dist/.gitignore
dist/.gitignore
+1
-0
dist/pom.xml
dist/pom.xml
+12
-10
plugin/.flattened-pom.xml
plugin/.flattened-pom.xml
+115
-0
plugin/pom.xml
plugin/pom.xml
+2
-10
plugin/src/main/java/io/lumine/cosmetics/commands/CommandHelper.java
...main/java/io/lumine/cosmetics/commands/CommandHelper.java
+1
-1
No files found.
dist/.gitignore
0 → 100644
View file @
5f5bc7eb
/.flattened-pom.xml
This diff is collapsed.
Click to expand it.
dist/pom.xml
View file @
5f5bc7eb
...
...
@@ -8,6 +8,12 @@
<version>
${mccosmetics.version}
</version>
</parent>
<pluginRepositories>
<pluginRepository>
<id>
maven-snapshots
</id>
<url>
https://repository.apache.org/content/repositories/snapshots/
</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>
io.lumine
</groupId>
...
...
@@ -49,7 +55,7 @@
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-shade-plugin
</artifactId>
<version>
3.
2.4
</version>
<version>
3.
3.0-SNAPSHOT
</version>
<executions>
<execution>
<phase>
package
</phase>
...
...
@@ -60,15 +66,11 @@
<relocations>
<relocation>
<pattern>
org.bstats
</pattern>
<shadedPattern>
io.lumine.xikage.mythicmobs.metrics
</shadedPattern>
</relocation>
<relocation>
<pattern>
org.reflections
</pattern>
<shadedPattern>
io.lumine.xikage.mythicmobs.util.reflections
</shadedPattern>
<shadedPattern>
io.lumine.cosmetics.metrics
</shadedPattern>
</relocation>
<relocation>
<pattern>
io.lumine.utils
</pattern>
<shadedPattern>
io.lumine.
xikage.mythicmob
s.utils
</shadedPattern>
<shadedPattern>
io.lumine.
cosmetic
s.utils
</shadedPattern>
</relocation>
</relocations>
<minimizeJar>
false
</minimizeJar>
...
...
@@ -82,7 +84,7 @@
<artifactId>
maven-jar-plugin
</artifactId>
<version>
3.1.0
</version>
<configuration>
<finalName>
M
ythicMob
s-${project.parent.version}
</finalName>
<finalName>
M
CCosmetic
s-${project.parent.version}
</finalName>
<outputDirectory>
../target
</outputDirectory>
</configuration>
</plugin>
...
...
@@ -92,8 +94,8 @@
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.8.0
</version>
<configuration>
<source>
1
.8
</source>
<target>
1
.8
</target>
<source>
1
6
</source>
<target>
1
6
</target>
</configuration>
</plugin>
...
...
This diff is collapsed.
Click to expand it.
dist
/.flattened-pom.xml
→
plugin
/.flattened-pom.xml
View file @
5f5bc7eb
...
...
@@ -3,25 +3,90 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
io.lumine
</groupId>
<artifactId>
MCCosmetics
-Dist
</artifactId>
<artifactId>
MCCosmetics
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<dependencies>
<dependency>
<groupId>
io.lumine
</groupId>
<artifactId>
LumineUtils
</artifactId>
<version>
1.18-SNAPSHOT
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<version>
1.18.22
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
com.ticxo.modelengine
</groupId>
<artifactId>
api
</artifactId>
<version>
R2.2.0
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
io.papermc.paper
</groupId>
<artifactId>
paper-api
</artifactId>
<version>
1.17-R0.1-SNAPSHOT
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
com.comphenix.protocol
</groupId>
<artifactId>
ProtocolLib-API
</artifactId>
<version>
4.4.0
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
net.kyori
</groupId>
<artifactId>
adventure-api
</artifactId>
<version>
4.8.1
</version>
<scope>
provided
</scope>
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
io.lumine
</groupId>
<artifactId>
Mythic-Dist
</artifactId>
<version>
4.14.2
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
LibsDisguises
</groupId>
<artifactId>
LibsDisguises
</artifactId>
<version>
10.0.24
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
me.clip
</groupId>
<artifactId>
placeholderapi
</artifactId>
<version>
2.10.9
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>
spigot-repo
</id>
<url>
https://
hub.spigotmc.org/nexus/content/repositories/snapshots
/
</url>
<id>
nexus
</id>
<url>
https://
mvn.lumine.io/repository/maven
/
</url>
</repository>
<repository>
<id>
lumine
</id>
<url>
https://mvn.lumine.io/repository/maven/
</url>
<id>
lumine
-public
</id>
<url>
https://mvn.lumine.io/repository/maven
-public
/
</url>
</repository>
<repository>
<id>
nexus
</id>
<url>
https://mvn.lumine.io/repository/maven-private/
</url>
<id>
spigot-repo
</id>
<url>
https://hub.spigotmc.org/nexus/content/repositories/snapshots/
</url>
</repository>
<repository>
<id>
papermc
</id>
<url>
https://papermc.io/repo/repository/maven-public/
</url>
</repository>
<repository>
<id>
sk89q-repo
</id>
<url>
https://maven.sk89q.com/repo/
</url>
</repository>
<repository>
<id>
md_5-public
</id>
<url>
https://repo.md-5.net/content/groups/public/
</url>
</repository>
<repository>
<id>
md_5-snapshots
</id>
<url>
https://repo.md-5.net/content/repositories/snapshots/
</url>
...
...
@@ -34,10 +99,6 @@
<id>
filoghost-repo
</id>
<url>
https://ci.filoghost.me/plugin/repository/everything/
</url>
</repository>
<repository>
<id>
papermc
</id>
<url>
https://papermc.io/repo/repository/maven-public/
</url>
</repository>
<repository>
<id>
CodeMC
</id>
<url>
https://repo.codemc.org/repository/maven-public
</url>
...
...
@@ -46,5 +107,9 @@
<id>
jitpack.io
</id>
<url>
https://jitpack.io
</url>
</repository>
<repository>
<id>
lumine
</id>
<url>
https://mvn.lumine.io/repository/maven/
</url>
</repository>
</repositories>
</project>
This diff is collapsed.
Click to expand it.
plugin/pom.xml
View file @
5f5bc7eb
...
...
@@ -23,14 +23,6 @@
<includes>
<include>
plugin.yml
</include>
<include>
config.yml
</include>
<include>
CachedMobs.yml
</include>
<include>
ExampleDropTables.yml
</include>
<include>
ExampleItems.yml
</include>
<include>
ExampleMobs.yml
</include>
<include>
VanillaMobs.yml
</include>
<include>
ExampleRandomSpawns.yml
</include>
<include>
ExampleSkills.yml
</include>
<include>
readme.txt
</include>
</includes>
</resource>
</resources>
...
...
@@ -39,8 +31,8 @@
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.8.0
</version>
<configuration>
<source>
1
.8
</source>
<target>
1
.8
</target>
<source>
1
6
</source>
<target>
1
6
</target>
</configuration>
</plugin>
<plugin>
...
...
This diff is collapsed.
Click to expand it.
plugin/src/main/java/io/lumine/cosmetics/commands/CommandHelper.java
View file @
5f5bc7eb
package
io.lumine.cosmetics.commands
;
import
io.lumine.utils.adventure.text.Component
;
import
io.lumine.utils.text.Text
;
import
net.kyori.adventure.text.Component
;
import
org.bukkit.command.CommandSender
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment