Переименование всех файлов под новый формат

This commit is contained in:
justuser-31 2025-11-29 13:44:32 +03:00
parent 63f0648387
commit 0ce332f050
3 changed files with 8 additions and 9 deletions

12
pom.xml
View File

@ -5,11 +5,11 @@
<modelVersion>4.0.0</modelVersion>
<groupId>main</groupId>
<artifactId>vp_server_integration</artifactId>
<artifactId>VpcSpigotIntegration</artifactId>
<version>1.0</version>
<packaging>jar</packaging>
<name>vp_server_integration</name>
<name>VpcSpigotIntegration</name>
<properties>
<java.version>17</java.version>
@ -106,10 +106,10 @@
<configuration>
<target>
<echo message="UPLOADING file to ${ftps.username}@${ftps.host} ${srv.ftps.remote.directory}"/>
<echo message="curl -k --ssl-reqd --ftp-create-dirs -T target/vp_server_integration-1.0.jar ${ftps.username}:${ftps.password} ftp://${ftps.host}:${ftps.port}/${srv.ftps.remote.directory}"/>
<echo message="curl -k --ssl-reqd --ftp-create-dirs -T target/VpcSpigotIntegration-1.0.jar ${ftps.username}:${ftps.password} ftp://${ftps.host}:${ftps.port}/${srv.ftps.remote.directory}"/>
<exec executable="sh">
<arg value="-c"/>
<arg value="curl -k --ssl-reqd --ftp-create-dirs -T target/vp_server_integration-1.0.jar -u ${ftps.username}:${ftps.password} ftp://${ftps.host}:${ftps.port}/${srv.ftps.remote.directory}"/>
<arg value="curl -k --ssl-reqd --ftp-create-dirs -T target/VpcSpigotIntegration-1.0.jar -u ${ftps.username}:${ftps.password} ftp://${ftps.host}:${ftps.port}/${srv.ftps.remote.directory}"/>
</exec>
</target>
</configuration>
@ -125,10 +125,10 @@
<configuration>
<target>
<echo message="SENDING reload plugin request to ${srv.restart.endpoint}"/>-->
<echo message="curl -k -X POST -H 'Authorization: Bearer ${minihost.token}' ${srv.command.endpoint} -d 'plugman reload vp_server_integration'"/>-->
<echo message="curl -k -X POST -H 'Authorization: Bearer ${minihost.token}' ${srv.command.endpoint} -d 'plugman reload VpcSpigotIntegration'"/>-->
<exec executable="sh">
<arg value="-c"/>
<arg value="curl -k -X POST -H 'Authorization: Bearer ${minihost.token}' ${srv.command.endpoint} -d 'plugman reload vp_server_integration'"/>
<arg value="curl -k -X POST -H 'Authorization: Bearer ${minihost.token}' ${srv.command.endpoint} -d 'plugman reload VpcSpigotIntegration'"/>
</exec>
<!-- <echo message="SENDING restart request to ${srv.restart.endpoint}"/>-->
<!-- <echo message="curl -k -X POST -H 'Authorization: Bearer ${minihost.token}' ${srv.restart.endpoint}"/>-->

View File

@ -62,7 +62,6 @@ class VpcServerIntegration() : JavaPlugin(), CommandExecutor {
// Utility instances
lateinit var LOGGER: MyLogger
lateinit var SERVER: org.bukkit.Server
// var PLUGIN: org.bukkit.plugin.Plugin = Bukkit.getPluginManager().getPlugin("vp_server_integration")
lateinit var PLUGIN: org.bukkit.plugin.Plugin
// For background checks

View File

@ -1,7 +1,7 @@
name: vp_server_integration
name: VpcSpigotIntegration
version: '1.0'
main: main.VpcSpigotIntegration.VpcServerIntegration
load: STARTUP
load: POSTWORLD
authors: [ _SAN5_SkeLet0n_ ]
description: Integrate VPC into your server
website: voidproject.del.pw