Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
1880810
refactor: rename to surf-settings
TheBjoRedCraft Oct 9, 2025
f94164f
refactor: rename ContextHolderImpl to SettingsContextHolderImpl and r…
TheBjoRedCraft Oct 9, 2025
cbad078
feat: add clientbound and serverbound packets for setting query and m…
TheBjoRedCraft Oct 9, 2025
06cad0e
feat: implement core and API structures for settings and setting entries
TheBjoRedCraft Oct 10, 2025
51b0ed4
feat: add result models for setting and setting entry operations
TheBjoRedCraft Oct 10, 2025
c0a8c43
feat: add clientbound packets for setting entry operations
TheBjoRedCraft Oct 10, 2025
a001ca7
feat: add serverbound packets for setting entry operations
TheBjoRedCraft Oct 10, 2025
4f6b2a0
refactor: rename SettingModifyResult to SettingCreateIgnoringResult a…
TheBjoRedCraft Oct 10, 2025
8c62c35
feat: implement database entities, tables, repositories, and services…
TheBjoRedCraft Oct 10, 2025
27ddbaa
feat: add SettingEntryPacketListener and enhance repository/service
TheBjoRedCraft Oct 10, 2025
86bc1c1
feat: add clientbound and serverbound packets for setting operations
TheBjoRedCraft Oct 10, 2025
43c903b
feat: add SettingPacketListener and update service/repository to use …
TheBjoRedCraft Oct 10, 2025
f7609bb
feat: add client bridges for settings and setting entries
TheBjoRedCraft Oct 10, 2025
23caf46
refactor: restructure packages and introduce bridges for settings and…
TheBjoRedCraft Oct 10, 2025
034b6c7
feat: add support for querying settings by category
TheBjoRedCraft Oct 10, 2025
fac92c1
feat: add example project and enhance author metadata
TheBjoRedCraft Oct 10, 2025
da6435b
feat: implement SurfSettingsApi and SurfSettingApiImpl for settings m…
TheBjoRedCraft Oct 13, 2025
8d123f8
feat: add surf-settings-core-client module to settings.gradle.kts
TheBjoRedCraft Oct 13, 2025
930a510
feat: introduce SettingCategory and related services for category man…
TheBjoRedCraft Oct 15, 2025
4cadd28
feat: implement SettingCategoryService and ServerSettingCategoryBridg…
TheBjoRedCraft Oct 15, 2025
1e51fe0
feat: add getOrNull() method to result classes for safer access to su…
TheBjoRedCraft Oct 15, 2025
8edcb79
feat: add DSL for creating settings and categories with builder pattern
TheBjoRedCraft Oct 15, 2025
30a1f7f
feat: enhance example settings with DSL for category and setting crea…
TheBjoRedCraft Oct 15, 2025
5163d48
feat: enhance SettingRepository to integrate category validation in q…
TheBjoRedCraft Oct 15, 2025
253cfab
feat: update SettingCreateIgnoringResult and SettingDsl to handle cat…
TheBjoRedCraft Oct 15, 2025
0650cab
feat: refactor SurfSettingExampleCommand and update SettingEntry to s…
TheBjoRedCraft Oct 15, 2025
22cbf6e
feat: add SettingCategoryListener to handle category creation, deleti…
TheBjoRedCraft Oct 15, 2025
7df641b
feat: implement serializers for Setting and SettingCategory, and upda…
TheBjoRedCraft Oct 17, 2025
162b331
feat: idk what i did here
TheBjoRedCraft Oct 27, 2025
5fe69a9
feat: better stuff than before ⭐⭐⭐⭐⭐
TheBjoRedCraft Oct 27, 2025
15f13d4
Merge branch 'master' into version/1.21.10
TheBjoRedCraft Oct 27, 2025
daba02c
feat: add SLNE releases utility import to build script
TheBjoRedCraft Oct 27, 2025
03b216e
refactor: comment out unused database imports and transaction code
TheBjoRedCraft Oct 27, 2025
9bf6512
refactor: another complete restructuring idk why but looks better now
TheBjoRedCraft Nov 1, 2025
0445718
feat: add identifiers for boolean, integer, and text settings; refact…
TheBjoRedCraft Nov 2, 2025
99776d7
fix: update getSetting calls to use identifier instead of uid for con…
TheBjoRedCraft Nov 2, 2025
60a738b
chore: bump version to 1.21.10-1.0.1
TheBjoRedCraft Nov 2, 2025
2872b78
feat: enhance Setting and SurfSettingsApi with detailed documentation…
TheBjoRedCraft Nov 2, 2025
2b2bdc5
feat: implement SettingsLifecycle interface and add DevSchemaInitiali…
TheBjoRedCraft Nov 2, 2025
ef8a277
refactor: remove unused settingsCommand invocation in PaperMain onEna…
TheBjoRedCraft Nov 2, 2025
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
167 changes: 41 additions & 126 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,131 +1,46 @@
### Intellij template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# AWS User-specific
.idea/**/aws.xml

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
.idea/artifacts
.idea/compiler.xml
.idea/jarRepositories.xml
.idea/modules.xml
.idea/*.iml
.idea/modules
*.iml
*.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
.idea/
*.iws

# IntelliJ
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# SonarLint plugin
.idea/sonarlint/

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
### Kotlin ###
.kotlin

### Gradle template
.gradle
**/build/
!src/**/build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Avoid ignore Gradle wrappper properties
!gradle-wrapper.properties

