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)
|
|
|
|
]]
|
|
|
|
|
2020-11-05 06:28:17 -08:00
|
|
|
-- The table that stores all the global variables, don't touch this.
|
|
|
|
skywars_settings = {}
|
2020-09-07 16:37:12 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-05 06:28:17 -08:00
|
|
|
-- ARENA LIB'S SETTINGS --
|
2020-09-22 07:32:27 -07:00
|
|
|
|
2020-09-07 16:37:12 -07:00
|
|
|
|
|
|
|
-- The time between the loading state and the start of the match.
|
2020-09-14 18:51:54 -07:00
|
|
|
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
|
|
|
|
2020-11-05 06:28:17 -08: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 > "
|
|
|
|
|
2020-11-05 06:28:17 -08:00
|
|
|
-- The players walking speed when they're playing a match.
|
2020-09-24 10:00:35 -07:00
|
|
|
skywars_settings.player_speed = 1.5
|
2020-09-13 12:47:11 -07:00
|
|
|
|
2020-10-01 10:54:39 -07:00
|
|
|
-- true = on/false = off (case sensitive).
|
2020-09-20 13:10:31 -07:00
|
|
|
skywars_settings.fall_damage_disabled = true
|
|
|
|
|
2020-11-23 07:30:06 -08:00
|
|
|
-- The name of the permission to allow players to break nodes
|
2020-10-01 10:54:39 -07:00
|
|
|
-- (if there's none just set it to "").
|
|
|
|
skywars_settings.build_permission = "build"
|
|
|
|
|
2020-09-13 12:47:11 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- HUDS SETTINGS --
|
|
|
|
|
2020-12-28 16:23:28 -08:00
|
|
|
|
2020-10-11 06:22:54 -07:00
|
|
|
-- Real coordinates:
|
2020-11-23 07:30:06 -08:00
|
|
|
-- a unit of measurement which is roughly around 64 pixels, but
|
2020-10-11 06:22:54 -07:00
|
|
|
-- varies based on the screen density and scaling settings of the client.
|
2020-09-13 12:47:11 -07:00
|
|
|
|
|
|
|
|
2020-10-21 05:31:21 -07:00
|
|
|
-- The background width in real coordinates
|
|
|
|
skywars_settings.background_width = 11
|
|
|
|
|
|
|
|
-- The background height in real coordinates
|
|
|
|
skywars_settings.background_height = 11
|
|
|
|
|
2020-11-23 07:30:06 -08:00
|
|
|
-- The x position offset from the background border of the first buttons row
|
2020-10-11 06:22:54 -07:00
|
|
|
-- in real coordinates, the bigger it is the righter the row will be placed.
|
2021-02-09 16:42:45 -08:00
|
|
|
--[[
|
|
|
|
1.7
|
|
|
|
|------|--------------------> x
|
|
|
|
| |
|
|
|
|
| * * * Background * * *
|
|
|
|
| * | *
|
|
|
|
| * | *
|
|
|
|
6.6 ---*-- Button1 Button2 * --> FIRST ROW
|
|
|
|
| * Button3 Button4 *
|
|
|
|
| * *
|
|
|
|
| * *
|
|
|
|
| * * * * * * * * * * * *
|
|
|
|
|
|
|
|
|
\/ y
|
|
|
|
]]
|
2020-09-15 10:32:35 -07:00
|
|
|
skywars_settings.starting_x = 1.7
|
2020-09-13 12:47:11 -07:00
|
|
|
|
2020-11-23 07:30:06 -08:00
|
|
|
-- The y position offset from the background border of the first buttons row
|
2020-10-11 06:22:54 -07:00
|
|
|
-- in real coordinates, the bigger it is the lower the row will be placed.
|
2020-10-21 05:31:21 -07:00
|
|
|
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.
|
2020-10-21 05:31:21 -07:00
|
|
|
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
|
|
|
|
|
2020-10-01 10:54:39 -07:00
|
|
|
-- The amount of buttons in a row.
|
2020-09-13 12:47:11 -07:00
|
|
|
skywars_settings.buttons_per_row = 3
|
|
|
|
|
2020-10-11 06:22:54 -07:00
|
|
|
-- The buttons width in real coordinates.
|
2020-10-21 05:31:21 -07:00
|
|
|
skywars_settings.buttons_width = 1.8
|
2020-09-13 12:47:11 -07:00
|
|
|
|
2020-10-01 10:54:39 -07:00
|
|
|
-- The buttons height in real coordinates.
|
2020-10-21 05:31:21 -07:00
|
|
|
skywars_settings.buttons_height = 1.6
|
2020-09-13 12:47:11 -07:00
|
|
|
|
2021-02-09 16:42:45 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- AUTO EQUIP. SYSTEM --
|
|
|
|
|
|
|
|
|
2020-12-28 16:23:28 -08:00
|
|
|
-- The items importances that are used by the auto equip system:
|
|
|
|
-- when a player takes an item from a chest, if it has a greater
|
|
|
|
-- importance and it's in the same group of the one in the hotbar,
|
|
|
|
-- the latter gets replaced.
|
|
|
|
skywars_settings.items_importances = {
|
|
|
|
pickaxe = {
|
|
|
|
["default:pick_wood"] = 0,
|
|
|
|
["default:pick_stone"] = 1,
|
|
|
|
["default:pick_bronze"] = 2,
|
|
|
|
["default:pick_steel"] = 3,
|
|
|
|
["default:pick_diamond"] = 4,
|
|
|
|
["default:pick_mese"] = 5,
|
|
|
|
},
|
|
|
|
sword = {
|
|
|
|
["default:sword_wood"] = 0,
|
|
|
|
["default:sword_stone"] = 1,
|
|
|
|
["default:sword_bronze"] = 2,
|
|
|
|
["default:sword_steel"] = 3,
|
|
|
|
["default:sword_diamond"] = 4,
|
|
|
|
["default:sword_mese"] = 5,
|
|
|
|
},
|
|
|
|
shovel = {
|
|
|
|
["default:shovel_wood"] = 0,
|
|
|
|
["default:shovel_stone"] = 1,
|
|
|
|
["default:shovel_bronze"] = 2,
|
|
|
|
["default:shovel_steel"] = 3,
|
|
|
|
["default:shovel_diamond"] = 4,
|
|
|
|
["default:shovel_mese"] = 5,
|
|
|
|
},
|
|
|
|
axe = {
|
|
|
|
["default:axe_wood"] = 0,
|
|
|
|
["default:axe_stone"] = 1,
|
|
|
|
["default:axe_bronze"] = 2,
|
|
|
|
["default:axe_steel"] = 3,
|
|
|
|
["default:axe_diamond"] = 4,
|
|
|
|
["default:axe_mese"] = 5,
|
|
|
|
}
|
|
|
|
}
|
2020-09-22 07:32:27 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
2021-02-09 16:42:45 -08:00
|
|
|
|
2020-11-23 07:30:06 -08:00
|
|
|
-- MAP RESET SYSTEM SETTINGS --
|
2020-11-02 12:43:52 -08:00
|
|
|
|
|
|
|
|
|
|
|
-- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-22 07:32:27 -07:00
|
|
|
-- ARMOR 3D SETTINGS --
|
|
|
|
|
|
|
|
|
2020-11-23 07:30:06 -08:00
|
|
|
skywars_settings.remove_armors_on_join = true
|
2020-12-23 11:48:39 -08:00
|
|
|
|
|
|
|
-- The armors importances that are used by the auto equip system:
|
|
|
|
-- when a player takes an armor from a chest, if it has a greater
|
2020-12-28 16:23:28 -08:00
|
|
|
-- importance that the already equipped one, the latter gets replaced.
|
2020-12-23 11:48:39 -08:00
|
|
|
-- If the armor name contains one of this materials then the
|
|
|
|
-- corresponding importance will be associated with it.
|
|
|
|
skywars_settings.armors_importances = {
|
|
|
|
["cactus"] = 0,
|
|
|
|
["wood"] = 1,
|
|
|
|
["gold"] = 2,
|
|
|
|
["bronze"] = 3,
|
|
|
|
["steel"] = 4,
|
|
|
|
["mithril"] = 5,
|
|
|
|
["diamond"] = 6
|
|
|
|
}
|