Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge development code into master #102

Open
wants to merge 44 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
5c59ea0
Fix pregen storage things
UntouchedOdin0 Aug 20, 2023
5d96b6d
Merge remote-tracking branch 'origin/development' into development
UntouchedOdin0 Aug 20, 2023
268f4a3
Fix the repeating task spam
UntouchedOdin0 Aug 22, 2023
3e7b467
Small fix
UntouchedOdin0 Aug 26, 2023
1874930
New placeholders listening to feedback.
UntouchedOdin0 Aug 31, 2023
ca1a6ae
Major optimization fix for the percentage checker.
UntouchedOdin0 Dec 10, 2023
d564195
Faster percentage checks
UntouchedOdin0 Dec 15, 2023
aa38008
Logger fixes
UntouchedOdin0 Dec 17, 2023
85426f6
Fixes
UntouchedOdin0 Dec 18, 2023
48885d0
Fixes
UntouchedOdin0 Dec 23, 2023
9b81d28
More events
UntouchedOdin0 Jan 16, 2024
094a140
Recode of set blocks command
UntouchedOdin0 Jan 19, 2024
086af1e
Basic NMS stuff.
UntouchedOdin0 Jan 20, 2024
e1624f7
Remove NMS Stuff
UntouchedOdin0 Jan 21, 2024
cbde3c1
Tidy up
UntouchedOdin0 Jan 21, 2024
85d4b75
Updated gradle from 7.6 -> 8.5
UntouchedOdin0 Jan 21, 2024
e154fc2
Fixed pregen stuff
UntouchedOdin0 Jun 24, 2024
3d6925c
Tidy up PregenFactory#pregen
UntouchedOdin0 Jun 25, 2024
5508c05
Add a progress message in PregenFactory
UntouchedOdin0 Jun 25, 2024
e269706
Rewrote the Schematic Iteration system
UntouchedOdin0 Jun 27, 2024
21d78f2
Added the config option schematicThreads to config.yml and Config
UntouchedOdin0 Jun 27, 2024
f507098
Implemented the config options.
UntouchedOdin0 Jun 27, 2024
a2dab3d
Using the config option correctly to assign how many threads to use.
UntouchedOdin0 Jun 27, 2024
b877446
Tidy up SchematicIterator more and make a RegionUtils class.
UntouchedOdin0 Jun 28, 2024
4ac1151
Tidy up
UntouchedOdin0 Jul 1, 2024
eb13fe2
Remove debug stuff and go out of dev build for 5.7 release.
UntouchedOdin0 Jul 1, 2024
06fd953
Update PlaceholderAPI from 2.11.3 -> 2.11.6
UntouchedOdin0 Jul 2, 2024
49b872a
Working on a bit of player shop stuff.
UntouchedOdin0 Jul 16, 2024
aa58972
Working on sql loading stuff and the gui
UntouchedOdin0 Jul 18, 2024
be654de
It's adding to the store.
UntouchedOdin0 Jul 19, 2024
4894c1f
Spigot block gradle fix.
UntouchedOdin0 Jul 21, 2024
3c18ea2
Player shop is working with adding to the sql and /pshop
UntouchedOdin0 Jul 21, 2024
cde73c1
Working on a /pshop menu for selling the items...
UntouchedOdin0 Jul 21, 2024
0cc4ea8
Player shop sell button clearing menu correctly.
UntouchedOdin0 Jul 24, 2024
92c243b
Player shop Menu working much cleaner.
UntouchedOdin0 Jul 24, 2024
703760d
Dev build warning
UntouchedOdin0 Jul 24, 2024
4410d45
Player Shop working better.
UntouchedOdin0 Jul 28, 2024
51f412a
Tidied up PlayerShopListener
UntouchedOdin0 Jul 28, 2024
b90d336
Remove old code
UntouchedOdin0 Jul 28, 2024
6134e7e
Remove old code
UntouchedOdin0 Jul 28, 2024
0eab4b7
dev mode activated!
UntouchedOdin0 Jul 28, 2024
19660af
Remove some debug stuff
UntouchedOdin0 Jul 29, 2024
9a84d15
Fixes for shops
UntouchedOdin0 Jul 30, 2024
26b37a5
Latest code.
UntouchedOdin0 Oct 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 17 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'java'
id 'java-library'
id 'maven-publish'
id 'io.github.gradle-nexus.publish-plugin' version "1.1.0"
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'org.jetbrains.kotlin.jvm' version '1.8.22'
id 'net.minecrell.plugin-yml.bukkit' version '0.6.0'
Expand All @@ -12,12 +12,16 @@ group 'me.untouchedodin0.privatemines'
version = pluginVersion


