removed arena_lib's deprecated hub_spawn_point and queue_waiting_time

master
Zughy 2020-11-23 16:30:06 +01:00
parent 4c7e7c5b15
commit 72a30c5e76
2 changed files with 7 additions and 16 deletions

View File

@ -13,16 +13,9 @@ skywars_settings = {}
-- ARENA LIB'S SETTINGS --
-- Where players will be teleported when a match ends.
skywars_settings.hub_spawn_point = {x = 81, y = 25, z = 102}
-- The time between the loading state and the start of the match.
skywars_settings.loading_time = 10
-- The time to wait before the loading phase starts.
-- It gets triggered when the minimium amount of players has been reached to start the queue.
skywars_settings.queue_waiting_time = 30
-- The time between the end of the match and the respawn at the hub.
skywars_settings.celebration_time = 5

View File

@ -10,11 +10,9 @@ end
arena_lib.register_minigame("skywars", {
prefix = skywars_settings.prefix,
hub_spawn_point = skywars_settings.hub_spawn_point,
join_while_in_progress = false,
celebration_time = skywars_settings.celebration_time,
load_time = skywars_settings.loading_time,
queue_waiting_time = skywars_settings.queue_waiting_time,
temp_properties = {
HUDs = {},
players_original_amount = 0,