# Cache of project
.gradletasknamecache

# Eclipse Gradle plugin generated files
# Eclipse Core
.project
# JDT-specific (Eclipse Java Development Tools)
### Eclipse ###
.apt_generated
.classpath

### Kotlin template
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
replay_pid*


# Ignore Gradle build output directory
build
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store
2 changes: 1 addition & 1 deletion .idea/discord.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# surf-cloud-plugin-template
Template for surf-cloud applications
# surf-settings
6 changes: 4 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
import dev.slne.surf.surfapi.gradle.util.slneReleases

buildscript {
repositories {
gradlePluginPortal()
maven("https://repo.slne.dev/repository/maven-public/") { name = "maven-public" }
}
dependencies {
classpath("dev.slne.surf:surf-api-gradle-plugin:1.21.7+")
classpath("dev.slne.surf:surf-api-gradle-plugin:1.21.10+")
}
}

allprojects {
group = "dev.slne.surf.template"
group = "dev.slne.surf.settings"
version = findProperty("version") as String
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ org.gradle.parallel=true
org.gradle.caching=true
kotlin.code.style=official
kotlin.stdlib.default.dependency=false
version=1.21.7-1.0.0
version=1.21.10-1.0.1
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
# This file was generated by the Gradle 'init' task.
# https://docs.gradle.org/current/userguide/platforms.html#sub::toml-dependencies-format
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
19 changes: 8 additions & 11 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
rootProject.name = "surf-cloud-plugin-template"
rootProject.name = "surf-settings"

include("surf-cloud-plugin-template-api:surf-cloud-plugin-template-common-api")
include("surf-cloud-plugin-template-api:surf-cloud-plugin-template-client-api:surf-cloud-plugin-template-client-common-api")
include("surf-cloud-plugin-template-api:surf-cloud-plugin-template-client-api:surf-cloud-plugin-template-client-paper-api")
include("surf-cloud-plugin-template-api:surf-cloud-plugin-template-client-api:surf-cloud-plugin-template-client-velocity-api")
include("surf-cloud-plugin-template-api:surf-cloud-plugin-template-server-api")
include("surf-settings-api:surf-settings-api-common")
include("surf-settings-core:surf-settings-core-common")
include("surf-settings-core:surf-settings-core-client")

include("surf-cloud-plugin-template-core:surf-cloud-plugin-template-core-common")
include("surf-cloud-plugin-template-core:surf-cloud-plugin-template-core-client")
include("surf-cloud-plugin-template-paper")
include("surf-cloud-plugin-template-velocity")
include("surf-cloud-plugin-template-server")
include("surf-settings-paper")
include("surf-settings-velocity")
include("surf-settings-server")
include("surf-settings-example")

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions surf-cloud-plugin-template-paper/build.gradle.kts

This file was deleted.

12 changes: 0 additions & 12 deletions surf-cloud-plugin-template-server/build.gradle.kts

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

12 changes: 0 additions & 12 deletions surf-cloud-plugin-template-velocity/build.gradle.kts

This file was deleted.

Loading