def devBuild = false
def devBuild = true

if (devBuild) {
version = version + "-DEV"
}

ext {
spigotVersion = '1.13.2-R0.1-SNAPSHOT'
}

repositories {
mavenLocal()
mavenCentral()
Expand All @@ -37,7 +41,6 @@ repositories {
maven { url = 'https://repo.dmulloy2.net/repository/public/' }
maven { url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
maven { url = 'https://repo.mineinabyss.com/releases' }
maven { url = "https://repo.mattstudios.me/artifactory/public/" }
maven { url = 'https://repo.convallyria.com/releases' }
}

Expand All @@ -51,27 +54,28 @@ dependencies {
compileOnly 'com.grinderwolf:slimeworldmanager-api:2.7.0-SNAPSHOT'
compileOnly 'com.github.MilkBowl:VaultAPI:1.7.1'
compileOnly 'com.mojang:authlib:1.11'
compileOnly 'me.clip:placeholderapi:2.11.3'
compileOnly 'me.clip:placeholderapi:2.11.6'
compileOnly 'com.github.oraxen:oraxen:1.157.2'
compileOnly 'com.github.LoneDev6:API-ItemsAdder:3.4.1-r4'
compileOnly 'com.github.LoneDev6:API-ItemsAdder:3.6.1'
compileOnly 'com.google.code.gson:gson:2.10'
compileOnly 'com.fasterxml.jackson.core:jackson-databind:2.15.0' // i think this is the big thing?

compileOnly files('libs/XPrison-1.12.11-RELEASE.jar')
compileOnly files('libs/AutoSellAPI-1.2.0.jar')

implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
bukkitLibrary 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'

implementation 'com.github.Redempt:RedLib:6.5.8'
implementation 'org.bstats:bstats-bukkit:3.0.0'
implementation 'org.bstats:bstats-bukkit:3.0.2'
implementation 'net.kyori:adventure-text-minimessage:4.14.0'
implementation 'net.kyori:adventure-platform-bukkit:4.3.0'
implementation 'co.aikar:acf-paper:0.5.1-SNAPSHOT'
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
implementation "dev.triumphteam:triumph-gui:3.1.2" // Replace version here
implementation 'io.papermc:paperlib:1.0.7'
implementation 'com.convallyria.languagy:api:3.0.2'
implementation 'de.rapha149.signgui:signgui:2.3.2'

implementation files('libs/PrivateMinesAPI-1.3-SNAPSHOT.jar')
implementation files('libs/Ocelot-API-1.0.0.jar')
}

shadowJar {
Expand All @@ -98,6 +102,7 @@ bukkit {
}

tasks.register('copyTo_DevServer', Copy) {
doNotTrackState("spigot-workaround")
from shadowJar
into "E:/Coding/Spigot Test Servers/1.19.2 Privates Mines (Paper)/plugins"
}
Expand All @@ -106,14 +111,8 @@ test {
useJUnitPlatform()
}

compileKotlin {
kotlinOptions {
jvmTarget = "17"
}
}

compileTestKotlin {
kotlinOptions {
jvmTarget = "17"
kotlin {
jvmToolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
29 changes: 17 additions & 12 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,8 @@ done
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down Expand Up @@ -133,26 +131,29 @@ location of your Java installation."
fi
else
JAVACMD=java
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
if ! command -v java >/dev/null 2>&1
then
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
fi

# Increase the maximum file descriptors if we can.
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC2039,SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC2039,SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
Expand Down Expand Up @@ -197,11 +198,15 @@ if "$cygwin" || "$msys" ; then
done
fi

# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
# double quotes to make sure that they get re-expanded; and
# * put everything else in single quotes, so that it's not re-expanded.

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'

# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.

set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
Expand Down
2 changes: 2 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
rootProject.name = 'PrivateMines'


Loading