This commit is contained in:
Johannes Frohnmeyer 2023-03-12 16:58:22 +01:00
commit d24b7f70a0
Signed by: Johannes
GPG Key ID: E76429612C2929F4
10 changed files with 242 additions and 0 deletions

118
.gitignore vendored Normal file
View File

@ -0,0 +1,118 @@
# User-specific stuff
.idea/
*.iml
*.ipr
*.iws
# IntelliJ
out/
# 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*
*~
# 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*
# 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 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
build/
# Ignore Gradle GUI config
gradle-app.setting
# Cache of project
.gradletasknamecache
**/build/
# Common working directory
run/
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2023
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

14
build.gradle.kts Normal file
View File

@ -0,0 +1,14 @@
import io.gitlab.jfronny.scripts.*
plugins {
id("jfmod") version "1.3-SNAPSHOT"
}
dependencies {
modImplementation("io.gitlab.jfronny.libjf:libjf-config-core-v1:${prop("libjf_version")}")
// Dev env
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-ui-tiny-v1:${prop("libjf_version")}")
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-devutil:${prop("libjf_version")}")
modLocalRuntime("com.terraformersmc:modmenu:${prop("modmenu_version")}")
}

18
gradle.properties Normal file
View File

@ -0,0 +1,18 @@
# https://fabricmc.net/develop/
minecraft_version=1.19.4-rc2
yarn_mappings=build.1
loader_version=0.14.17
maven_group=io.gitlab.jfronny
archives_base_name=better-whitelist
#modrinth_id=google-chat
#modrinth_required_dependencies=libjf
#modrinth_optional_dependencies=modmenu
#curseforge_id=574331
#curseforge_required_dependencies=libjf
#curseforge_optional_dependencies=modmenu
libjf_version=3.5.0-SNAPSHOT
fabric_version=0.75.3+1.19.4
modmenu_version=6.1.0-beta.3

View File

@ -0,0 +1 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip

9
settings.gradle.kts Normal file
View File

@ -0,0 +1,9 @@
pluginManagement {
repositories {
maven("https://maven.fabricmc.net/") // FabricMC
maven("https://maven.frohnmeyer-wds.de/artifacts") // scripts
gradlePluginPortal()
}
}
rootProject.name = "better-whitelist"

View File

@ -0,0 +1,10 @@
package io.gitlab.jfronny.betterwhitelist;
import net.fabricmc.api.ModInitializer;
public class Better_whitelist implements ModInitializer {
@Override
public void onInitialize() {
}
}

View File

@ -0,0 +1,10 @@
package io.gitlab.jfronny.betterwhitelist.client;
import net.fabricmc.api.ClientModInitializer;
public class Better_whitelistClient implements ClientModInitializer {
@Override
public void onInitializeClient() {
}
}

View File

@ -0,0 +1,13 @@
{
"required": true,
"minVersion": "0.8",
"package": "io.gitlab.jfronny.betterwhitelist.mixin",
"compatibilityLevel": "JAVA_17",
"mixins": [
],
"client": [
],
"injectors": {
"defaultRequire": 1
}
}

View File

@ -0,0 +1,28 @@
{
"schemaVersion": 1,
"id": "better-whitelist",
"name": "Better Whitelist",
"version": "${version}",
"description": "A configurable whitelist system for Minecraft",
"authors": ["JFronny"],
"contact": {
"email": "projects.contact@frohnmeyer-wds.de",
"homepage": "https://jfronny.gitlab.io",
"issues": "https://git.frohnmeyer-wds.de/JfMods/Better-Whitelist/issues",
"sources": "https://git.frohnmeyer-wds.de/JfMods/Better-Whitelist"
},
"license": "MIT",
"icon": "assets/better-whitelist/icon.png",
"environment": "*",
"entrypoints": {
"client": ["io.gitlab.jfronny.betterwhitelist.client.Better_whitelistClient"],
"main": ["io.gitlab.jfronny.betterwhitelist.Better_whitelist"]
},
"mixins": [
"better-whitelist.mixins.json"
],
"depends": {
"fabricloader": ">=0.14.17",
"minecraft": "1.19.3"
}
}