Browse Source

Ajoute message de chargement du mod dans le journal "action"

master
sys4-fr 1 year ago
parent
commit
8834e127a8
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      init.lua

+ 3
- 1
init.lua View File

@@ -34,7 +34,7 @@ end

function random_messages.initialize() --Set the interval in minetest.conf.
minetest.settings:set("random_messages_interval",120)
minetest.settings:save();
minetest.settings:save()
return 120
end

@@ -165,3 +165,5 @@ local register_chatcommand_table = {

minetest.register_chatcommand("random_messages", register_chatcommand_table)
minetest.register_chatcommand("rmessages", register_chatcommand_table)

minetest.log("action", "[random_messages] loaded.")

Loading…
Cancel
Save