summaryrefslogtreewikicommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authortylermurphy534 <tylerm@tylerm.dev>2023-07-30 22:13:49 +0000
committertylermurphy534 <tylerm@tylerm.dev>2023-07-30 22:13:49 +0000
commita2ea5a635e1b841f58c05ca07e4b547a38fe3433 (patch)
tree5217465c967796680cc03b11359490f638d6b78c /src/main/resources
parentUpdate 'README.md' (diff)
parent1.7.5 rc4 (diff)
downloadkenshinshideandseek-a2ea5a635e1b841f58c05ca07e4b547a38fe3433.tar.gz
kenshinshideandseek-a2ea5a635e1b841f58c05ca07e4b547a38fe3433.tar.bz2
kenshinshideandseek-a2ea5a635e1b841f58c05ca07e4b547a38fe3433.zip
Merge pull request '1.7.5' (#10) from dev into main
Reviewed-on: https://g.tylerm.dev/tylermurphy534/KenshinsHideAndSeek/pulls/10
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/config.yml33
-rw-r--r--src/main/resources/items.yml27
-rw-r--r--src/main/resources/lang/localization_de-DE.yml12
-rw-r--r--src/main/resources/lang/localization_en-US.yml14
-rw-r--r--src/main/resources/plugin.yml4
5 files changed, 69 insertions, 21 deletions
diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml
index 5316402..522e10e 100644
--- a/src/main/resources/config.yml
+++ b/src/main/resources/config.yml
@@ -15,6 +15,10 @@ spawnPatch: false
# default: 1200 aka 20min
gameLength: 1200
+# How long in seconds will the initial hiding period last, minimum is 10 seconds
+# default: 30
+hidingTimer: 30
+
# Announce join/leave/game over messages to people not playing the game
# default: true
announceMessagesToNonPlayers: true
@@ -48,6 +52,33 @@ permissionsRequired: true
# default: 2
minPlayers: 2
+# Amount of initial seekers when game starts
+# default: 1
+startingSeekerCount: 1
+
+# By default, when a HIDER dies they will join the SEEKER team. If enabled they will instead become a spectator
+# default: false
+respawnAsSpectator: false
+
+# If enabled, the game will go until no hiders are left. If the timer runs out all hiders left will be marked as winning.
+# If disabled the game wll go until there is only one hider left. If the timer runs out, all hiders left win, if there is one
+# hider left, all inital seekers win along with the last hider.
+# default: true
+waitTillNoneLeft: true
+
+# By default, if the last hider or seeker quits the game, a win type of NONE is given, which doesnt mark anyone as winning. This can be
+# used as a way to prevent players form quitting in a loop to get someone else points.
+# default: true
+dontRewardQuit: false
+
+# The amount of seconds the game will wait until the players are teleported to the lobby after a game over
+# default: 5
+endGameDelay: 5
+
+# Along with a chat message, display a title describing the gameover
+# default: false
+gameOverTitle: true
+
# This plugin by default functions as not tag to catch Hiders, but to pvp. All players are given weapons,
# and seekers slightly better weapons (this can be changed in items.yml). If you want, you can disable this
# entire pvp functionality, and make Hiders get found on a single hit. Hiders would also not be able to fight
@@ -304,4 +335,4 @@ exit:
x: 0
y: 0
z: 0
- world: "world" \ No newline at end of file
+ world: "world"
diff --git a/src/main/resources/items.yml b/src/main/resources/items.yml
index 682cfe4..de68cc0 100644
--- a/src/main/resources/items.yml
+++ b/src/main/resources/items.yml
@@ -4,7 +4,7 @@
# If pvp is disabled in config.yml, only effects will be given to players.
items:
seeker:
- '1':
+ '0':
material: DIAMOND_SWORD
amount: 1
enchantments:
@@ -13,7 +13,7 @@ items:
unbreakable: true
lore:
- 'This is the seeker sword'
- '2':
+ '1':
material: STICK
amount: 1
enchantments:
@@ -22,8 +22,19 @@ items:
lore:
- 'It will launch people very far'
- 'Use wisely!'
+ 'helmet':
+ material: LEATHER_HELMET
+ 'chestplate':
+ material: LEATHER_CHESTPLATE
+ 'leggings':
+ material: LEATHER_LEGGINGS
+ 'boots':
+ material: LEATHER_BOOTS
+ enchantments:
+ feather_falling: 4
+
hider:
- '1':
+ '0':
material: STONE_SWORD
amount: 1
enchantments:
@@ -32,11 +43,11 @@ items:
unbreakable: true
lore:
- 'This is the hider sword'
- '2':
+ '1':
material: SPLASH_POTION
amount: 1
type: REGEN
- '3':
+ '2':
material: POTION
amount: 2
type: INSTANT_HEAL
@@ -55,12 +66,6 @@ effects:
amplifier: 1
ambient: false
particles: false
- '3':
- type: SLOW_FALLING
- duration: 1000000
- amplifier: 1
- ambient: false
- particles: false
'4':
type: WATER_BREATHING
duration: 1000000
diff --git a/src/main/resources/lang/localization_de-DE.yml b/src/main/resources/lang/localization_de-DE.yml
index 92309ee..ca98ea2 100644
--- a/src/main/resources/lang/localization_de-DE.yml
+++ b/src/main/resources/lang/localization_de-DE.yml
@@ -12,12 +12,18 @@ Localization:
COMMAND_ERROR: "Ein unbekannter Fehler ist aufgetreten."
COMMAND_INVALID_ARG: "Ungültiges Argument: {AMOUNT}"
GAME_PLAYER_DEATH: "&c{PLAYER}&f ist gestorben."
- GAME_PLAYER_FOUND: "&e{PLAYER}&f wurde gefunden und ist nun ein Seeker."
- GAME_PLAYER_FOUND_BY: "&e{PLAYER}&f wurde von &c{PLAYER}&f gefunden und ist nun ein Seeker."
+ GAME_PLAYER_FOUND: "&e{PLAYER}&f wurde gefunden"
+ GAME_PLAYER_FOUND_BY: "&e{PLAYER}&f wurde von &c{PLAYER}&f gefunden"
GAME_GAMEOVER_HIDERS_FOUND: "Alle Hider wurden gefunden."
+ GAME_GAMEOVER_LAST_HIDER: "Der letzte Hider, &e{PLAYER}&f, hat gewonnen!"
GAME_GAMEOVER_SEEKERS_QUIT: "All Seeker haben das Spiel verlassen."
GAME_GAMEOVER_HIDERS_QUIT: "All Hider haben das Spiel verlassen."
GAME_GAMEOVER_TIME: "Seekers haben keine Spielzeit mehr. Die Hiders haben gewonnen!"
+ GAME_TITLE_HIDERS_WIN: "&aHiders haben gewonnen!"
+ GAME_TITLE_SINGLE_HIDER_WIN: "&a{PLAYER} haben gewonnen!"
+ GAME_TITLE_SEEKERS_WIN: "&cSeekers haben gewonnen!"
+ GAME_TITLE_NO_WIN: "&bSpiel ist aus"
+ GAME_SUBTITLE_SINGLE_HIDER_WIN: "{PLAYER} ist der letzte lebende Hider!"
GAME_SETUP: "Es gibt keine Setup-Karten! Führen Sie /hs map status auf einer Karte aus, um zu sehen, was Sie tun müssen."
GAME_INGAME: "Du bist bereits in der Lobby oder im Spiel."
GAME_NOT_INGAME: "Du bist weder in einer Lobby noch in einem Spiel."
@@ -128,5 +134,5 @@ Localization:
CONFIRMATION: "Führen Sie /hs confirm innerhalb von 10s aus, um zu bestätigen."
# DO NOT EDIT IT OR IT MAY BREAK OR RESET FILE
-version: 4
+version: 5
type: "de-DE"
diff --git a/src/main/resources/lang/localization_en-US.yml b/src/main/resources/lang/localization_en-US.yml
index 062f4f2..a2a2223 100644
--- a/src/main/resources/lang/localization_en-US.yml
+++ b/src/main/resources/lang/localization_en-US.yml
@@ -12,12 +12,18 @@ Localization:
COMMAND_ERROR: "An internal error has occurred."
COMMAND_INVALID_ARG: "Invalid argument: {AMOUNT}"
GAME_PLAYER_DEATH: "&c{PLAYER}&f was killed."
- GAME_PLAYER_FOUND: "&e{PLAYER}&f was found and became a seeker."
- GAME_PLAYER_FOUND_BY: "&e{PLAYER}&f was found by &c{PLAYER}&f and became a seeker."
+ GAME_PLAYER_FOUND: "&e{PLAYER}&f was found"
+ GAME_PLAYER_FOUND_BY: "&e{PLAYER}&f was found by &c{PLAYER}&f"
GAME_GAMEOVER_HIDERS_FOUND: "All hiders have been found."
+ GAME_GAMEOVER_LAST_HIDER: "The last hider, &e{PLAYER}&f, has won!"
GAME_GAMEOVER_SEEKERS_QUIT: "All seekers have quit."
GAME_GAMEOVER_HIDERS_QUIT: "All hiders have quit."
GAME_GAMEOVER_TIME: "Seekers ran out of time. Hiders win!"
+ GAME_TITLE_HIDERS_WIN: "&aHiders Win!"
+ GAME_TITLE_SINGLE_HIDER_WIN: "&a{PLAYER} Wins!"
+ GAME_TITLE_SEEKERS_WIN: "&cSeekers Win!"
+ GAME_TITLE_NO_WIN: "&bGame Over"
+ GAME_SUBTITLE_SINGLE_HIDER_WIN: "{PLAYER} is the last hider alive!"
GAME_SETUP: "There are no setup maps! Run /hs map status on a map to see what you need to do."
GAME_INGAME: "You are already in the lobby/game."
GAME_NOT_INGAME: "You are not in a lobby/game."
@@ -128,5 +134,5 @@ Localization:
CONFIRMATION: "Run /hs confirm within 10s to confirm."
# DO NOT EDIT IT OR IT MAY BREAK OR RESET FILE
-version: 4
-type: "en-US" \ No newline at end of file
+version: 5
+type: "en-US"
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index dc8cab1..5e681d0 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -1,6 +1,6 @@
name: KenshinsHideAndSeek
-main: net.tylermurphy.hideAndSeek.Main
-version: 1.7.4
+main: dev.tylerm.khs.Main
+version: 1.7.5
author: KenshinEto
load: STARTUP
api-version: 1.13