Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's finally time for an alpha release! #381

Merged
merged 180 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
9d8c125
Merge pull request #316 from stargate-rewritten/alpha
Pheotis Jan 7, 2024
2d771e1
Update README.md
Pheotis Jan 7, 2024
48749e9
Fix for #317
Thorinwasher Jan 8, 2024
5fe4d3a
Update BlockEventListener.java
Thorinwasher Jan 8, 2024
0d844c5
Metadata refactor
Thorinwasher Jan 8, 2024
42bdc88
Fix metadata not storing for loaded portals
Thorinwasher Jan 13, 2024
616d45e
Fixes issue #319
Thorinwasher Jan 13, 2024
66ac463
Replaces blocking method in primary thread
Thorinwasher Jan 13, 2024
5501eea
Fix NPE
Thorinwasher Jan 13, 2024
70321ed
Update GateFormatRegistry.java
Thorinwasher Jan 13, 2024
799b055
.
Thorinwasher Jan 15, 2024
8f27e48
And so it begins.
Pheotis Jan 15, 2024
39619ac
Worth testing at least.
Pheotis Jan 15, 2024
7ff1c84
Worth testing at least.
Pheotis Jan 15, 2024
8f1ba85
Merge branch '321-folia-support' of https://github.com/stargate-rewri…
Pheotis Jan 15, 2024
d032979
First steps
Pheotis Jan 15, 2024
0711267
Refactor on task system
Thorinwasher Jan 16, 2024
5879b3c
Fix compilation issues
Thorinwasher Jan 16, 2024
526522a
Fixes some of the unit tests
Thorinwasher Jan 16, 2024
f15d053
Fixes populator not running
Thorinwasher Jan 16, 2024
8a218fb
Update StargateRegionTask.java
Thorinwasher Jan 16, 2024
9b5a698
Update Gate.java
Thorinwasher Jan 16, 2024
4a57d1f
Update Gate.java
Thorinwasher Jan 16, 2024
300f835
Update Gate.java
Thorinwasher Jan 16, 2024
6b99517
.
Thorinwasher Jan 16, 2024
c2d4352
Fix teleportation
Thorinwasher Jan 16, 2024
4a9ab12
Pass all tests
Thorinwasher Jan 16, 2024
75f6a4b
Fix database not saving + remove redundant classes
Thorinwasher Jan 17, 2024
c765a80
Fix typos
Thorinwasher Jan 17, 2024
9016bd0
Fix dye-coloring issues
Thorinwasher Jan 17, 2024
0f95281
Fixes for multithreading and proper shutdown
Thorinwasher Jan 17, 2024
f4f9202
Fix for entity scheduler for folia
Thorinwasher Jan 17, 2024
e51b341
Fix loading issue
Thorinwasher Jan 17, 2024
075e1ba
.... (fix loading portals)
Thorinwasher Jan 17, 2024
29498b2
Move task over to right scheduler
Thorinwasher Jan 17, 2024
e8b2da1
???
Thorinwasher Jan 17, 2024
c82b848
Update pom.xml
Thorinwasher Jan 17, 2024
72138bd
Merge pull request #322 from stargate-rewritten/321-folia-support
Thorinwasher Jan 17, 2024
2c29307
Merge branch 'nightly' of https://github.com/stargate-rewritten/Starg…
Thorinwasher Jan 18, 2024
b7ff52f
API simplification for getting portals from gates/portal positions
Thorinwasher Jan 18, 2024
619b67e
Code clean-up crew
Thorinwasher Jan 18, 2024
fc8916a
Modify definition of underwater portal
Thorinwasher Jan 18, 2024
17dd67d
Implement generate structure for iris
Thorinwasher Jan 18, 2024
63777ef
StargateSignFormatGateEvent -> StargateSignFormatPortalEvent
Thorinwasher Jan 18, 2024
f8b7e23
Refactor of message events
Thorinwasher Jan 18, 2024
35ac582
Keep track on every chunk with a portal in it
Thorinwasher Jan 19, 2024
62c1f06
Modify the checkPortalValidity function
Thorinwasher Jan 20, 2024
9408bd2
Listen for major block changes listed by BKCommonLib
Thorinwasher Jan 20, 2024
4ab2047
Update DataMigration9.java
Thorinwasher Jan 20, 2024
09f1719
Issue #324
Thorinwasher Jan 20, 2024
e930c6d
Fix stupid file naming issue
Thorinwasher Jan 20, 2024
00f12f9
Pass tests
Thorinwasher Jan 20, 2024
e877fff
Remove warning from PR branch.
Pheotis Jan 21, 2024
a4bcff4
Issue #325 + does this for removed gate formats
Thorinwasher Jan 21, 2024
a344da4
Fix build issues and test failures
Thorinwasher Jan 21, 2024
7f8b75d
Merge branch 'nightly' of https://github.com/stargate-rewritten/Starg…
Thorinwasher Jan 21, 2024
cb1e017
Improve gate validity detection: Control blocks
Thorinwasher Jan 21, 2024
e89ee7b
Fix failures
Thorinwasher Jan 28, 2024
7cf6b6f
(cleanup) Avoid using String#replaceAll()
Thorinwasher Jan 29, 2024
c7526c6
(cleanup) Loads of nit-picks cleared
Thorinwasher Jan 29, 2024
ce36362
Split NonLegacyMethod into another enum
Thorinwasher Jan 29, 2024
abd6bcb
Fix test failures
Thorinwasher Jan 29, 2024
4df4020
(cleanup) Small nitpicks
Thorinwasher Jan 29, 2024
efa1f42
Fix build issue
Thorinwasher Jan 29, 2024
cad78e1
Fix some warning messages from tests
Thorinwasher Jan 31, 2024
afeac76
Fix some warnings from tests
Thorinwasher Jan 31, 2024
53e0d4e
Fix (hopefully) async all queue blocking issues
Thorinwasher Feb 2, 2024
63818ff
Reword some code
Thorinwasher Feb 2, 2024
3166874
Fix an old test that kept adding files to the repo
Thorinwasher Feb 2, 2024
59752dc
Fixes async queue related warnings
Thorinwasher Feb 2, 2024
4b22bcc
Issue #320
Thorinwasher Feb 3, 2024
ef7383b
Move away some code from Stargate class
Thorinwasher Feb 3, 2024
5a8e069
Move all constants over to a class
Thorinwasher Feb 3, 2024
cd8d781
Remove hardcoded values from default gate format method
Thorinwasher Feb 3, 2024
66d1025
Remove System.out.println for testing
Thorinwasher Feb 3, 2024
df3cddf
Loads of clean-up + add an event
Thorinwasher Feb 4, 2024
4940697
cleanup
Thorinwasher Feb 4, 2024
5fd004b
Delete some TODOs
Thorinwasher Feb 4, 2024
09d2ea2
Update PortalDestructionHelper.java
Thorinwasher Feb 4, 2024
7a10e26
Implement StargatePortalBuilderEvent
Thorinwasher Feb 4, 2024
af2be3f
Avoid using chunk interface
Thorinwasher Feb 4, 2024
d9cc5f7
StargatePortalBuilderEvent -> StargatePreCreatePortalEvent
Thorinwasher Feb 4, 2024
ff5d1ca
Fix async stuff
Thorinwasher Feb 12, 2024
e3c6bc6
Fix tests
Thorinwasher Feb 12, 2024
587eba4
Implement BlockUtil library
Thorinwasher Feb 15, 2024
097d00a
Nothing special
Thorinwasher Feb 15, 2024
63381ac
Fix test
Thorinwasher Feb 15, 2024
aa11f03
Checks if blockutil is implemented
Thorinwasher Feb 18, 2024
4aa2a7e
Fix issue #329
Thorinwasher Feb 18, 2024
0ac16f4
Fixes #330
Thorinwasher Feb 18, 2024
c25ae2d
Modify toString method to ease debugging
Thorinwasher Feb 18, 2024
611d00d
Temporary fix for #331
Thorinwasher Feb 18, 2024
9c6fcd5
Make StargateComponent null-safe
Thorinwasher Feb 18, 2024
1e41fa9
Add tests to StargateComponent
Thorinwasher Feb 18, 2024
6d3441f
Fix data migration from non legacy versions
Thorinwasher Feb 18, 2024
c392d9f
Fix infinite addition of tasks
Thorinwasher Feb 18, 2024
eb15df7
Fix a bug with inter server networks not working
Thorinwasher Feb 18, 2024
69426c7
Refactor scheduling for stargate
Thorinwasher Feb 21, 2024
dfec2e1
Pass all tests
Thorinwasher Feb 21, 2024
dbe4829
Make StargatePreCreatePortalEvent cancellable
Thorinwasher Feb 23, 2024
ba088dd
Fix NPE in metadataholder
Thorinwasher Feb 23, 2024
4a6ced6
Move all messaging into PortalBuiilder
Thorinwasher Feb 23, 2024
a0a060e
Update PortalBuilder.java
Thorinwasher Feb 23, 2024
61e66d1
Minor fixes
Thorinwasher Feb 23, 2024
67f4895
Update PortalStorageHelper.java
Thorinwasher Feb 23, 2024
23fec8b
Introduce LineData instead of SignLine before formatting
Thorinwasher Feb 29, 2024
0519455
Remove abstraction from AbstractPortal
Thorinwasher Mar 1, 2024
7527747
Fix compile errors from refactor(s)
Thorinwasher Mar 1, 2024
fb11564
Fix test failures
Thorinwasher Mar 8, 2024
c502aa2
Fix bugs from refactor
Thorinwasher Mar 8, 2024
4973bb4
Rename flag
Thorinwasher Mar 8, 2024
e28ad51
rename flags
Thorinwasher Mar 8, 2024
6ea2eea
Make custom flags to not be chars
Thorinwasher Mar 9, 2024
dbf0b0e
Move PortalBehaviors to api
Thorinwasher Mar 9, 2024
324e68e
Make fixed portals save destination properly
Thorinwasher Mar 10, 2024
900a2c4
Modify API to allow custom portal behaviors
Thorinwasher Mar 15, 2024
0e6ba61
Translations Push.
Pheotis Apr 13, 2024
f25f8ab
Update tr-TR.txt
Pheotis Apr 13, 2024
220b920
Fix edgecase scenario for portal builder
Thorinwasher Jun 1, 2024
00c62f4
Update dependencies
Pheotis Jun 1, 2024
2c78397
Update minimum version
Pheotis Jun 1, 2024
2459989
Fixes #339
Thorinwasher Jun 2, 2024
8416ded
Fix override destination not being used
Thorinwasher Jun 3, 2024
7edc790
Make StargateCreateEvent accept OfflinePlayers
Thorinwasher Jun 3, 2024
7b8ff99
Add player as a fetchable field in create event
Thorinwasher Jun 3, 2024
2c0a5c3
Fix gate not closing when portal is destroyed
Thorinwasher Jun 3, 2024
82f7768
Fixes #342
Thorinwasher Jun 4, 2024
9386704
Fix #344
Thorinwasher Jun 4, 2024
482702a
Fix #343
Thorinwasher Jun 4, 2024
9aac06b
Fix #346
Thorinwasher Jun 4, 2024
e021522
Might fix #345
Thorinwasher Jun 4, 2024
6f2a9b0
Fixes #352, #357, #348
Thorinwasher Jun 5, 2024
273463e
Fixes #365
Thorinwasher Jun 5, 2024
ca31582
Fixes #368 , fixes #358
Thorinwasher Jun 5, 2024
65ae63d
Fix #355
Thorinwasher Jun 5, 2024
ef132bf
Add SQL statements for MySQL, fix SQL Syntax Exception on MySQL 8.0.3…
Jun 9, 2024
0300587
Merge pull request #373 from zincentimeter/nightly
Thorinwasher Jun 9, 2024
0ec41cb
Fix #351
Thorinwasher Jun 10, 2024
32700d7
Fixes #372
Thorinwasher Jun 10, 2024
02d9b0a
Fixes #363
Thorinwasher Jun 10, 2024
887a0b6
Fixes #362
Thorinwasher Jun 10, 2024
72a4cf8
Fix gates not destroyed from issue 02d9b0a37333301695121aa579d6437e83…
Thorinwasher Jun 10, 2024
cae2fb5
Make portal liquid blocks unable to generate new blocks
Thorinwasher Jun 10, 2024
e2cda20
Fix #342
Thorinwasher Jun 10, 2024
339fbba
Exact fix for #354
Thorinwasher Jun 10, 2024
d90fffc
Fix issue #360
Thorinwasher Jun 10, 2024
76e0e23
Fix issue #370
Thorinwasher Jun 11, 2024
922da65
Fix #349
Thorinwasher Jun 11, 2024
816c7b6
Fixes #347
Thorinwasher Jun 11, 2024
aa33e1e
Fix duplicate error messages being sent in some cases
Thorinwasher Jun 11, 2024
7225859
Fixes #374
Thorinwasher Jun 11, 2024
7427a4c
Fixes https://github.com/stargate-rewritten/Stargate-Mechanics/issues/29
Thorinwasher Jun 11, 2024
dcf00db
Add commit id to version string for nightly.
Pheotis Jun 15, 2024
2a663c9
Fix for spigot compatibility fixes #354
Thorinwasher Jun 16, 2024
10dbf2a
Update RandomBehavior.java
Thorinwasher Jun 16, 2024
e861326
Allows fetching plain text from stargate component
Thorinwasher Jun 16, 2024
02df5b2
Enforce not null for AdventureStargateComponent
Thorinwasher Jun 16, 2024
128d036
Allow null values for LegacyStargateComponent
Thorinwasher Jun 16, 2024
d9808a2
API clarifications
Thorinwasher Jun 16, 2024
cfeda80
Fix sonarcloud complaint
Thorinwasher Jun 16, 2024
5bfa23c
Reformats code
Thorinwasher Jun 16, 2024
73ab1fa
Add documentation to the APi
Thorinwasher Jun 17, 2024
444f09b
Add some documentation to non api parts
Thorinwasher Jun 17, 2024
6e93346
Add more non API documentation
Thorinwasher Jun 17, 2024
d92aa5a
Fix compile issue
Thorinwasher Jun 17, 2024
fa71da9
Document the remaining non api public methods
Thorinwasher Jun 17, 2024
143cd98
remove any network names with highlight (recursion)
Thorinwasher Jun 17, 2024
126e9c6
Fix #376
Thorinwasher Jun 17, 2024
3d5386f
Starting the typo purge.
Pheotis Jun 18, 2024
e5f196b
More typo purging.
Pheotis Jun 18, 2024
08721c6
Typos & capitalisation
Pheotis Jun 18, 2024
4eb2817
Remove unused imports.
Pheotis Jun 18, 2024
4a6f328
Get ready to build jd
Pheotis Jun 18, 2024
6ab291f
Fix NPE during migration with network of name length 13
Thorinwasher Jun 19, 2024
c152097
Clarify error message
Thorinwasher Jun 19, 2024
e1e0534
Update maximum name length to be the same as legacy
Thorinwasher Jun 19, 2024
070fd1e
Fix #380
Thorinwasher Jun 19, 2024
3a0c635
Remove bug warnig message for no sign available for `V`flag
Thorinwasher Jun 19, 2024
9b48b1b
Preparing for a release!
Pheotis Jun 19, 2024
f0f3390
Alpha Release 1.0.0.16
Pheotis Jun 19, 2024
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/ISSUE-REPORT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body:
attributes:
label: "Bug Description"
description: "A brief overview/description of what this bug is and when it occurs."
placeholder: "ex. In these circumstances, StarGate breaks by doing this instead of this!"
placeholder: "ex. In these circumstances, Stargate breaks by doing this instead of this!"
validations:
required: true
- type: textarea
Expand Down
85 changes: 84 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,92 @@
# Changes

