Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

feature/UCAF-655-enhanced-wiki #656

Closed
wants to merge 272 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
64be62a
Update event handlers
rettichlp Feb 8, 2023
db91db2
Update commands and UnicacityAddon class
rettichlp Feb 8, 2023
2ec4cec
Update PatternHandler and WaitingRoomEventHandler
rettichlp Feb 8, 2023
d93d30b
Make the code runnable 2.0
rettichlp Feb 9, 2023
79f2d99
Make the code runnable 2.1
rettichlp Feb 9, 2023
0580151
Make the code runnable 3.0
rettichlp Feb 10, 2023
8a1194f
Rename package events to listener
rettichlp Feb 23, 2023
4de4c81
Add OfflineDataChangedEvent to Data and update payday info message ha…
rettichlp Feb 23, 2023
9697e58
Update modules to HudWidgets partly with OfflineDataChangedEvent
rettichlp Feb 23, 2023
8797168
Add health to addon player
rettichlp Feb 24, 2023
6f266df
Fix bug in EmergencyServiceEventHandler which caused wrong service count
rettichlp Feb 24, 2023
710a709
Add UnicacityAddonTickEvent
rettichlp Feb 24, 2023
037965f
Update hud widgets
rettichlp Feb 24, 2023
1b7b3a8
Add support for 1.16.5
rettichlp Feb 24, 2023
4a3280e
Update hud widget registry, addon load handling, fix deprecated warni…
rettichlp Feb 24, 2023
46730bc
Transform TickEventHandler tasks to UnicacityAddonTickEvent
rettichlp Feb 24, 2023
8c1ae95
Update HearthHudWidget and fix unicacity check, update addon load and…
rettichlp Feb 24, 2023
a0560a5
Update order of AddonGroup entries and migrate Color to ColorCode, ad…
rettichlp Feb 24, 2023
086803f
Add specific name tags
rettichlp Feb 24, 2023
4966340
Cleanup UnicacityAddon
rettichlp Feb 24, 2023
55e96dd
Add i18n name and icon to hud widgets
rettichlp Feb 24, 2023
c2c37d7
Cleanup code
rettichlp Feb 24, 2023
ce0af80
Update color of name tags in NameTagEventHandler
rettichlp Feb 24, 2023
a49cde3
Fix multiple sending of payday message
rettichlp Feb 24, 2023
9eaa4af
Remove MINECRAFT variable in UnicacityAddon class
rettichlp Feb 24, 2023
47a2a5a
Update has communications check on join
rettichlp Feb 25, 2023
f6798e5
Fix car find auto route
rettichlp Feb 25, 2023
8a66a71
Add WeaponShotEvent and handling
rettichlp Feb 25, 2023
afd4fd9
Cleanup code
rettichlp Feb 26, 2023
c766b85
Update static addon class access and update FactionManager
rettichlp Feb 26, 2023
98e2250
Add providing of offline data
rettichlp Feb 26, 2023
d9a7bb2
Add function to calculate equip price in Equip and re-enable equip fo…
rettichlp Feb 27, 2023
9075a75
Add teamspeak integration
rettichlp Feb 27, 2023
4d12183
Rename events to listener
rettichlp Feb 27, 2023
511c6d3
Add hotkey settings and logic, move ad listener to extra class
rettichlp Feb 28, 2023
562ad46
Minor style fixes
rettichlp Feb 28, 2023
3bef1d4
Update providing of addon group data
rettichlp Feb 28, 2023
2954807
Update clipboard handling and add this to unicacityAddon variable
rettichlp Feb 28, 2023
8b06403
Update notification system
rettichlp Feb 28, 2023
57c77d4
Update README, remove minecraft forge CREDITS and LICENSE
rettichlp Feb 28, 2023
14f4242
Add debug messages to TabListListener and NameTagListener
rettichlp Mar 1, 2023
55ff0c2
Update to match v1.9.0 labymod 3 release
rettichlp Mar 13, 2023
24de186
Cleanup code
rettichlp Mar 13, 2023
6ac07a7
Update listener registration
rettichlp Mar 14, 2023
5f43fd0
Tried to add ordered tablist support
rettichlp Mar 14, 2023
2f6468b
Add versioned OverlayMessageController
rettichlp Mar 17, 2023
7ecf417
Add versioned DeadBodyController
rettichlp Mar 17, 2023
47b1053
Add versioned BusController
rettichlp Mar 17, 2023
31cd42d
Replace faction manager with APIConverter
rettichlp Mar 17, 2023
82897eb
Add versioned controller, update ScreenshotBuilder and add testing co…
rettichlp Mar 17, 2023
24f37da
Add versioned controller to UnicacityAddon
rettichlp Mar 17, 2023
5b78f16
Update supported addon versions, update laby gradle plugin version, a…
rettichlp Mar 17, 2023
c91c7a9
Update bus command processing
rettichlp Mar 18, 2023
f80a07e
Fix NullPointerException in FileManager and duplicated execution of t…
rettichlp Mar 18, 2023
28de906
Add car controller
rettichlp Mar 19, 2023
26d73c0
Remove ContainerController, not needed anymore, replaced with CarCont…
rettichlp Mar 19, 2023
c6410d8
Add click interaction for jobs
rettichlp Mar 21, 2023
f8e180a
Fix stack overflow in NaviCommand
rettichlp Mar 21, 2023
09df479
Update to match v1.9.2 labymod 3 release
rettichlp Mar 21, 2023
c013dd1
Add banner spray logic
rettichlp Mar 21, 2023
f3d0e52
Update missing author
rettichlp Mar 21, 2023
93f2a19
Update corpse custom name logic
rettichlp Mar 21, 2023
6251a06
Update missing author 2
rettichlp Mar 21, 2023
59c30bd
Update custom name of corpses
rettichlp Mar 21, 2023
b4161e0
Migrate BusController into CarController and rename CarController to …
rettichlp Mar 29, 2023
7bbf8ed
Update laby gradle version from 0.3.19 to 0.3.20, update gradle versi…
rettichlp Mar 29, 2023
babe618
Add version dependent code for minecraft version 1.19.4
rettichlp Mar 30, 2023
f80e141
Remove debug messages
rettichlp Mar 30, 2023
ce20a48
Optimize imports
rettichlp Mar 30, 2023
44370b5
Fix float values in reinforcement, add gnd and test type to Reinforce…
rettichlp Mar 30, 2023
2834402
Fix gson parsing error
rettichlp Mar 30, 2023
4552ac3
Update to releasable version v2.0.0-alpha.1
rettichlp Mar 30, 2023
5ea1134
Update README.md
rettichlp Mar 30, 2023
f7171ff
Upgrade static calls 1.0
rettichlp Mar 31, 2023
243cc7f
Update FileManager and versioned controller handling
rettichlp Apr 1, 2023
73fbf6b
Update TokenManager
rettichlp Apr 1, 2023
56deee6
Update UnicacityAddon main class
rettichlp Apr 1, 2023
5a52600
Add plant interaction logic
rettichlp Apr 2, 2023
220c8a4
Add screenshot support
rettichlp Apr 2, 2023
40c7604
Update to releasable version v2.0.0-alpha.2
rettichlp Apr 2, 2023
2131cf0
Removed screenshot hotkey (is done by labymod 4)
rettichlp Apr 2, 2023
1bd622f
Degrease complexity
rettichlp Apr 2, 2023
61fe7be
Add NameTagService and nopush nametag
rettichlp Apr 3, 2023
2f0188b
Clean up code
rettichlp Apr 3, 2023
5f074d9
Migrate and update website utils to web service
rettichlp Apr 4, 2023
c3f2f2e
Remove ForgeUtils.java
rettichlp Apr 4, 2023
9d27de1
Add first implementation of abuy command and usage
rettichlp Apr 4, 2023
9d11d7b
Remove ForgeUtils usages
rettichlp Apr 4, 2023
7445e9a
Merge branch 'develop' into feature/UCAF-453-Update-to-LabyMod-4
rettichlp Apr 4, 2023
8dce37f
Fix merge conflicts
rettichlp Apr 4, 2023
fd70709
Update build and release GitHub action
rettichlp Apr 4, 2023
ab8560d
Update tags
rettichlp Apr 5, 2023
577d3b6
Remove unused code fragments
rettichlp Apr 5, 2023
16157f4
Add sound support
rettichlp Apr 7, 2023
86bfa3e
Add masked player list to NameTagService
rettichlp Apr 8, 2023
deff0a9
Migrate Navigation to NavigationService
rettichlp Apr 8, 2023
ebce18f
Fix ShareLocationCommand
rettichlp Apr 8, 2023
dd4c09a
Add ordered tablist WUUHUUUU
rettichlp Apr 9, 2023
2126da9
Update executing of tab ordering
rettichlp Apr 10, 2023
4ab41d5
Update name tag logic with masked players using scoreboard team
rettichlp Apr 10, 2023
b0a627e
Update and fix automated buy handling, remove delay adjustment
rettichlp Apr 10, 2023
32959d6
Update language files
rettichlp Apr 10, 2023
0120f5d
Add faction info and cam again and fix addon tag for players without …
rettichlp Apr 10, 2023
39dbe61
Add shutdown logic and fix todos
rettichlp Apr 10, 2023
07dbd6e
Rename ABuyController to GuiController
rettichlp Apr 11, 2023
cc5bc7c
Update WeaponListener and WeaponShotEvent
rettichlp Apr 11, 2023
b4cecaf
Add gun pattern logic
rettichlp Apr 11, 2023
08b6e8b
Remove blocked and muted logic from MobileListener
rettichlp Apr 11, 2023
1eaf487
Add dda and ada command
rettichlp Apr 11, 2023
d7cfcf4
Fix not closing of container during dda and ada process
rettichlp Apr 11, 2023
5be249b
Fix ReviveListener and successful revive by medic handling
rettichlp Apr 11, 2023
a028b13
Clean up code
rettichlp Apr 11, 2023
1b41de9
Fix code problems
rettichlp Apr 11, 2023
a9064f8
Fix GiftEigenbedarfCommand and SellDrugCommand, better performance wi…
rettichlp Apr 12, 2023
51e18a1
Fix FDoorListener
rettichlp Apr 12, 2023
c22896c
Add abuy amount to config, add hovered item logic to ScreenRenderList…
rettichlp Apr 12, 2023
c878283
Update language files
rettichlp Apr 12, 2023
21bee2a
Add slider widget
rettichlp Apr 12, 2023
2009589
Update abuy handling and add aequip handling
rettichlp Apr 12, 2023
b0c8915
Remove FireListener and add CheckFireCommand
rettichlp Apr 12, 2023
c64c61d
Update admins duty check
rettichlp Apr 12, 2023
9ed1a8d
Add duty check for reinforcement sending
rettichlp Apr 14, 2023
b8a1b9c
Update nopush tag and fix player duty check
rettichlp Apr 14, 2023
c7e1d20
Add afk tag in player list
rettichlp Apr 15, 2023
05cf406
Update LICENSE
rettichlp May 13, 2023
63245ee
Update addon description and minecraftVersion property in build.gradl…
rettichlp May 13, 2023
720034d
Update doc comments and imports
rettichlp May 14, 2023
bca9656
Add enabled config property to UnicacityAddonConfiguration and add en…
rettichlp May 18, 2023
45bc358
Add filter for commands to check execution server location, add abstr…
rettichlp May 18, 2023
f4a222f
Fix NullPointerException in AmmunitionHudWidget and HearthHudWidget
rettichlp May 18, 2023
a49f4b0
Update Unicacity logo
rettichlp May 18, 2023
3c1e2e4
Clean up code and remove UpdateAddonCommand
rettichlp May 18, 2023
4c06a73
Add utils and services class and remove static method calls
rettichlp May 19, 2023
0a261d3
Update UnicacityCommand with usage and data providing by UCCommand an…
rettichlp May 19, 2023
9b345e2
Clean up code
rettichlp May 19, 2023
8d54448
Remove UCModule annotation
rettichlp May 19, 2023
e987de1
Merge branch 'develop' into feature/UCAF-453-Update-to-LabyMod-4
rettichlp May 19, 2023
482d835
Fix merge conflicts
rettichlp May 19, 2023
cdd849d
Refactor manager to services
rettichlp May 20, 2023
aae9246
Merge branch 'develop' into feature/UCAF-453-Update-to-LabyMod-4
rettichlp May 25, 2023
d898b15
Fix merge conflicts
rettichlp May 25, 2023
bc379ba
Remove short drug names
rettichlp May 25, 2023
7fa0063
Update corpse name tag color
rettichlp May 25, 2023
feb846e
Merge branch 'develop' into feature/UCAF-453-Update-to-LabyMod-4
rettichlp May 25, 2023
30a2f19
Rename drug names
rettichlp May 25, 2023
24d3dae
Update afk tag in tablist
rettichlp May 25, 2023
78282be
Merge remote-tracking branch 'origin/feature/UCAF-453-Update-to-LabyM…
rettichlp May 27, 2023
94e618f
Update command usage sending
rettichlp May 28, 2023
c725ef0
Dependency and import management
rettichlp May 30, 2023
c3ad4eb
Update laby gradle plugin version and java versions to 17
rettichlp May 30, 2023
7d49429
Update referenceStorageAccessor
rettichlp May 30, 2023
20c685e
Update LabyModLaunchWrapperTweaker to Java17LabyModLaunchWrapperTweaker
rettichlp May 30, 2023
080b440
Fix NullPointerException in auto completion
rettichlp May 30, 2023
9120de3
Add registered commands list and temporary command auto-completion
rettichlp May 30, 2023
656ac9a
Update to releasable version v2.0.0-alpha.4
rettichlp May 30, 2023
e884ebc
Update API, add parsing of response models to RequestBuilder, update …
rettichlp May 31, 2023
a8bb0f7
Fix parsing of single model object
rettichlp Jun 1, 2023
b23a8e1
Update laby gradle plugin version to 0.3.25
rettichlp Jun 1, 2023
31586b9
Add lombok to models
rettichlp Jun 1, 2023
8ef4891
Fix java doc
rettichlp Jun 1, 2023
8bb1d81
Fix multiple afk tag in tab list and suppress unchecked warning in Re…
rettichlp Jun 3, 2023
ec1d915
Rename FactionInfoCommand to CheckActiveMembersCommand and rename Syn…
rettichlp Jun 3, 2023
7ef34f7
Add register listener and command output
rettichlp Jun 3, 2023
da029c6
Add api token to API and remove TokenService
rettichlp Jun 4, 2023
f1c6962
Remove token create command parameter
rettichlp Jun 4, 2023
d53968e
Update API, add failure message, notification handling
rettichlp Jun 4, 2023
eb5342e
Update password handling for enabled but blank password
rettichlp Jun 4, 2023
2795912
Rename placed to planted for bomb handling
rettichlp Jun 4, 2023
6df09bb
Rename sync command information from syncdata to sync
rettichlp Jun 4, 2023
334c27b
Add BombPlantedEvent, BombRemovedEvent and ReinforcementAcceptedEvent
rettichlp Jun 4, 2023
9ea442b
Add ScreenshotListener and remove screen handler from TickListener, a…
rettichlp Jun 4, 2023
c7e35dd
Prevent NullPointerException in API during accessing of data before l…
rettichlp Jun 4, 2023
e1bf4f0
Remove unused code fragments
rettichlp Jun 4, 2023
c8536d4
Remove OverlayMessageController and versioned implementations
rettichlp Jun 4, 2023
d27c5e9
Merge branch 'develop' into feature/UCAF-453-Update-to-LabyMod-4
rettichlp Jun 5, 2023
1cfa551
Add lombok and bad faction field to Faction
rettichlp Jun 5, 2023
62aff41
Add precondition to RequestBuilder, prevent fetching of api data, tha…
rettichlp Jun 5, 2023
2b82bee
Optimize code, general code clean up, fix warnings
rettichlp Jun 5, 2023
3751af6
Fix memberinfo command, code clean up
rettichlp Jun 6, 2023
38544e0
Add HotkeyEvent, add HotkeyEvent to AdListener
rettichlp Jun 6, 2023
460269d
Add blacklist player map to NameTagService
rettichlp Jun 6, 2023
56b054e
Rename EventListener to GangwarListener and HotkeyListener to EventRe…
rettichlp Jun 6, 2023
f90a8c0
Fix warnings
rettichlp Jun 6, 2023
03aa96e
Update former HotkeyListener to finally implemented EventRegistration…
rettichlp Jun 6, 2023
dbd4206
Fix warnings
rettichlp Jun 6, 2023
b1f5702
Rename Position to Location and rework NavigationService
rettichlp Jun 6, 2023
07f9ced
Fiw warnings
rettichlp Jun 6, 2023
2e1590a
Rename position to location
rettichlp Jun 6, 2023
10b8038
Rollback to old json parser
rettichlp Jun 6, 2023
bf6e2b1
Add wanted player map to NameTagService
rettichlp Jun 6, 2023
c8e0fef
Allow sync command on not unicacity servers and singleplayer worlds
rettichlp Jun 6, 2023
8f6a5a5
Add bomb screen condition, that only cops and fbi can can enable bomb…
rettichlp Jun 6, 2023
0421e93
Add current tick to UnicacityAddonTickEvent
rettichlp Jun 7, 2023
28a03e5
Update bomb screenshot handling
rettichlp Jun 7, 2023
2b1684f
Add teamspeak api to api module
rettichlp Jun 7, 2023
4988fa5
Remove old teamspeak logic
rettichlp Jun 7, 2023
f494930
Add resolve api key option to config
rettichlp Jun 7, 2023
c4d43f3
Remove TSUtils from Utils, add TeamspeakClientMoveEvent,
rettichlp Jun 7, 2023
7867865
Add new teamspeak api
rettichlp Jun 7, 2023
6e3aa7a
Exclude old teamspeak commands and listeners and update initialisation
rettichlp Jun 7, 2023
492c225
Aff further teamspeak listeners
rettichlp Jun 7, 2023
c7d3922
Update UnicacityAddon and DefaultTeamSpeakAPI, registrate teamspeak l…
rettichlp Jun 7, 2023
1d97470
Update TSNotificationListener and TeamspeakClientMoveEvent with regis…
rettichlp Jun 7, 2023
f5c82e7
Add test implementation of teamspeak
rettichlp Jun 7, 2023
fef4db9
Update client class, add description field, test implement tsfind com…
rettichlp Jun 9, 2023
4dfe350
Add weapons and provide them in Equip overview
rettichlp Jun 9, 2023
9114ffc
Update language files
rettichlp Jun 9, 2023
6371c3f
Remove null check on player name
rettichlp Jun 9, 2023
caf15b0
Update performance of enhanced api requests with only usable data
rettichlp Jun 9, 2023
6ddc503
Move api models into api module
rettichlp Jun 9, 2023
0e518ac
Move utils into services and provide utils as extra service
rettichlp Jun 9, 2023
50c0989
Update to short sub service names
rettichlp Jun 9, 2023
c4bea84
Refactor api and file classes to io package
rettichlp Jun 9, 2023
40901d9
Add api find method to get more efficient specific api response data …
rettichlp Jun 9, 2023
f8d8866
Update MemberInfoCommand with tab completion and purge duplicated out…
rettichlp Jun 10, 2023
cbaac36
Update screenshot handling for bomb and reinforcement
rettichlp Jun 10, 2023
a1010d8
Fix delay ins screenshot handling for bomb and reinforcement
rettichlp Jun 10, 2023
d1be3a8
Update color handling of corpses
rettichlp Jun 11, 2023
2a036a2
Update client and channel providing
rettichlp Jun 11, 2023
181caf2
Fix warnings
rettichlp Jun 11, 2023
7269499
Update teamspeak events and usages
rettichlp Jun 11, 2023
aaff003
First reimplementation of teamspeak commands
rettichlp Jun 11, 2023
07072ad
Merge branch 'feature/UCAF-453-Update-to-LabyMod-4' into feature/UCAF…
rettichlp Jun 11, 2023
786923c
Add TeamSpeakUtils and command response if response is not successful
rettichlp Jun 11, 2023
88390f8
Add TSJoinCommand
rettichlp Jun 11, 2023
c314980
Minor bug fixes
rettichlp Jun 11, 2023
6c78d9e
Remove debug messages
rettichlp Jun 11, 2023
ea2a8dc
Remove TSPublicChannelListener and rename TeamSpeakNotificationListener
rettichlp Jun 11, 2023
775b1bf
Merge pull request #667 from UnicacityAddon/feature/UCAF-664-new-team…
rettichlp Jun 11, 2023
fe2788f
Update naming of UNDERLINED FormattingCode
rettichlp Jun 12, 2023
d0589bb
Update legacy and play parsing of components
rettichlp Jun 12, 2023
2b114e3
Fix duty player check
rettichlp Jun 12, 2023
202d662
Add debug message check
rettichlp Jun 12, 2023
11f594e
Add select hotbar slot method to GuiController and versioned implemen…
rettichlp Jun 12, 2023
49a5327
Add debug message to tab list handling and fix executing tab sorting …
rettichlp Jun 13, 2023
93be7fa
Fix play and legacy serializer with multiple siblings
rettichlp Jun 13, 2023
34f9baf
Fix nullable teamspeak user description
rettichlp Jun 13, 2023
6c03f37
Update configuration order and naming
rettichlp Jun 13, 2023
c7c07a9
Update configuration class naming
rettichlp Jun 13, 2023
227267d
Update reinforcement and sloc configuration
rettichlp Jun 13, 2023
328aa42
Add teamspeak and advanced tablist configuration
rettichlp Jun 13, 2023
86af0fc
Remove advanced tablist configuration
rettichlp Jun 13, 2023
9c4c0ce
Update language files
rettichlp Jun 13, 2023
83e9fa6
Fix tab completion in ModifyWantedsCommand
rettichlp Jun 14, 2023
dd03d9f
Fix registration of BroadcastListener and update command count
rettichlp Jun 14, 2023
9912ecb
Move getAllClassesFromPackage method to UtilService
rettichlp Jun 14, 2023
5e95363
Add lombok fluent accessor
rettichlp Jun 14, 2023
d7e26ea
Add lombok no args constructor to UnicacityAddon
rettichlp Jun 14, 2023
921e7eb
Update workflows
rettichlp Jun 14, 2023
319433d
Add incomplete enhanced wiki
rettichlp Jun 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug-oder-fehler.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ assignees: ''
---

