Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a37d9f8
feat: (WIP) improve Paper/Spigot plugin templates
Strokkur424 Jan 9, 2026
2a102d2
fix: errors in build.gradle.tks templates
Strokkur424 Jan 9, 2026
5663475
feat: add version catalog and userdev toggles
Strokkur424 Jan 9, 2026
6828346
feat: add resource factory plugin toggle
Strokkur424 Jan 9, 2026
c4a4832
feat: update spigot template and merge together dupliate files
Strokkur424 Jan 9, 2026
e8701b7
feat: add bootstrap and loader file options (+gremlin) and add transl…
Strokkur424 Jan 9, 2026
5b69859
refactor: minor cleanups
Strokkur424 Jan 9, 2026
70d9b01
fix: don't commit .idea folder and add .gitignore
Strokkur424 Jan 9, 2026
4e18488
fix: 6 after package name in kt files and incorrect indent
Strokkur424 Jan 11, 2026
712123b
chore: bump to template version 2
Strokkur424 Jan 11, 2026
55d285b
feat: add automatic Paper version fetching
Strokkur424 Jan 11, 2026
470e143
Add dynamic version fetching for Gradle plugins and fix spigot template
Strokkur424 Jan 17, 2026
25ecc04
Add kotlin version to the version catalog
Strokkur424 Jan 17, 2026
afd3f8b
Merge remote-tracking branch 'upstream/v1' into feat/improve-paper-te…
Strokkur424 Jan 17, 2026
f12b549
Some final fixes
Strokkur424 Jan 17, 2026
1f779ec
Move shadow plugin option under gremlin plugin option
Strokkur424 Jan 17, 2026
cb9c8c1
Update buildscripts for latest plugin changes
Strokkur424 Jan 18, 2026
f801fd7
Add visibility to Gradle Plugins group
DenWav Jan 19, 2026
6fc8f5c
Add forceValue properties and some template cleanup
Strokkur424 Jan 19, 2026
89fa694
Create Build run configurations on project creation
DenWav Jan 19, 2026
662c7e7
Fix plugin.yml not generating gremlin loader
Strokkur424 Jan 25, 2026
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
11 changes: 11 additions & 0 deletions .gitattributes.ft
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# Linux start script should use lf
/gradlew text eol=lf

# These are Windows script files and should use crlf
*.bat text eol=crlf

# Binary files should be left untouched
*.jar binary
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
123 changes: 10 additions & 113 deletions Gradle.gitignore.ft
Original file line number Diff line number Diff line change
@@ -1,124 +1,21 @@
# User-specific stuff
.idea/
# MacOS DS_Store files
.DS_Store

*.iml
*.ipr
*.iws
# Gradle cache folder
.gradle

# Gradle build folder
build

# IntelliJ
out/
.idea
*.iml
# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# 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*

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

### Gradle ###
.gradle
build/

# Ignore Gradle GUI config
gradle-app.setting

# Cache of project
.gradletasknamecache

### Gradle Patch ###
**/build/

# Common working directory
run/
runs/

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
run
2 changes: 1 addition & 1 deletion architectury/.mcdev.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 1,
"version": 2,
"group": "mod",
"properties": [
{
Expand Down
12 changes: 12 additions & 0 deletions bukkit/BootstrapClass.java.ft
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package ${MAIN_CLASS.packageName};

import io.papermc.paper.plugin.bootstrap.BootstrapContext;
import io.papermc.paper.plugin.bootstrap.PluginBootstrap;

class ${MAIN_CLASS.className}Bootstrap implements PluginBootstrap {

@Override
public void bootstrap(final BootstrapContext context) {
// Plugin bootstrap logic
}
}
11 changes: 11 additions & 0 deletions bukkit/BootstrapClass.kt.ft
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package ${MAIN_CLASS.packageName}

import io.papermc.paper.plugin.bootstrap.BootstrapContext
import io.papermc.paper.plugin.bootstrap.PluginBootstrap

internal class ${MAIN_CLASS.className}Bootstrap : PluginBootstrap {

override fun bootstrap(context: BootstrapContext) {
// Plugin bootstrap logic
}
}
12 changes: 12 additions & 0 deletions bukkit/LoaderClass.java.ft
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package ${MAIN_CLASS.packageName};

import io.papermc.paper.plugin.loader.PluginClasspathBuilder;
import io.papermc.paper.plugin.loader.PluginLoader;

class ${MAIN_CLASS.className}Loader implements PluginLoader {

@Override
public void classloader(final PluginClasspathBuilder builder) {
// Add dynamically loaded libraries here
}
}
11 changes: 11 additions & 0 deletions bukkit/LoaderClass.kt.ft
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package ${MAIN_CLASS.packageName}

import io.papermc.paper.plugin.loader.PluginClasspathBuilder
import io.papermc.paper.plugin.loader.PluginLoader

internal class ${MAIN_CLASS.className}Loader : PluginLoader {

override fun classloader(builder: PluginClasspathBuilder) {
// Add dynamically loaded libraries here
}
}
1 change: 0 additions & 1 deletion bukkit/MainClass.java.ft
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ public final class ${MAIN_CLASS.className} extends JavaPlugin {
@Override
public void onEnable() {
// Plugin startup logic

}

@Override
Expand Down
71 changes: 0 additions & 71 deletions bukkit/build.gradle.ft

This file was deleted.

Loading