Skip to content

Commit 6132eac

Browse files
committed
changelog.md, readme.md, update.json updated.
Signed-off-by: Pavel Erokhin (MairwunNx) <[email protected]>
1 parent 9d91731 commit 6132eac

File tree

4 files changed

+40
-5
lines changed

4 files changed

+40
-5
lines changed

changelog.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [1.14.4-1.3.0] - 2020-03-12
10+
11+
### Added
12+
- AccessTransformers (for `language` field in `ServerPlayerEntity` class).
13+
- `gson` dependency added and included in mod bundle.
14+
- Localization configuration.
15+
- Localization API implemented.
16+
- `hoverEventFrom` in `HoverEventExtensions` implemented.
17+
- `textComponentFrom` in `TextComponentExtensions` implemented.
18+
- Localization configuration loading \ saving.
19+
- Localization processing (in-resources) files.
20+
- All vanilla commands have got safe localization.
21+
- `throwOnlyPlayerCan` and `throwPermissionLevel` added in `ModErrorsHelper.kt`.
22+
- `BackLocation` provider and command implemented.
23+
- Compatibility with back command added to `teleport` command. (**Experimental**)
24+
- `IConfiguration` interface for configurations.
25+
26+
### Changed
27+
- Updated dependencies, updated module version.
28+
- Forge target version updated. *(to `28.2.X`)*
29+
- `JsonConfiguration` compatibility to `0.20.0` version. **!!! BREAKING CHANGE !!!**
30+
- `ONLY_PLAYER_CAN` and `PERMISSION_LEVEL` in `ModErrorsHelper.kt` now is deprecated.
31+
- Small logging output changes.
32+
33+
### Fixed
34+
- Incorrect behavior for teleport alias `/tp`.
35+
- Crash when using `deop` when permissions module not exist command.
36+
- Incorrect vanilla op level checking.
37+
38+
### Removed
39+
- Redundant `@UseExperimental` annotation from `loadLocalization` in `localization.kt`.
40+
941
## [1.14.4-1.2.1] - 2020-02-07
1042

1143
### Added

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is the base module (core) for all other Project Essentials modules. It cont
88

99
### Last steps
1010

11-
#### [Download mod](https://github.com/ProjectEssentials/ProjectEssentials-Core/releases/download/v1.14.4-1.2.1/ProjectEssentials-Core-MOD-1.14.4-1.2.1.jar) · [Download API](https://github.com/ProjectEssentials/ProjectEssentials-Core/releases/download/v1.14.4-1.2.1/ProjectEssentials-Core-API-1.14.4-1.2.1.jar) · [How to install](https://mairwunnx.gitbook.io/project-essentials/project-essentials-core#how-to-install) · [Configuration](https://mairwunnx.gitbook.io/project-essentials/project-essentials-core#configuration) · [API Using](https://mairwunnx.gitbook.io/project-essentials/project-essentials-core#using-as-api) · [Troubleshooting](https://github.com/ProjectEssentials/ProjectEssentials-Core/issues/new/choose) · [Telegram Chat](https://t.me/minecraftforge)
11+
#### [Download mod](https://github.com/ProjectEssentials/ProjectEssentials-Core/releases/download/v1.14.4-1.3.0/ProjectEssentials-Core-MOD-1.14.4-1.3.0.jar) · [Download API](https://github.com/ProjectEssentials/ProjectEssentials-Core/releases/download/v1.14.4-1.3.0/ProjectEssentials-Core-API-1.14.4-1.3.0.jar) · [How to install](https://mairwunnx.gitbook.io/project-essentials/project-essentials-core#how-to-install) · [Configuration](https://mairwunnx.gitbook.io/project-essentials/project-essentials-core#configuration) · [API Using](https://mairwunnx.gitbook.io/project-essentials/project-essentials-core#using-as-api) · [Troubleshooting](https://github.com/ProjectEssentials/ProjectEssentials-Core/issues/new/choose) · [Telegram Chat](https://t.me/minecraftforge)
1212

1313
<a href="https://ko-fi.com/mairwunnx" target="_blank"><img src="./assets/support_social.png"></a>
1414

src/main/kotlin/com/mairwunnx/projectessentials/core/localization/localization.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var fallbackLanguage = "en_us"
3030
/**
3131
* Send localized message, what contains in localized files.
3232
*
33-
* **Use on server side only!**
33+
* **Server-side only using stable!**
3434
*
3535
* @param player server player instance.
3636
* @param l10nString localized string.
@@ -153,7 +153,9 @@ fun getLocalizedString(
153153
return msg
154154
}
155155

156-
private fun getResourceAsFile(classLoader: ClassLoader, resourcePath: String): File? {
156+
private fun getResourceAsFile(
157+
classLoader: ClassLoader, resourcePath: String
158+
): File? {
157159
return try {
158160
val inputStream = classLoader.getResourceAsStream(
159161
resourcePath

update.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"homepage": "https://github.com/ProjectEssentials/ProjectEssentials-Core",
33
"1.14.4": {
4+
"1.14.4-1.3.0": "Changelog for 1.3.0 https://github.com/ProjectEssentials/ProjectEssentials-Core/blob/MC-1.14.4/changelog.md#1144-130---2020-03-12",
45
"1.14.4-1.2.1": "Changelog for 1.2.1 https://github.com/ProjectEssentials/ProjectEssentials-Core/blob/MC-1.14.4/changelog.md#1144-121---2020-02-07",
56
"1.14.4-1.2.0": " - Wrong op level for `pardon-ip` command fixed.\n - Localizaton for restricted messages added.\n - Hover event with restricred message description added.",
67
"1.14.4-1.0.1.0": " - Added cooldown and permission modules as not mandatory dependency.\n - Added configuration for native vanilla commands.\n - Implemented all vanilla commands.\n - Permission checking on all vanilla commands.\n - Cooldown checking on all vanilla commands.\n - Added NativeCommandUtils with ability to remove command.",
@@ -10,7 +11,7 @@
1011
"1.14.4-1.0.2.0": " - Fixed crash while dependency using CoreAPI."
1112
},
1213
"promos": {
13-
"1.14.4-latest": "1.14.4-1.2.1",
14-
"1.14.4-recommended": "1.14.4-1.2.1"
14+
"1.14.4-latest": "1.14.4-1.3.0",
15+
"1.14.4-recommended": "1.14.4-1.3.0"
1516
}
1617
}

0 commit comments

Comments
 (0)