Skip to content

Commit

Permalink
Merge pull request #323 from A5H73Y/7.0
Browse files Browse the repository at this point in the history
7.0
  • Loading branch information
A5H73Y authored Jun 10, 2022
2 parents a5d27fb + 2227b94 commit 50cffde
Show file tree
Hide file tree
Showing 194 changed files with 14,044 additions and 11,151 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build

env:
artifact_name: 'Parkour-7.0.0'
release_type: '-SNAPSHOT'

on: push

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Set up JDK 11 (LTS)
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
cache: maven

- name: Build with Maven
run: mvn -B clean package

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.ref_name }}${{ env.release_type }}.${{ github.run_number }}
release_name: ${{ env.artifact_name }}${{ env.release_type }}.${{ github.run_number }}
draft: false
prerelease: false

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: target/${{ env.artifact_name }}.jar
asset_name: ${{ env.artifact_name }}${{ env.release_type }}.jar
asset_content_type: application/java-archive

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Add a whole new element of fun to any server, highly competitive gameplay with r
<dependency>
<groupId>com.github.A5H73Y</groupId>
<artifactId>Parkour</artifactId>
<version>6.7.1</version>
<version>7.0.0</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
Expand All @@ -51,5 +51,5 @@ repositories {
```

```
compile 'com.github.A5H73Y:Parkour:6.7.1'
compile 'com.github.A5H73Y:Parkour:7.0.0'
```
4 changes: 4 additions & 0 deletions docs/_404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 404 - Page Not Found

!> Sorry about this, the requested page couldn't be found.
Let us know in the Discord, and we will try to fix this asap!
29 changes: 17 additions & 12 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
<!-- docs/_sidebar.md -->

- [Home](index.md)

- Essential Information
- Getting Started
- [Introduction](index.md)
- [Commands](essential/commands.md)
- [Permissions](essential/permissions.md)
- [Placeholders](essential/placeholders.md)
- [FAQ](essential/faq.md)

- Tutorials
- Guides
- [Fresh Install Setup](guides/fresh-install.md)
- [Creating a Course](guides/creating-course.md)
- [Compatible Plugins](guides/compatible-plugins.md)
- [Rewarding the Player](guides/rewarding-player.md)

- [Fresh Install](tutorials/fresh-install.md)
- [Creating a Course](tutorials/creating-course.md)
- [Configuring a Course](tutorials/configuring-course.md)
- Tutorials
- [Courses](tutorials/parkour-courses.md)
- [ParkourKits](tutorials/parkour-kits.md)
- [Sign Commands](tutorials/sign-commands.md)
- [Rewarding the Player](tutorials/rewarding-player.md)
- [Challenge Mode](tutorials/challenge-mode.md)
- [Lobbies](tutorials/parkour-lobby.md)
- [Players](tutorials/parkour-players.md)
- [ParkourModes](tutorials/parkour-modes.md)
- [Level & Ranks](tutorials/parkour-level-ranks.md)
- [AutoStarts](tutorials/parkour-autostart.md)
- [Administration](tutorials/administration.md)
- [Plugin Configuration](tutorials/plugin-config.md)
- [Compatible Plugins](tutorials/compatible-plugins.md)
- [Challenge Mode](tutorials/challenge-mode.md)
- [Sign Commands](tutorials/sign-commands.md)
- [Leaderboard Database](tutorials/parkour-database.md)
- [Plugin Configuration](tutorials/parkour-config.md)

- [Developer Tutorials](developer.md)
- [Changelogs](changelogs.md)
76 changes: 64 additions & 12 deletions docs/changelogs.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,65 @@
Changelogs
======

Please note that each version of Parkour is backwards compatible with the previous version and will automatically upgrade your config upon start up. There will be no manual intervention unless stated in breaking changes.
## Parkour 6.7.1
Please note that each version of Parkour is backwards compatible with the previous version and will automatically upgrade your config upon server start up. There will be no manual intervention, unless stated in breaking changes.
## 7.0.0
### Java 11
The plugin now requires a minimum Java version of 11 to function.

### Configuration Changes
Parkour 6.7.1 used a config system which hadn't changed since the Plugin's inception in 2012, by combining all the Courses and Players data into their single config file. This resulted in insanely slow performance when changing and saving data regularly.

Parkour 7.0.0 introduced a new system of configuration, where each Player and each Course has its own JSON config file with its own data and nothing else.
The performance improvements are outstanding: ![7.0.0 Performance](https://i.imgur.com/t3t4gbD.png "7.0.0 Performance")

Many new smaller config files have been introduced to store appropriate data.
### Default Course Settings
There is a new section in the config.yml that specifies default Course settings. A few examples include the "RewardOnce" flag, "MaxFallTicks" and "RewardDelay".

These can now be overridden on a per-course basis, using the "/pa setcourse (course)" command.
### Changes
* New AutoTabCompleter system to allow for more dynamic prompts
* New Config files (parkour-ranks.yml, auto-starts.yml, course-completions.yml, quiet-players.yml, parkour-lobbies.yml)
* Changed "/pa create" to allow for many creations
* Added 'achieved' column to 'time' table, includes Placeholders to access.
* Added "/pa session" and "/pa parkourkit" commands
* Added "/pa delete rank (parkour-level)"
* Added "/pa admin" for administration commands
* Added "pac manualcheckpoint (player)"
* Added "pac leaveall" console command to kick ALL Players from Courses
* Added "OnFinish.TeleportBeforePrize" to change finish order
* Added Course status Placeholders, with translations
* Added "Restore" option to "OnFinish.SetGameMode" to restore the Player's GameMode
* Added "%parkour_current_checkpoint_hologram_(course)_(number)%" placeholder for use with Holograms
* Added option to warn players if they've missed checkpoints
* Added "/pa delete leaderboardrow (course) (row)" to delete leaderboard rows manually
* Fixed the inconsistent Course finish time
* External Plugin is no longer disabled when not found on first startup.
* Cancel void damage if DisablePlayerDamage is enabled
* More messages are processed through PlaceholderAPI
* Added 'OnServerRestart.KickPlayerFromCourse' config option
* ParkourSessions are now stored as JSON, instead of serialized objects as they were problematic
* Improvements to prevent Players floating on death blocks
* Allow Player look-up to use UUIDs
* Parkour Commands can now be disabled
* Improved SQL to use PreparedStatements for improved security
* Added a default entry for each event command in the config.yml
* Allowed for Per-Course event commands to be combined with default commands
* Allowed JoinItems to be ItemStacks
* Allowed "MaxFallTick" to be 0 which disables the check
* Removed individual CreateSign permissions, replaced with parkour.admin.createsign
* Tons of fixes and performance improvements
* Project now requires Java 11 to function

_Thank you to steve4744, and the various contributors for helping with this major update._
_Additional thanks to the kind users who helped test early development builds!_

## 6.7.1
### Changes
* Clear PlaceholderAPI cache on database updates
* Fixes to Parkour messages being sent to Players

## Parkour 6.7
## 6.7
### Changes
* Added Potion ParkourBlock
* Added configurable time formats
Expand All @@ -25,12 +77,12 @@ Please note that each version of Parkour is backwards compatible with the previo
* Fixes for titles not appearing
* Reintroduced BountifulAPI support

## Parkour 6.6
## 6.6
### Changes
* Added ability for entities to attack player (OnCourse.PreventEntities.Attacking)
* Added "/pa setlobbycommand (lobby) (command)" command
* Added "OnRestart.FullPlayerRestart" config to allow for a 'quick' restart alternative
* Added / Changed Parkour event types to allow for better customisation ([more info](https://a5h73y.github.io/Parkour/#/tutorials/configuring-course?id=parkour-events))
* Added / Changed Parkour event types to allow for better customisation ([more info](/tutorials/configuring-course?id=parkour-events))
* Added "/pa manualcheckpoint" for FreeCheckpoint ParkourMode (ParkourModes.FreeCheckpoint.ManualCheckpointCommandEnabled)
* Fixed "course_completed" placeholder
* Fixed rewardonce not working correctly
Expand All @@ -41,9 +93,9 @@ Please note that each version of Parkour is backwards compatible with the previo
* Changed Upgrader to be sync to prevent placeholder issues

### Breaking Changes
* [Parkour Event Types](https://a5h73y.github.io/Parkour/#/tutorials/configuring-course?id=parkour-events) have been updated / renamed, so you'll have to reconfigure the Course events in some cases.
* [Parkour Event Types](/tutorials/configuring-course?id=parkour-events) have been updated / renamed, so you'll have to reconfigure the Course events in some cases.

## Parkour 6.5
## 6.5
### Changes
* Added Course display names `/pa setcourse (course) displayname (value)` (with new placeholders)
* Added Join Broadcast (OnJoin.BroadcastLevel)
Expand All @@ -67,7 +119,7 @@ Please note that each version of Parkour is backwards compatible with the previo
* Changed AutoStart reactivation to reset session rather than restart course
* Fixed config issues after a fresh install

## Parkour 6.4
## 6.4
### Changes
* Added ability to remove Parkour messages
* Added remaining lives placeholder
Expand All @@ -92,7 +144,7 @@ Please note that each version of Parkour is backwards compatible with the previo
* Remove players reappeared message after leaving / finishing
* Changed "OnJoin.Item" to be "ParkourTool." in the config.yml

## Parkour 6.3
## 6.3
### Changes
* Added Option to Automatically hide players on Course join
* Added %DEATHS% as a placeholder in TopTen Placeholder
Expand All @@ -109,7 +161,7 @@ Please note that each version of Parkour is backwards compatible with the previo
### Breaking Changes
* The `course_record` placeholder variables have changed order, now `%parkour_course_record_(course)_(value)%`

## Parkour 6.2
## 6.2
### Changes
* Option to treat last checkpoint as Finish
* Fixed ParkourLevel and ParkourRank format
Expand All @@ -118,14 +170,14 @@ Please note that each version of Parkour is backwards compatible with the previo
* Option to teleport to the nearest Lobby when taking void damage (not on Course) Thanks to FrankHeijden
* Fix Placeholders when cache expired

## Parkour 6.1
## 6.1
### Changes
* Reimplemented placeholders: `%parkour_player_personal_best_(course)_time%` & `%parkour_player_personal_best_(course)_deaths%`
* Placeholders fix for not matching lowercase
* Added option to append the world name to AutoStart
* Various fixes and improvements

## Parkour 6.0
## 6.0
This update is a rewrite of v5.3 with performance and usability being at the forefront of every decision.

**If you have 5.3 installed, Parkour 6.0 will automatically upgrade your configuration.**
Expand Down
88 changes: 54 additions & 34 deletions docs/css/style.css
Original file line number Diff line number Diff line change
@@ -1,65 +1,85 @@
.markdown-section h1 {
font-size: 3rem;
}
/* html tags */

.markdown-section h5 {
font-size: 1.1rem;
img {
max-width: 60%;
}

.markdown-section h1, .markdown-section h2 {
border-bottom: 1px solid #ccc;
h1.app-name {
display: none;
}

.markdown-section p {
line-height: 1.6rem;
margin: 1em 0;
font-size: 18px;
h5 {
margin: 0;
}

.markdown-section details p {
margin: 0.5em auto;
details tbody {
width: 100%;
display: table;
}

.sidebar ul li a {
font-size: 16px;
details th {
width: 15%;
}

.content {
padding-top: 0;
details > summary {
background-color: #f8f8f8;
padding: 8px;
border: none;
cursor: pointer;
font-size: 18px;
}

img {
max-width: 60%;
summary.deprecated {
text-decoration: line-through;
}

/* docsify */

.app-name-link img {
max-width: 30%;
}

h1.app-name {
display: none;
.markdown-section h1 {
font-size: 3rem;
}

h5 {
margin: 0;
.markdown-section h2 {
margin: 30px 0 .8rem;
}

details > summary {
background-color: #f8f8f8;
padding: 8px;
border: none;
cursor: pointer;
font-size: 18px;
.markdown-section h3 {
margin: 20px 0 .6rem;
}
details tbody {
width: 100%;
display: table;

.markdown-section h5 {
font-size: 1.1rem;
margin-top: 15px;
}

details th {
width: 15%;
.markdown-section h1, .markdown-section h2 {
border-bottom: 1px solid #ccc;
}

.markdown-section p {
line-height: 1.6rem;
margin: 1em 0;
font-size: 18px;
}

.markdown-section details p {
margin: 0.5em 1em;
}

.markdown-section code {
margin: 0;
}

.sidebar ul li a {
font-size: 16px;
}

.content {
padding-top: 0;
}


Loading

0 comments on commit 50cffde

Please sign in to comment.