added license; fiddled readme

master
y 2019-05-03 21:49:27 +01:00
parent 3d05d92eba
commit daa29d3a45
3 changed files with 39 additions and 8 deletions

24
LICENSE Normal file
View File

@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <http://unlicense.org/>

View File

@ -1,23 +1,30 @@
minetest CSM which records sent and received messages in the minetest log file.
= requirements =
requirements
------------
tested with minetest 0.4.17 and 5.0.
only basic CSM need be enabled in 5.0, which is the default.
= installation =
installation
------------
make sure the mod is installed at ~/.minetest/clientmods/chatlog
make sure the mod is installed at `~/.minetest/clientmods/chatlog`
make sure ~/.minetest/clientmods/mods.conf exists and contains:
make sure `~/.minetest/clientmods/mods.conf` exists and contains:
```
load_mod_chatlog = true
```
logs will show up in ~/.minetest/debug.txt
logs will show up in `~/.minetest/debug.txt`
if you use another CSM that handles the *printing* of chat messages e.g. friendly_chat, you may have to put an entry like
if you use another CSM that handles the *printing* of chat messages e.g. friendly_chat or chat_highlights,
you may have to put an entry like
```
chatlog?
```
into that other mod's depends.txt file.
into that other mod's `depends.txt` file.

View File

@ -55,7 +55,7 @@ if minetest.register_on_connect then
elseif minetest.register_on_mods_loaded then
minetest.register_on_mods_loaded(set_my_name)
else
set_my_name()
minetest.after(1, set_my_name)
end