Skip to content

Commit a22c808

Browse files
committed
2.2.7 Release
1 parent c4ab4c8 commit a22c808

File tree

5 files changed

+67
-6
lines changed

5 files changed

+67
-6
lines changed

Changelog.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@
22

33
Changelog for versions since 2.0.0.
44

5+
## 2.2.7
6+
7+
### New Features
8+
- Add 1.21.4 support
9+
- Add pale garden blocks to Foraging sources
10+
- Add support for external items anywhere that accepts an item key
11+
12+
### Changes
13+
- Change MythicDamageEvent priority from high to normal
14+
- Support {color} placeholder in leveled_by component of stats menu
15+
- Make anvil discount trait formula configurable in stats.yml
16+
- Change update checker to use Modrinth with loader and version filters
17+
18+
### Bug Fixes
19+
- Fix slimes and groups of mobs attacking rapidly with no cooldown
20+
- Fix hex colors not working in loot entry message
21+
- Fix xp-gain and custom-loot WorldGuard flags with Fishing loot
22+
- Fix offline player skins not working in leaderboard menu
23+
- Fix double plus in lore when adding some trait modifiers
24+
525
## 2.2.6
626

727
### Bug Fixes

README.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,46 @@ The ultra-versatile Minecraft RPG skills plugin
1818

1919
## About
2020

21-
**AuraSkills** (formerly **Aurelium Skills**) is a Minecraft plugin that adds skills, stats, abilities, and other RPG-related features. The plugin is fully configurable and customizable, enabling use on a wide-range of server types from small SMPs to large, custom MMORPG networks.
21+
**AuraSkills** (formerly **Aurelium Skills**) is a Minecraft plugin that adds skills, stats, abilities, and other RPG-related features. The plugin is fully configurable and customizable, enabling usage on a wide range of server types.
22+
23+
Features include:
24+
- **Skills** - Gain skill XP to level skills through general Minecraft tasks, such as Farming or Mining.
25+
- **Stats** - Get player buffs like increased health and damage by leveling skills, which can be as independent modifiers and on items.
26+
- **Abilities** - Skills have passive and active abilities that add gameplay mechanics, plus a full mana system.
27+
- **Menus** - Players can see everything related to skills in fully-configurable inventory GUIs.
28+
- **Rewards** - Customize rewards given for leveling skills, such as running commands or giving items.
29+
- **Loot** - Create custom loot tables for fishing, blocks, and mobs.
30+
31+
See the [official website](https://aurelium.dev/auraskills) and [wiki](https://wiki.aurelium.dev/auraskills) for a more complete list of features. The wiki also contains the list of [server requirements](https://wiki.aurelium.dev/auraskills/server-requirements) to run the plugin.
32+
33+
## Building
34+
35+
AuraSkills uses Gradle for dependencies and building.
36+
37+
#### Compiling from source
38+
39+
First, clone the project (requires Git to be installed):
40+
41+
```
42+
git clone https://github.com/Archy-X/AuraSkills.git
43+
cd AuraSkills/
44+
```
45+
46+
Then build depending on your operating system:
47+
48+
Linux / macOS
49+
50+
```
51+
./gradlew clean build
52+
```
53+
54+
Windows
55+
56+
```
57+
.\gradlew.bat clean build
58+
```
59+
60+
The output jar can be found in the `build/libs` directory.
2261

2362
## API
2463

bukkit/src/main/java/dev/aurelium/auraskills/bukkit/commands/SkillsRootCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ public void onClaimItems(Player player) {
318318
@CommandPermission("auraskills.command.version")
319319
public void onVersion(CommandSender sender) {
320320
Locale locale = plugin.getLocale(sender);
321-
new UpdateChecker(plugin).getVersion((latestVersion, loader) -> sender.sendMessage(plugin.getPrefix(locale) +
321+
new UpdateChecker(plugin).getVersion((latestVersion, id) -> sender.sendMessage(plugin.getPrefix(locale) +
322322
TextUtil.replace(plugin.getMsg(CommandMessage.VERSION, locale),
323323
"{current_version}", plugin.getDescription().getVersion(),
324324
"{latest_version}", latestVersion)));

bukkit/src/main/java/dev/aurelium/auraskills/bukkit/util/UpdateChecker.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ public UpdateChecker(AuraSkills plugin) {
2828
}
2929

3030
public void sendUpdateMessageAsync(CommandSender sender) {
31-
getVersion((version, loader) -> {
31+
getVersion((version, id) -> {
3232
if (isOutdated(plugin.getDescription().getVersion(), version)) {
3333
final String prefix = sender instanceof Player ? plugin.getPrefix(plugin.getDefaultLanguage()) : "[AuraSkills] ";
34-
final String downloadLink = "https://modrinth.com/plugin/" + UpdateChecker.MODRINTH_ID + "/version/" + version + "?loader=" + loader;
34+
final String downloadLink = "https://modrinth.com/plugin/" + UpdateChecker.MODRINTH_ID + "/version/" + id;
3535

3636
sender.sendMessage(prefix + ChatColor.WHITE + "New update available! You are on version " + ChatColor.AQUA + plugin.getDescription().getVersion() + ChatColor.WHITE + ", latest version is " + ChatColor.AQUA + version);
3737
sender.sendMessage(prefix + ChatColor.WHITE + "Download it on Modrinth: " + ChatColor.YELLOW + "" + ChatColor.UNDERLINE + downloadLink);
@@ -80,7 +80,9 @@ public void getVersion(final BiConsumer<String, String> consumer) {
8080
JsonObject firstElement = jsonArray.get(0).getAsJsonObject();
8181
String versionNumber = firstElement.get("version_number").getAsString();
8282

83-
consumer.accept(versionNumber, loader);
83+
String id = firstElement.get("id").getAsString();
84+
85+
consumer.accept(versionNumber, id);
8486
} else {
8587
this.plugin.getLogger().info("Cannot look for updates: Request failed with status code " + response.statusCode());
8688
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
projectVersion=2.2.6
1+
projectVersion=2.2.7
22
supportedMCVersions=1.17,1.17.1,1.18,1.18.1,1.18.2,1.19,1.19.1,1.19.2,1.19.3,1.19.4,1.20,1.20.1,1.20.2,1.20.3,1.20.4,1.20.5,1.20.6,1.21,1.21.1,1.21.2,1.21.3,1.21.4

0 commit comments

Comments
 (0)