Skip to content

Commit bebee14

Browse files
authored
Merge pull request #99 from Multiverse/MV5
MV5
2 parents 930c9a1 + fb9fdda commit bebee14

22 files changed

+381
-524
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
<p align="center">
2-
<img src="https://raw.githubusercontent.com/Multiverse/Multiverse-Core/main/config/multiverse2-long.png" alt="Multiverse Logo">
2+
<img src="config/multiverse-banner.png" alt="Multiverse Logo">
33
</p>
44

5-
# Multiverse SignPortals
6-
75
[![Modrinth](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/plugin/Multiverse-SignPortals)
86
[![Hangar](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/hangar_vector.svg)](https://hangar.papermc.io/Multiverse/Multiverse-SignPortals)
97
[![Bukkit](https://raw.githubusercontent.com/intergrav/devins-badges/refs/heads/v3/assets/cozy/available/bukkit_vector.svg)](https://dev.bukkit.org/projects/Multiverse-SignPortals)
108

119
[![GitHub release (with filter)](https://img.shields.io/github/v/release/multiverse/multiverse-signportals)](https://github.com/Multiverse/Multiverse-SignPortals/releases/latest)
10+
[![Pre-Release](https://img.shields.io/github/v/release/multiverse/multiverse-signportals?include_prereleases&label=Pre-release)](https://github.com/Multiverse/Multiverse-SignPortals/releases)
1211
[![Discord](https://img.shields.io/discord/325459248047980545?label=discord&logo=discord)](https://discord.gg/NZtfKky)
1312
[![Support us on Patreon](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Ddumptruckman%26type%3Dpatrons&style=flat)](https://patreon.com/dumptruckman)
1413

@@ -17,7 +16,7 @@
1716

1817
[Multiverse SignPortals](https://dev.bukkit.org/projects/Multiverse-SignPortals) is an add-on Plugin for [Multiverse core](https://dev.bukkit.org/projects/multiverse-core) that allows you to create Signs that (on click) can teleport players to Multiverse destinations (worlds, anchors or even exact positions), With [Multiverse Command Destination](https://www.spigotmc.org/resources/multiverse-commanddestination.90232/) you can even make signs that run commands
1918

20-
Now it's time to create your very own server with Multiverse SignPortals, do check out our [Wiki](https://github.com/Multiverse/Multiverse-Core/wiki/Home-(SignPortals)) and [Usage Guide](https://github.com/Multiverse/Multiverse-Core/wiki/Basics-(SignPortals)) to get started. Feel free to hop onto our [Discord](https://discord.gg/NZtfKky) if you have any questions or just want to have a chat with us!
19+
Now it's time to create your very own server with Multiverse SignPortals, do check out our [Wiki](https://mvplugins.org) and [Usage Guide](https://mvplugins.org/signportals/fundamentals/installation/) to get started. Feel free to hop onto our [Discord](https://discord.gg/NZtfKky) if you have any questions or just want to have a chat with us!
2120

2221
## Our other amazing sub-modules:
2322

@@ -38,7 +37,7 @@ Simply build the source with Gradle:
3837
**Want to help improve Multiverse SignPortals?** There are several ways you can support and contribute to the project.
3938
* Take a look at our "Bug: Unconfirmed" issues, where you can find issues that need extra testing and investigation.
4039
* Want others to love Multiverse too? You can join the [Multiverse Discord community](https://discord.gg/NZtfKky) and help others with issues and setup!
41-
* A Multiverse guru? You can update our [Wiki](https://github.com/Multiverse/Multiverse-Core/wiki) with your latest tips, tricks and guides! The wiki open for all to edit and improve.
40+
* A Multiverse guru? You can update our [Wiki](https://github.com/Multiverse/multiverse-web) with your latest tips, tricks and guides! The wiki open for all to edit and improve.
4241
* Love coding? You could look at some of our [issues](https://github.com/Multiverse/Multiverse-SignPortals/issues). We're always happy to receive bug fixes and feature additions as [pull requests](https://www.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github-3/).
4342
* If you'd like to make a financial contribution to the project, do consider joining our [Patreon](https://www.patreon.com/dumptruckman) or make a one-time donation [here](https://paypal.me/dumptruckman)!
4443

build.gradle

Lines changed: 17 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,42 @@
11
plugins {
2-
id 'java-library'
3-
id 'maven-publish'
42
id 'checkstyle'
5-
id 'com.github.johnrengelman.shadow' version '7.1.2'
3+
id 'org.mvplugins.multiverse-plugin' version '1.2.0'
64
}
75

8-
version = System.getenv('GITHUB_VERSION') ?: 'local'
9-
group = 'com.onarandombox.multiversesignportals'
6+
group = 'org.mvplugins.multiverse.signportals'
107
description = 'Multiverse-SignPortals'
118

12-
java.sourceCompatibility = JavaVersion.VERSION_11
13-
149
repositories {
15-
mavenLocal()
16-
mavenCentral()
17-
18-
maven {
19-
name = 'spigot'
20-
url = uri('https://hub.spigotmc.org/nexus/content/repositories/snapshots/')
21-
}
10+
}
2211

23-
maven {
24-
name = 'onarandombox'
25-
url = uri('https://repo.onarandombox.com/content/groups/public/')
26-
}
12+
configure(apiDependencies) {
13+
serverApiVersion = '1.18.2-R0.1-SNAPSHOT'
14+
mockBukkitServerApiVersion = '1.21'
15+
mockBukkitVersion = '4.31.1'
2716
}
2817

2918
dependencies {
30-
// Spigot
31-
implementation('org.bukkit:bukkit:1.13.2-R0.1-SNAPSHOT') {
32-
exclude group: 'junit', module: 'junit'
33-
}
34-
3519
// Core
36-
implementation 'com.onarandombox.multiversecore:Multiverse-Core:4.2.2'
20+
externalPlugin 'org.mvplugins.multiverse.core:multiverse-core:5.0.0-SNAPSHOT'
3721

3822
// Utils
39-
api('com.dumptruckman.minecraft:Logging:1.1.1') {
40-
exclude group: 'org.bukkit', module: 'bukkit'
23+
shadowed('com.dumptruckman.minecraft:Logging:1.1.1') {
24+
exclude group: 'junit', module: 'junit'
4125
}
4226
}
4327

44-
45-
java {
46-
withSourcesJar()
47-
withJavadocJar()
48-
}
49-
50-
tasks.withType(JavaCompile).configureEach {
51-
options.encoding = 'UTF-8'
52-
}
53-
54-
tasks.withType(Javadoc).configureEach {
55-
options.encoding = 'UTF-8'
28+
checkstyle {
29+
toolVersion = '6.1.1'
30+
configFile file('config/mv_checks.xml')
31+
ignoreFailures = true
5632
}
5733

58-
59-
configurations {
60-
[apiElements, runtimeElements].each {
61-
it.outgoing.artifacts.removeIf { it.buildDependencies.getDependencies(null).contains(jar) }
62-
it.outgoing.artifact(shadowJar)
63-
}
34+
shadowJar {
35+
relocate 'com.dumptruckman.minecraft.util.Logging', 'org.mvplugins.multiverse.signportals.util.MVSPLogging'
36+
relocate 'com.dumptruckman.minecraft.util.DebugLog', 'org.mvplugins.multiverse.signportals.util.DebugFileLogger'
6437
}
6538

6639
publishing {
67-
publications {
68-
maven(MavenPublication) {
69-
from components.java
70-
}
71-
}
7240
repositories {
7341
maven {
7442
name = "GitHubPackages"
@@ -80,45 +48,3 @@ publishing {
8048
}
8149
}
8250
}
83-
84-
85-
processResources {
86-
def props = [version: "${project.version}"]
87-
inputs.properties props
88-
filteringCharset 'UTF-8'
89-
filesMatching('plugin.yml') {
90-
expand props
91-
}
92-
93-
// This task should never be skipped. The tests depend on this having been run but we want the new version number
94-
// that is created after tests are run and before we run again to publish.
95-
outputs.upToDateWhen { false }
96-
}
97-
98-
99-
checkstyle {
100-
toolVersion = '6.1.1'
101-
configFile file('config/mv_checks.xml')
102-
ignoreFailures = true
103-
}
104-
105-
106-
javadoc {
107-
source = sourceSets.main.allJava
108-
classpath = configurations.compileClasspath
109-
}
110-
111-
112-
project.configurations.api.canBeResolved = true
113-
114-
shadowJar {
115-
relocate 'com.dumptruckman.minecraft.util.Logging', 'com.onarandombox.MultiverseSignPortals.util.MVSPLogging'
116-
relocate 'com.dumptruckman.minecraft.util.DebugLog', 'com.onarandombox.MultiverseSignPortals.util.DebugFileLogger'
117-
118-
configurations = [project.configurations.api]
119-
120-
archiveFileName = "$baseName-$version.$extension"
121-
}
122-
123-
build.dependsOn shadowJar
124-
jar.enabled = false

config/multiverse-banner.png

171 KB
Loading
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
44
networkTimeout=10000
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

settings.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,13 @@
22
* This file was generated by the Gradle 'init' task.
33
*/
44

5+
pluginManagement {
6+
repositories {
7+
gradlePluginPortal()
8+
maven {
9+
url = uri('https://repo.onarandombox.com/multiverse-releases')
10+
}
11+
}
12+
}
13+
514
rootProject.name = 'multiverse-signportals'

src/main/java/com/onarandombox/MultiverseSignPortals/MultiverseSignPortals.java

Lines changed: 0 additions & 153 deletions
This file was deleted.

src/main/java/com/onarandombox/MultiverseSignPortals/listeners/MVSPTravelAgent.java

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/main/java/com/onarandombox/MultiverseSignPortals/utils/PortalLocation.java

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)