Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
c1fe269
deps: Replace minestom by paper
Quentixx Apr 15, 2023
421fd79
deps: Implements commandAPI + brigadier
Quentixx Apr 15, 2023
cb82aa2
fix: Implements paper imports
Quentixx Apr 15, 2023
bde7575
chore: Delete commands that are already in paper
Quentixx Apr 15, 2023
9fa0f82
chore: Location migration
Quentixx Apr 27, 2023
3cffbab
chore: Area migration
Quentixx Apr 27, 2023
12f2510
chore: Added ext function toPos()
Quentixx Apr 27, 2023
dffb2b3
fix: Reuse the Minestom Pos concept
Quentixx Apr 27, 2023
47d0ff8
fix: Use the bukkit ItemStack instead of Minestom
Quentixx May 3, 2023
5532703
fix: Use the bukkit BlockFace calculate orientation
Quentixx May 3, 2023
964972c
fix: Adapt ItemStack extension
Quentixx May 3, 2023
ca059fc
fix: Use Pos concept for configuration reader
Quentixx May 4, 2023
1029b70
fix: Use BlockFace for ItemFrame orientation serializer
Quentixx May 4, 2023
8053c43
fix: doc
Quentixx May 4, 2023
eca8a29
fix: Adapt the class for a JavaPlugin
Quentixx May 4, 2023
83e30b9
chore: Delete old code
Quentixx Jul 20, 2023
6a7d9e2
chore: Delete old tests
Quentixx Jul 20, 2023
2e06f68
Initial commit
Distractic Aug 19, 2022
d117e9d
feat: Begin migration from gitlab to github
Distractic Aug 19, 2022
bbb00d7
chore: Change package and cuboid system
Distractic Aug 19, 2022
a60218e
chore: Upgrade dependencies
Distractic Aug 19, 2022
426b884
fix: Publish maven dependsOn
Distractic Aug 20, 2022
c0743d7
chore: Add information in player left event
Distractic Aug 20, 2022
955d4b3
chore: Add config plugin files
Distractic Aug 20, 2022
04bc617
fix: Build gradle to publish in local
Distractic Aug 20, 2022
f08b814
fix: Compile Kotlin to Java17
Distractic Aug 20, 2022
b33210f
fix: Add sources jar in publish
Distractic Aug 20, 2022
ac83169
fix: Remove abuse use of lock in client manager
Distractic Aug 20, 2022
53abafb
fix: Set suspend function for change thread
Distractic Aug 20, 2022
869f7fe
chore: Add possibility to register custom plugin
Distractic Aug 20, 2022
b0b5231
chore: format
Distractic Aug 20, 2022
58694d0
fix: Optimization string to uuid
Distractic Aug 20, 2022
cae3f69
fix: Remove spread operator
Distractic Aug 20, 2022
f0b8a1b
chore(deps): bump gradle/gradle-build-action from 2.2.2 to 2.2.5
dependabot[bot] Aug 20, 2022
02994cb
chore(deps): bump net.researchgate.release from 3.0.0 to 3.0.1
dependabot[bot] Aug 26, 2022
029ebcb
tests: Add tests linked to the #1 PR (#3)
Distractic Aug 27, 2022
2e16d0f
chore(deps): bump jvm from 1.7.10 to 1.7.20 (#12)
dependabot[bot] Oct 3, 2022
2b29336
chore(deps): bump plugin.serialization from 1.7.10 to 1.7.20 (#11)
dependabot[bot] Oct 3, 2022
91944ca
chore(deps): bump gradle/gradle-build-action from 2.2.5 to 2.3.2 (#10)
dependabot[bot] Oct 3, 2022
5f41b78
chore(deps): bump net.researchgate.release from 3.0.1 to 3.0.2 (#8)
dependabot[bot] Oct 3, 2022
8d122a0
Migrate project from @Distractic bukkit-api
Quentixx Jul 20, 2023
bb242ba
Migrate project from @Distractic bukkit-api
Quentixx Jul 20, 2023
3216a80
Update README.md
Quentixx Jul 21, 2023
d7e041a
chore: Added ext. functions for Cancellable components
Quentixx Jul 21, 2023
9cc0a55
chore: Moved Listener ext. functions to appropriate package
Quentixx Jul 21, 2023
05bee30
Merge remote-tracking branch 'origin/chore/paper-migration' into chor…
Quentixx Jul 21, 2023
0f8e5cd
fix: Conflict merge
Distractic Jul 22, 2023
134a8e6
fix(ci): Use same check for commit and bot
Distractic Jul 22, 2023
f2749c1
fix(conf): Change group project
Distractic Jul 22, 2023
1300128
fix(conf): Change project name
Distractic Jul 22, 2023
01bf83b
chore(gradle): Update gradle version wrapper
Distractic Jul 22, 2023
a9f428a
chore(deps): Move version declaration
Distractic Jul 22, 2023
4abcf1d
chore(gradle): Change configuration publish
Distractic Jul 22, 2023
673128c
chore: Add object class API to save fastboards in memory
Quentixx Jul 24, 2023
d3cfbbb
chore: Change client FastBoard declaration to an API memory call
Quentixx Jul 24, 2023
e806d45
chore: Add method to delete an existing fastboard
Quentixx Jul 24, 2023
13dd069
chore: Removes the fastboard of the player at on quit
Quentixx Jul 24, 2023
cb97013
tests: Fix import
Distractic Jul 25, 2023
6c76514
feat: Refactor and add extension functions
Distractic Jul 25, 2023
17c77bb
tests: Fix error with koin
Distractic Jul 25, 2023
45c5bf9
chore: Format
Distractic Jul 26, 2023
9287f08
feat: Add configuration classes
Distractic Jul 26, 2023
3cb8a1d
chore(gradle): Update dependencies and Java version
Distractic Jul 27, 2023
5e31474
chore(koin): Refactor Koin injection and setup
Distractic Jul 27, 2023
59d8d79
chore(config): Refactor interface naming and function documentation
Distractic Jul 27, 2023
08022b2
fix(area): Refactor CubeArea class constructor and initializer block
Distractic Jul 27, 2023
9c64ff6
feat(serial): LocationSerializer and associated tests to API
Distractic Jul 27, 2023
5b4d288
chore: format
Distractic Jul 27, 2023
e42e0d0
chore: format
Distractic Jul 27, 2023
6a51931
chore(deps): Set version 1.19 for paper
Quentixx Jul 27, 2023
6cf5454
feat(area): Add serializer
Quentixx Jul 28, 2023
97af2a0
chore: Set static descriptor serializer
Quentixx Jul 28, 2023
d29a6d9
chore: Remove debug print
Quentixx Jul 28, 2023
05f570a
chore: Load koin module for SharedGameData
Quentixx Jul 28, 2023
23cc436
chore: Call koin module for clients on enable
Quentixx Jul 28, 2023
622f5ee
docs: Add documentation
Distractic Jul 28, 2023
ab88125
fix: Transform location to object
Distractic Jul 28, 2023
2b0ef63
tests: Add tests for yaml reader
Distractic Jul 28, 2023
ffafdca
fix: Create parent of file if necessary
Distractic Jul 28, 2023
2894659
chore: remove print
Distractic Jul 28, 2023
6d1e91c
chore: Use Bukkit server to retrieve data
Distractic Jul 28, 2023
257fac8
chore: format
Distractic Jul 28, 2023
6cc7e8e
tests: Fix tests about get player from client
Distractic Jul 28, 2023
d5675e7
tests: Define custom koin context
Distractic Jul 28, 2023
555afb2
tests: Change koin use
Distractic Jul 28, 2023
a0e51e8
tests: Add debug for CI
Distractic Jul 28, 2023
6b86375
tests: Add debug for CI
Distractic Jul 28, 2023
5bd57a4
tests: Change line separator
Distractic Jul 28, 2023
de2f4a8
tests: Remove debug
Distractic Jul 28, 2023
d7b6391
chore: Remove unused code
Distractic Jul 29, 2023
b6ea21d
tests: Remove unused code
Distractic Jul 29, 2023
3351e86
chore: Use generic plugin
Distractic Jul 29, 2023
3d5ebb0
chore: Extract area interface
Distractic Jul 29, 2023
d4d39ab
feat(area): Add cylinder area
Distractic Jul 29, 2023
f070c09
chore: Change cube serializer
Distractic Jul 29, 2023
90c56ca
feat: Add cylinder serializer
Distractic Jul 29, 2023
55b869d
chore: Use variable instead of property
Distractic Jul 29, 2023
1f63851
feat(area): Add sphere
Distractic Jul 29, 2023
b64ae2d
chore: Define equals & hashcode
Distractic Jul 30, 2023
1c98d37
tests(area): Add sphere area test
Distractic Jul 30, 2023
1d083f0
tests: Add parameters for random generation
Distractic Jul 30, 2023
54dea70
tests(area): Add cylinder serializer tests
Distractic Jul 30, 2023
7e308f8
tests(area): Change variable name
Distractic Jul 30, 2023
bf39a5f
tests(area): Add cube tests
Distractic Jul 30, 2023
de64b08
tests: format
Distractic Jul 30, 2023
ab5e80d
tests(area): Add tests for cube area
Distractic Jul 30, 2023
6e3f54c
chore: Change method name
Distractic Jul 30, 2023
18a1750
tests: format
Distractic Jul 30, 2023
6f68fd5
Merge remote-tracking branch 'origin/chore/paper-migration' into chor…
Quentixx Jul 31, 2023
4bb903b
chore: Use adventure.FastBoard to use components
Quentixx Aug 2, 2023
4ab7b58
chore: Add german supported language
cizetux Aug 2, 2023
3b7bb78
chore(translation): Add chinese in supported languages (#63)
cizetux Aug 2, 2023
19312c8
fix: Chinese country code
cizetux Aug 2, 2023
6077080
chore(deps): Add ICU for plural translation
Distractic Aug 2, 2023
2230dd7
fix: Use ICU for plural translation
Distractic Aug 2, 2023
b014694
tests(translation): Add unit tests for bundle translation
Distractic Aug 2, 2023
2a3b279
chore: Remove list arg for translation
Distractic Aug 3, 2023
0857dd7
chore: Add color val and fix translation of TeamType
Quentixx Aug 3, 2023
4536fa6
feat: Add extension function to color string
Distractic Aug 3, 2023
296c0f5
Merge remote-tracking branch 'origin/chore/paper-migration' into chor…
Distractic Aug 3, 2023
4df9236
fix: Lazy inject for koin
Distractic Aug 4, 2023
3d4d809
chore(sonar): Add quality analyze (#66)
Distractic Aug 6, 2023
07c8635
feat: Serializer for Itemstack (#64)
Distractic Aug 6, 2023
f4c27ea
test(cancellable): Add tests to cancel object
Distractic Aug 6, 2023
c03486e
test(cancellable): Move class
Distractic Aug 6, 2023
25453a0
test(item-ext): Filter air from sequence
Distractic Aug 6, 2023
18101e5
test(number): Roman numerals
Distractic Aug 6, 2023
391d92d
test: Remove unused files
Distractic Aug 6, 2023
0566278
test(player-profile): Add tests for texture property
Distractic Aug 6, 2023
036a0e9
feat(material): Add extension to check is wool
Distractic Aug 6, 2023
47a629d
fix(detekt): Resolve detekt issues (#67)
Quentixx Aug 6, 2023
31b8a27
fix(detekt): Fix quality code
Distractic Aug 7, 2023
2375f70
tests(number-roman): Use CSV file source
Distractic Aug 7, 2023
8d7b4e3
tests(number-roman): Remove unnecessary test
Distractic Aug 7, 2023
18df328
fix: Remove unnecessary inline
Distractic Aug 7, 2023
5d0a83b
chore: Rename the TranslationProvider as Translator to avoid redundan…
Quentixx Aug 7, 2023
5896f02
fix: Chinese country code
cizetux Aug 7, 2023
eed5c98
fix: Rework of translation system (#72)
Distractic Aug 8, 2023
866551b
fix: Player quit handle in API for lang & scoreboard
Distractic Aug 11, 2023
71fb359
feat: Add time format (#73)
Distractic Aug 15, 2023
286cad4
doc: Change false documentation
Distractic Aug 19, 2023
2a662a2
fix: Copy the location instead of modify
Distractic Aug 19, 2023
68b80c3
test: Add for set and get position
Distractic Aug 19, 2023
6ff0c82
chore: Import format
Distractic Aug 19, 2023
5b0a6a5
chore: Remove unnecessary function
Distractic Aug 19, 2023
b12eef6
chore: Import format
Distractic Aug 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .github/workflows/Check.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/check-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Check

on:
push:
branches-ignore:
- main
paths-ignore:
- '**.md'

concurrency:
group: check-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v3

- name: Initialization
uses: ./.github/actions/init
with:
jdk: 17

- name: Build
uses: gradle/gradle-build-action@v2.7.0
with:
arguments: build -x test

- name: Test
uses: gradle/gradle-build-action@v2.4.0
with:
arguments: test
38 changes: 38 additions & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: SonarCloud

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]

concurrency:
group: sonar-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build and analyze
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v3

- name: Initialization
uses: ./.github/actions/init
with:
jdk: 17

- name: Build
uses: gradle/gradle-build-action@v2.7.0
env:
DETEKT_IGNORE_FAILURES: true
with:
arguments: build detekt test jacocoTestReport

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
23 changes: 9 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Created by https://www.toptal.com/developers/gitignore/api/intellij,eclipse,kotlin,gradle
# Edit at https://www.toptal.com/developers/gitignore?templates=intellij,eclipse,kotlin,gradle

Expand Down Expand Up @@ -103,14 +102,14 @@ local.properties
# 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/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr
.idea/artifacts
.idea/compiler.xml
.idea/jarRepositories.xml
.idea/modules.xml
.idea/*.iml
.idea/modules
*.iml
*.ipr

# CMake
cmake-build-*/
Expand Down Expand Up @@ -227,8 +226,4 @@ gradle-app.setting

# End of https://www.toptal.com/developers/gitignore/api/intellij,eclipse,kotlin,gradle

dokka/
# In case of someone execute the server in IDE
/*.conf
/world/
/extensions/
dokka
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Rushyverse
Copyright (c) 2023 Rushyverse

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# API

This project allows to create a Minestom server easily in Kotlin. It provides a lot of features to create a Minecraft
This project allows creating a PaperMC based server easily in Kotlin. It provides a lot of features to create a Minecraft
server.

## Usage

Check the [wiki](https://github.com/Rushyverse/api/wiki) to know how to use the project.
Check the [wiki](https://github.com/Rushyverse/api/wiki) to know how to use the project.
Loading