156 Commits

Author SHA1 Message Date
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
Zughy
c395dc8b9f DOCS: fix more broken links 2021-12-24 17:38:46 +00:00
Zughy
00fe655398 Small doc fixes 2021-12-24 11:28:02 +01:00
Zughy
907a00abc6 DOCS: link additional properties for faster reaching 2021-12-23 17:53:18 +00:00
Zughy
c9226805bc DOCS: update broken link 2021-12-23 17:46:09 +00:00
Zughy
09d46e57bb DOCS: add Lua formatting 2021-12-23 17:17:06 +00:00
Zughy
7c31b169e2 New getter: get_player_spectated 2021-02-24 14:09:53 +01:00
Zughy
a3953ea4b5 Bugfix: wrong team rotation in spectate mode 2021-02-17 22:20:37 +01:00
Zughy
86aa73faf3 is_forced moved onto on_end (before was on_quit) 2021-02-16 23:32:50 +01:00
Zughy
e0cbd40a6d arenas forced end is now entirely managed by force_arena_ending 2021-02-16 21:04:57 +01:00
Zughy
68e725d74b Spectate mode | /flusharena | send_message_players_in_arena -> send_message_in_arena 2021-02-15 22:53:32 +00:00
Zughy
e4025ac7a2 changed get_active_teams output 2021-02-15 16:39:43 +01:00
Zughy
0e82fe2f40 DOCS: improved arena.players and arena.teams documentation 2021-02-13 15:09:39 +01:00
Zughy
f40984377c New getter: get_active_teams 2021-02-09 00:57:11 +01:00