**Beschreibe den Bug oder Fehler**
Eine klare und präzise Beschreibung des Fehlers.
Füge hier eine klare und präzise Beschreibung des Fehlers ein.

**Wie kann der Bug oder Fehler reproduziert werden?**
Schritte zum Reproduzieren des Verhaltens:
Expand All @@ -18,11 +18,11 @@ Schritte zum Reproduzieren des Verhaltens:
4. Dort ist der Fehler

**Erwartetes Verhalten**
Eine klare und präzise Beschreibung dessen, was erwartet wurde.
Füge hier eine klare und präzise Beschreibung dessen, was erwartet wurde, ein.

**Screenshots**
Füge gegebenenfalls Screenshots hinzu, um das Problem zu erläutern.

**Weitere Informationen (bitte ausfüllen):**
Minecraft Version: `1.12.2`
Addon Version: `1.10.2`
Addon Version: `2.0.0-alpha.4`
25 changes: 13 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: Build
name: Build LabyAddon

on:
push:
branches:
- develop
branches: [ "develop" ]
pull_request:
branches:
- main
- develop
branches: [ "develop" ]
workflow_dispatch:

jobs:
build:
Expand All @@ -16,12 +14,15 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 8

- name: 🔥 Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
- name: Grant execute permission for gradlew
distribution: 'corretto'
java-version: '17'

