Skip to content

Commit

Permalink
fixed readme config example
Browse files Browse the repository at this point in the history
  • Loading branch information
KartoffelChipss committed Apr 16, 2024
1 parent 272f6a8 commit 0c57e43
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ messages:
prefix: "&8[&cLifeStealZ&8]"
newVersionAvailable: "&7A new version of LifeStealZ is available!\n&c<click:OPEN_URL:https://modrinth.com/plugin/lifestealz/versions>https://modrinth.com/plugin/lifestealz/versions</click>"
usageError: "&cUsage: %usage%"
playerNotFound: "&cPlayer not found!"
worldNotWhitelisted: "&cThis world is not whitelisted for LifeStealZ!"
specifyPlayerOrBePlayer: "&cYou need to either specify a player or be a player yourself!"
noPermissionError: "&cYou don't have permission to use this!"
noPlayerData: "&cThis player has not played on this server yet!"
eliminateSuccess: "&7You successfully eliminated &c%player%&7!"
Expand All @@ -205,6 +208,8 @@ messages:
closeBtn: "&cClose"
reviveTitle: "&8Revive a player"
revivePlayerDesc: "&7Click to revive this player"
viewheartsYou: "&7You currently have &c%amount% &7hearts!"
viewheartsOther: "&c%player% &7currently has &c%amount% &7hearts!"
```
</details>
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/org/strassburger/lifestealz/Lifestealz.kt
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,9 @@ class Lifestealz : JavaPlugin() {
prefix: "&8[&cLifeStealZ&8]"
newVersionAvailable: "&7A new version of LifeStealZ is available!\n&c<click:OPEN_URL:https://modrinth.com/plugin/lifestealz/versions>https://modrinth.com/plugin/lifestealz/versions</click>"
usageError: "&cUsage: %usage%"
playerNotFound: "&cPlayer not found!"
worldNotWhitelisted: "&cThis world is not whitelisted for LifeStealZ!"
specifyPlayerOrBePlayer: "&cYou need to either specify a player or be a player yourself!"
noPermissionError: "&cYou don't have permission to use this!"
noPlayerData: "&cThis player has not played on this server yet!"
eliminateSuccess: "&7You successfully eliminated &c%player%&7!"
Expand All @@ -494,6 +497,8 @@ class Lifestealz : JavaPlugin() {
closeBtn: "&cClose"
reviveTitle: "&8Revive a player"
revivePlayerDesc: "&7Click to revive this player"
viewheartsYou: "&7You currently have &c%amount% &7hearts!"
viewheartsOther: "&c%player% &7currently has &c%amount% &7hearts!"
""".trimIndent()

if (f.length().toInt() == 0) {
Expand Down

0 comments on commit 0c57e43

Please sign in to comment.