93 Commits

Author SHA1 Message Date
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
Marco
f896b26b23 English as default language + Italian translations added using the 5.0+ Minetest translation system 2020-04-17 21:04:37 +02:00
Marco
89f5fee1d7 First commit for a fully translated version, WIP 2020-04-17 15:27:36 +02:00
Marco
6385a8efc5 removed now useless function 2020-04-16 16:51:11 +02:00
Marco
dd11630bd3 fixes post-testing 2020-04-16 15:51:20 +02:00
Marco
d97bd95406 Small fix 2020-04-16 13:21:37 +02:00
Marco
fde908e582 Honestly, too many things. It should be finished, online test needed 2020-04-16 13:17:05 +02:00
Marco
6fed104a2d working arena handlers and callbacks, per mod 2020-04-16 00:56:51 +02:00
Marco
db49607795 Merge branch 'master' into independent_mod
Merged a crashfix
2020-04-15 15:27:26 +02:00
Marco
a9db80a774 Crashfix: enabling arena without any sign set, made the server crash 2020-04-15 15:26:43 +02:00
Marco
cdf1189b59 Arena management per mod completed 2020-04-15 15:17:12 +02:00