Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
A5H73Y committed Dec 8, 2022
1 parent 1d893c3 commit ad3a0ec
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 27 deletions.
35 changes: 17 additions & 18 deletions docs/changelogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,26 @@ Changelogs
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.1.0
* Fixes to losing Player's JoinLocation

* Reworked ParkourTools to be more structured
* Fixed "/pa addjoinitem (course)"
* Added missing "%parkour_current_checkpoint_next%" placeholder
* Fixed various placeholders
* Reworked ParkourTools to be more structured
* Added Rockets amount limit
* Each ParkourTool can have individual cooldown and cooldown message
* Fixed full restart resetting player data
* Reset Player's cooldowns on Restart
* New Setting "AutoStart.RestartWhenOnCourse.Enabled" to reset progress on AutoStart action
* New Setting "AutoStart.RestartWhenOnCourse.Teleport" to teleport when on Course
* Improved ParkourTools to be more structured
* Added ability for each ParkourTool to have individual cooldown and cooldown message
* Added Rockets ParkourTool amount limit
* Added ability for Material custom model data using "MATERIAL:123"
* Added Setting "AutoStart.RestartWhenOnCourse.Enabled" to reset progress on AutoStart action
* Added Setting "AutoStart.RestartWhenOnCourse.Teleport" to teleport whilst on Course
* Added console command "pac setpropertyforeverysinglecourse (property) [value]"
* Added console command "pac setpropertyforeverysingleplayer (property) [value]"
* Added ability for per-checkpoint commands (manual process currently)
* Added ability for per-checkpoint commands (currently a manual process)
* Added missing "%parkour_current_checkpoint_next%" placeholder
* Added option to set display name on Material prizes
* Fixed "/pa addjoinitem (course)"
* Fixed losing Player's JoinLocation
* Fixed bug when merging default and per-course commands
* Add ability for Material custom model data using "MATERIAL:123"
* Fire BestTime events after finish event
* Fire Restart events in more places
* Added option to set display name on material prizes
* Fixed various placeholders
* Fixed full restart resetting player data
* Fixed Restart events firing in more places
* Fixed Too many open files
* Player's cooldowns are reset on Restart
* Changed BestTime events after finish event

### Breaking Changes
* Please reapply your translations to the `ParkourTool` section.
Expand Down
28 changes: 21 additions & 7 deletions docs/tutorials/parkour-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,13 @@ CourseDefault:
# Settings which will be defaulted to on ALL Courses
# These can be overridden on a per-Course basis
Settings:
HasFallDamage: true
MaxFallTicks: 80
DieInLiquid: false
DieInVoid: false
HasFallDamage: true
ManualCheckpoints: false
MaxFallTicks: 80
MaxDeaths: 0
MaxTime: 0
RewardOnce: false
RewardDelay: 0
RewardLevelAdd: 0
Expand Down Expand Up @@ -223,6 +226,8 @@ ParkourTool:
Rockets:
Material: FIREWORK_ROCKET
Slot: 4
# Seconds delay before being able to fire again
SecondCooldown: 1

# All the options for Parkour Challenges
ParkourChallenge:
Expand All @@ -243,8 +248,6 @@ ParkourModes:
Rockets:
# Should the velocity be inverted (teleported forwards instead of backwards)
Invert: false
# Seconds delay before being able to fire again
SecondCooldown: 1
# Amount of force received from the rocket launching
LaunchForce: 1.5

Expand Down Expand Up @@ -281,6 +284,11 @@ AutoStart:
TickDelay: 0
# Include the world name in the AutoStart to allow multi-world support
IncludeWorldName: true
# Should the Player's progress be restarted when activated while on the Course
RestartWhenOnCourse:
Enabled: true
# Should the Player be teleported to the start of the Course
Teleport: false

# All the options for displaying a Scoreboard while on a Course
# Each entry can be disabled and the order changed
Expand Down Expand Up @@ -405,6 +413,8 @@ Other:
MaximumParkourLevel: 99999999
# Should the Player's potion effects be reset during Parkour events such as joining, dying, leaving, finishing etc.
ResetPotionEffects: true
# Should Ops keep their GameMode when joining a Course
OpsBypassGameModeSet: false

Display:
# Should the plugin display a Join message to the Player "This server uses Parkour v6.X"
Expand All @@ -428,6 +438,8 @@ Other:
StandardFormat: "HH:mm:ss"
# The Detailed Time output format, with millisecond information. Used in leaderboard times
DetailedFormat: "HH:mm:ss:SSS"
# The Placeholder Time output format. Used when time is displayed in PlaceholderAPI values.
PlaceholderFormat: "HH:mm:ss:SSS"
# The TimeZone to use. Only change if you're having weird output.
TimeZone: "GMT"

Expand Down Expand Up @@ -456,11 +468,13 @@ Plugin:
# Vault is required to use economy functionality
Vault:
Enabled: true
# Should Parkour register itself as an Economy plugin, using Parkoins as a currency
RegisterParkoins: false
# Allows Parkour to offer external placeholders, also allows using placeholderapi values in multiple places
PlaceholderAPI:
Enabled: true
# How many seconds should database results be cached for
CacheTime: 15
CacheTime: 3

# How many time results should be cached per Course
Database:
Expand All @@ -485,10 +499,10 @@ LobbySettings:
EnforceWorld: false

# The installed version of the plugin, used by the updater to automatically update your config
Version: '7.0.0'
Version: '7.1.0'
```
_This is correct as of Parkour v7.0.0_
_This is correct as of Parkour v7.1.0_
</details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@ public DefaultConfig(File file) {
this.setDefault("DisplayTitle.Finish.Stay", 20);

this.setDefault("AutoStart.Enabled", true);
this.setDefault("AutoStart.RestartWhenOnCourse.Enabled", true);
this.setDefault("AutoStart.RestartWhenOnCourse.Teleport", false);
this.setDefault("AutoStart.Material", "BEDROCK");
this.setDefault("AutoStart.TickDelay", 0);
this.setDefault("AutoStart.IncludeWorldName", true);
this.setDefault("AutoStart.RestartWhenOnCourse.Enabled", true);
this.setDefault("AutoStart.RestartWhenOnCourse.Teleport", false);

this.setDefault("Scoreboard.Enabled", false);
this.setDefault("Scoreboard.CourseName.Enabled", true);
Expand Down

0 comments on commit ad3a0ec

Please sign in to comment.