From 6953fab6c47044ed5b1de5d9456cd6a250e6575d Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Thu, 20 Jul 2023 17:22:54 +0200 Subject: [PATCH] Modernize and clean up `pom.xml` and `plugin.yml` --- pom.xml | 118 ++++++++++++++++------------------ src/main/resources/plugin.yml | 37 +++++++++-- 2 files changed, 86 insertions(+), 69 deletions(-) diff --git a/pom.xml b/pom.xml index a143bd4..5511726 100644 --- a/pom.xml +++ b/pom.xml @@ -1,94 +1,86 @@ - + + + 4.0.0 + com.songoda UltimateModeration - 4.0.0 2.0.15 - - clean install - UltimateModeration-${project.version} + UltimateModeration + Take complete control over your server with punishment templates via a simplified yet powerful moderation system + https://craftaro.com/marketplace/product/29 + + 8 + 1.8 + 1.8 + + UTF-8 + + + + https://discord.gg/craftaro + Discord server + + + + https://github.com/craftaro/UltimateModeration + scm:git:git://github.com/craftaro/UltimateModeration.git + + + - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.0 - - - 1.8 - 1.8 - - - - - com.google.code.maven-replacer-plugin - replacer - 1.5.3 - - - - prepare-package - - replace - - - - - - ${project.build.directory}/classes/plugin.yml - - - maven-version-number - ${project.version} - - - - - org.apache.maven.plugins maven-shade-plugin - 3.3.0 + 3.4.1 + - shaded package shade + ${project.name}-${project.version} + false - false - - - - com.songoda:SongodaCore - - - - - - *:* - - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - - - + true + true com.songoda.core - ${project.groupId}.ultimatemoderation.core + com.songoda.ultimatemoderation.core + + + + *:* + + + META-INF/** + LICENSE + LICENSE.** + + + + + + + src/main/resources + true + + @@ -98,7 +90,7 @@ - spigotmc-repo + SpigotMC https://hub.spigotmc.org/nexus/content/repositories/snapshots/ diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index e108359..9829e7d 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,94 +1,119 @@ -name: UltimateModeration -description: UltimateModeration -main: com.songoda.ultimatemoderation.UltimateModeration -version: maven-version-number -author: Songoda +name: ${project.name} +description: ${project.description} +version: ${project.version} api-version: 1.13 -softdepend: [ Vault, FabledSkyBlock ] + +main: com.songoda.ultimatemoderation.UltimateModeration +softdepend: + - Vault + - FabledSkyBlock + +author: Craftaro +website: ${project.url} + commands: UltimateModeration: description: View information on this plugin. default: true aliases: [ um, p ] usage: /um + ClearChat: description: Clear the chat default: false aliases: [ cc ] usage: /cc + ToggleChat: description: Toggle chat default: false aliases: [ tc ] usage: /tc + RandomPlayer: description: Random Player default: false aliases: [ rp ] usage: /rp + Vanish: description: Vanish default: false aliases: [ v ] usage: /v + Spy: description: Spy default: false usage: /spy + Revive: description: Revive default: false usage: /revive + InvSee: description: InvSee default: false usage: /invsee + Freeze: description: Freeze default: false usage: /freeze + ViewEnderChest: description: ViewEnderChest default: false usage: /ViewEnderChest + Ban: description: Ban default: false usage: /ban + Unban: description: Unban default: false usage: /unban + Kick: description: Kick default: false usage: /kick + Mute: description: Mute default: false usage: /mute + Unmute: description: Unmute default: false usage: /unmute + Warn: description: Warn default: false usage: /warn + RunTemplate: description: RunTemplate default: false usage: /runtemplate + Ticket: description: Ticket default: false aliases: [ tickets ] usage: /ticket + StaffChat: description: StaffChat default: false aliases: [ sc ] usage: /staffchat + SlowMode: description: SlowMode default: false