skywars/SETTINGS.lua

91 lines
2.3 KiB
Lua
Raw Normal View History

2020-09-07 16:37:12 -07:00
--[[
! WARNING !
2020-10-01 11:32:05 -07:00
Don't change the variables names if you don't know what you're doing!
2020-09-07 16:37:12 -07:00
(skywars_settings.variable_name = value)
]]
-- The table that stores all the global variables, don't touch this.
skywars_settings = {}
2020-09-07 16:37:12 -07:00
-- ARENA LIB'S SETTINGS --
2020-09-07 16:37:12 -07:00
-- The time between the loading state and the start of the match.
skywars_settings.loading_time = 10
2020-09-07 16:37:12 -07:00
-- The time between the end of the match and the respawn at the hub.
2020-09-20 13:10:31 -07:00
skywars_settings.celebration_time = 5
2020-09-07 16:37:12 -07:00
-- What's going to appear in most of the lines printed by skywars.
2020-09-07 16:37:12 -07:00
skywars_settings.prefix = "Skywars > "
-- The players walking speed when they're playing a match.
skywars_settings.player_speed = 1.5
2020-09-13 12:47:11 -07:00
-- true = on/false = off (case sensitive).
2020-09-20 13:10:31 -07:00
skywars_settings.fall_damage_disabled = true
-- The name of the permission to allow players to break nodes
-- (if there's none just set it to "").
skywars_settings.build_permission = "build"
2020-09-13 12:47:11 -07:00
-- HUDS SETTINGS --
-- Real coordinates:
-- a unit of measurement which is roughly around 64 pixels, but
-- varies based on the screen density and scaling settings of the client.
2020-09-13 12:47:11 -07:00
-- The background width in real coordinates
skywars_settings.background_width = 11
-- The background height in real coordinates
skywars_settings.background_height = 11
-- The x position offset from the background border of the first buttons row
-- in real coordinates, the bigger it is the righter the row will be placed.
2020-09-15 10:32:35 -07:00
skywars_settings.starting_x = 1.7
2020-09-13 12:47:11 -07:00
-- The y position offset from the background border of the first buttons row
-- in real coordinates, the bigger it is the lower the row will be placed.
skywars_settings.starting_y = 6.6
2020-09-13 12:47:11 -07:00
2020-10-01 11:32:05 -07:00
-- The horizontal distance between buttons in real coordinates.
skywars_settings.distance_x = 3.1
2020-09-13 12:47:11 -07:00
2020-10-01 11:32:05 -07:00
-- The vertical distance between buttons in real coordinates.
2020-09-13 12:47:11 -07:00
skywars_settings.distance_y = 3
-- The amount of buttons in a row.
2020-09-13 12:47:11 -07:00
skywars_settings.buttons_per_row = 3
-- The buttons width in real coordinates.
skywars_settings.buttons_width = 1.8
2020-09-13 12:47:11 -07:00
-- The buttons height in real coordinates.
skywars_settings.buttons_height = 1.6
2020-09-13 12:47:11 -07:00
-- MAP RESET SYSTEM SETTINGS --
-- The amount of nodes to reset each step, the higher you set it the faster
-- it will go, but it will make the server lag more.
skywars_settings.nodes_per_tick = 20
-- ARMOR 3D SETTINGS --
skywars_settings.remove_armors_on_join = true