1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 02:00:37 +01:00

add message in report formspec

This commit is contained in:
crabman77 2016-05-04 17:26:32 +02:00
parent e9d29dc779
commit 7b6523f2a8

View File

@ -51,8 +51,12 @@ if minetest.get_modpath("unified_inventory") then
unified_inventory.register_page("report", { unified_inventory.register_page("report", {
get_formspec = function(player) get_formspec = function(player)
local form = "field[2,4;5,1;text;Text about what to report:;]" .. local form = "label[3,0;Report a Bug/Grief]"..
"button[2,5;2,0.5;report;Send]" "label[0,2;You can ask questions to moderators, report floods and spams,"..
"\nor report usebug from players\nDo not report grief because it's allowed on our server !"..
"\ndon't abuse/flood Report messages or you will be punished]"..
"field[2,5;5,1;text;Text about what to report:;]" ..
"button[3,6;2,0.5;report;Send]"
return {formspec = form, draw_inventory = false} return {formspec = form, draw_inventory = false}
end end
}) })