#### [Version 1.0.0.16] Stargate-Rewritten

- Added full support for MineCraft 1.20.X; fixed related bugs introduced by double sided and editable signs.
- Majorly refactored internal metadata storage to allow for better persistence of features implemented in modules.
- Fixed an issue wherein networked A gates could close between server restarts.
- Fixed an issue wherein invalid stargates could be created in such a way as to lead to a plugin crash.
- Implemented full folia support; switched numerous methods to their folia counterparts.
- Made numerous things asynchronous in consequence to the need to support Folia.
- Fixed a litany of numerous folia-specific bugs introduced in consequence to the above.
- Fixed an issue wherein synchronous queries to an API could lead to a main thread stall.
- Complete refactor on internal task handling, as to better accommodate module use cases.
- Fixed some race condition scenarios caused by certain tasks.
- Majorly simplified several sections of the API pertaining to portal position storage; expanded some methods.
- Corrected thousands of codestyle nitpicks.
- Added tracking of portal presence in chunks as to prevent unwanted behaviour resulting from chunk unloading.
- Modified the `checkPortalValidity` algorithm to prevent several issues resulting from improper verification.
- Adds detection of mass api-detached world changes as to mitigate portal breakage resultant to NMS mass editing.
- Fixed countless problems with the migrator as to ensure a seamless importation.
- Improved storage of worlds as to prevent some crashes associated with multiverse.
- Fixed some problems related to SQL and SQLite query storage.
- Improved the garbage collection process to prevent unnecessary storage of some non-existent stargates.
- Added consideration for control surfaces (including multiples thereof) in portal validity detection and verification.
- Added an automated continuous integration pipeline to help with distribution of testing and development jars.
- Clarified numerous console-specific and debug warning messages.
- Fixed an issue wherein gates without control surfaces could be accidently created.
- Moved some overly cumbersome code to new classes.
- Removed some unnecessary debug printouts.
- Added an event to the API for detecting and analysing a portal before it has been initialised.
- Renamed some classes for clarity.
- Optimised performance by reducing reliance on certain unnecessarily heavy interfaces.
- Added a system to ensure that blocks generated by addons do not drop their items (configurable).
- Improved logic for networked A gates as to prevent a possible crash related to accessing invalid destinations.
- Improved piston protection for block irises to prevent certain edge cases.
- Improved sign updating to eliminate certain startup rendering problems.
- Made a bunch of components null-safe to prevent various crashes.
- Fixed some problems leading to failed migration of pre-legacy builds.
- Majorly refactored stargate's scheduler to facilitate some addon behaviour.
- Fixed several bugs preventing interserver networking from functioning in certain cases.
- Fixed a hang caused by infinite addition of tasks.
- Fixed a possible crash related to invalid metadata added through the API.
- Fixed numerous small issues involving portal sign formatting logic.
- Renamed some internal enumerations for certain things to increase code clarity.
- Fixed an issue wherein portal networking could cause sign drawing errors.
- Changed the format of custom flags as to avoid some storage problems.
- Prevented certain situations wherein fixed portals would improperly save their destination.
- Added an API for specifying custom portal behaviours.
- Improved translation handling and added a tr-TR translation by axolotlagatsuma
- Fixed a bunch of portal builder edgecases.
- Updated dependencies to resolve some upstream issues.
- Fixed some issues caused by the presence of OfflinePlayers
- Fixed certain circumstances wherein gates failed to close after their destruction.
- Fixed a crash related to migration of invalid gate files.
- Fixed an issue that caused some commands to improperly register.
- Fixed a problem with migrating R gates under an asynchronous implementation.
- Fixed a problem wherein non-A portals would in certain circumstances fail to close.
- Added support for block id change resolution to the migrator.
- Fixed several substitution problems pertaining debug messages.
- Prevented invalid behaviour from arising resultant to the presence of unregistered flags.
- Fixed some potential null pointers related to the presence of unregistered flags.
- Resolved some MySQL-specific (i.e. remote) query problems.
- Added light to the list of air-like blocks within which portals may be constructed.
- Fixed some persistence problems related to legacy interserver portals.
- Fixed a potential portal frame protection failure resulting from anvils.
- Fixed a potential portal frame protection failure resulting from respawn anchors.
- Fixed a problem involving liquid containment in portal irises.
- Fixed a crash caused by migrating invalid gate files.
- Fixed several implementation problems leading to instability on spigot.
- Corrected some incorrect behaviour involving the `P` flag.
- Fixed a potential portal loop resulting from entity collisions at destination portals.
- Clarified some error messages.
- Fixed some permission preset inconsistencies.
- Fixed some cases wherein duplicate error messages would be printed.
- Fixed a feedback problem involving accessing free destinations.
- Fixed some API problems leading to incorrect behaviour on modules.
- Modified some build scripts to add commit IDs to development builds.
- Prevents an assortment of crashes related to legacy stargate components.
- Significant updates to API and public method documentation.
- Fixed several migration crashes related to unexpected portal name and network lengths.
- Ensured personal network migration is preformed case agnostically.
- Added full support for Minecraft 1.21
- Bumped minimum supported version to Minecraft 1.20
- And fixed hundreds, if not thousands, of other random miscellaneous bugs too specific to specify above.