- name: 🔑 Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew downloadLabyModAPI build

- name: 🔨 Build with Gradle
run: ./gradlew build --full-stacktrace
52 changes: 40 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,55 @@ name: Release

on:
push:
branches:
- main
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

env:
PUBLIC_RELEASE_BUILD: true
PUBLIC_RELEASE_BUILD_TOKEN: ${{ secrets.PUBLIC_RELEASE_BUILD_TOKEN }}

jobs:
build:
labyaddon:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 8

- name: 🔥 Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
- name: Grant execute permission for gradlew
distribution: 'corretto'
java-version: '17'

- name: 🔑 Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew downloadLabyModAPI build
- name: Upload jar
uses: actions/upload-artifact@v1

- name: 🔨 Build with Gradle
run: ./gradlew build --full-stacktrace

- name: 📈 Upload Artifact
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/libs/
path: build/libs/*-release.jar

wiki:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: 🐍 Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x

- name: 📦 Install mkdocs dependencies
run: |
pip install mkdocs-material
pip install mkdocs-git-revision-date-localized-plugin

- name: 🔨 Build and deploy mkdocs
run: mkdocs gh-deploy --force
29 changes: 29 additions & 0 deletions .github/workflows/wiki.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build Wiki

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: 🐍 Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x

- name: 📦 Install mkdocs dependencies
run: |
pip install mkdocs-material
pip install mkdocs-git-revision-date-localized-plugin

- name: 🔨 Build mkdocs
run: mkdocs build
155 changes: 134 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,139 @@
# eclipse
bin
*.launch
.settings
.metadata
.classpath
.project

# idea
out
*.ipr
# Created by .ignore support plugin (hsz.mobi)
### Java template
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

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

### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
.idea/**/misc.xml
.idea/**/discord.xml
.idea/**/encodings.xml
.idea/codeStyles/
.idea/sonarlint/

