Compare commits
8 Commits
1.2.1b1
...
dbbb60280b
Author | SHA1 | Date | |
---|---|---|---|
dbbb60280b | |||
750042d7a9 | |||
1bac43b3fe | |||
0fe5ce24a8 | |||
137a39e430 | |||
8c83b7ddb6 | |||
63ffe0fe2b | |||
6743f297b2 |
@ -3,7 +3,7 @@ name: Build and Release Minecraft Plugin
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- release
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
65
.gitea/workflows/test-release.yml
Normal file
65
.gitea/workflows/test-release.yml
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
name: Build and Release Minecraft Plugin
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- testing
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up Java 17
|
||||||
|
uses: actions/setup-java@v2
|
||||||
|
with:
|
||||||
|
java-version: '17'
|
||||||
|
distribution: 'adopt' # Verwenden Sie 'adopt' für Java 17
|
||||||
|
|
||||||
|
- name: Update Apt
|
||||||
|
run: apt update -y
|
||||||
|
|
||||||
|
- name: Update CA certificates
|
||||||
|
run: apt-get install --reinstall ca-certificates -y
|
||||||
|
|
||||||
|
- name: Install Maven
|
||||||
|
run: apt install maven -y
|
||||||
|
|
||||||
|
- name: Build with Maven
|
||||||
|
run: mvn clean install
|
||||||
|
|
||||||
|
- name: Upload Artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: BetterMinecraft-stable.jar
|
||||||
|
path: target/BetterMinecraft-stable.jar
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Get letzte Release-Version
|
||||||
|
id: get_version
|
||||||
|
run: echo "::set-output name=version::$(git describe --tags --abbrev=0 || echo '0.0.0')"
|
||||||
|
|
||||||
|
- name: Incrementiere Version
|
||||||
|
id: increment_version
|
||||||
|
run: |
|
||||||
|
IFS='.' read -ra VERSION <<< "${{ steps.get_version.outputs.version }}"
|
||||||
|
MAJOR="${VERSION[0]}"
|
||||||
|
MINOR="${VERSION[1]}"
|
||||||
|
PATCH="${VERSION[2]}"
|
||||||
|
echo "::set-output name=major::$(($MAJOR + 1))"
|
||||||
|
echo "::set-output name=minor::$(($MINOR + 1))"
|
||||||
|
echo "::set-output name=patch::$(($PATCH + 1))"
|
||||||
|
|
||||||
|
- name: Create Release
|
||||||
|
id: create_release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
target/BetterMinecraft-beta.jar
|
||||||
|
tag_name: ${{ steps.increment_version.outputs.major }}.${{ steps.increment_version.outputs.minor }}.${{ steps.increment_version.outputs.patch }}
|
||||||
|
release_name: Release ${{ steps.increment_version.outputs.major }}.${{ steps.increment_version.outputs.minor }}.${{ steps.increment_version.outputs.patch }}
|
||||||
|
draft: false
|
||||||
|
prerelease: true
|
24
README.md
24
README.md
@ -1,3 +1,27 @@
|
|||||||
# betterminecraft
|
# betterminecraft
|
||||||
sandboxplugin to fix mojang fuckups
|
sandboxplugin to fix mojang fuckups
|
||||||
you can use my code when you link this repo and name the author
|
you can use my code when you link this repo and name the author
|
||||||
|
|
||||||
|
|
||||||
|
# Contribution
|
||||||
|
## contribute by code
|
||||||
|
In order to contribute you need to do the following things
|
||||||
|
1. Create an issue with the changes you want to add
|
||||||
|
2. Wait for your feature to be approved
|
||||||
|
3. Fork the Project and make a branch with the features name
|
||||||
|
4. make a pull request from your project to the testing branch (pr's to any other branch will be removed)
|
||||||
|
|
||||||
|
Now your contribution is in testing where people can start using it as beta on their own servers and report back issues
|
||||||
|
Once the testing phase is over and now reports come in the feature will be pulled to release from which it then gets its own downloadable release created
|
||||||
|
|
||||||
|
## contribute with requests
|
||||||
|
if you want a certain feature in my plugin write an issue with the enhancement label
|
||||||
|
you issue should follow this structure
|
||||||
|
|
||||||
|
### Feature request
|
||||||
|
**Name:** how should the feature be named
|
||||||
|
**Version:** when would you like the feature to be implemented (this might differ from actual implementation)
|
||||||
|
**Description:** get creative and technical what do you want this feature to do. Your description even might contain pseudo code if you want to provide such
|
||||||
|
|
||||||
|
Your feature now can be reviewed by the community and be disscussed uppon and maybe changed to fit the plugin
|
||||||
|
once it is approved it will be given a releaes milestone and its own feature branch from where it then will continue on the development proccess
|
2
changelog.txt
Normal file
2
changelog.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
+ added system type changelog
|
||||||
|
+ added custom type changelog
|
@ -31,7 +31,7 @@ public class GameManager {
|
|||||||
this.plugin.getLogger().info("saddle");
|
this.plugin.getLogger().info("saddle");
|
||||||
char[] s_ing = { 'L', 'S', 'I', 'W' };
|
char[] s_ing = { 'L', 'S', 'I', 'W' };
|
||||||
String[] s_rec = { "LLL", "SWS", "I I" };
|
String[] s_rec = { "LLL", "SWS", "I I" };
|
||||||
Material[] s_mat = { Material.LEATHER, Material.STRING, Material.IRON_INGOT, Material.WOOL};
|
Material[] s_mat = { Material.LEATHER, Material.STRING, Material.IRON_INGOT, Material.WHITE_WOOL};
|
||||||
this.recipyManager.RegisterNew(s_ing, s_mat, s_rec, 1, Material.SADDLE, "Saddle");
|
this.recipyManager.RegisterNew(s_ing, s_mat, s_rec, 1, Material.SADDLE, "Saddle");
|
||||||
|
|
||||||
this.plugin.getLogger().info("String");
|
this.plugin.getLogger().info("String");
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: BetterMinecraft
|
name: BetterMinecraft
|
||||||
main: de.steev.bm.main
|
main: de.steev.bm.BetterMinecraft
|
||||||
version: 1.0
|
version: 1.0
|
||||||
api-version: 1.17
|
api-version: 1.17
|
||||||
commands:
|
commands:
|
||||||
|
Reference in New Issue
Block a user