#### [Version 1.0.0.15] Stargate-Rewritten

- Added a trace command to improve UX for bug reporting
- Changed to new package name (org.sgrewitten)
- Changed to new package name (org.sgrewritten)
- Moved low-usage flags to the SG-Mechanics module (`Q`, `H`, `N`, `S`)
- Updated localisation targets and pulled most recent translations from crowdin.
- Added default detections for sublanguage specifications based on parent locales.
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
> ### **Support Discord** __**[Link](https://sgrewitten.org/discord)**__
> ### **Support Discord** __**[Link](https://sgrewritten.org/discord)**__

# Stargate-Bukkit

`Supporting MC 1.18+ in the Bukkit Ecosystem`
`Supporting MC 1.20+ in the Bukkit Ecosystem`

> [!WARNING]
>
> **THIS IS A TESTING BUILD FROM THE ALPHA CHANNEL!**<br>
> <br>
> **FOR**: Addon developers, early adopters, and adventure seekers.<br>
Expand All @@ -13,6 +15,7 @@
> **THIS BUILD IS NOT YET SUITABLE FOR USE AT SCALE OR ON MOST PRODUCTION SERVERS**<BR>
> **Use at your own risk, remember to make backups, and please report the bugs you will find!**


![Stargate Banner](https://i.imgur.com/7Ji4jrr.png)

## Description
Expand All @@ -25,11 +28,11 @@

| **Immersive** | **User-Oriented** | **Capable** |
|:----------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------:|
| Stargate's interface is integrated within gameplay; players can create, use, and destroy portals without any commands! | All of StarGate's features are designed to allow for non-admin users to create and manage their own portal networks in a balanced and risk free manner. | By default, StarGate boasts a comprehensive network system, dozens of portal types (flags), and highly configurable behaviours. |
| Stargate's interface is integrated within gameplay; players can create, use, and destroy portals without any commands! | All of Stargate's features are designed to allow for non-admin users to create and manage their own portal networks in a balanced and risk free manner. | By default, Stargate boasts a comprehensive network system, dozens of portal types (flags), and highly configurable behaviours. |

| **Configurable** | **Expandable** | **Customizable** |
|:-----------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------:|
| Stargate has a comprehensive and intuitive config, highly granular permissions, and multi-language support! | The StarGate community has developed an ecosystem of [add-ons](https://sgrewritten.org/addons), which collectively add integration and design-philosophy expansions to the plugin. | Stargate supports numerous customizations; from sign formatting to gate designs, all user-facing details can be modified! |
| Stargate has a comprehensive and intuitive config, highly granular permissions, and multi-language support! | The Stargate community has developed an ecosystem of [add-ons](https://sgrewritten.org/addons), which collectively add integration and design-philosophy expansions to the plugin. | Stargate supports numerous customizations; from sign formatting to gate designs, all user-facing details can be modified! |

------

Expand Down
20 changes: 20 additions & 0 deletions nb-configuration.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-shared-configuration>
<!--
This file contains additional configuration written by modules in the NetBeans IDE.
The configuration is intended to be shared among all the users of project and
therefore it is assumed to be part of version control checkout.
Without this configuration present, some functionality in the IDE may be limited or fail altogether.
-->
<properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
<!--
Properties that influence various parts of the IDE, especially code formatting and the like.
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
That way multiple projects can share the same settings (useful for formatting rules for example).
Any value defined here will override the pom.xml file value but is only applicable to the current project.
-->
<netbeans.hint.license>gpl30</netbeans.hint.license>
<com-github-philippefichet-sonarlint4netbeans.sonarlint-preference-scope>global</com-github-philippefichet-sonarlint4netbeans.sonarlint-preference-scope>
<com-github-philippefichet-sonarlint4netbeans.extraProperties>{}</com-github-philippefichet-sonarlint4netbeans.extraProperties>
</properties>
</project-shared-configuration>
88 changes: 70 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

<groupId>org.sgrewritten</groupId>
<artifactId>stargate</artifactId>
<version>1.0.0.15-ALPHA</version>
<name>StarGate</name>
<version>1.0.0.16-ALPHA</version>
<name>Stargate</name>
<description>The original, and still the best, transportation plugin for the Bukkit Ecosystem.</description>
<url>https://sgrewitten.org</url>
<url>https://sgrewritten.org</url>
<organization>
<name>Stargate Rewitten</name>
<url>https://sgrewitten.org</url>
<name>Stargate Rewritten</name>
<url>https://sgrewritten.org</url>
</organization>
<developers>
<developer>
Expand All @@ -25,7 +25,7 @@
<contributors>
<contributor>
<name>The contributors of the SGR Project</name>
<url>https://sgrewitten.org/credits</url>
<url>https://sgrewritten.org/credits</url>
</contributor>
</contributors>

Expand Down Expand Up @@ -60,19 +60,23 @@
<id>papermc</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
<repository>
<id>MG-Dev Jenkins CI Maven Repository</id>
<url>https://ci.mg-dev.eu/plugin/repository/everything</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.20.2-R0.1-SNAPSHOT</version>
<version>1.20.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.MilkBowl</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.7</version>
<version>1.7.1</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand All @@ -96,43 +100,49 @@
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.44.1.0</version>
<version>3.45.3.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<scope>runtime</scope>
<version>8.2.0</version>
<version>8.4.0</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.10.0</version>
<version>5.10.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.joshka</groupId>
<artifactId>junit-json-params</artifactId>
<version>5.9.3-r0</version>
<version>5.10.2-r0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.parsson</groupId>
<artifactId>parsson</artifactId>
<version>1.1.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.9</version>
<version>2.0.13</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.github.seeseemelk</groupId>
<artifactId>MockBukkit-v1.20</artifactId>
<version>3.58.0</version>
<version>3.86.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.cryptomorin</groupId>
<artifactId>XSeries</artifactId>
<version>9.8.0</version>
<version>10.0.0</version>
</dependency>
<dependency>
<groupId>net.coreprotect</groupId>
Expand All @@ -152,22 +162,40 @@
<version>5.2.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.bergerkiller.bukkit</groupId>
<artifactId>BKCommonLib</artifactId>
<version>1.20.4-v1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>2.0.13</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.Thorinwasher</groupId>
<artifactId>BlockUtil</artifactId>
<version>v1.0.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>Stargate-${project.version}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.12.1</version>
<version>3.13.0</version>
<configuration>
<release>17</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.1</version>
<version>3.5.3</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<artifactSet>
Expand Down Expand Up @@ -271,7 +299,29 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.3</version>
<version>3.2.5</version>
</plugin>
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<version>9.0.0</version>
<executions>
<execution>
<id>get-the-git-infos</id>
<goals>
<goal>revision</goal>
</goals>
<phase>initialize</phase>
</execution>
</executions>
<configuration>
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
<includeOnlyProperties>
<includeOnlyProperty>^git.commit.id.abbrev</includeOnlyProperty>
</includeOnlyProperties>
<commitIdGenerationMode>full</commitIdGenerationMode>
</configuration>
</plugin>
</plugins>
<resources>
Expand All @@ -280,6 +330,8 @@
<filtering>true</filtering>
<includes>
<include>**</include>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
Expand Down
Loading
Loading