Skip to content

Commit d7daeb1

Browse files
committed
Add update check and expand language messages
Added a 'check-updates' option to config.yml to enable plugin update checks. Expanded lang.yml with structured and additional messages for poweritem and command feedback. Updated build number and cleaned up template.yml formatting.
1 parent b8c021d commit d7daeb1

4 files changed

Lines changed: 23 additions & 7 deletions

File tree

buildNumber.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#maven.buildNumber.plugin properties file
2-
#Thu Nov 06 07:27:59 CET 2025
3-
buildNumber=865
2+
#Mon Nov 10 05:03:47 CET 2025
3+
buildNumber=870

config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
# +------------------------------------------------------+ #
55
############################################################
66

7+
# Should we check for plugin updates on Spigot?
8+
check-updates: true
9+
710
# Rares have a chance to spawn on any natural mob spawns.
811
# If spawn-chance is 1000, rares have a 0.1% chance to spawn any time a mob spawns.
912
spawn-chance: 25000

items/template.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,4 @@ soul-harvester:
303303
- line1
304304
- line2
305305

306-
307-
308-
309306

lang.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,21 @@
66

77
prefix: '&7[&6RareSpawns&7] '
88

9-
poweritem-no-exist: '&cSorry, this item no longer exists.'
10-
poweritem-no-permission: '&cYou do not have permission to use this item.'
9+
poweritem:
10+
no-exist: '&cSorry, this item no longer exists.'
11+
no-permission: '&cYou do not have permission to use this item.'
12+
no-valid-blocks: '&cYour hotbar has no placeable blocks!'
13+
14+
command:
15+
give-random: 'Gave randomized item &e%item%&r to %player%.'
16+
give: 'Gave item &e%item%&r to %player%.'
17+
kill: 'Killed &e%amount%&r rares.'
18+
unknown-item: '&cThis item cannot be found!'
19+
opt-out: '&cRares no longer spawn around you.'
20+
opt-in: '&aRares again spawn around you.'
21+
reload: '&aReloaded %part%.'
22+
spawn:
23+
not-found: '&cThis entity cannot be found!'
24+
success: 'Rare &e%rare%&r spawned at &e%location%&r.'
25+
player-not-found: '&cPlayer not found!'
26+

0 commit comments

Comments
 (0)