-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from SimplyVanilla/feature/release
Release
- Loading branch information
Showing
15 changed files
with
797 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
indent_size = 2 | ||
indent_style = space | ||
|
||
[Makefile] | ||
indent_size = 4 | ||
indent_style = tab | ||
|
||
[*.{java,html}] | ||
indent_size = 4 | ||
|
||
[build.gradle] | ||
indent_size = 4 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "gradle" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Build and Publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: | ||
- '*' | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
env: | ||
TERM: xterm-256color | ||
|
||
jobs: | ||
build-and-publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build jar | ||
run: make | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: build/libs/*.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# User-specific stuff | ||
.idea/ | ||
/.idea/ | ||
|
||
*.iml | ||
*.ipr | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
SHELL := bash | ||
|
||
|
||
.PHONY: all | ||
all: build | ||
|
||
|
||
.PHONY: build | ||
build: | ||
./gradlew build | ||
|
||
|
||
.PHONY: wrapper | ||
wrapper: | ||
./gradlew wrapper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# InvSet | ||
|
||
[![Build and Publish](https://github.com/SimplyVanilla/InvSet/actions/workflows/build-and-publish.yml/badge.svg)](https://github.com/SimplyVanilla/InvSet/actions/workflows/build-and-publish.yml) | ||
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=SimplyVanilla_InvSet&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=SimplyVanilla_InvSet) | ||
[![Known Vulnerabilities](https://snyk.io/test/github/SimplyVanilla/InvSet/badge.svg)](https://snyk.io/test/github/SimplyVanilla/InvSet) | ||
|
||
`data get entity PLAYER` replacement for Folia servers. Fetch and clear player inventories with ease. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...in/java/me/hsgamer/invset/AirCommand.java → .../net/simplyvanilla/invset/AirCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...in/java/me/hsgamer/invset/GetCommand.java → .../net/simplyvanilla/invset/GetCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/me/hsgamer/invset/InvSet.java → ...java/net/simplyvanilla/invset/InvSet.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...n/java/me/hsgamer/invset/Permissions.java → ...net/simplyvanilla/invset/Permissions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
main: net.simplyvanilla.invset.InvSet | ||
name: InvSet | ||
version: '${version}' | ||
main: me.hsgamer.invset.InvSet | ||
api-version: '1.20' | ||
api-version: 1.20 | ||
folia-supported: true | ||
|
||
author: Simply Vanilla | ||
website: https://github.com/SimplyVanilla/InvSet | ||
|
||
commands: | ||
getinv: | ||
description: Get the inventory of a player | ||
usage: | | ||
/getinv <player> [end] | ||
permission: op | ||
|
||
airinv: | ||
description: Set a slot of the inventory to air | ||
usage: | | ||
/airinv <player> <slot> [end] | ||
permission: op |