fix: changed lunara to miningman
This commit is contained in:
parent
351a46ee17
commit
6e6dee95b6
43
.gitignore
vendored
Normal file
43
.gitignore
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
# Maven build output
|
||||
target/
|
||||
dependency-reduced-pom.xml
|
||||
|
||||
# Compiled class files
|
||||
*.class
|
||||
|
||||
# Packaged archives
|
||||
*.jar
|
||||
*.war
|
||||
*.ear
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
hs_err_pid*
|
||||
replay_pid*
|
||||
|
||||
# IntelliJ IDEA
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
.idea/shelf/
|
||||
.idea/workspace.xml
|
||||
.idea/usage.statistics.xml
|
||||
.idea/dictionaries/
|
||||
.idea/httpRequests/
|
||||
.idea/dataSources/
|
||||
.idea/dataSources.local.xml
|
||||
|
||||
# Eclipse
|
||||
.classpath
|
||||
.project
|
||||
.settings/
|
||||
|
||||
# VS Code
|
||||
.vscode/
|
||||
|
||||
# OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Environment / secrets
|
||||
.env
|
||||
@ -7,6 +7,7 @@
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="LunaraSystem" />
|
||||
<module name="MiningMan" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
</component>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/LunaraSystem.iml" filepath="$PROJECT_DIR$/LunaraSystem.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/MiningMan.iml" filepath="$PROJECT_DIR$/MiningMan.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="minecraft" name="Minecraft">
|
||||
<configuration>
|
||||
<autoDetectTypes>
|
||||
<platformType>PAPER</platformType>
|
||||
</autoDetectTypes>
|
||||
<projectReimportVersion>1</projectReimportVersion>
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
</module>
|
||||
@ -1,63 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>ch.bensuisse</groupId>
|
||||
<artifactId>LunaraSystem</artifactId>
|
||||
<name>LunaraSystem</name>
|
||||
<version>1.0</version>
|
||||
<build>
|
||||
<defaultGoal>clean package</defaultGoal>
|
||||
<resources>
|
||||
<resource>
|
||||
<filtering>true</filtering>
|
||||
<directory>src/main/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.13.0</version>
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.5.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>papermc-repo</id>
|
||||
<url>https://repo.papermc.io/repository/maven-public/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.papermc.paper</groupId>
|
||||
<artifactId>paper-api</artifactId>
|
||||
<version>1.21.11-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.luckperms</groupId>
|
||||
<artifactId>api</artifactId>
|
||||
<version>5.4</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<java.version>21</java.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
</project>
|
||||
@ -36,13 +36,13 @@ public class SocialCommands implements CommandExecutor, TabCompleter {
|
||||
private void sendDiscordMessage(Player player) {
|
||||
Component message = Component.text()
|
||||
.append(Component.newline())
|
||||
.append(Component.text("ᴊᴏɪɴ ᴛʜᴇ ʟᴜɴᴀʀᴀᴍᴄ ᴅɪsᴄᴏʀᴅ ᴄᴏᴍᴍᴜɴɪᴛʏ!")
|
||||
.append(Component.text("ᴊᴏɪɴ ᴛʜᴇ ᴍɪɴɪɴɢᴍᴀɴ ᴅɪsᴄᴏʀᴅ ᴄᴏᴍᴍᴜɴɪᴛʏ!")
|
||||
.color(THEME_COLOR))
|
||||
.append(Component.newline())
|
||||
.append(Component.text("discord.gg/lunaramc")
|
||||
.append(Component.text("discord.gg/V32MCYsFhn")
|
||||
.color(TextColor.color(255, 255, 255))
|
||||
.decorate(TextDecoration.UNDERLINED)
|
||||
.clickEvent(ClickEvent.openUrl("https://discord.gg/lunaramc")))
|
||||
.clickEvent(ClickEvent.openUrl("https://discord.gg/V32MCYsFhn")))
|
||||
.append(Component.newline())
|
||||
.build();
|
||||
|
||||
|
||||
@ -139,7 +139,7 @@ public class TablistService implements Listener {
|
||||
}
|
||||
|
||||
private void updateHeaderFooter(Player player) {
|
||||
Component title = ColorUtil.applyGradient("ʟᴜɴᴀʀᴀᴍᴄ.xʏᴢ", gradientColors)
|
||||
Component title = ColorUtil.applyGradient("ᴍɪɴɪɴɢᴍᴀɴ.eu", gradientColors)
|
||||
.decorate(TextDecoration.BOLD);
|
||||
|
||||
int playerCount = Bukkit.getOnlinePlayers().size();
|
||||
@ -151,15 +151,10 @@ public class TablistService implements Listener {
|
||||
.append(players)
|
||||
.append(Component.newline());
|
||||
|
||||
Component storeLine = Component.text("sᴛᴏʀᴇ: ", TextColor.fromHexString("#FC0000"))
|
||||
.append(Component.text("ᴄᴏᴍᴍɪɴɢ sᴏᴏɴ", NamedTextColor.WHITE));
|
||||
|
||||
Component discordLine = Component.text(" ᴅɪsᴄᴏʀᴅ: ", TextColor.fromHexString("#5454FC"))
|
||||
.append(Component.text("ᴅɪsᴄᴏʀᴅ.ɢɢ/ʟᴜɴᴀʀᴀᴍᴄ ", NamedTextColor.WHITE));
|
||||
.append(Component.text("discord.gg/V32MCYsFhn ", NamedTextColor.WHITE));
|
||||
|
||||
Component footer = Component.newline()
|
||||
.append(storeLine)
|
||||
.append(Component.newline())
|
||||
.append(discordLine)
|
||||
.append(Component.newline());
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,20 +0,0 @@
|
||||
name: MiningMan
|
||||
version: '1.0'
|
||||
main: ch.bensuisse.miningman.MiningMan
|
||||
api-version: '1.21'
|
||||
authors: [BenSuisse]
|
||||
depend:
|
||||
- LuckPerms
|
||||
|
||||
commands:
|
||||
announce:
|
||||
usage: /announce <small|big|restart> <nachricht>
|
||||
permission: miningman.announce
|
||||
discord:
|
||||
usage: /discord
|
||||
dc:
|
||||
usage: /dc
|
||||
clearchat:
|
||||
usage: /clearchat
|
||||
aliases: [cc]
|
||||
permission: miningman.clearchat
|
||||
@ -1,10 +0,0 @@
|
||||
ch\bensuisse\miningman\features\announce\AnnounceCommand.class
|
||||
ch\bensuisse\miningman\MiningMan.class
|
||||
ch\bensuisse\miningman\commands\SocialCommands.class
|
||||
ch\bensuisse\miningman\features\tablist\TablistService.class
|
||||
ch\bensuisse\miningman\api\ColorUtil.class
|
||||
ch\bensuisse\miningman\managers\JoinManager.class
|
||||
ch\bensuisse\miningman\features\chat\ClearChatCommand.class
|
||||
ch\bensuisse\miningman\features\announce\AnnounceCommand$1.class
|
||||
ch\bensuisse\miningman\features\chat\ChatListener.class
|
||||
ch\bensuisse\miningman\features\general\ConnectionListener.class
|
||||
@ -1,9 +0,0 @@
|
||||
C:\Users\benib\Dev\Intellij\Minecraft\LunaraSystem\src\main\java\ch\bensuisse\miningman\api\ColorUtil.java
|
||||
C:\Users\benib\Dev\Intellij\Minecraft\LunaraSystem\src\main\java\ch\bensuisse\miningman\commands\SocialCommands.java
|
||||
C:\Users\benib\Dev\Intellij\Minecraft\LunaraSystem\src\main\java\ch\bensuisse\miningman\features\announce\AnnounceCommand.java
|
||||
C:\Users\benib\Dev\Intellij\Minecraft\LunaraSystem\src\main\java\ch\bensuisse\miningman\features\chat\ChatListener.java
|
||||
C:\Users\benib\Dev\Intellij\Minecraft\LunaraSystem\src\main\java\ch\bensuisse\miningman\features\chat\ClearChatCommand.java
|
||||
C:\Users\benib\Dev\Intellij\Minecraft\LunaraSystem\src\main\java\ch\bensuisse\miningman\features\general\ConnectionListener.java
|
||||
C:\Users\benib\Dev\Intellij\Minecraft\LunaraSystem\src\main\java\ch\bensuisse\miningman\features\tablist\TablistService.java
|
||||
C:\Users\benib\Dev\Intellij\Minecraft\LunaraSystem\src\main\java\ch\bensuisse\miningman\managers\JoinManager.java
|
||||
C:\Users\benib\Dev\Intellij\Minecraft\LunaraSystem\src\main\java\ch\bensuisse\miningman\MiningMan.java
|
||||
Loading…
Reference in New Issue
Block a user