103 Commits

Author SHA1 Message Date
Marco
2e01e2fda3 Preventing arenas with absurd min and max players to be created 2020-06-06 19:45:26 +02:00
Marco
e52cff760e Reset spawners when they don't coincide with the maximum amount of players + improvements for 3.0 2020-06-06 18:03:59 +02:00
Zughy
d4c70e51af assign_team is now local 2020-06-05 17:36:57 +02:00
Marco
a118a5a3aa Teams implemented 2020-06-05 12:09:20 +02:00
Marco
fda28c3755 Storage: no more unneccessary parameters per mod stored | better arenas ID management 2020-06-05 12:09:20 +02:00
Marco
e7adff6da8 Translations updated | less redundancy and better editor structure 2020-06-05 12:09:20 +02:00
Marco
71611b999b Editor implemented | set_sign has now the possibility to be used without any item just looking at the sign (give_sign_tool removed) | set_spawner now takes general parameters for a more complete customisation 2020-06-05 12:09:20 +02:00
Marco
b8ee702898 Bugfix: immunity was lost faster than usual if a player was killed and respawned within the immunity time 2020-05-28 01:16:25 +02:00
Marco
8a9702b351 Enable/disable arena functions now take the arena name as a parameter (before it was the ID) 2020-05-27 16:47:37 +02:00
Marco
cff3b69b11 Crashfix: get_arena_by_player made the game crash if the player wasn't in game nor in queue 2020-05-27 02:06:49 +02:00
Marco
25d22167b8 Better 'remove_player_from_arena' structure 2020-05-25 22:49:42 +02:00
Marco
6adc31134c keep_inventory option 2020-05-25 22:07:46 +02:00
Marco
bc3efb5533 Removed the old legacy storage 2020-05-25 16:30:21 +02:00
Marco
86d9c59b0f Added the deprecated function get_arena_players_count to not break the version 2020-05-25 14:18:44 +02:00
Marco
8c7b01c655 DOCS: timers, hub manager, register_minigame | README: dependencies updated 2020-05-25 00:18:25 +02:00
Marco
a610860d02 Timers added | Rewritten initialisation process + deprecated warnings 2020-05-24 23:38:21 +02:00
Marco
d02c55e73d Soft dependency added: hub_manager | hub_manager items are given on arena ending or when a player is removed 2020-05-24 13:38:49 +02:00
Marco
7e3692896b Crashfix: a check was needed in get_queueID_by_player and get_arenaID_by_player 2020-05-23 16:17:38 +02:00
Zughy
8ad2ef508d Immunity item moved from slot #9 to slot #8. It's now visible to players when they respawn 2020-05-22 12:35:25 +02:00
Zughy
cd373fb3dd Added 'arena' paramater in on_eliminate, on_kick and on_quit 2020-05-19 11:59:31 +02:00
Zughy
3ec77f9e06 Debug warning message for when no arena has been found in remove_player_from_arena (AKA when the player is not in game nor in queue) 2020-05-19 11:58:46 +02:00
Zughy
221f4f5a22 Added on_quit, on_eliminate and on_kick callbacks 2020-05-19 01:46:30 +02:00
Zughy
5736c56cf9 get_arena_players_count() removed. There now is a separate parameter for every arena called arena.players_amount 2020-05-18 22:09:54 +02:00
Zughy
f1def58b09 Removed hub spawn point. It shouldn't be up to arena_lib, but to a separate mod (look for Hub Manager on GitLab) 2020-05-16 16:20:49 +02:00
Zughy
e8e1a1dda9 join/leave messages graphically improved (also, less translations to do now) 2020-05-15 16:52:12 +02:00
Zughy
55f3418972 Queue: default countdown increased from 5 to 10 2020-05-15 12:32:02 +02:00
Zughy
3d2c044356 HUD: gelocalised 2020-05-14 22:42:31 +02:00
Zughy
d2e91486ca basic HUD for announcements implemented + practical implementation for queues 2020-05-14 21:16:11 +02:00
Marco
91e9c8cb2b Bugfix: arenas signs weren't saved properly when overrided. ALSO beware the refactoring set_sign -> give_sign_tool 2020-05-10 00:01:28 +02:00
Marco
89956b9863 kill_cap parameter removed (it was unused) + local files updated 2020-05-09 12:32:13 +02:00
Marco
8a3dfa8d9a player_parameters table in settings implemented + killstreak field removed 2020-05-08 13:19:56 +02:00
Marco
887b1544b5 Bugfix: signs were showing the wrong line when the game was loading 2020-05-07 16:37:46 +02:00
Marco
288f7f1c7f Add show_nametags option for more customisation + DOCS updated 2020-05-07 15:44:24 +02:00
Marco
f7d460647a field queue_waiting_time added in settings for more customisation 2020-05-06 14:38:08 +02:00
Marco
ead33cc31a Bugfix: when a player was eliminated, the nickname didn't turn visible 2020-05-04 23:57:40 +02:00
Marco
cc3f5f22ff show_minimap customisation parameter added 2020-05-04 23:17:26 +02:00
Marco
86e28c731f players checks (for arenas and queues) can now include the minigame name too to be more specific 2020-05-04 17:23:37 +02:00
Marco
5cace618a2 Bugfix: players weren't teleported back to the hub when eliminated 2020-05-03 23:41:44 +02:00
Marco
e6303ecdd2 join_while_in_progress parameter added 2020-05-03 13:28:41 +02:00
Marco
feabe06082 Renamed is_kicked -> is_eliminated 2020-05-02 12:28:40 +02:00
Marco
e6ebbcf627 is_kicked param in remove_player_from_arena improved + translations 2020-05-01 22:13:58 +02:00
Giov4
0083751a3a Added the is_kicked parameter to the remove_player_from_arena function 2020-05-01 18:05:25 +00:00
Marco
dc2112845a Bugfixes: Arenas weren't removed from storage when executing remove_arena; temp_properties reset was broken 2020-04-20 00:33:15 +02:00
Marco
12ed0c958f several fixes after testing, ready to roll 2020-04-19 16:39:46 +02:00
Marco
3ee92d5c49 Removed a couple of useless fields 2020-04-19 11:50:33 +02:00
Marco
d92fb7cfb0 Removed specific field 'kill_leader' and the relative function 2020-04-19 11:49:08 +02:00
Marco
ab386e6011 Properties and temp properties added (+ translations). Testing needed 2020-04-19 00:57:08 +02:00
Marco
2d941879bd whoopsie, unexpected ctrl+c in a comment 2020-04-18 17:22:52 +02:00
Marco
51361ac7b5 Ofc we can't have decent for loops in Lua. Maaan.. 2020-04-18 17:20:26 +02:00
Marco
de9e9c2124 Better storage + legacy conversion 2020-04-18 16:25:58 +02:00