169 Commits

Author SHA1 Message Date
Zughy
526d13d1ff Add custom messages for the celebration phase | load_celebration: winners can now be nil (closes #200) 2023-02-25 21:31:28 +01:00
Zughy
7f5073e51e Possibility to detach any attachment players have, before entering a minigame 2023-02-25 13:33:15 +01:00
Giov4
9d350aa469 Fixed HUD_hide params documentation 2023-02-23 15:08:33 +00:00
Zughy
b8d519eb24 Add minigame parameter 'player_aspect' to customise the aspect of
players:
2023-02-21 00:43:19 +01:00
Zughy
0deff154e5 Don't implement arena.ID 2023-02-20 00:08:37 +01:00
Zughy
28e5c06d15 Deprecate get_queueID_by_player. Use get_arenaID_by_player instead 2023-02-19 23:58:01 +01:00
Zughy
99811be48a small clean-up 2023-02-16 15:10:00 +01:00
Zughy
946468ecc5 Allow minigames to customise some messages of the arena (closes #121) 2023-02-14 21:14:10 +01:00
Zughy
85ab39ee1d Custom entrance declaration: use a function returning a table rather than a table itself, to retrieve the items of the section 2023-02-13 19:32:30 +00:00
Zughy
988030a61b Custom arenas' return point | show the return point of the arena whilst in the editor 2023-02-11 20:56:33 +00:00
Zughy
0f175e8aa6 Possibility to declare a variable teams amount per arena 2023-02-02 22:55:44 +00:00
Zughy
006a6791aa Add minigame parameter spectator_properties | Add spectate_target(..) to force a spectator to follow a specific target | Add get_target_spectators(..) to retrieve all the spectators following a specific target | Add is_forced as parameter to the on_change_spectated_target callback 2023-01-31 00:06:37 +01:00
Zughy
3cefc54002 DOCS: remove deprecated commands 2023-01-26 21:51:22 +00:00
Zughy
e0407ec484 Remove now pointless arena_lib.STORE_INVENTORY_MODE global setting (closes #197) 2023-01-25 23:38:12 +01:00
Zughy
00fdcc5810 Add arenas thumbnails (closes #91) 2023-01-15 20:08:26 +01:00
Zughy
7c767d0425 DOCS: missing word 2023-01-13 23:27:25 +00:00
Zughy
70c21eb2b6 Add /arenas gamelist | /arenas glist, to list all the installed minigames 2023-01-14 00:16:27 +01:00
Zughy
b1d511d152 Update sign infoboxes at runtime (if open) when arenas updates are called 2023-01-13 20:42:12 +00:00
Zughy
33b8f1d191 Fix documentation a little bit (closes #190) 2023-01-05 10:29:59 +00:00
Zughy
735d55627e load BGM from the world folder + move SETTINGS in the world folder 2023-01-04 10:44:49 +00:00
Zughy
f3df599b30 Turn /flusharena and /forceend into /arenas flush and /arenas forceend 2023-01-01 18:20:40 +01:00
Zughy
cfa2ff768f Join a game from spectate mode 2022-12-31 11:37:06 +00:00
Zughy
8ddfeccc77 Allow most arena operations (creation, editing, removal etc) to be run through built-in commands 2022-12-25 23:08:21 +00:00
Zughy
42c8644071 Force minigames to have a celebration phase (assert celebration_time > 0) (fixes #181) 2022-11-12 01:23:39 +01:00
Zughy
2ad2f53726 Bundle ChatCMDBuilder and add more subcommands to /arenas 2022-11-02 23:55:59 +01:00
Zughy
b92d23daa7 Allow third-party mods to register custom entrance types to enter arenas 2022-11-01 21:52:18 +00:00
Zughy
ebda6b25a6 DOCS: expose start_arena 2022-10-26 21:46:14 +00:00
Zughy
434a2ad67d DOCS: document load_celebration function
Fixes #175
2022-10-24 22:08:14 +00:00
Zughy
26ca07bc89 Minigame option to completely disable inventories (closes #172) 2022-10-15 01:50:48 +02:00
Zughy
c32530bde9 Add register_on_eliminate global callback 2022-06-28 01:17:43 +02:00
Zughy
df913d63d7 Add global callbacks 2022-06-26 17:58:52 +00:00
Zughy
80cea65824 DOCS: specify that icon is nil by default 2022-06-11 13:21:07 +00:00
Zughy
5eb9527481 name and icon attributes when registering a minigame 2022-06-11 15:18:17 +02:00
Zughy
ac45819527 Redo quit callbacks (deprecate on_disconnect and on_kick) 2022-06-07 18:19:03 +00:00
Zughy
9e87893362 Add on_respawn callback (closes #157) 2022-06-07 12:18:38 +02:00
Zughy
415793d06d Add queue callbacks
Closes #107
2022-06-06 01:30:37 +02:00
Zughy
ec5e46c0e2 Separate queuing system from signs (check description)
* adds `arena_lib.join_queue(mod, arena, p_name)`
* adds `arena_lib.get_players_amount_left_to_start_queue(arena)`
* `arena_lib.remove_player_from_queue(p_name)` now returns `true` if successful
2022-06-05 12:20:28 +00:00
Zughy
96ad35ed1d DOCS: document winners parameter for on_celebration and on_end callbacks
Fixes #151
2022-05-30 12:23:24 +00:00
Zughy
244d272379 Spectate areas
implements #101
2022-05-27 21:12:15 +00:00
Zughy
1b9f3e1383 Spectate entities 2022-05-25 21:25:39 +00:00
Zughy
b740ffa6e7 DOCS: clean up "arena phases" section 2022-04-28 21:32:36 +00:00
Zughy
d0af793ae0 DOCS: document arenas celestial_vault and lighting parameters 2022-04-04 00:13:15 +02:00
Zughy
b0512d80d9 Custom lighting per arena 2022-04-01 10:26:26 +00:00
Zughy
3ae4280b0b Remove LuaJIT from instructions (no longer needed) 2022-02-05 22:53:47 +01:00
Hendursaga
5514024a19 DOCS: fix minor misspellings 2022-02-05 21:42:42 +00:00
Zughy
c75194ae93 callback for when the spectated target changes 2022-01-29 21:58:15 +01:00
Zughy
dcc8f945e7 Allow multiple players and multiple teams to win a match
This introduces a compatibility issue for minigames with teams when a team wins by being the only one left; however, considering that the only minigame with teams not developed by me or friends is Gems and that the current code is way better than before, I prefer warn Gems developer and give the possibility to everyone to use such a feature
2022-01-23 23:57:49 +01:00
Zughy
c803f292f8 DOCS: rewrite of half of it to make it clearer 2022-01-12 18:40:29 +00:00
Zughy
29f868ae00 Redesign set_sign + CRASHFIX when moved with WorldEdit 2022-01-11 23:44:53 +01:00
Zughy
4f7c905a8a Custom sky per arena 2022-01-07 22:14:41 +00:00