# Generated files
.idea/**/contentModel.xml
.idea/**/jarRepositories.xml
.idea/**/uiDesigner.xml
.idea/**/inspectionProfiles
.idea/**/.name
.idea/**/vcs.xml
.idea/**/compiler.xml
.idea/**/libraries-with-intellij-classes.xml
run/**

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/dbnavigator.xml
.idea/kotlinScripting.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
.idea/modules.xml
.idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws
*.iml
.idea

# gradle
build
# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### Gradle template
.gradle
/**/build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Cache of project
.gradletasknamecache

# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties

.idea/modules/

.idea/intellij-javadocs-4.0.1.xml
docs/generated/

# Project
run/

# other
eclipse
run
# LabyGradle | Addon Plugin
build-data.txt

# Files from Forge MDK
forge*changelog.txt
/libs/
# Don't ignore libraries
!libs/*.jar
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Wenn Du ein geschlossenes Issue findest, von dem Du denkst, dass es sich um das

#### Was macht ein gutes Bug-Issue aus
- **Verwende einen klaren und aussagekräftigen Titel** für das Problem, um das Problem zu identifizieren.
- **Beschreibe die genauen Schritte, die das Problem reproduzieren**, so detailliert wie möglich. Beginne zum Beispiel damit, ob Minecraft länger geladen hat als sonst, welchen Befehl du verwendet hast. Wenn Du die Schritte auflistest, **sag nicht nur, was Du getan hast, sondern erklär auch, wie Du es getan hast** (Hotkey, manuelle Eingabe, ...).
- **Beschreibe die genauen Schritte, die das Problem reproduzieren**, so detailliert wie möglich. Beginne zum Beispiel damit, ob Minecraft länger geladen hat als sonst, welchen Befehl Du verwendet hast. Wenn Du die Schritte auflistest, **sag nicht nur, was Du getan hast, sondern erklär auch, wie Du es getan hast** (Hotkey, manuelle Eingabe, ...).
- **Erkläre, welches Verhalten Du stattdessen erwartet hast und warum.**
- **Füge Screenshots und animierte GIFs bei**, die zeigen, wie der Fehler entstanden ist und diesen deutlich veranschaulichen. Du kannst [dieses Tool](https://www.cockos.com/licecap/) verwenden, um GIFs unter macOS und Windows aufzunehmen und [dieses Tool](https://github.com/colinkeenan/silentcast) oder [dieses Tool](https://github.com/GNOME/byzanz) unter Linux.
- **Wenn das Spiel abstürzt**, füge den Absturzbericht bei. Dieser wird automatisch von Minecraft geöffnet. Füge den Absturzbericht in einem [Markdown-Codeblock](https://help.github.com/articles/markdown-basics/#multiple-lines), einem [Dateianhang](https://help.github.com/articles/file-attachments-on-issues-and-pull-requests/) oder in einem verlinkten [Gist](https://gist.github.com/) hinzu.
Expand All @@ -64,7 +64,7 @@ Für einen leichteren Einstieg in das Projekt gibt es `good first issue` und ` h
## Code

### Branch
Der Branch Name ergibt sich aus dem Titel des Issues. Dabei steht UCAF für Feature und UCAB für Bug. Leerzeichen werden durch Bindestriche ersetzt. Das Template für Branches ist folgendes:
Der Branch Name ergibt sich aus dem Titel des Issues. Dabei steht UCAF für Feature und UCAB für Bug. Leerzeichen werden durch Bindestriche ersetzt. Das Template für Branches ist Folgendes:
- Feature (UCAF): `feature/UCAF-NUMMER-BESCHREIBUNG`
- Bug (UCAB): `bug/UCAB-NUMMER-BESCHREIBUNG`

Expand Down
Loading