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
Zughy
30cb0aa8d1
force_arena_ending: make sender actually optional
2021-01-30 01:05:53 +01:00
Zughy
63e30e1215
time_mode = ID -> time_mode = none/incremental/decremental
2021-01-25 16:44:23 +01:00
Zughy
f7a694f103
remove_from_queue -> remove_player_from_queue + missing documentation about it
2021-01-25 15:29:55 +01:00
Zughy
c4fa1e3979
Possibility to store inventories when keep_inventory is false
2021-01-23 17:59:02 +00:00
marco_a
d039b16fe3
Infobox on right-clicking signs
2021-01-18 23:43:34 +01:00
marco_a
6165e39535
BGM: added title and author attributes
2021-01-18 21:32:28 +01:00
Zughy
1f6999fd5b
Noise on the x and z axis when teleporting back to the hub
2021-01-03 22:17:48 +01:00
Zughy
bc0950d673
Particle effect on winners | end_arena and on_end now optionally take winners as last parameter
2021-01-03 22:13:59 +01:00
Zughy
23664aff75
New HUD type: title | HUDs now support colors too
2021-01-01 20:37:20 +01:00
Zughy
997038089d
on_time_tick is not mandatory anymore (when a minigame keeps track of time)
2020-12-19 14:04:43 +01:00
Zughy
ec66b5ff4d
Custom fov per minigame
2020-12-19 03:38:10 +01:00
Zughy
4aedde4887
Custom camera offset per minigame
2020-12-17 15:33:50 +01:00
Zughy
19a964daa7
New getter: get_players_in_minigame(...)
2020-12-08 14:47:38 +01:00
Zughy
5156ba0f16
DOCS: minigame configuration macro-section now comes before arenas'
2020-12-05 18:27:19 +00:00
Zughy
f3dee4d768
Arenas default global chat prefix is now [arena]
2020-12-05 14:50:05 +01:00
Zughy
5836c1ca35
Bugfix: it was possible to enter the editor even when a match was taking place
2020-12-02 02:36:28 +01:00