644 Commits

Author SHA1 Message Date
Zughy
0b895d4991 BREAKING: remove is_team_declared util function | BREAKING: set_spawner can now only take team_ID (not the team name anymore) 2023-03-06 15:20:47 +01:00
Zughy
3b98609067 Allow games to continue when only one player is left in a multiplayer match (closes #115) 2023-03-04 23:53:32 +01:00
Zughy
8bc364b858 Option for minigames to run endlessly | BREAKING: Custom entrances, on_load(arena) -> on_load(mod, arena) 2023-03-04 11:54:42 +00:00
Zughy
6131022ba7 Fix operation when creating arena 2023-03-03 22:06:37 +00:00
Zughy
0ce7a3bab8 Fix previous commit 2023-03-03 13:29:57 +00:00
Giov4
94d4769a8a Removing an entity, without saving it, when static_save = false 2023-03-03 14:15:22 +01:00
Giov4
d808579411 Merge branch 'master' of https://gitlab.com/zughy-friends-minetest/arena_lib 2023-03-03 01:54:52 +01:00
Zughy
51031790a5 DOCS: specify minigame callbacks can be called just once per minigame 2023-02-27 21:33:54 +00:00
Zughy
310002ed3e Forgot docs from previous commit 2023-02-27 15:55:49 +01:00
Zughy
b9aacb4027 Possibility for minigames to declare a global minimum amount of players (closes #206) 2023-02-27 15:44:51 +01:00
Zughy
57e902103d Fix the crashfix (:o) 2023-02-26 23:44:24 +01:00
Zughy
569b2ad1b1 CRASHFIX: gracefully fails when restoring entities that instantly despawn 2023-02-26 23:09:39 +01:00
Zughy
b7a34108a9 CRASHFIX: prevent hollow broken entities from crashing the server 2023-02-26 02:18:59 +01:00
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
524be3c0d2 Store/restore entities also for spectators 2023-02-25 19:55:55 +01:00
Zughy
5f52f8640d Turn function into local (from previous commit) 2023-02-25 13:38:11 +01:00
Zughy
7f5073e51e Possibility to detach any attachment players have, before entering a minigame 2023-02-25 13:33:15 +01:00
Giov4
ff5d2b7424 Merge remote-tracking branch 'origin/master' 2023-02-23 18:09:54 +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
de8c240cbc Remove code becoming obsoelte with 6.0 2023-02-20 13:11:46 +01:00
Zughy
b6ca8f8eab Bugfix: return and quit items in the custom editor section were shifted by 1 position to the left 2023-02-20 12:44:28 +01:00
Zughy
e3797f6a2b Remove BREAKAGE.md 2023-02-20 00:12:20 +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
9f97e337b8 Remove built-in player property <kills> (closes #154) 2023-02-15 23:14:06 +01:00
Zughy
902f09f860 Version bump (6.0.0) 2023-02-15 21:51:21 +01:00
Zughy
2a48f43ef6 Version bump (5.5.0) 2023-02-15 21:02:56 +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
ff8b49629e Remove useless check (function is not exposed to the API) 2023-02-12 14:44:05 +01:00
Zughy
4ff47d8621 Make Italian translation inclusive 2023-02-12 14:41:51 +01:00
Zughy
dc9973ce82 Editor: item in the sign section to be teleported onto the arena sign, if any (closes #202) 2023-02-12 14:05:11 +01:00
Zughy
319af38fa8 Don't override the custom return point if it's not changed 2023-02-11 23:41:38 +01:00
Zughy
cf4a4a73bf Update default return points when changed whilst people are inside the editor 2023-02-11 23:25:49 +01:00
Zughy
67a9ec63dc Bugfix: properly render the default return point 2023-02-11 23:24:45 +01:00
Zughy
d30b0e5884 Rename server setting hub_spawn_point to return_point (closes #203) 2023-02-11 22:57:06 +01: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
5a76338f6e CRASHFIX: infoboxes caused sporadic crashes due to... well, that's a great question 2023-02-06 22:29:48 +01:00
Giov4
d36819b5cc Merge branch 'master' of https://gitlab.com/zughy-friends-minetest/arena_lib 2023-02-05 21:06:20 +01:00
Zughy
f2678050f9 Bugfix (regression): arena players amount wasn't displayed in the editor tools 2023-02-02 23:59:32 +01: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
9775a4598d Comments 2023-01-30 23:36:13 +01:00
Zughy
4e845543d1 Add /arenas help command (closes #199) 2023-01-29 00:16:53 +01:00
Zughy
0702e9d1f0 Warn about STORE_INVENTORY_MODE deprecation 2023-01-28 14:18:42 +01:00
Zughy
5e73a5cdb6 Bugfix: spectators leaving an arena were still considered inside when on_quit callback was run 2023-01-28 13:51:58 +01:00
Zughy
3cefc54002 DOCS: remove deprecated commands 2023-01-26 21:51:22 +00:00
Giov4
fa1f1e7d39 Merge remote-tracking branch 'origin/master' 2023-01-26 19:46:15 +01:00