diff --git a/README b/README index deca9e5..728f64a 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -This mod allows you to watch other players in their 3rd person view (spectator mode). +A mod for Minetest allowing you to watch other players in their 3rd person view. You're invisible and undetectable for the players when you're in this mode. Can be useful for admins or moderators in their task of monitoring. diff --git a/init.lua b/init.lua index 7fdcc20..6b8760a 100644 --- a/init.lua +++ b/init.lua @@ -19,7 +19,7 @@ minetest.register_chatcommand("watch", { default.player_attached[name] = true watcher:set_attach(watched_player_name, "", {x=0, y=10, z=-20}, {x=0, y=0, z=0}) watcher:set_eye_offset({x=0, y=10, z=-20},{x=0, y=0, z=0}) - watcher:set_nametag_attributes({color = {a=0, r=0, g=0, b=0}}) + watcher:set_nametag_attributes({color = {a=0}}) watcher:hud_set_flags({ hotbar = false, healthbar = false,