Compare commits
1 Commits
dbbb60280b
...
1.2.1b1
Author | SHA1 | Date | |
---|---|---|---|
df2dd2e28f |
@ -3,7 +3,7 @@ name: Build and Release Minecraft Plugin
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- release
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
@ -1,65 +0,0 @@
|
|||||||
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,27 +1,3 @@
|
|||||||
# 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
|
|
@ -1,2 +0,0 @@
|
|||||||
+ 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.WHITE_WOOL};
|
Material[] s_mat = { Material.LEATHER, Material.STRING, Material.IRON_INGOT, Material.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.BetterMinecraft
|
main: de.steev.bm.main
|
||||||
version: 1.0
|
version: 1.0
|
||||||
api-version: 1.17
|
api-version: 1.17
|
||||||
commands:
|
commands:
|
||||||
|
Reference in New Issue
Block a user