diff --git a/Plex-API/build.gradle b/Plex-API/build.gradle new file mode 100644 index 0000000..aebbee1 --- /dev/null +++ b/Plex-API/build.gradle @@ -0,0 +1,9 @@ +group = "dev.plex" +version = rootProject.version +description = "Plex-API" + +tasks.jar { + archiveBaseName.set("Plex-API") + archiveVersion.set("") +} + diff --git a/Plex-API/build/libs/Plex-API.jar b/Plex-API/build/libs/Plex-API.jar new file mode 100644 index 0000000..577a93e Binary files /dev/null and b/Plex-API/build/libs/Plex-API.jar differ diff --git a/Plex-API/build/tmp/jar/MANIFEST.MF b/Plex-API/build/tmp/jar/MANIFEST.MF new file mode 100644 index 0000000..58630c0 --- /dev/null +++ b/Plex-API/build/tmp/jar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/Plex-Core/build.gradle b/Plex-Core/build.gradle new file mode 100644 index 0000000..f89af1a --- /dev/null +++ b/Plex-Core/build.gradle @@ -0,0 +1,110 @@ +plugins { + id "java" + id "maven-publish" + id "net.minecrell.plugin-yml.bukkit" version "0.5.1" + id "com.github.johnrengelman.shadow" version "7.1.2" +} + +dependencies { + library "org.projectlombok:lombok:1.18.22" + annotationProcessor "org.projectlombok:lombok:1.18.22" + library "org.json:json:20220320" + library "commons-io:commons-io:2.11.0" + library "dev.morphia.morphia:morphia-core:2.2.6" + library "redis.clients:jedis:4.2.1" + library "org.mariadb.jdbc:mariadb-java-client:3.0.4" + library "com.zaxxer:HikariCP:5.0.1" + library "org.apache.httpcomponents:httpclient:4.5.13" + library "org.apache.commons:commons-lang3:3.12.0" + library "org.apache.maven.resolver:maven-resolver-api:1.7.3" + library "org.apache.maven.resolver:maven-resolver-impl:1.7.3" + library "org.apache.maven.resolver:maven-resolver-connector-basic:1.7.3" + library "org.apache.maven.resolver:maven-resolver-transport-http:1.7.3" + library "org.apache.maven:maven-resolver-provider:3.8.5" + library "org.eclipse.jetty:jetty-server:11.0.9" + library "org.eclipse.jetty:jetty-servlet:11.0.9" + library "org.eclipse.jetty:jetty-proxy:11.0.9" + library "com.google.code.gson:gson:2.9.0" + compileOnly "io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT" + implementation "org.bstats:bstats-base:3.0.0" + implementation "org.bstats:bstats-bukkit:3.0.0" +} + +group = "dev.plex" +version = rootProject.version +description = "Plex-Core" + +shadowJar { + archiveClassifier.set("") + archiveBaseName.set("Plex") + archiveVersion.set("") + relocate "org.bstats", "dev.plex" +} + +tasks.jar { + archiveBaseName.set("Plex") + archiveVersion.set("") +} + +bukkit { + name = "Plex" + version = rootProject.version + description = "Plex provides a new experience for freedom servers." + main = "dev.plex.Plex" + website = "https://plex.us.org" + authors = ["Telesphoreo", "taahanis", "super"] + apiVersion = "1.18" +} + +String getGitHash() { + def stdout = new ByteArrayOutputStream() + try { + exec { + commandLine "git", "rev-parse", "--short", "HEAD" + standardOutput = stdout + ignoreExitValue = true + } + } catch (GradleException e) { + logger.error("Couldn't determine Git head because Git is not installed. " + e.getMessage()) + } + return stdout.size() > 0 ? stdout.toString().trim() : "unknown" +} + +String getBuildNumber() { + def stdout = new ByteArrayOutputStream() + try { + exec { + commandLine "git", "rev-list", "HEAD", "--count" + standardOutput = stdout + ignoreExitValue = true + } + } catch (GradleException e) { + logger.error("Couldn't determine build number because Git is not installed. " + e.getMessage()) + } + return stdout.size() ? stdout.toString().trim() + " (local)" : "unknown" +} + +static def getDate() { + return new Date().format("MM/dd/yyyy 'at' hh:mm:ss a") +} + +task buildProperties { + ant.propertyfile(file: "$project.projectDir/src/main/resources/build.properties") { + entry(key: "buildAuthor", default: System.getenv("JENKINS_URL") != null ? "jenkins" : "unknown") + entry(key: "buildNumber", value: System.getenv("JENKINS_URL") != null ? System.getenv("BUILD_NUMBER") + " (Jenkins)" : getBuildNumber()) + entry(key: "buildDate", value: getDate()) + entry(key: "buildHead", value: getGitHash()) + } +} + +tasks { + build { + dependsOn(shadowJar) + finalizedBy(buildProperties) + finalizedBy(rootProject.tasks.copyJars) + } + + javadoc { + options.memberLevel = JavadocMemberLevel.PRIVATE + } +} \ No newline at end of file diff --git a/Plex-Core/build/classes/java/main/dev/plex/Plex$BuildProperties.class b/Plex-Core/build/classes/java/main/dev/plex/Plex$BuildProperties.class new file mode 100644 index 0000000..d8faab0 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/Plex$BuildProperties.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/Plex.class b/Plex-Core/build/classes/java/main/dev/plex/Plex.class new file mode 100644 index 0000000..d11c494 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/Plex.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/PlexBase.class b/Plex-Core/build/classes/java/main/dev/plex/PlexBase.class new file mode 100644 index 0000000..08713fd Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/PlexBase.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/admin/Admin.class b/Plex-Core/build/classes/java/main/dev/plex/admin/Admin.class new file mode 100644 index 0000000..cea065a Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/admin/Admin.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/admin/AdminList$1.class b/Plex-Core/build/classes/java/main/dev/plex/admin/AdminList$1.class new file mode 100644 index 0000000..ff7f831 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/admin/AdminList$1.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/admin/AdminList.class b/Plex-Core/build/classes/java/main/dev/plex/admin/AdminList.class new file mode 100644 index 0000000..314479d Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/admin/AdminList.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/cache/DataUtils.class b/Plex-Core/build/classes/java/main/dev/plex/cache/DataUtils.class new file mode 100644 index 0000000..1aa9185 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/cache/DataUtils.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/cache/notes/PlayerNotes.class b/Plex-Core/build/classes/java/main/dev/plex/cache/notes/PlayerNotes.class new file mode 100644 index 0000000..c3d26b7 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/cache/notes/PlayerNotes.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/cache/player/MongoPlayerData.class b/Plex-Core/build/classes/java/main/dev/plex/cache/player/MongoPlayerData.class new file mode 100644 index 0000000..d52e95b Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/cache/player/MongoPlayerData.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/cache/player/PlayerCache.class b/Plex-Core/build/classes/java/main/dev/plex/cache/player/PlayerCache.class new file mode 100644 index 0000000..5f34124 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/cache/player/PlayerCache.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/cache/player/SQLPlayerData$1.class b/Plex-Core/build/classes/java/main/dev/plex/cache/player/SQLPlayerData$1.class new file mode 100644 index 0000000..4985cea Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/cache/player/SQLPlayerData$1.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/cache/player/SQLPlayerData$2.class b/Plex-Core/build/classes/java/main/dev/plex/cache/player/SQLPlayerData$2.class new file mode 100644 index 0000000..d59543b Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/cache/player/SQLPlayerData$2.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/cache/player/SQLPlayerData$3.class b/Plex-Core/build/classes/java/main/dev/plex/cache/player/SQLPlayerData$3.class new file mode 100644 index 0000000..d648970 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/cache/player/SQLPlayerData$3.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/cache/player/SQLPlayerData.class b/Plex-Core/build/classes/java/main/dev/plex/cache/player/SQLPlayerData.class new file mode 100644 index 0000000..80d3511 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/cache/player/SQLPlayerData.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/cache/sql/SQLNotes.class b/Plex-Core/build/classes/java/main/dev/plex/cache/sql/SQLNotes.class new file mode 100644 index 0000000..d8672fb Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/cache/sql/SQLNotes.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/cache/sql/SQLPunishment.class b/Plex-Core/build/classes/java/main/dev/plex/cache/sql/SQLPunishment.class new file mode 100644 index 0000000..0b800b4 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/cache/sql/SQLPunishment.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/PlexCommand.class b/Plex-Core/build/classes/java/main/dev/plex/command/PlexCommand.class new file mode 100644 index 0000000..94e3dc2 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/PlexCommand.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/annotation/CommandParameters.class b/Plex-Core/build/classes/java/main/dev/plex/command/annotation/CommandParameters.class new file mode 100644 index 0000000..e546b66 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/annotation/CommandParameters.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/annotation/CommandPermissions.class b/Plex-Core/build/classes/java/main/dev/plex/command/annotation/CommandPermissions.class new file mode 100644 index 0000000..afcdf0c Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/annotation/CommandPermissions.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/annotation/System.class b/Plex-Core/build/classes/java/main/dev/plex/command/annotation/System.class new file mode 100644 index 0000000..f4ac2cf Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/annotation/System.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/blocker/BaseCommand.class b/Plex-Core/build/classes/java/main/dev/plex/command/blocker/BaseCommand.class new file mode 100644 index 0000000..8cf0aaf Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/blocker/BaseCommand.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/blocker/CommandBlockerManager.class b/Plex-Core/build/classes/java/main/dev/plex/command/blocker/CommandBlockerManager.class new file mode 100644 index 0000000..f67bd70 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/blocker/CommandBlockerManager.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/blocker/MatchCommand.class b/Plex-Core/build/classes/java/main/dev/plex/command/blocker/MatchCommand.class new file mode 100644 index 0000000..2e877b2 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/blocker/MatchCommand.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/blocker/RegexCommand.class b/Plex-Core/build/classes/java/main/dev/plex/command/blocker/RegexCommand.class new file mode 100644 index 0000000..5b88d56 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/blocker/RegexCommand.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/exception/CommandFailException.class b/Plex-Core/build/classes/java/main/dev/plex/command/exception/CommandFailException.class new file mode 100644 index 0000000..8859925 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/exception/CommandFailException.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/exception/ConsoleMustDefinePlayerException.class b/Plex-Core/build/classes/java/main/dev/plex/command/exception/ConsoleMustDefinePlayerException.class new file mode 100644 index 0000000..02e9beb Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/exception/ConsoleMustDefinePlayerException.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/exception/ConsoleOnlyException.class b/Plex-Core/build/classes/java/main/dev/plex/command/exception/ConsoleOnlyException.class new file mode 100644 index 0000000..97f3e93 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/exception/ConsoleOnlyException.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/exception/PlayerNotBannedException.class b/Plex-Core/build/classes/java/main/dev/plex/command/exception/PlayerNotBannedException.class new file mode 100644 index 0000000..e2367f1 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/exception/PlayerNotBannedException.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/exception/PlayerNotFoundException.class b/Plex-Core/build/classes/java/main/dev/plex/command/exception/PlayerNotFoundException.class new file mode 100644 index 0000000..7044620 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/exception/PlayerNotFoundException.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/AdminCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/AdminCMD.class new file mode 100644 index 0000000..ee304ef Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/AdminCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/AdminChatCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/AdminChatCMD.class new file mode 100644 index 0000000..aa2ec94 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/AdminChatCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/AdminworldCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/AdminworldCMD.class new file mode 100644 index 0000000..4302134 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/AdminworldCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/AdventureCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/AdventureCMD.class new file mode 100644 index 0000000..88c2f4d Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/AdventureCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/BanCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/BanCMD.class new file mode 100644 index 0000000..903b353 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/BanCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/BlockEditCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/BlockEditCMD.class new file mode 100644 index 0000000..5a9f348 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/BlockEditCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/CommandSpyCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/CommandSpyCMD.class new file mode 100644 index 0000000..18e51fd Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/CommandSpyCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/CreativeCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/CreativeCMD.class new file mode 100644 index 0000000..d57aafe Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/CreativeCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/DebugCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/DebugCMD.class new file mode 100644 index 0000000..b0cef4d Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/DebugCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/DeopAllCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/DeopAllCMD.class new file mode 100644 index 0000000..21e5907 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/DeopAllCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/DeopCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/DeopCMD.class new file mode 100644 index 0000000..1beab7e Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/DeopCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/EntityWipeCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/EntityWipeCMD.class new file mode 100644 index 0000000..0589e1e Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/EntityWipeCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/FlatlandsCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/FlatlandsCMD.class new file mode 100644 index 0000000..ea6e4d2 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/FlatlandsCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/FreezeCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/FreezeCMD.class new file mode 100644 index 0000000..5c47a8f Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/FreezeCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/KickCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/KickCMD.class new file mode 100644 index 0000000..c0b4801 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/KickCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/ListCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/ListCMD.class new file mode 100644 index 0000000..873f241 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/ListCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/LocalSpawnCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/LocalSpawnCMD.class new file mode 100644 index 0000000..8b9fc20 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/LocalSpawnCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/LockupCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/LockupCMD.class new file mode 100644 index 0000000..38781cc Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/LockupCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/MasterbuilderworldCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/MasterbuilderworldCMD.class new file mode 100644 index 0000000..5aa130a Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/MasterbuilderworldCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/MobPurgeCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/MobPurgeCMD.class new file mode 100644 index 0000000..5bc09c3 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/MobPurgeCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/MuteCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/MuteCMD.class new file mode 100644 index 0000000..48f45fa Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/MuteCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/NameHistoryCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/NameHistoryCMD.class new file mode 100644 index 0000000..107ccf5 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/NameHistoryCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/NotesCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/NotesCMD.class new file mode 100644 index 0000000..b498bf3 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/NotesCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/OpAllCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/OpAllCMD.class new file mode 100644 index 0000000..115dbd4 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/OpAllCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/OpCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/OpCMD.class new file mode 100644 index 0000000..ea40c14 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/OpCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/PlexCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/PlexCMD.class new file mode 100644 index 0000000..4fa8968 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/PlexCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/PunishmentsCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/PunishmentsCMD.class new file mode 100644 index 0000000..49eabfc Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/PunishmentsCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/RankCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/RankCMD.class new file mode 100644 index 0000000..397a007 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/RankCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/RawSayCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/RawSayCMD.class new file mode 100644 index 0000000..4c1c36e Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/RawSayCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/SmiteCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/SmiteCMD.class new file mode 100644 index 0000000..6b96f5d Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/SmiteCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/SpectatorCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/SpectatorCMD.class new file mode 100644 index 0000000..cca6f83 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/SpectatorCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/SurvivalCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/SurvivalCMD.class new file mode 100644 index 0000000..1735c4a Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/SurvivalCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/TagCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/TagCMD.class new file mode 100644 index 0000000..2813abc Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/TagCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/TempbanCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/TempbanCMD.class new file mode 100644 index 0000000..2d737d8 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/TempbanCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/ToggleDropsCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/ToggleDropsCMD.class new file mode 100644 index 0000000..3a3e74e Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/ToggleDropsCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/UnbanCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/UnbanCMD.class new file mode 100644 index 0000000..e1093bc Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/UnbanCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/UnfreezeCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/UnfreezeCMD.class new file mode 100644 index 0000000..0f154e4 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/UnfreezeCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/UnmuteCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/UnmuteCMD.class new file mode 100644 index 0000000..8fcacaf Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/UnmuteCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/impl/WorldCMD.class b/Plex-Core/build/classes/java/main/dev/plex/command/impl/WorldCMD.class new file mode 100644 index 0000000..ec15371 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/impl/WorldCMD.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/command/source/RequiredCommandSource.class b/Plex-Core/build/classes/java/main/dev/plex/command/source/RequiredCommandSource.class new file mode 100644 index 0000000..a4bde71 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/command/source/RequiredCommandSource.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/config/Config.class b/Plex-Core/build/classes/java/main/dev/plex/config/Config.class new file mode 100644 index 0000000..39c0261 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/config/Config.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/config/ModuleConfig.class b/Plex-Core/build/classes/java/main/dev/plex/config/ModuleConfig.class new file mode 100644 index 0000000..07f696a Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/config/ModuleConfig.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/event/AdminAddEvent.class b/Plex-Core/build/classes/java/main/dev/plex/event/AdminAddEvent.class new file mode 100644 index 0000000..c276db9 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/event/AdminAddEvent.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/event/AdminRemoveEvent.class b/Plex-Core/build/classes/java/main/dev/plex/event/AdminRemoveEvent.class new file mode 100644 index 0000000..cb08762 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/event/AdminRemoveEvent.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/event/AdminSetRankEvent.class b/Plex-Core/build/classes/java/main/dev/plex/event/AdminSetRankEvent.class new file mode 100644 index 0000000..18b73b2 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/event/AdminSetRankEvent.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/event/GameModeUpdateEvent.class b/Plex-Core/build/classes/java/main/dev/plex/event/GameModeUpdateEvent.class new file mode 100644 index 0000000..8925096 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/event/GameModeUpdateEvent.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/event/PunishedPlayerEvent.class b/Plex-Core/build/classes/java/main/dev/plex/event/PunishedPlayerEvent.class new file mode 100644 index 0000000..022f687 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/event/PunishedPlayerEvent.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/event/PunishedPlayerFreezeEvent.class b/Plex-Core/build/classes/java/main/dev/plex/event/PunishedPlayerFreezeEvent.class new file mode 100644 index 0000000..7e60902 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/event/PunishedPlayerFreezeEvent.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/event/PunishedPlayerLockupEvent.class b/Plex-Core/build/classes/java/main/dev/plex/event/PunishedPlayerLockupEvent.class new file mode 100644 index 0000000..8f08cca Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/event/PunishedPlayerLockupEvent.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/event/PunishedPlayerMuteEvent.class b/Plex-Core/build/classes/java/main/dev/plex/event/PunishedPlayerMuteEvent.class new file mode 100644 index 0000000..ac0feb2 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/event/PunishedPlayerMuteEvent.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/handlers/CommandHandler.class b/Plex-Core/build/classes/java/main/dev/plex/handlers/CommandHandler.class new file mode 100644 index 0000000..0e83c93 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/handlers/CommandHandler.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/handlers/ListenerHandler.class b/Plex-Core/build/classes/java/main/dev/plex/handlers/ListenerHandler.class new file mode 100644 index 0000000..776d96c Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/handlers/ListenerHandler.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/PlexListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/PlexListener.class new file mode 100644 index 0000000..be9564b Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/PlexListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/annotation/Toggleable.class b/Plex-Core/build/classes/java/main/dev/plex/listener/annotation/Toggleable.class new file mode 100644 index 0000000..97ecab2 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/annotation/Toggleable.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/AdminListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/AdminListener.class new file mode 100644 index 0000000..90421a4 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/AdminListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/BanListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/BanListener.class new file mode 100644 index 0000000..5050515 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/BanListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/BlockListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/BlockListener.class new file mode 100644 index 0000000..f73400a Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/BlockListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/ChatListener$PlexChatRenderer.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/ChatListener$PlexChatRenderer.class new file mode 100644 index 0000000..2557184 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/ChatListener$PlexChatRenderer.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/ChatListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/ChatListener.class new file mode 100644 index 0000000..f20c4a6 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/ChatListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/CommandListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/CommandListener.class new file mode 100644 index 0000000..a9710d0 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/CommandListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/DropListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/DropListener.class new file mode 100644 index 0000000..a3ac4a5 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/DropListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/FreezeListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/FreezeListener.class new file mode 100644 index 0000000..38135da Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/FreezeListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/GameModeListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/GameModeListener.class new file mode 100644 index 0000000..2288e69 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/GameModeListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/MuteListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/MuteListener.class new file mode 100644 index 0000000..82ea4d3 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/MuteListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/PlayerListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/PlayerListener.class new file mode 100644 index 0000000..ba924a5 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/PlayerListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/ServerListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/ServerListener.class new file mode 100644 index 0000000..6cdeb0f Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/ServerListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/SpawnListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/SpawnListener.class new file mode 100644 index 0000000..bc36d78 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/SpawnListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/TabListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/TabListener.class new file mode 100644 index 0000000..b6c2c70 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/TabListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/WorldListener$1.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/WorldListener$1.class new file mode 100644 index 0000000..8b88359 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/WorldListener$1.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/listener/impl/WorldListener.class b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/WorldListener.class new file mode 100644 index 0000000..1efe2eb Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/listener/impl/WorldListener.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/menu/PunishedPlayerMenu.class b/Plex-Core/build/classes/java/main/dev/plex/menu/PunishedPlayerMenu.class new file mode 100644 index 0000000..525ce42 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/menu/PunishedPlayerMenu.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/menu/PunishmentMenu.class b/Plex-Core/build/classes/java/main/dev/plex/menu/PunishmentMenu.class new file mode 100644 index 0000000..06d29a2 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/menu/PunishmentMenu.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/module/ModuleManager.class b/Plex-Core/build/classes/java/main/dev/plex/module/ModuleManager.class new file mode 100644 index 0000000..19e75b9 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/module/ModuleManager.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/module/PlexModule.class b/Plex-Core/build/classes/java/main/dev/plex/module/PlexModule.class new file mode 100644 index 0000000..a7b58d8 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/module/PlexModule.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/module/PlexModuleFile.class b/Plex-Core/build/classes/java/main/dev/plex/module/PlexModuleFile.class new file mode 100644 index 0000000..f874b1f Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/module/PlexModuleFile.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/module/exception/ModuleLoadException.class b/Plex-Core/build/classes/java/main/dev/plex/module/exception/ModuleLoadException.class new file mode 100644 index 0000000..6a0f648 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/module/exception/ModuleLoadException.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/module/loader/CustomClassLoader.class b/Plex-Core/build/classes/java/main/dev/plex/module/loader/CustomClassLoader.class new file mode 100644 index 0000000..c99addf Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/module/loader/CustomClassLoader.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/module/loader/LibraryLoader$1.class b/Plex-Core/build/classes/java/main/dev/plex/module/loader/LibraryLoader$1.class new file mode 100644 index 0000000..8b0dc79 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/module/loader/LibraryLoader$1.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/module/loader/LibraryLoader.class b/Plex-Core/build/classes/java/main/dev/plex/module/loader/LibraryLoader.class new file mode 100644 index 0000000..c248bdb Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/module/loader/LibraryLoader.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/player/PlexPlayer.class b/Plex-Core/build/classes/java/main/dev/plex/player/PlexPlayer.class new file mode 100644 index 0000000..aaf1a81 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/player/PlexPlayer.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/punishment/Punishment.class b/Plex-Core/build/classes/java/main/dev/plex/punishment/Punishment.class new file mode 100644 index 0000000..25a344e Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/punishment/Punishment.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$1.class b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$1.class new file mode 100644 index 0000000..a827f96 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$1.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$2.class b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$2.class new file mode 100644 index 0000000..e682a65 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$2.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$3.class b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$3.class new file mode 100644 index 0000000..48de1b1 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$3.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$4.class b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$4.class new file mode 100644 index 0000000..732e6b1 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$4.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$5.class b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$5.class new file mode 100644 index 0000000..250739a Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$5.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$IndefiniteBan.class b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$IndefiniteBan.class new file mode 100644 index 0000000..61a62c9 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager$IndefiniteBan.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager.class b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager.class new file mode 100644 index 0000000..1a8e30b Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentManager.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentType.class b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentType.class new file mode 100644 index 0000000..2b15160 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/punishment/PunishmentType.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/punishment/extra/Note.class b/Plex-Core/build/classes/java/main/dev/plex/punishment/extra/Note.class new file mode 100644 index 0000000..9d09bcd Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/punishment/extra/Note.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/rank/RankManager.class b/Plex-Core/build/classes/java/main/dev/plex/rank/RankManager.class new file mode 100644 index 0000000..d65cd87 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/rank/RankManager.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/rank/enums/Rank.class b/Plex-Core/build/classes/java/main/dev/plex/rank/enums/Rank.class new file mode 100644 index 0000000..926603b Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/rank/enums/Rank.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/rank/enums/Title.class b/Plex-Core/build/classes/java/main/dev/plex/rank/enums/Title.class new file mode 100644 index 0000000..8549cd6 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/rank/enums/Title.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/services/AbstractService.class b/Plex-Core/build/classes/java/main/dev/plex/services/AbstractService.class new file mode 100644 index 0000000..cb2633c Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/services/AbstractService.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/services/IService.class b/Plex-Core/build/classes/java/main/dev/plex/services/IService.class new file mode 100644 index 0000000..425d35d Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/services/IService.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/services/ServiceManager.class b/Plex-Core/build/classes/java/main/dev/plex/services/ServiceManager.class new file mode 100644 index 0000000..9791ed1 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/services/ServiceManager.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/services/impl/AutoWipeService.class b/Plex-Core/build/classes/java/main/dev/plex/services/impl/AutoWipeService.class new file mode 100644 index 0000000..4e9820d Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/services/impl/AutoWipeService.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/services/impl/BanService.class b/Plex-Core/build/classes/java/main/dev/plex/services/impl/BanService.class new file mode 100644 index 0000000..d5283ac Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/services/impl/BanService.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/services/impl/CommandBlockerService.class b/Plex-Core/build/classes/java/main/dev/plex/services/impl/CommandBlockerService.class new file mode 100644 index 0000000..3f7e37f Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/services/impl/CommandBlockerService.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/services/impl/GameRuleService.class b/Plex-Core/build/classes/java/main/dev/plex/services/impl/GameRuleService.class new file mode 100644 index 0000000..7d76123 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/services/impl/GameRuleService.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/services/impl/UpdateCheckerService.class b/Plex-Core/build/classes/java/main/dev/plex/services/impl/UpdateCheckerService.class new file mode 100644 index 0000000..0a8e50c Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/services/impl/UpdateCheckerService.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/storage/MongoConnection.class b/Plex-Core/build/classes/java/main/dev/plex/storage/MongoConnection.class new file mode 100644 index 0000000..5ce09c6 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/storage/MongoConnection.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/storage/RedisConnection.class b/Plex-Core/build/classes/java/main/dev/plex/storage/RedisConnection.class new file mode 100644 index 0000000..86c4281 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/storage/RedisConnection.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/storage/SQLConnection.class b/Plex-Core/build/classes/java/main/dev/plex/storage/SQLConnection.class new file mode 100644 index 0000000..8308ab3 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/storage/SQLConnection.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/storage/StorageType.class b/Plex-Core/build/classes/java/main/dev/plex/storage/StorageType.class new file mode 100644 index 0000000..a45774c Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/storage/StorageType.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/AshconInfo$SkinData.class b/Plex-Core/build/classes/java/main/dev/plex/util/AshconInfo$SkinData.class new file mode 100644 index 0000000..ef0935e Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/AshconInfo$SkinData.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/AshconInfo$Textures.class b/Plex-Core/build/classes/java/main/dev/plex/util/AshconInfo$Textures.class new file mode 100644 index 0000000..1b15e7d Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/AshconInfo$Textures.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/AshconInfo$UsernameHistory.class b/Plex-Core/build/classes/java/main/dev/plex/util/AshconInfo$UsernameHistory.class new file mode 100644 index 0000000..982bc85 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/AshconInfo$UsernameHistory.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/AshconInfo.class b/Plex-Core/build/classes/java/main/dev/plex/util/AshconInfo.class new file mode 100644 index 0000000..50162dc Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/AshconInfo.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/MojangUtils.class b/Plex-Core/build/classes/java/main/dev/plex/util/MojangUtils.class new file mode 100644 index 0000000..c25ba2a Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/MojangUtils.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/PlexLog.class b/Plex-Core/build/classes/java/main/dev/plex/util/PlexLog.class new file mode 100644 index 0000000..046c3f8 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/PlexLog.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/PlexUtils$1.class b/Plex-Core/build/classes/java/main/dev/plex/util/PlexUtils$1.class new file mode 100644 index 0000000..fecb0a5 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/PlexUtils$1.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/PlexUtils.class b/Plex-Core/build/classes/java/main/dev/plex/util/PlexUtils.class new file mode 100644 index 0000000..b7eaa0e Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/PlexUtils.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/TimeUnit.class b/Plex-Core/build/classes/java/main/dev/plex/util/TimeUnit.class new file mode 100644 index 0000000..2ae74ea Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/TimeUnit.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/UpdateChecker.class b/Plex-Core/build/classes/java/main/dev/plex/util/UpdateChecker.class new file mode 100644 index 0000000..c2a7240 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/UpdateChecker.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/adapter/LocalDateTimeDeserializer.class b/Plex-Core/build/classes/java/main/dev/plex/util/adapter/LocalDateTimeDeserializer.class new file mode 100644 index 0000000..fd91f27 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/adapter/LocalDateTimeDeserializer.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/adapter/LocalDateTimeSerializer.class b/Plex-Core/build/classes/java/main/dev/plex/util/adapter/LocalDateTimeSerializer.class new file mode 100644 index 0000000..9de2a95 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/adapter/LocalDateTimeSerializer.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/item/ItemBuilder.class b/Plex-Core/build/classes/java/main/dev/plex/util/item/ItemBuilder.class new file mode 100644 index 0000000..a25f716 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/item/ItemBuilder.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/menu/AbstractMenu.class b/Plex-Core/build/classes/java/main/dev/plex/util/menu/AbstractMenu.class new file mode 100644 index 0000000..e6ac0ba Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/menu/AbstractMenu.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/util/menu/IMenu.class b/Plex-Core/build/classes/java/main/dev/plex/util/menu/IMenu.class new file mode 100644 index 0000000..df70b49 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/util/menu/IMenu.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/world/BlockMapChunkGenerator.class b/Plex-Core/build/classes/java/main/dev/plex/world/BlockMapChunkGenerator.class new file mode 100644 index 0000000..ff53f3d Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/world/BlockMapChunkGenerator.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/world/ConfigurationChunkGenerator.class b/Plex-Core/build/classes/java/main/dev/plex/world/ConfigurationChunkGenerator.class new file mode 100644 index 0000000..ed95e50 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/world/ConfigurationChunkGenerator.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/world/CustomChunkGenerator.class b/Plex-Core/build/classes/java/main/dev/plex/world/CustomChunkGenerator.class new file mode 100644 index 0000000..58f8ad5 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/world/CustomChunkGenerator.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/world/CustomWorld$1.class b/Plex-Core/build/classes/java/main/dev/plex/world/CustomWorld$1.class new file mode 100644 index 0000000..a68496c Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/world/CustomWorld$1.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/world/CustomWorld.class b/Plex-Core/build/classes/java/main/dev/plex/world/CustomWorld.class new file mode 100644 index 0000000..aab4711 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/world/CustomWorld.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/world/FlatChunkGenerator.class b/Plex-Core/build/classes/java/main/dev/plex/world/FlatChunkGenerator.class new file mode 100644 index 0000000..f09c7d5 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/world/FlatChunkGenerator.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/world/NoiseChunkGenerator.class b/Plex-Core/build/classes/java/main/dev/plex/world/NoiseChunkGenerator.class new file mode 100644 index 0000000..a6cc818 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/world/NoiseChunkGenerator.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/world/NoiseOptions.class b/Plex-Core/build/classes/java/main/dev/plex/world/NoiseOptions.class new file mode 100644 index 0000000..9dbb5e1 Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/world/NoiseOptions.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/world/OctaveChunkGenerator.class b/Plex-Core/build/classes/java/main/dev/plex/world/OctaveChunkGenerator.class new file mode 100644 index 0000000..f23b7ef Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/world/OctaveChunkGenerator.class differ diff --git a/Plex-Core/build/classes/java/main/dev/plex/world/OctaveOptions.class b/Plex-Core/build/classes/java/main/dev/plex/world/OctaveOptions.class new file mode 100644 index 0000000..5696d6d Binary files /dev/null and b/Plex-Core/build/classes/java/main/dev/plex/world/OctaveOptions.class differ diff --git a/Plex-Core/build/generated/plugin-yml/Bukkit/plugin.yml b/Plex-Core/build/generated/plugin-yml/Bukkit/plugin.yml new file mode 100644 index 0000000..fac8a5e --- /dev/null +++ b/Plex-Core/build/generated/plugin-yml/Bukkit/plugin.yml @@ -0,0 +1,29 @@ +name: Plex +version: 1.0.1-SNAPSHOT +main: dev.plex.Plex +description: Plex provides a new experience for freedom servers. +authors: + - Telesphoreo + - taahanis + - super +website: https://plex.us.org +libraries: + - org.projectlombok:lombok:1.18.22 + - org.json:json:20220320 + - commons-io:commons-io:2.11.0 + - dev.morphia.morphia:morphia-core:2.2.6 + - redis.clients:jedis:4.2.1 + - org.mariadb.jdbc:mariadb-java-client:3.0.4 + - com.zaxxer:HikariCP:5.0.1 + - org.apache.httpcomponents:httpclient:4.5.13 + - org.apache.commons:commons-lang3:3.12.0 + - org.apache.maven.resolver:maven-resolver-api:1.7.3 + - org.apache.maven.resolver:maven-resolver-impl:1.7.3 + - org.apache.maven.resolver:maven-resolver-connector-basic:1.7.3 + - org.apache.maven.resolver:maven-resolver-transport-http:1.7.3 + - org.apache.maven:maven-resolver-provider:3.8.5 + - org.eclipse.jetty:jetty-server:11.0.9 + - org.eclipse.jetty:jetty-servlet:11.0.9 + - org.eclipse.jetty:jetty-proxy:11.0.9 + - com.google.code.gson:gson:2.9.0 +api-version: 1.18 diff --git a/Plex-Core/build/libs/Plex.jar b/Plex-Core/build/libs/Plex.jar new file mode 100644 index 0000000..65b0c03 Binary files /dev/null and b/Plex-Core/build/libs/Plex.jar differ diff --git a/Plex-Core/build/resources/main/build.properties b/Plex-Core/build/resources/main/build.properties new file mode 100644 index 0000000..1e1d7b1 --- /dev/null +++ b/Plex-Core/build/resources/main/build.properties @@ -0,0 +1,5 @@ +#Sat, 09 Apr 2022 23:50:45 -0500 +buildAuthor=Telesphoreo +buildNumber=375 (local) +buildDate=04/09/2022 at 11\:50\:45 PM +buildHead=de20747 diff --git a/src/main/resources/commands.yml b/Plex-Core/build/resources/main/commands.yml similarity index 100% rename from src/main/resources/commands.yml rename to Plex-Core/build/resources/main/commands.yml diff --git a/src/main/resources/config.yml b/Plex-Core/build/resources/main/config.yml similarity index 100% rename from src/main/resources/config.yml rename to Plex-Core/build/resources/main/config.yml diff --git a/src/main/resources/indefbans.yml b/Plex-Core/build/resources/main/indefbans.yml similarity index 100% rename from src/main/resources/indefbans.yml rename to Plex-Core/build/resources/main/indefbans.yml diff --git a/src/main/resources/messages.yml b/Plex-Core/build/resources/main/messages.yml similarity index 100% rename from src/main/resources/messages.yml rename to Plex-Core/build/resources/main/messages.yml diff --git a/Plex-Core/build/resources/main/plugin.yml b/Plex-Core/build/resources/main/plugin.yml new file mode 100644 index 0000000..fac8a5e --- /dev/null +++ b/Plex-Core/build/resources/main/plugin.yml @@ -0,0 +1,29 @@ +name: Plex +version: 1.0.1-SNAPSHOT +main: dev.plex.Plex +description: Plex provides a new experience for freedom servers. +authors: + - Telesphoreo + - taahanis + - super +website: https://plex.us.org +libraries: + - org.projectlombok:lombok:1.18.22 + - org.json:json:20220320 + - commons-io:commons-io:2.11.0 + - dev.morphia.morphia:morphia-core:2.2.6 + - redis.clients:jedis:4.2.1 + - org.mariadb.jdbc:mariadb-java-client:3.0.4 + - com.zaxxer:HikariCP:5.0.1 + - org.apache.httpcomponents:httpclient:4.5.13 + - org.apache.commons:commons-lang3:3.12.0 + - org.apache.maven.resolver:maven-resolver-api:1.7.3 + - org.apache.maven.resolver:maven-resolver-impl:1.7.3 + - org.apache.maven.resolver:maven-resolver-connector-basic:1.7.3 + - org.apache.maven.resolver:maven-resolver-transport-http:1.7.3 + - org.apache.maven:maven-resolver-provider:3.8.5 + - org.eclipse.jetty:jetty-server:11.0.9 + - org.eclipse.jetty:jetty-servlet:11.0.9 + - org.eclipse.jetty:jetty-proxy:11.0.9 + - com.google.code.gson:gson:2.9.0 +api-version: 1.18 diff --git a/Plex-Core/build/tmp/compileJava/previous-compilation-data.bin b/Plex-Core/build/tmp/compileJava/previous-compilation-data.bin new file mode 100644 index 0000000..dec41c3 Binary files /dev/null and b/Plex-Core/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/Plex-Core/build/tmp/jar/MANIFEST.MF b/Plex-Core/build/tmp/jar/MANIFEST.MF new file mode 100644 index 0000000..58630c0 --- /dev/null +++ b/Plex-Core/build/tmp/jar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/Plex-Core/build/tmp/shadowJar/MANIFEST.MF b/Plex-Core/build/tmp/shadowJar/MANIFEST.MF new file mode 100644 index 0000000..58630c0 --- /dev/null +++ b/Plex-Core/build/tmp/shadowJar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/src/main/java/dev/plex/Plex.java b/Plex-Core/src/main/java/dev/plex/Plex.java similarity index 100% rename from src/main/java/dev/plex/Plex.java rename to Plex-Core/src/main/java/dev/plex/Plex.java diff --git a/src/main/java/dev/plex/PlexBase.java b/Plex-Core/src/main/java/dev/plex/PlexBase.java similarity index 100% rename from src/main/java/dev/plex/PlexBase.java rename to Plex-Core/src/main/java/dev/plex/PlexBase.java diff --git a/src/main/java/dev/plex/admin/Admin.java b/Plex-Core/src/main/java/dev/plex/admin/Admin.java similarity index 100% rename from src/main/java/dev/plex/admin/Admin.java rename to Plex-Core/src/main/java/dev/plex/admin/Admin.java diff --git a/src/main/java/dev/plex/admin/AdminList.java b/Plex-Core/src/main/java/dev/plex/admin/AdminList.java similarity index 100% rename from src/main/java/dev/plex/admin/AdminList.java rename to Plex-Core/src/main/java/dev/plex/admin/AdminList.java diff --git a/src/main/java/dev/plex/cache/DataUtils.java b/Plex-Core/src/main/java/dev/plex/cache/DataUtils.java similarity index 99% rename from src/main/java/dev/plex/cache/DataUtils.java rename to Plex-Core/src/main/java/dev/plex/cache/DataUtils.java index 156f291..d038660 100644 --- a/src/main/java/dev/plex/cache/DataUtils.java +++ b/Plex-Core/src/main/java/dev/plex/cache/DataUtils.java @@ -5,7 +5,6 @@ import dev.plex.cache.player.PlayerCache; import dev.plex.player.PlexPlayer; import dev.plex.storage.StorageType; import java.util.UUID; -import org.bukkit.Bukkit; /** * Parent cache class diff --git a/src/main/java/dev/plex/cache/notes/PlayerNotes.java b/Plex-Core/src/main/java/dev/plex/cache/notes/PlayerNotes.java similarity index 90% rename from src/main/java/dev/plex/cache/notes/PlayerNotes.java rename to Plex-Core/src/main/java/dev/plex/cache/notes/PlayerNotes.java index 658d455..397e8ef 100644 --- a/src/main/java/dev/plex/cache/notes/PlayerNotes.java +++ b/Plex-Core/src/main/java/dev/plex/cache/notes/PlayerNotes.java @@ -1,15 +1,11 @@ package dev.plex.cache.notes; -import com.google.common.reflect.TypeToken; -import com.google.gson.Gson; import dev.plex.Plex; -import dev.plex.cache.player.PlayerCache; import dev.plex.player.PlexPlayer; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; -import java.util.List; import java.util.UUID; public class PlayerNotes diff --git a/src/main/java/dev/plex/cache/player/MongoPlayerData.java b/Plex-Core/src/main/java/dev/plex/cache/player/MongoPlayerData.java similarity index 100% rename from src/main/java/dev/plex/cache/player/MongoPlayerData.java rename to Plex-Core/src/main/java/dev/plex/cache/player/MongoPlayerData.java diff --git a/src/main/java/dev/plex/cache/player/PlayerCache.java b/Plex-Core/src/main/java/dev/plex/cache/player/PlayerCache.java similarity index 100% rename from src/main/java/dev/plex/cache/player/PlayerCache.java rename to Plex-Core/src/main/java/dev/plex/cache/player/PlayerCache.java diff --git a/src/main/java/dev/plex/cache/player/SQLPlayerData.java b/Plex-Core/src/main/java/dev/plex/cache/player/SQLPlayerData.java similarity index 100% rename from src/main/java/dev/plex/cache/player/SQLPlayerData.java rename to Plex-Core/src/main/java/dev/plex/cache/player/SQLPlayerData.java diff --git a/src/main/java/dev/plex/cache/sql/SQLNotes.java b/Plex-Core/src/main/java/dev/plex/cache/sql/SQLNotes.java similarity index 100% rename from src/main/java/dev/plex/cache/sql/SQLNotes.java rename to Plex-Core/src/main/java/dev/plex/cache/sql/SQLNotes.java diff --git a/src/main/java/dev/plex/cache/sql/SQLPunishment.java b/Plex-Core/src/main/java/dev/plex/cache/sql/SQLPunishment.java similarity index 100% rename from src/main/java/dev/plex/cache/sql/SQLPunishment.java rename to Plex-Core/src/main/java/dev/plex/cache/sql/SQLPunishment.java diff --git a/src/main/java/dev/plex/command/PlexCommand.java b/Plex-Core/src/main/java/dev/plex/command/PlexCommand.java similarity index 100% rename from src/main/java/dev/plex/command/PlexCommand.java rename to Plex-Core/src/main/java/dev/plex/command/PlexCommand.java diff --git a/src/main/java/dev/plex/command/annotation/CommandParameters.java b/Plex-Core/src/main/java/dev/plex/command/annotation/CommandParameters.java similarity index 100% rename from src/main/java/dev/plex/command/annotation/CommandParameters.java rename to Plex-Core/src/main/java/dev/plex/command/annotation/CommandParameters.java diff --git a/src/main/java/dev/plex/command/annotation/CommandPermissions.java b/Plex-Core/src/main/java/dev/plex/command/annotation/CommandPermissions.java similarity index 100% rename from src/main/java/dev/plex/command/annotation/CommandPermissions.java rename to Plex-Core/src/main/java/dev/plex/command/annotation/CommandPermissions.java diff --git a/src/main/java/dev/plex/command/annotation/System.java b/Plex-Core/src/main/java/dev/plex/command/annotation/System.java similarity index 100% rename from src/main/java/dev/plex/command/annotation/System.java rename to Plex-Core/src/main/java/dev/plex/command/annotation/System.java diff --git a/src/main/java/dev/plex/command/blocker/BaseCommand.java b/Plex-Core/src/main/java/dev/plex/command/blocker/BaseCommand.java similarity index 100% rename from src/main/java/dev/plex/command/blocker/BaseCommand.java rename to Plex-Core/src/main/java/dev/plex/command/blocker/BaseCommand.java diff --git a/src/main/java/dev/plex/command/blocker/CommandBlockerManager.java b/Plex-Core/src/main/java/dev/plex/command/blocker/CommandBlockerManager.java similarity index 100% rename from src/main/java/dev/plex/command/blocker/CommandBlockerManager.java rename to Plex-Core/src/main/java/dev/plex/command/blocker/CommandBlockerManager.java diff --git a/src/main/java/dev/plex/command/blocker/MatchCommand.java b/Plex-Core/src/main/java/dev/plex/command/blocker/MatchCommand.java similarity index 100% rename from src/main/java/dev/plex/command/blocker/MatchCommand.java rename to Plex-Core/src/main/java/dev/plex/command/blocker/MatchCommand.java diff --git a/src/main/java/dev/plex/command/blocker/RegexCommand.java b/Plex-Core/src/main/java/dev/plex/command/blocker/RegexCommand.java similarity index 100% rename from src/main/java/dev/plex/command/blocker/RegexCommand.java rename to Plex-Core/src/main/java/dev/plex/command/blocker/RegexCommand.java diff --git a/src/main/java/dev/plex/command/exception/CommandFailException.java b/Plex-Core/src/main/java/dev/plex/command/exception/CommandFailException.java similarity index 100% rename from src/main/java/dev/plex/command/exception/CommandFailException.java rename to Plex-Core/src/main/java/dev/plex/command/exception/CommandFailException.java diff --git a/src/main/java/dev/plex/command/exception/ConsoleMustDefinePlayerException.java b/Plex-Core/src/main/java/dev/plex/command/exception/ConsoleMustDefinePlayerException.java similarity index 100% rename from src/main/java/dev/plex/command/exception/ConsoleMustDefinePlayerException.java rename to Plex-Core/src/main/java/dev/plex/command/exception/ConsoleMustDefinePlayerException.java diff --git a/src/main/java/dev/plex/command/exception/ConsoleOnlyException.java b/Plex-Core/src/main/java/dev/plex/command/exception/ConsoleOnlyException.java similarity index 100% rename from src/main/java/dev/plex/command/exception/ConsoleOnlyException.java rename to Plex-Core/src/main/java/dev/plex/command/exception/ConsoleOnlyException.java diff --git a/src/main/java/dev/plex/command/exception/PlayerNotBannedException.java b/Plex-Core/src/main/java/dev/plex/command/exception/PlayerNotBannedException.java similarity index 100% rename from src/main/java/dev/plex/command/exception/PlayerNotBannedException.java rename to Plex-Core/src/main/java/dev/plex/command/exception/PlayerNotBannedException.java diff --git a/src/main/java/dev/plex/command/exception/PlayerNotFoundException.java b/Plex-Core/src/main/java/dev/plex/command/exception/PlayerNotFoundException.java similarity index 100% rename from src/main/java/dev/plex/command/exception/PlayerNotFoundException.java rename to Plex-Core/src/main/java/dev/plex/command/exception/PlayerNotFoundException.java diff --git a/src/main/java/dev/plex/command/impl/AdminCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/AdminCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/AdminCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/AdminCMD.java diff --git a/src/main/java/dev/plex/command/impl/AdminChatCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/AdminChatCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/AdminChatCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/AdminChatCMD.java diff --git a/src/main/java/dev/plex/command/impl/AdminworldCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/AdminworldCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/AdminworldCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/AdminworldCMD.java diff --git a/src/main/java/dev/plex/command/impl/AdventureCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/AdventureCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/AdventureCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/AdventureCMD.java diff --git a/src/main/java/dev/plex/command/impl/BanCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/BanCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/BanCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/BanCMD.java diff --git a/src/main/java/dev/plex/command/impl/BlockEditCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/BlockEditCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/BlockEditCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/BlockEditCMD.java diff --git a/src/main/java/dev/plex/command/impl/CommandSpyCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/CommandSpyCMD.java similarity index 94% rename from src/main/java/dev/plex/command/impl/CommandSpyCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/CommandSpyCMD.java index 652fad3..f043adf 100644 --- a/src/main/java/dev/plex/command/impl/CommandSpyCMD.java +++ b/Plex-Core/src/main/java/dev/plex/command/impl/CommandSpyCMD.java @@ -7,9 +7,7 @@ import dev.plex.command.annotation.CommandPermissions; import dev.plex.command.source.RequiredCommandSource; import dev.plex.player.PlexPlayer; import dev.plex.rank.enums.Rank; -import dev.plex.util.PlexUtils; import net.kyori.adventure.text.Component; -import net.kyori.adventure.text.format.NamedTextColor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/dev/plex/command/impl/CreativeCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/CreativeCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/CreativeCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/CreativeCMD.java diff --git a/src/main/java/dev/plex/command/impl/DebugCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/DebugCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/DebugCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/DebugCMD.java diff --git a/src/main/java/dev/plex/command/impl/DeopAllCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/DeopAllCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/DeopAllCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/DeopAllCMD.java diff --git a/src/main/java/dev/plex/command/impl/DeopCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/DeopCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/DeopCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/DeopCMD.java diff --git a/src/main/java/dev/plex/command/impl/EntityWipeCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/EntityWipeCMD.java similarity index 97% rename from src/main/java/dev/plex/command/impl/EntityWipeCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/EntityWipeCMD.java index a31a625..d22179d 100644 --- a/src/main/java/dev/plex/command/impl/EntityWipeCMD.java +++ b/Plex-Core/src/main/java/dev/plex/command/impl/EntityWipeCMD.java @@ -1,6 +1,5 @@ package dev.plex.command.impl; -import com.google.common.collect.ImmutableList; import dev.plex.command.PlexCommand; import dev.plex.command.annotation.CommandParameters; import dev.plex.command.annotation.CommandPermissions; @@ -8,10 +7,8 @@ import dev.plex.command.source.RequiredCommandSource; import dev.plex.rank.enums.Rank; import dev.plex.util.PlexUtils; import java.util.ArrayList; -import java.util.Collections; import net.kyori.adventure.text.Component; import org.bukkit.Bukkit; -import org.bukkit.Location; import org.bukkit.World; import org.bukkit.command.CommandSender; import org.bukkit.entity.Entity; diff --git a/src/main/java/dev/plex/command/impl/FlatlandsCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/FlatlandsCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/FlatlandsCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/FlatlandsCMD.java diff --git a/src/main/java/dev/plex/command/impl/FreezeCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/FreezeCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/FreezeCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/FreezeCMD.java diff --git a/src/main/java/dev/plex/command/impl/KickCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/KickCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/KickCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/KickCMD.java diff --git a/src/main/java/dev/plex/command/impl/ListCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/ListCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/ListCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/ListCMD.java diff --git a/src/main/java/dev/plex/command/impl/LocalSpawnCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/LocalSpawnCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/LocalSpawnCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/LocalSpawnCMD.java diff --git a/src/main/java/dev/plex/command/impl/LockupCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/LockupCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/LockupCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/LockupCMD.java diff --git a/src/main/java/dev/plex/command/impl/MasterbuilderworldCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/MasterbuilderworldCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/MasterbuilderworldCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/MasterbuilderworldCMD.java diff --git a/src/main/java/dev/plex/command/impl/MobPurgeCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/MobPurgeCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/MobPurgeCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/MobPurgeCMD.java diff --git a/src/main/java/dev/plex/command/impl/MuteCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/MuteCMD.java similarity index 99% rename from src/main/java/dev/plex/command/impl/MuteCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/MuteCMD.java index e300c19..1d3640d 100644 --- a/src/main/java/dev/plex/command/impl/MuteCMD.java +++ b/Plex-Core/src/main/java/dev/plex/command/impl/MuteCMD.java @@ -11,7 +11,6 @@ import dev.plex.rank.enums.Rank; import dev.plex.util.PlexUtils; import java.time.LocalDateTime; import java.util.List; -import java.util.UUID; import net.kyori.adventure.text.Component; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; diff --git a/src/main/java/dev/plex/command/impl/NameHistoryCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/NameHistoryCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/NameHistoryCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/NameHistoryCMD.java diff --git a/src/main/java/dev/plex/command/impl/NotesCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/NotesCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/NotesCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/NotesCMD.java diff --git a/src/main/java/dev/plex/command/impl/OpAllCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/OpAllCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/OpAllCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/OpAllCMD.java diff --git a/src/main/java/dev/plex/command/impl/OpCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/OpCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/OpCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/OpCMD.java diff --git a/src/main/java/dev/plex/command/impl/PlexCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/PlexCMD.java similarity index 99% rename from src/main/java/dev/plex/command/impl/PlexCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/PlexCMD.java index 8f90a0f..1eef019 100644 --- a/src/main/java/dev/plex/command/impl/PlexCMD.java +++ b/Plex-Core/src/main/java/dev/plex/command/impl/PlexCMD.java @@ -18,7 +18,6 @@ import dev.plex.util.PlexLog; import dev.plex.util.PlexUtils; import net.kyori.adventure.text.Component; import org.apache.commons.lang.StringUtils; -import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/dev/plex/command/impl/PunishmentsCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/PunishmentsCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/PunishmentsCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/PunishmentsCMD.java diff --git a/src/main/java/dev/plex/command/impl/RankCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/RankCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/RankCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/RankCMD.java diff --git a/src/main/java/dev/plex/command/impl/RawSayCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/RawSayCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/RawSayCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/RawSayCMD.java diff --git a/src/main/java/dev/plex/command/impl/SmiteCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/SmiteCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/SmiteCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/SmiteCMD.java diff --git a/src/main/java/dev/plex/command/impl/SpectatorCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/SpectatorCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/SpectatorCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/SpectatorCMD.java diff --git a/src/main/java/dev/plex/command/impl/SurvivalCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/SurvivalCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/SurvivalCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/SurvivalCMD.java diff --git a/src/main/java/dev/plex/command/impl/TagCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/TagCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/TagCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/TagCMD.java diff --git a/src/main/java/dev/plex/command/impl/TempbanCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/TempbanCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/TempbanCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/TempbanCMD.java diff --git a/src/main/java/dev/plex/command/impl/ToggleDropsCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/ToggleDropsCMD.java similarity index 77% rename from src/main/java/dev/plex/command/impl/ToggleDropsCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/ToggleDropsCMD.java index ca396ea..67e51f2 100644 --- a/src/main/java/dev/plex/command/impl/ToggleDropsCMD.java +++ b/Plex-Core/src/main/java/dev/plex/command/impl/ToggleDropsCMD.java @@ -5,24 +5,12 @@ import dev.plex.command.annotation.CommandParameters; import dev.plex.command.annotation.CommandPermissions; import dev.plex.command.source.RequiredCommandSource; import dev.plex.rank.enums.Rank; -import dev.plex.services.ServiceManager; -import dev.plex.services.impl.AutoWipeService; -import dev.plex.util.PlexUtils; import net.kyori.adventure.text.Component; -import org.bukkit.Bukkit; -import org.bukkit.World; import org.bukkit.command.CommandSender; -import org.bukkit.entity.Entity; -import org.bukkit.entity.EntityType; import org.bukkit.entity.Player; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; -import java.util.Arrays; -import java.util.HashMap; -import java.util.LinkedList; -import java.util.List; - @CommandPermissions(level = Rank.ADMIN, permission = "plex.toggledrops", source = RequiredCommandSource.ANY) @CommandParameters(name = "toggledrops", description = "Toggle immediately removing drops.", usage = "/", aliases = "td") public class ToggleDropsCMD extends PlexCommand diff --git a/src/main/java/dev/plex/command/impl/UnbanCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/UnbanCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/UnbanCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/UnbanCMD.java diff --git a/src/main/java/dev/plex/command/impl/UnfreezeCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/UnfreezeCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/UnfreezeCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/UnfreezeCMD.java diff --git a/src/main/java/dev/plex/command/impl/UnmuteCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/UnmuteCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/UnmuteCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/UnmuteCMD.java diff --git a/src/main/java/dev/plex/command/impl/WorldCMD.java b/Plex-Core/src/main/java/dev/plex/command/impl/WorldCMD.java similarity index 100% rename from src/main/java/dev/plex/command/impl/WorldCMD.java rename to Plex-Core/src/main/java/dev/plex/command/impl/WorldCMD.java diff --git a/src/main/java/dev/plex/command/source/RequiredCommandSource.java b/Plex-Core/src/main/java/dev/plex/command/source/RequiredCommandSource.java similarity index 100% rename from src/main/java/dev/plex/command/source/RequiredCommandSource.java rename to Plex-Core/src/main/java/dev/plex/command/source/RequiredCommandSource.java diff --git a/src/main/java/dev/plex/config/Config.java b/Plex-Core/src/main/java/dev/plex/config/Config.java similarity index 100% rename from src/main/java/dev/plex/config/Config.java rename to Plex-Core/src/main/java/dev/plex/config/Config.java diff --git a/src/main/java/dev/plex/config/ModuleConfig.java b/Plex-Core/src/main/java/dev/plex/config/ModuleConfig.java similarity index 100% rename from src/main/java/dev/plex/config/ModuleConfig.java rename to Plex-Core/src/main/java/dev/plex/config/ModuleConfig.java diff --git a/src/main/java/dev/plex/event/AdminAddEvent.java b/Plex-Core/src/main/java/dev/plex/event/AdminAddEvent.java similarity index 100% rename from src/main/java/dev/plex/event/AdminAddEvent.java rename to Plex-Core/src/main/java/dev/plex/event/AdminAddEvent.java diff --git a/src/main/java/dev/plex/event/AdminRemoveEvent.java b/Plex-Core/src/main/java/dev/plex/event/AdminRemoveEvent.java similarity index 100% rename from src/main/java/dev/plex/event/AdminRemoveEvent.java rename to Plex-Core/src/main/java/dev/plex/event/AdminRemoveEvent.java diff --git a/src/main/java/dev/plex/event/AdminSetRankEvent.java b/Plex-Core/src/main/java/dev/plex/event/AdminSetRankEvent.java similarity index 100% rename from src/main/java/dev/plex/event/AdminSetRankEvent.java rename to Plex-Core/src/main/java/dev/plex/event/AdminSetRankEvent.java diff --git a/src/main/java/dev/plex/event/GameModeUpdateEvent.java b/Plex-Core/src/main/java/dev/plex/event/GameModeUpdateEvent.java similarity index 100% rename from src/main/java/dev/plex/event/GameModeUpdateEvent.java rename to Plex-Core/src/main/java/dev/plex/event/GameModeUpdateEvent.java diff --git a/src/main/java/dev/plex/event/PunishedPlayerEvent.java b/Plex-Core/src/main/java/dev/plex/event/PunishedPlayerEvent.java similarity index 97% rename from src/main/java/dev/plex/event/PunishedPlayerEvent.java rename to Plex-Core/src/main/java/dev/plex/event/PunishedPlayerEvent.java index 92bf4e7..4b4f04d 100644 --- a/src/main/java/dev/plex/event/PunishedPlayerEvent.java +++ b/Plex-Core/src/main/java/dev/plex/event/PunishedPlayerEvent.java @@ -1,7 +1,6 @@ package dev.plex.event; import dev.plex.player.PlexPlayer; -import java.util.UUID; import lombok.Getter; import lombok.Setter; import org.bukkit.Bukkit; diff --git a/src/main/java/dev/plex/event/PunishedPlayerFreezeEvent.java b/Plex-Core/src/main/java/dev/plex/event/PunishedPlayerFreezeEvent.java similarity index 100% rename from src/main/java/dev/plex/event/PunishedPlayerFreezeEvent.java rename to Plex-Core/src/main/java/dev/plex/event/PunishedPlayerFreezeEvent.java diff --git a/src/main/java/dev/plex/event/PunishedPlayerLockupEvent.java b/Plex-Core/src/main/java/dev/plex/event/PunishedPlayerLockupEvent.java similarity index 100% rename from src/main/java/dev/plex/event/PunishedPlayerLockupEvent.java rename to Plex-Core/src/main/java/dev/plex/event/PunishedPlayerLockupEvent.java diff --git a/src/main/java/dev/plex/event/PunishedPlayerMuteEvent.java b/Plex-Core/src/main/java/dev/plex/event/PunishedPlayerMuteEvent.java similarity index 100% rename from src/main/java/dev/plex/event/PunishedPlayerMuteEvent.java rename to Plex-Core/src/main/java/dev/plex/event/PunishedPlayerMuteEvent.java diff --git a/src/main/java/dev/plex/handlers/CommandHandler.java b/Plex-Core/src/main/java/dev/plex/handlers/CommandHandler.java similarity index 100% rename from src/main/java/dev/plex/handlers/CommandHandler.java rename to Plex-Core/src/main/java/dev/plex/handlers/CommandHandler.java diff --git a/src/main/java/dev/plex/handlers/ListenerHandler.java b/Plex-Core/src/main/java/dev/plex/handlers/ListenerHandler.java similarity index 100% rename from src/main/java/dev/plex/handlers/ListenerHandler.java rename to Plex-Core/src/main/java/dev/plex/handlers/ListenerHandler.java diff --git a/src/main/java/dev/plex/listener/PlexListener.java b/Plex-Core/src/main/java/dev/plex/listener/PlexListener.java similarity index 100% rename from src/main/java/dev/plex/listener/PlexListener.java rename to Plex-Core/src/main/java/dev/plex/listener/PlexListener.java diff --git a/src/main/java/dev/plex/listener/annotation/Toggleable.java b/Plex-Core/src/main/java/dev/plex/listener/annotation/Toggleable.java similarity index 100% rename from src/main/java/dev/plex/listener/annotation/Toggleable.java rename to Plex-Core/src/main/java/dev/plex/listener/annotation/Toggleable.java diff --git a/src/main/java/dev/plex/listener/impl/AdminListener.java b/Plex-Core/src/main/java/dev/plex/listener/impl/AdminListener.java similarity index 100% rename from src/main/java/dev/plex/listener/impl/AdminListener.java rename to Plex-Core/src/main/java/dev/plex/listener/impl/AdminListener.java diff --git a/src/main/java/dev/plex/listener/impl/BanListener.java b/Plex-Core/src/main/java/dev/plex/listener/impl/BanListener.java similarity index 100% rename from src/main/java/dev/plex/listener/impl/BanListener.java rename to Plex-Core/src/main/java/dev/plex/listener/impl/BanListener.java diff --git a/src/main/java/dev/plex/listener/impl/BlockListener.java b/Plex-Core/src/main/java/dev/plex/listener/impl/BlockListener.java similarity index 100% rename from src/main/java/dev/plex/listener/impl/BlockListener.java rename to Plex-Core/src/main/java/dev/plex/listener/impl/BlockListener.java diff --git a/src/main/java/dev/plex/listener/impl/ChatListener.java b/Plex-Core/src/main/java/dev/plex/listener/impl/ChatListener.java similarity index 100% rename from src/main/java/dev/plex/listener/impl/ChatListener.java rename to Plex-Core/src/main/java/dev/plex/listener/impl/ChatListener.java diff --git a/src/main/java/dev/plex/listener/impl/CommandListener.java b/Plex-Core/src/main/java/dev/plex/listener/impl/CommandListener.java similarity index 100% rename from src/main/java/dev/plex/listener/impl/CommandListener.java rename to Plex-Core/src/main/java/dev/plex/listener/impl/CommandListener.java diff --git a/src/main/java/dev/plex/listener/impl/DropListener.java b/Plex-Core/src/main/java/dev/plex/listener/impl/DropListener.java similarity index 100% rename from src/main/java/dev/plex/listener/impl/DropListener.java rename to Plex-Core/src/main/java/dev/plex/listener/impl/DropListener.java diff --git a/src/main/java/dev/plex/listener/impl/FreezeListener.java b/Plex-Core/src/main/java/dev/plex/listener/impl/FreezeListener.java similarity index 100% rename from src/main/java/dev/plex/listener/impl/FreezeListener.java rename to Plex-Core/src/main/java/dev/plex/listener/impl/FreezeListener.java diff --git a/src/main/java/dev/plex/listener/impl/GameModeListener.java b/Plex-Core/src/main/java/dev/plex/listener/impl/GameModeListener.java similarity index 100% rename from src/main/java/dev/plex/listener/impl/GameModeListener.java rename to Plex-Core/src/main/java/dev/plex/listener/impl/GameModeListener.java diff --git a/src/main/java/dev/plex/listener/impl/MuteListener.java b/Plex-Core/src/main/java/dev/plex/listener/impl/MuteListener.java similarity index 100% rename from src/main/java/dev/plex/listener/impl/MuteListener.java rename to Plex-Core/src/main/java/dev/plex/listener/impl/MuteListener.java diff --git a/src/main/java/dev/plex/listener/impl/PlayerListener.java b/Plex-Core/src/main/java/dev/plex/listener/impl/PlayerListener.java similarity index 100% rename from src/main/java/dev/plex/listener/impl/PlayerListener.java rename to Plex-Core/src/main/java/dev/plex/listener/impl/PlayerListener.java diff --git a/src/main/java/dev/plex/listener/impl/ServerListener.java b/Plex-Core/src/main/java/dev/plex/listener/impl/ServerListener.java similarity index 100% rename from src/main/java/dev/plex/listener/impl/ServerListener.java rename to Plex-Core/src/main/java/dev/plex/listener/impl/ServerListener.java diff --git a/src/main/java/dev/plex/listener/impl/SpawnListener.java b/Plex-Core/src/main/java/dev/plex/listener/impl/SpawnListener.java similarity index 100% rename from src/main/java/dev/plex/listener/impl/SpawnListener.java rename to Plex-Core/src/main/java/dev/plex/listener/impl/SpawnListener.java diff --git a/src/main/java/dev/plex/listener/impl/TabListener.java b/Plex-Core/src/main/java/dev/plex/listener/impl/TabListener.java similarity index 100% rename from src/main/java/dev/plex/listener/impl/TabListener.java rename to Plex-Core/src/main/java/dev/plex/listener/impl/TabListener.java diff --git a/src/main/java/dev/plex/listener/impl/WorldListener.java b/Plex-Core/src/main/java/dev/plex/listener/impl/WorldListener.java similarity index 99% rename from src/main/java/dev/plex/listener/impl/WorldListener.java rename to Plex-Core/src/main/java/dev/plex/listener/impl/WorldListener.java index b2b319e..355b212 100644 --- a/src/main/java/dev/plex/listener/impl/WorldListener.java +++ b/Plex-Core/src/main/java/dev/plex/listener/impl/WorldListener.java @@ -21,7 +21,6 @@ import org.bukkit.event.EventHandler; import org.bukkit.event.block.BlockBreakEvent; import org.bukkit.event.block.BlockPlaceEvent; import org.bukkit.event.entity.EntitySpawnEvent; -import org.bukkit.event.player.PlayerChangedWorldEvent; import org.bukkit.event.player.PlayerTeleportEvent; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/dev/plex/menu/PunishedPlayerMenu.java b/Plex-Core/src/main/java/dev/plex/menu/PunishedPlayerMenu.java similarity index 100% rename from src/main/java/dev/plex/menu/PunishedPlayerMenu.java rename to Plex-Core/src/main/java/dev/plex/menu/PunishedPlayerMenu.java diff --git a/src/main/java/dev/plex/menu/PunishmentMenu.java b/Plex-Core/src/main/java/dev/plex/menu/PunishmentMenu.java similarity index 100% rename from src/main/java/dev/plex/menu/PunishmentMenu.java rename to Plex-Core/src/main/java/dev/plex/menu/PunishmentMenu.java diff --git a/src/main/java/dev/plex/module/ModuleManager.java b/Plex-Core/src/main/java/dev/plex/module/ModuleManager.java similarity index 100% rename from src/main/java/dev/plex/module/ModuleManager.java rename to Plex-Core/src/main/java/dev/plex/module/ModuleManager.java diff --git a/src/main/java/dev/plex/module/PlexModule.java b/Plex-Core/src/main/java/dev/plex/module/PlexModule.java similarity index 100% rename from src/main/java/dev/plex/module/PlexModule.java rename to Plex-Core/src/main/java/dev/plex/module/PlexModule.java diff --git a/src/main/java/dev/plex/module/PlexModuleFile.java b/Plex-Core/src/main/java/dev/plex/module/PlexModuleFile.java similarity index 100% rename from src/main/java/dev/plex/module/PlexModuleFile.java rename to Plex-Core/src/main/java/dev/plex/module/PlexModuleFile.java diff --git a/src/main/java/dev/plex/module/exception/ModuleLoadException.java b/Plex-Core/src/main/java/dev/plex/module/exception/ModuleLoadException.java similarity index 100% rename from src/main/java/dev/plex/module/exception/ModuleLoadException.java rename to Plex-Core/src/main/java/dev/plex/module/exception/ModuleLoadException.java diff --git a/src/main/java/dev/plex/module/loader/CustomClassLoader.java b/Plex-Core/src/main/java/dev/plex/module/loader/CustomClassLoader.java similarity index 100% rename from src/main/java/dev/plex/module/loader/CustomClassLoader.java rename to Plex-Core/src/main/java/dev/plex/module/loader/CustomClassLoader.java diff --git a/src/main/java/dev/plex/module/loader/LibraryLoader.java b/Plex-Core/src/main/java/dev/plex/module/loader/LibraryLoader.java similarity index 100% rename from src/main/java/dev/plex/module/loader/LibraryLoader.java rename to Plex-Core/src/main/java/dev/plex/module/loader/LibraryLoader.java diff --git a/src/main/java/dev/plex/player/PlexPlayer.java b/Plex-Core/src/main/java/dev/plex/player/PlexPlayer.java similarity index 100% rename from src/main/java/dev/plex/player/PlexPlayer.java rename to Plex-Core/src/main/java/dev/plex/player/PlexPlayer.java diff --git a/src/main/java/dev/plex/punishment/Punishment.java b/Plex-Core/src/main/java/dev/plex/punishment/Punishment.java similarity index 100% rename from src/main/java/dev/plex/punishment/Punishment.java rename to Plex-Core/src/main/java/dev/plex/punishment/Punishment.java diff --git a/src/main/java/dev/plex/punishment/PunishmentManager.java b/Plex-Core/src/main/java/dev/plex/punishment/PunishmentManager.java similarity index 100% rename from src/main/java/dev/plex/punishment/PunishmentManager.java rename to Plex-Core/src/main/java/dev/plex/punishment/PunishmentManager.java diff --git a/src/main/java/dev/plex/punishment/PunishmentType.java b/Plex-Core/src/main/java/dev/plex/punishment/PunishmentType.java similarity index 100% rename from src/main/java/dev/plex/punishment/PunishmentType.java rename to Plex-Core/src/main/java/dev/plex/punishment/PunishmentType.java diff --git a/src/main/java/dev/plex/punishment/extra/Note.java b/Plex-Core/src/main/java/dev/plex/punishment/extra/Note.java similarity index 100% rename from src/main/java/dev/plex/punishment/extra/Note.java rename to Plex-Core/src/main/java/dev/plex/punishment/extra/Note.java diff --git a/src/main/java/dev/plex/rank/RankManager.java b/Plex-Core/src/main/java/dev/plex/rank/RankManager.java similarity index 100% rename from src/main/java/dev/plex/rank/RankManager.java rename to Plex-Core/src/main/java/dev/plex/rank/RankManager.java diff --git a/src/main/java/dev/plex/rank/enums/Rank.java b/Plex-Core/src/main/java/dev/plex/rank/enums/Rank.java similarity index 100% rename from src/main/java/dev/plex/rank/enums/Rank.java rename to Plex-Core/src/main/java/dev/plex/rank/enums/Rank.java diff --git a/src/main/java/dev/plex/rank/enums/Title.java b/Plex-Core/src/main/java/dev/plex/rank/enums/Title.java similarity index 100% rename from src/main/java/dev/plex/rank/enums/Title.java rename to Plex-Core/src/main/java/dev/plex/rank/enums/Title.java diff --git a/src/main/java/dev/plex/services/AbstractService.java b/Plex-Core/src/main/java/dev/plex/services/AbstractService.java similarity index 100% rename from src/main/java/dev/plex/services/AbstractService.java rename to Plex-Core/src/main/java/dev/plex/services/AbstractService.java diff --git a/src/main/java/dev/plex/services/IService.java b/Plex-Core/src/main/java/dev/plex/services/IService.java similarity index 100% rename from src/main/java/dev/plex/services/IService.java rename to Plex-Core/src/main/java/dev/plex/services/IService.java diff --git a/src/main/java/dev/plex/services/ServiceManager.java b/Plex-Core/src/main/java/dev/plex/services/ServiceManager.java similarity index 100% rename from src/main/java/dev/plex/services/ServiceManager.java rename to Plex-Core/src/main/java/dev/plex/services/ServiceManager.java diff --git a/src/main/java/dev/plex/services/impl/AutoWipeService.java b/Plex-Core/src/main/java/dev/plex/services/impl/AutoWipeService.java similarity index 96% rename from src/main/java/dev/plex/services/impl/AutoWipeService.java rename to Plex-Core/src/main/java/dev/plex/services/impl/AutoWipeService.java index aff79b5..92e5659 100644 --- a/src/main/java/dev/plex/services/impl/AutoWipeService.java +++ b/Plex-Core/src/main/java/dev/plex/services/impl/AutoWipeService.java @@ -5,7 +5,6 @@ import dev.plex.services.AbstractService; import org.bukkit.Bukkit; import org.bukkit.World; import org.bukkit.entity.Entity; -import org.bukkit.entity.EntityType; import java.util.List; diff --git a/src/main/java/dev/plex/services/impl/BanService.java b/Plex-Core/src/main/java/dev/plex/services/impl/BanService.java similarity index 100% rename from src/main/java/dev/plex/services/impl/BanService.java rename to Plex-Core/src/main/java/dev/plex/services/impl/BanService.java diff --git a/src/main/java/dev/plex/services/impl/CommandBlockerService.java b/Plex-Core/src/main/java/dev/plex/services/impl/CommandBlockerService.java similarity index 100% rename from src/main/java/dev/plex/services/impl/CommandBlockerService.java rename to Plex-Core/src/main/java/dev/plex/services/impl/CommandBlockerService.java diff --git a/src/main/java/dev/plex/services/impl/GameRuleService.java b/Plex-Core/src/main/java/dev/plex/services/impl/GameRuleService.java similarity index 100% rename from src/main/java/dev/plex/services/impl/GameRuleService.java rename to Plex-Core/src/main/java/dev/plex/services/impl/GameRuleService.java diff --git a/src/main/java/dev/plex/services/impl/UpdateCheckerService.java b/Plex-Core/src/main/java/dev/plex/services/impl/UpdateCheckerService.java similarity index 100% rename from src/main/java/dev/plex/services/impl/UpdateCheckerService.java rename to Plex-Core/src/main/java/dev/plex/services/impl/UpdateCheckerService.java diff --git a/src/main/java/dev/plex/storage/MongoConnection.java b/Plex-Core/src/main/java/dev/plex/storage/MongoConnection.java similarity index 98% rename from src/main/java/dev/plex/storage/MongoConnection.java rename to Plex-Core/src/main/java/dev/plex/storage/MongoConnection.java index d10c776..9f21631 100644 --- a/src/main/java/dev/plex/storage/MongoConnection.java +++ b/Plex-Core/src/main/java/dev/plex/storage/MongoConnection.java @@ -1,6 +1,5 @@ package dev.plex.storage; -import com.mongodb.*; import com.mongodb.client.MongoClient; import com.mongodb.client.MongoClients; import dev.morphia.Datastore; diff --git a/src/main/java/dev/plex/storage/RedisConnection.java b/Plex-Core/src/main/java/dev/plex/storage/RedisConnection.java similarity index 100% rename from src/main/java/dev/plex/storage/RedisConnection.java rename to Plex-Core/src/main/java/dev/plex/storage/RedisConnection.java diff --git a/src/main/java/dev/plex/storage/SQLConnection.java b/Plex-Core/src/main/java/dev/plex/storage/SQLConnection.java similarity index 100% rename from src/main/java/dev/plex/storage/SQLConnection.java rename to Plex-Core/src/main/java/dev/plex/storage/SQLConnection.java diff --git a/src/main/java/dev/plex/storage/StorageType.java b/Plex-Core/src/main/java/dev/plex/storage/StorageType.java similarity index 100% rename from src/main/java/dev/plex/storage/StorageType.java rename to Plex-Core/src/main/java/dev/plex/storage/StorageType.java diff --git a/src/main/java/dev/plex/util/AshconInfo.java b/Plex-Core/src/main/java/dev/plex/util/AshconInfo.java similarity index 100% rename from src/main/java/dev/plex/util/AshconInfo.java rename to Plex-Core/src/main/java/dev/plex/util/AshconInfo.java diff --git a/src/main/java/dev/plex/util/MojangUtils.java b/Plex-Core/src/main/java/dev/plex/util/MojangUtils.java similarity index 100% rename from src/main/java/dev/plex/util/MojangUtils.java rename to Plex-Core/src/main/java/dev/plex/util/MojangUtils.java diff --git a/src/main/java/dev/plex/util/PlexLog.java b/Plex-Core/src/main/java/dev/plex/util/PlexLog.java similarity index 100% rename from src/main/java/dev/plex/util/PlexLog.java rename to Plex-Core/src/main/java/dev/plex/util/PlexLog.java diff --git a/src/main/java/dev/plex/util/PlexUtils.java b/Plex-Core/src/main/java/dev/plex/util/PlexUtils.java similarity index 100% rename from src/main/java/dev/plex/util/PlexUtils.java rename to Plex-Core/src/main/java/dev/plex/util/PlexUtils.java diff --git a/src/main/java/dev/plex/util/TimeUnit.java b/Plex-Core/src/main/java/dev/plex/util/TimeUnit.java similarity index 100% rename from src/main/java/dev/plex/util/TimeUnit.java rename to Plex-Core/src/main/java/dev/plex/util/TimeUnit.java diff --git a/src/main/java/dev/plex/util/UpdateChecker.java b/Plex-Core/src/main/java/dev/plex/util/UpdateChecker.java similarity index 100% rename from src/main/java/dev/plex/util/UpdateChecker.java rename to Plex-Core/src/main/java/dev/plex/util/UpdateChecker.java diff --git a/src/main/java/dev/plex/util/adapter/LocalDateTimeDeserializer.java b/Plex-Core/src/main/java/dev/plex/util/adapter/LocalDateTimeDeserializer.java similarity index 100% rename from src/main/java/dev/plex/util/adapter/LocalDateTimeDeserializer.java rename to Plex-Core/src/main/java/dev/plex/util/adapter/LocalDateTimeDeserializer.java diff --git a/src/main/java/dev/plex/util/adapter/LocalDateTimeSerializer.java b/Plex-Core/src/main/java/dev/plex/util/adapter/LocalDateTimeSerializer.java similarity index 100% rename from src/main/java/dev/plex/util/adapter/LocalDateTimeSerializer.java rename to Plex-Core/src/main/java/dev/plex/util/adapter/LocalDateTimeSerializer.java diff --git a/src/main/java/dev/plex/util/item/ItemBuilder.java b/Plex-Core/src/main/java/dev/plex/util/item/ItemBuilder.java similarity index 100% rename from src/main/java/dev/plex/util/item/ItemBuilder.java rename to Plex-Core/src/main/java/dev/plex/util/item/ItemBuilder.java diff --git a/src/main/java/dev/plex/util/menu/AbstractMenu.java b/Plex-Core/src/main/java/dev/plex/util/menu/AbstractMenu.java similarity index 100% rename from src/main/java/dev/plex/util/menu/AbstractMenu.java rename to Plex-Core/src/main/java/dev/plex/util/menu/AbstractMenu.java diff --git a/src/main/java/dev/plex/util/menu/IMenu.java b/Plex-Core/src/main/java/dev/plex/util/menu/IMenu.java similarity index 100% rename from src/main/java/dev/plex/util/menu/IMenu.java rename to Plex-Core/src/main/java/dev/plex/util/menu/IMenu.java diff --git a/src/main/java/dev/plex/world/BlockMapChunkGenerator.java b/Plex-Core/src/main/java/dev/plex/world/BlockMapChunkGenerator.java similarity index 100% rename from src/main/java/dev/plex/world/BlockMapChunkGenerator.java rename to Plex-Core/src/main/java/dev/plex/world/BlockMapChunkGenerator.java diff --git a/src/main/java/dev/plex/world/ConfigurationChunkGenerator.java b/Plex-Core/src/main/java/dev/plex/world/ConfigurationChunkGenerator.java similarity index 100% rename from src/main/java/dev/plex/world/ConfigurationChunkGenerator.java rename to Plex-Core/src/main/java/dev/plex/world/ConfigurationChunkGenerator.java diff --git a/src/main/java/dev/plex/world/CustomChunkGenerator.java b/Plex-Core/src/main/java/dev/plex/world/CustomChunkGenerator.java similarity index 100% rename from src/main/java/dev/plex/world/CustomChunkGenerator.java rename to Plex-Core/src/main/java/dev/plex/world/CustomChunkGenerator.java diff --git a/src/main/java/dev/plex/world/CustomWorld.java b/Plex-Core/src/main/java/dev/plex/world/CustomWorld.java similarity index 100% rename from src/main/java/dev/plex/world/CustomWorld.java rename to Plex-Core/src/main/java/dev/plex/world/CustomWorld.java diff --git a/src/main/java/dev/plex/world/FlatChunkGenerator.java b/Plex-Core/src/main/java/dev/plex/world/FlatChunkGenerator.java similarity index 100% rename from src/main/java/dev/plex/world/FlatChunkGenerator.java rename to Plex-Core/src/main/java/dev/plex/world/FlatChunkGenerator.java diff --git a/src/main/java/dev/plex/world/NoiseChunkGenerator.java b/Plex-Core/src/main/java/dev/plex/world/NoiseChunkGenerator.java similarity index 100% rename from src/main/java/dev/plex/world/NoiseChunkGenerator.java rename to Plex-Core/src/main/java/dev/plex/world/NoiseChunkGenerator.java diff --git a/src/main/java/dev/plex/world/NoiseOptions.java b/Plex-Core/src/main/java/dev/plex/world/NoiseOptions.java similarity index 100% rename from src/main/java/dev/plex/world/NoiseOptions.java rename to Plex-Core/src/main/java/dev/plex/world/NoiseOptions.java diff --git a/src/main/java/dev/plex/world/OctaveChunkGenerator.java b/Plex-Core/src/main/java/dev/plex/world/OctaveChunkGenerator.java similarity index 100% rename from src/main/java/dev/plex/world/OctaveChunkGenerator.java rename to Plex-Core/src/main/java/dev/plex/world/OctaveChunkGenerator.java diff --git a/src/main/java/dev/plex/world/OctaveOptions.java b/Plex-Core/src/main/java/dev/plex/world/OctaveOptions.java similarity index 100% rename from src/main/java/dev/plex/world/OctaveOptions.java rename to Plex-Core/src/main/java/dev/plex/world/OctaveOptions.java diff --git a/Plex-Core/src/main/resources/build.properties b/Plex-Core/src/main/resources/build.properties new file mode 100644 index 0000000..1e1d7b1 --- /dev/null +++ b/Plex-Core/src/main/resources/build.properties @@ -0,0 +1,5 @@ +#Sat, 09 Apr 2022 23:50:45 -0500 +buildAuthor=Telesphoreo +buildNumber=375 (local) +buildDate=04/09/2022 at 11\:50\:45 PM +buildHead=de20747 diff --git a/Plex-Core/src/main/resources/commands.yml b/Plex-Core/src/main/resources/commands.yml new file mode 100644 index 0000000..79d17e9 --- /dev/null +++ b/Plex-Core/src/main/resources/commands.yml @@ -0,0 +1,21 @@ +# +# Command Blocker +# +# Format: +# - "::command name no slash:Block message" +# +# Symbols to use: +# - r for RegEx +# - m for matching +# - The ranks are "e" for everyone, "s" for senior admin, and "a" for admin +# - MATCHING MODE: The command is just the command without slashes. Optional arguments are specified as well. It also accepts full plugins via specifying the plugin name followed by a ":" (e.g. "viaversion:") +# - REGEX MODE: The command is regex that matches the desired command. It matches case insensitively. +# - Finally the block message. MUST NOT CONTAIN ":". Use _ to use the default command blocked message as specified in messages.yml, or you can optionally put your own in +# +# So these would be valid: +# - "m:e:mail sendall:You cannot send messages to everyone on the server" +# - "r:e:^[^ :]+::Plugin specific commands are disabled" +blockedCommands: + - "r:e:^[^ :]+::Plugin specific commands are disabled." + - "m:e:mail sendall:You cannot send messages to everyone on the server." + - "m:e:mail sendtempall:You cannot send messages to everyone on the server." \ No newline at end of file diff --git a/Plex-Core/src/main/resources/config.yml b/Plex-Core/src/main/resources/config.yml new file mode 100644 index 0000000..12f9c74 --- /dev/null +++ b/Plex-Core/src/main/resources/config.yml @@ -0,0 +1,217 @@ +# Plex Configuration File +# For documentation, please visit: https://plex.us.org + +server: + name: "Plexus" + motd: "%servername% - Minecraft %mcversion%" + colorize_motd: true + sample: + - "&cForums: https://forum.plex.us.org" + +titles: + masterbuilders: [ ] + owners: + - Telesphoreo + +# Ban message is customized in the messages.yml file. The URL to appeal at is below. +banning: + ban_url: "https://forum.plex.us.org" + +chat: + # Should the server use Plex's chat system? It is recommended to keep this on if you are using ranks. + # If you are using permissions, you should turn this off and use Vault to handle prefixes with a different chat plugin + enabled: true + # The maximum amount of characters a player can have for their tag + # This does not include color tags such as or + max-tag-length: 64 + # Color code for name color + name-color: 'f' + +# Should Plex use a "true op" system with ranks or only permission nodes +# Options are "permissions" or "ranks" +system: ranks + +data: + central: + storage: sqlite # Use mariadb, mongodb, or sqlite here + user: "" + password: "" + hostname: 127.0.0.1 + port: 27017 + db: "plex" + side: # This is Redis, leave password blank if auth is false + enabled: false + auth: true + hostname: 127.0.0.1 + port: 6379 + password: "" + +# Mob limiter / Entity wiping config +# All entities listed here will NOT be wiped upon wiping entities +# By default this includes all mobs, as the mobpurge command can be used to purge mobs. +entitywipe_list: + - "ITEM_FRAME" + - "AXOLOTL" + - "BAT" + - "BEE" + - "BLAZE" + - "CAT" + - "CAVE_SPIDER" + - "CHICKEN" + - "COD" + - "COW" + - "CREEPER" + - "DOLPHIN" + - "DONKEY" + - "DROWNED" + - "ELDER_GUARDIAN" + - "ENDER_DRAGON" + - "ENDERMAN" + - "ENDERMITE" + - "EVOKER" + - "FOX" + - "GHAST" + - "GIANT" + - "GLOW_SQUID" + - "GOAT" + - "GUARDIAN" + - "HOGLIN" + - "HORSE" + - "HUSK" + - "ILLUSIONER" + - "IRON_GOLEM" + - "LLAMA" + - "MAGMA_CUBE" + - "MULE" + - "MUSHROOM_COW" + - "OCELOT" + - "PANDA" + - "PARROT" + - "PHANTOM" + - "PIG" + - "PIGLIN" + - "PIGLIN_BRUTE" + - "PILLAGER" + - "POLAR_BEAR" + - "RABBIT" + - "RAVAGER" + - "SALMON" + - "SHEEP" + - "SHULKER" + - "SILVERFISH" + - "SKELETON" + - "SKELETON_HORSE" + - "SLIME" + - "SNOWMAN" + - "SPIDER" + - "SQUID" + - "STRAY" + - "STRIDER" + - "TRADER_LLAMA" + - "TROPICAL_FISH" + - "TURTLE" + - "VEX" + - "VILLAGER" + - "VINDICATOR" + - "WANDERING_TRADER" + - "WITCH" + - "WITHER" + - "WITHER_SKELETON" + - "WOLF" + - "ZOGLIN" + - "ZOMBIE" + - "ZOMBIE_HORSE" + - "ZOMBIE_VILLAGER" + - "ZOMBIFIED_PIGLIN" + - "PUFFERFISH" + +# Automatically wipe the specified entities +autowipe: + # Should we automatically wipe entities? + enabled: true + # How often, in seconds, to automatically wipe entities. Default is 5 minutes. + interval: 300 + # Entities to automatically wipe + entities: + - "DROPPED_ITEM" + +# Should we allow drops from players? +allowdrops: true + +# What blocks should be blocked? +blocked_blocks: + - "SPAWNER" + - "STRUCTURE_BLOCK" + - "JIGSAW" + +# What entities should be blocked? +blocked_entities: + - "WITHER" + - "ENDER_DRAGON" + - "MINECART_TNT" + +# See https://plex.us.org/docs/customization/config#worlds for documentation +# These gamerules apply to all worlds on the server +global_gamerules: + - "doWeatherCycle;true" + - "doDaylightCycle;true" + - "doMobSpawning;false" + - "keepInventory;true" + - "doFireTick;false" + - "doMobLoot;false" + - "mobGriefing;false" + - "doTileDrops;false" + - "commandBlockOutput;false" + - "naturalRegeneration;true" + - "announceAdvancements;false" + - "showDeathMessages;false" + - "sendCommandFeedback;false" + +worlds: + flatlands: + name: "Flatlands" + permission: "plex.world.flatlands" + noEdit: "&cYou can't edit this world!" + gameRules: + # The gamerules here override the global gamerules + - "doWeatherCycle;false" + - "doDaylightCycle;false" + parameters: + grass_block: 1 + dirt: 32 + stone: 16 + bedrock: 1 + adminworld: + name: "Admin World" + permission: "plex.world.adminworld" + requiredLevels: + - "Rank.ADMIN" # Minimum rank requirement + noEdit: "&cYou can't edit this world!" + gameRules: + - "doWeatherCycle;false" + - "doDaylightCycle;false" + parameters: + grass_block: 1 + dirt: 32 + stone: 16 + bedrock: 1 + masterbuilderworld: + name: "MasterBuilder World" + permission: "plex.world.masterbuilderworld" + requiredLevels: + - "Title.MASTER_BUILDER" # Title has no "minimum", so this will have to be their title + noEdit: "&cYou can't edit this world!" + gameRules: + - "doWeatherCycle;false" + - "doDaylightCycle;false" + parameters: + grass_block: 1 + dirt: 32 + stone: 16 + bedrock: 1 + +# What branch should Plex fetch updates from? +update_branch: master + +# Additional logging for debugging +debug: false \ No newline at end of file diff --git a/Plex-Core/src/main/resources/indefbans.yml b/Plex-Core/src/main/resources/indefbans.yml new file mode 100644 index 0000000..2d2ce08 --- /dev/null +++ b/Plex-Core/src/main/resources/indefbans.yml @@ -0,0 +1,21 @@ +# Plex Indefinite Bans File +# Players with their UUID / IP / Usernames in here will be indefinitely banned until removed + +# If you want to get someone's UUID, use https://api.ashcon.app/mojang/v2/user/ +griefers: + users: + - "badplayer123" + - "badplayer321" + uuids: + - 1dac0e92-f565-4479-afd5-38c7df5f9732 # badplayer123 + ips: + - 123.123.123.123 + +# Note that these keys can be anything, they are simply to help you keep things organized. +# They are not used within the plugin. Duplicate keys are not allowed, and will not work. +bypassers: + users: + - "bypasser1" + ips: + - 321.321.321.321 + - 169.254.1.2 \ No newline at end of file diff --git a/Plex-Core/src/main/resources/messages.yml b/Plex-Core/src/main/resources/messages.yml new file mode 100644 index 0000000..2870cc6 --- /dev/null +++ b/Plex-Core/src/main/resources/messages.yml @@ -0,0 +1,171 @@ +# Plex Messages File +# This file uses the MiniMessage system. +# Documentation available at https://docs.adventure.kyori.net/minimessage/format.html + +# Messages in here will be placed in for certain commands, actions, etc. +# Warning: not all commands have customizable messages + +# Variables {number} - these are code-defined replacements for things that should be inserted into messages. (e.g. names, statuses, numbers) +# If any of these variables are supposed to be used within a message, some documentation is provided to give more context to what the variables indicate. +# If you are wishing to change these messages it's recommended you use the same amount of variables as stated in the documentation, however it's not required. + +# 0 - Appeal URL +# 1 - Reason +# 2 - Expiry +# 3 - Punisher +banMessage: "You have been banned! You may appeal at {0}.\nReason: {1}\nEnd date: {2}\nBanned by: {3}" +# 0 - The type of indefinite ban +# 1 - Appeal URL +indefBanMessage: "Your {0} is indefinitely banned! You may appeal at {1}." +playerNotFound: "Player not found!" +worldNotFound: "World not found!" +# 0 - The world you have been teleported to +playerWorldTeleport: "You have been teleported to {0}." +# 0 - The sender who opped everyone +oppedAllPlayers: "{0} - Opped all players on the server" +# 0 - The sender who de-opped everyone +deoppedAllPlayers: "{0} - De-opped all players on the server" +# 0 - The person who is opping +# 1 - The person who has been opped +oppedPlayer: "{0} - Opped {1}" +# 0 - The person who is deopped +# 1 - The person who has been deopped +deoppedPlayer: "{0} - Deopped {1}" +# 0 - The person who is freezing +# 1 - The person who has been frozen +frozePlayer: "{0} - Froze {1}" +# 0 - The person who is unfreezing +# 1 - The person who has been unfrozen +unfrozePlayer: "{0} - Unfroze {1}" +# 0 - The command sender +# 1 - The person who has been muted +mutedPlayer: "{0} - Muted {1}" +# 0 - The command sender +# 1 - The person who has been unmuted +unmutedPlayer: "{0} - Unmuted {1}" +# 0 - The person who is locking up +# 1 - The person who has been locked up +lockedUpPlayer: "{0} - Locking up {1}" +# 0 - The person who is unlocking +# 1 - The person who has been unlocked +unlockedPlayer: "{0} - Unlocking {1}" +# 0 - The rank required to use the command +noPermissionRank: "You must be at least {0} to use this command!" +# 0 - The permission node required to use the command +noPermissionNode: "You must have the permission: {0} to use this command!" +noPermissionInGame: "You must be in console to use this command!" +noPermissionConsole: "You must be in-game to use this command!" +# 0 - The username of the name history +nameHistoryTitle: "Name History of {0}" +nameHistorySeparator: "-----------------------------" +# 0 - The name +# 1 - The date and time of the name change +nameHistoryBody: "{0} - {1}" +# 0 - The gamemode +gameModeSetTo: "Your gamemode has been set to {0}." +# 0 - The player's name +# 1 - The gamemode +setOtherPlayerGameModeTo: "You set {0}'s gamemode to {1}." +# 0 - The command sender +# 1 - The gamemode +playerSetOtherGameMode: "{0} set your gamemode to {1}." +# 0 - The command sender +# 1 - The gamemode +setEveryoneGameMode: "{0} - Changing everyone's gamemode to {1}" +consoleMustDefinePlayer: "You must define a player since you are running this command from console." +# 0 - The command sender +# 1 - The player +newAdminAdded: "{0} - Adding {1} to the admin list" +# 0 - The command sender +# 1 - The player +# 2 - The rank name +adminReadded: "{0} - Re-adding {1} to the admin list as rank: {2}" +# 0 - The command sender +# 1 - The player +adminRemoved: "{0} - Removing {1} from the admin list" +# 0 - The command sender +# 1 - The player +# 2 - The rank +adminSetRank: "{0} - Setting {1}'s rank to {2}" +# 0 - The world name +teleportedToWorld: "You have been teleported to the {0}." +higherRankThanYou: "This player is an admin or a higher rank than you." +playerNotAdmin: "That player is not an admin." +playerIsAdmin: "That player is already an admin." +rankNotFound: "The rank you entered was not found." +rankMustBeHigherThanAdmin: "The rank you entered must be higher than Admin." +consoleOnly: "This command can only be executed by the console." +# 0 - Rank +yourRank: "Your rank is: {0}" +# 0 - Player name +# 1 - Rank +otherRank: "{0}'s rank is: {1}" +# 0 - The command sender +# 1 - The player +banningPlayer: "{0} - Banning {1}" +# 0 - The command sender +# 1 - The player +unbanningPlayer: "{0} - Unbanning {1}" +playerNotBanned: "That player is not banned!" +playerNotFrozen: "That player is not frozen!" +playerNotMuted: "That player is not muted!" +playerBanned: "That player is already banned!" +playerFrozen: "That player is already frozen!" +playerMuted: "That player is already muted!" +playerLockedUp: "That player is already locked up!" +muted: "You are currently muted - STFU!" +# 0 - The command sender +# 1 - The player +kickedPlayer: "{0} - Kicking {1}" +teleportedToWorldSpawn: "Teleporting to the local spawn" +toggleCommandSpy: "CommandSpy has been" +enabled: "enabled." +disabled: "disabled." +# 0 - The admin / staff member +# 1 - The message +adminChatFormat: '[AdminChat] {0} ยป {1}' +# 0 - Maximum length, configured in config.yml +maximumPrefixLength: "The maximum length for a tag may only be {0}." +prefixCleared: "Your prefix has been cleared." +# 0 - The player name +otherPrefixCleared: "You have cleared {0}'s prefix." +# 0 - The new prefix +prefixSetTo: "Your prefix has been set to {0}" +# 0 - The amount of players whose edits are blocked +blockedEditsSize: "Blocked block modification abilities for {0} players." +# 0 - The amount of players whose edits are unblocked +unblockedEditsSize: "Unblocked all block modification abilities for {0} players." +# 0 - The command sender +# 1 - The player name +blockingEditFor: "{0} - Blocking block modification abilities for {1}" +# 0 - The command sender +# 1 - The player name +unblockingEditFor: "{0} - Unblocking block modification abilities for {1}" +yourEditsHaveBeenBlocked: "Your block modification abilities have been blocked." +yourEditsHaveBeenUnblocked: "Your block modification abilities have been restored." +# 0 - The player name +editsBlocked: "Blocked block modification abilities for {0}" +# 0 - The player name +editsUnblocked: "Unblocked block modification abilities for {0}" +# 0 - The command sender +# 1 - Number of entities removed +removedEntities: "{0} - Removed {1} entities" +# 0 - The command sender +# 1 - Number of entities removed +# 2 - Entity type(s) removed +removedEntitiesOfTypes: "{0} - Removed {1} entities of type(s) {2}" +# 0 - The command sender +# 1 - Number of entities removed +# 2 - Entity type removed +removedEntitiesOfType: "Removed {1} {2}" +# 0 - Entity type that is invalid +invalidEntityType: "Notice: Entity type {0} is invalid!" +noRemovedEntities: "No entities were removed." +# 0 - The command sender +# 1 - Number of mobs removed +removedMobs: "{0} - Removed {1} mobs" +autoWipeDisabled: "Item wiping is currently disabled in the config!" +allowDropsDisabled: "No longer allowing drops from players." +allowDropsEnabled: "Now allowing drops from players." +blockedCommandColor: "" +commandBlocked: "That command is blocked." \ No newline at end of file diff --git a/build.gradle b/build.gradle index e4644ed..93f13cb 100644 --- a/build.gradle +++ b/build.gradle @@ -1,153 +1,54 @@ -plugins { - id "java" - id "maven-publish" - id "net.minecrell.plugin-yml.bukkit" version "0.5.1" - id "com.github.johnrengelman.shadow" version "7.1.2" -} - -repositories { - mavenLocal() - maven { - url = uri("https://papermc.io/repo/repository/maven-public/") - } - - maven { - url = uri("https://repository.apache.org/content/repositories/snapshots/") - } - - maven { - url = uri("https://repo.maven.apache.org/maven2/") - } - - mavenCentral() -} - -dependencies { - library "org.projectlombok:lombok:1.18.22" - annotationProcessor "org.projectlombok:lombok:1.18.22" - library "org.json:json:20220320" - library "commons-io:commons-io:2.11.0" - library "dev.morphia.morphia:morphia-core:2.2.6" - library "redis.clients:jedis:4.2.1" - library "org.mariadb.jdbc:mariadb-java-client:3.0.4" - library "com.zaxxer:HikariCP:5.0.1" - library "org.apache.httpcomponents:httpclient:4.5.13" - library "org.apache.commons:commons-lang3:3.12.0" - library "org.apache.maven.resolver:maven-resolver-api:1.7.3" - library "org.apache.maven.resolver:maven-resolver-impl:1.7.3" - library "org.apache.maven.resolver:maven-resolver-connector-basic:1.7.3" - library "org.apache.maven.resolver:maven-resolver-transport-http:1.7.3" - library "org.apache.maven:maven-resolver-provider:3.8.5" - library "org.eclipse.jetty:jetty-server:11.0.9" - library "org.eclipse.jetty:jetty-servlet:11.0.9" - library "org.eclipse.jetty:jetty-proxy:11.0.9" - library "com.google.code.gson:gson:2.9.0" - compileOnly "io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT" - implementation "org.bstats:bstats-base:3.0.0" - implementation "org.bstats:bstats-bukkit:3.0.0" -} - group = "dev.plex" version = "1.0.1-SNAPSHOT" -description = "Plex" -shadowJar { - archiveClassifier.set("") - archiveBaseName.set("Plex") - archiveVersion.set("") - relocate "org.bstats", "dev.plex" -} - -tasks.jar { - archiveBaseName.set("Plex") - archiveVersion.set("") -} - -bukkit { - name = "Plex" - version = rootProject.version - description = "Plex provides a new experience for freedom servers." - main = "dev.plex.Plex" - website = "https://plex.us.org" - authors = ["Telesphoreo", "taahanis", "super"] - apiVersion = "1.18" -} - -String getGitHash() { - def stdout = new ByteArrayOutputStream() - try { - exec { - commandLine "git", "rev-parse", "--short", "HEAD" - standardOutput = stdout - ignoreExitValue = true - } - } catch (GradleException e) { - logger.error("Couldn't determine Git head because Git is not installed. " + e.getMessage()) - } - return stdout.size() > 0 ? stdout.toString().trim() : "unknown" -} - -String getBuildNumber() { - def stdout = new ByteArrayOutputStream() - try { - exec { - commandLine "git", "rev-list", "HEAD", "--count" - standardOutput = stdout - ignoreExitValue = true - } - } catch (GradleException e) { - logger.error("Couldn't determine build number because Git is not installed. " + e.getMessage()) - } - return stdout.size() ? stdout.toString().trim() + " (local)" : "unknown" -} - -static def getDate() { - return new Date().format("MM/dd/yyyy 'at' hh:mm:ss a") -} - -task buildProperties { - ant.propertyfile(file: "$project.rootDir/src/main/resources/build.properties") { - entry(key: "buildAuthor", default: System.getenv("JENKINS_URL") != null ? "jenkins" : "unknown") - entry(key: "buildNumber", value: System.getenv("JENKINS_URL") != null ? System.getenv("BUILD_NUMBER") + " (Jenkins)" : getBuildNumber()) - entry(key: "buildDate", value: getDate()) - entry(key: "buildHead", value: getGitHash()) - } -} - -java { - toolchain.languageVersion.set(JavaLanguageVersion.of(17)) -} - -publishing { - publications { - maven(MavenPublication) { - from(components.java) - } - } +allprojects { + apply plugin: 'java' + apply plugin: "maven-publish" repositories { maven { - def releasesRepoUrl = uri("https://nexus.telesphoreo.me/repository/plex-releases/") - def snapshotsRepoUrl = uri("https://nexus.telesphoreo.me/repository/plex-snapshots/") - url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl - credentials { - username = System.getenv("plexUser") - password = System.getenv("plexPassword") + url = uri("https://papermc.io/repo/repository/maven-public/") + } + + maven { + url = uri("https://repository.apache.org/content/repositories/snapshots/") + } + + maven { + url = uri("https://repo.maven.apache.org/maven2/") + } + + mavenCentral() + } + + java { + toolchain.languageVersion.set(JavaLanguageVersion.of(17)) + } + + tasks.withType(JavaCompile) { + options.encoding = "UTF-8" + } + + publishing { + publications { + maven(MavenPublication) { + from(components.java) + } + } + repositories { + maven { + def releasesRepoUrl = uri("https://nexus.telesphoreo.me/repository/plex-releases/") + def snapshotsRepoUrl = uri("https://nexus.telesphoreo.me/repository/plex-snapshots/") + url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl + credentials { + username = System.getenv("plexUser") + password = System.getenv("plexPassword") + } } } } } -tasks.withType(JavaCompile) { - options.encoding = "UTF-8" -} - -tasks { - build { - dependsOn(shadowJar) - finalizedBy(buildProperties) - } - - javadoc { - options.memberLevel = JavadocMemberLevel.PRIVATE - } +task copyJars(type: Copy, dependsOn: subprojects.jar) { + from(subprojects.jar) + into project.file('jars') } \ No newline at end of file diff --git a/jars/Plex-API.jar b/jars/Plex-API.jar new file mode 100644 index 0000000..577a93e Binary files /dev/null and b/jars/Plex-API.jar differ diff --git a/jars/Plex.jar b/jars/Plex.jar new file mode 100644 index 0000000..65b0c03 Binary files /dev/null and b/jars/Plex.jar differ diff --git a/settings.gradle b/settings.gradle index 642a692..7276427 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1,4 @@ -rootProject.name = 'Plex' \ No newline at end of file +rootProject.name = "Plex" + +include "Plex-Core" +include "Plex-API" \ No newline at end of file