mirror of
https://github.com/plexusorg/BukkitTelnet.git
synced 2024-11-21 20:25:01 +00:00
Update dependencies and remove support for ranks
This commit is contained in:
parent
0a0a070d7f
commit
ebad516eb6
25
build.gradle
25
build.gradle
@ -1,12 +1,12 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "java"
|
id "java"
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
id "net.minecrell.plugin-yml.bukkit" version "0.6.1-SNAPSHOT"
|
id "net.minecrell.plugin-yml.bukkit" version "0.6.0"
|
||||||
id 'com.github.johnrengelman.shadow' version '7.1.2'
|
id "com.gradleup.shadow" version "8.3.3"
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "me.totalfreedom"
|
group = "me.totalfreedom"
|
||||||
version = "4.8"
|
version = "4.9"
|
||||||
description = "BukkitTelnet"
|
description = "BukkitTelnet"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@ -23,15 +23,16 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly "io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT"
|
compileOnly "io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT"
|
||||||
annotationProcessor "org.projectlombok:lombok:1.18.24"
|
annotationProcessor "org.projectlombok:lombok:1.18.34"
|
||||||
library "org.projectlombok:lombok:1.18.24"
|
library "org.projectlombok:lombok:1.18.34"
|
||||||
library "org.json:json:20220320"
|
library "org.json:json:20240303"
|
||||||
compileOnly("com.github.MilkBowl:VaultAPI:1.7") {
|
compileOnly("com.github.MilkBowl:VaultAPI:1.7.1") {
|
||||||
exclude group: "org.bukkit", module: "bukkit"
|
exclude group: "org.bukkit", module: "bukkit"
|
||||||
}
|
}
|
||||||
library "org.apache.logging.log4j:log4j-api:2.17.2"
|
implementation "org.apache.commons:commons-lang3:3.17.0"
|
||||||
library "org.apache.logging.log4j:log4j-core:2.17.2"
|
library "org.apache.logging.log4j:log4j-api:2.24.1"
|
||||||
|
library "org.apache.logging.log4j:log4j-core:2.24.1"
|
||||||
}
|
}
|
||||||
tasks {
|
tasks {
|
||||||
jar {
|
jar {
|
||||||
@ -40,7 +41,7 @@ tasks {
|
|||||||
}
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
|
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile) {
|
||||||
@ -50,7 +51,7 @@ tasks.withType(JavaCompile) {
|
|||||||
bukkit {
|
bukkit {
|
||||||
name = "BukkitTelnet"
|
name = "BukkitTelnet"
|
||||||
main = "me.totalfreedom.bukkittelnet.BukkitTelnet"
|
main = "me.totalfreedom.bukkittelnet.BukkitTelnet"
|
||||||
apiVersion = "1.18"
|
apiVersion = "1.20"
|
||||||
version = project.version
|
version = project.version
|
||||||
description = "Telnet console access plugin."
|
description = "Telnet console access plugin."
|
||||||
authors = ["bekvon", "Madgeek1450", "Prozza", "Taahh", "Telesphoreo"]
|
authors = ["bekvon", "Madgeek1450", "Prozza", "Taahh", "Telesphoreo"]
|
||||||
|
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
10
gradlew
vendored
10
gradlew
vendored
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright © 2015-2021 the original authors.
|
# Copyright © 2015-2021 the original authors.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@ -32,10 +32,10 @@
|
|||||||
# Busybox and similar reduced shells will NOT work, because this script
|
# Busybox and similar reduced shells will NOT work, because this script
|
||||||
# requires all of these POSIX shell features:
|
# requires all of these POSIX shell features:
|
||||||
# * functions;
|
# * functions;
|
||||||
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||||
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||||
# * compound commands having a testable exit status, especially «case»;
|
# * compound commands having a testable exit status, especially «case»;
|
||||||
# * various built-in commands including «command», «set», and «ulimit».
|
# * various built-in commands including «command», «set», and «ulimit».
|
||||||
#
|
#
|
||||||
# Important for patching:
|
# Important for patching:
|
||||||
#
|
#
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
pluginManagement {
|
pluginManagement {
|
||||||
repositories {
|
repositories {
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
maven {
|
|
||||||
url = uri("https://nexus.telesphoreo.me/repository/gradle-plugins/")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rootProject.name = 'bukkittelnet'
|
rootProject.name = 'BukkitTelnet'
|
||||||
|
@ -5,7 +5,7 @@ import java.util.HashMap;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import me.totalfreedom.bukkittelnet.api.TelnetRequestDataTagsEvent;
|
import me.totalfreedom.bukkittelnet.api.TelnetRequestDataTagsEvent;
|
||||||
import me.totalfreedom.bukkittelnet.api.TelnetRequestUsageEvent;
|
import me.totalfreedom.bukkittelnet.api.TelnetRequestUsageEvent;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package me.totalfreedom.bukkittelnet;
|
package me.totalfreedom.bukkittelnet;
|
||||||
|
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
import org.apache.commons.lang.exception.ExceptionUtils;
|
import org.apache.commons.lang3.exception.ExceptionUtils;
|
||||||
|
|
||||||
public final class TelnetLogger
|
public final class TelnetLogger
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,7 @@ package me.totalfreedom.bukkittelnet.thirdparty;
|
|||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStreamReader;
|
import java.io.InputStreamReader;
|
||||||
import org.apache.commons.lang.exception.ExceptionUtils;
|
import org.apache.commons.lang3.exception.ExceptionUtils;
|
||||||
import org.apache.logging.log4j.core.util.IOUtils;
|
import org.apache.logging.log4j.core.util.IOUtils;
|
||||||
import org.bukkit.configuration.file.YamlConfiguration;
|
import org.bukkit.configuration.file.YamlConfiguration;
|
||||||
import org.bukkit.plugin.Plugin;
|
import org.bukkit.plugin.Plugin;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# BukkitTelnet v4.8 Configuration File
|
# BukkitTelnet v4.9 Configuration File
|
||||||
|
|
||||||
# Address to listen on, leave blank for all
|
# Address to listen on, leave blank for all
|
||||||
address: ''
|
address: ''
|
||||||
|
Loading…
Reference in New Issue
Block a user