Compare commits
No commits in common. "e83812f006022b5441a0d99a33f73d00d4a0908c" and "d36ce7ff1c528fcdffa800ffc87620916d290f3c" have entirely different histories.
e83812f006
...
d36ce7ff1c
18
README.md
18
README.md
@ -7,11 +7,11 @@ Information
|
||||
-----------
|
||||
|
||||
This mod attempts to be an improvement usefully essentials commands
|
||||
as a featured version of some other tools etc etc etc,
|
||||
**for more featured check `governor` and `authrx` minenux versions mods**
|
||||
on the informations below!
|
||||
as a light version of some other tools like names-per-ip, global messages, hacks,
|
||||
biome/stuffs management, player management etc etc etc
|
||||
|
||||
![](screenshot.png)
|
||||
This mod has some UI menues but almost all the tasks are done using
|
||||
commands.
|
||||
|
||||
## Technical info
|
||||
-----------------
|
||||
@ -20,14 +20,6 @@ This mod must be named `essentials` and provides administrarion tools and
|
||||
procedures to manage server using a bunch of commands some already provided
|
||||
by other mods some already new but similar to other mods.
|
||||
|
||||
**Almost 99% of this commands are already provided in `governor` mod**,
|
||||
at minenux project, this mod is only for backguard and improved performance
|
||||
respect original; if you want more simple and faster, use `governor` mod!
|
||||
|
||||
**Ban, kick and mute features are already provided by MinenuX's auth redux**
|
||||
version mod, check it out at https://git.minetest.io/minenux/minetest-mod-auth_rx
|
||||
or also into codeberg at https://codeberg.org/minenux/minetest-mod-auth_rx
|
||||
|
||||
#### Configurations
|
||||
|
||||
| config param | type | value | req | default/min/mx | observations and examples |
|
||||
@ -49,7 +41,7 @@ or also into codeberg at https://codeberg.org/minenux/minetest-mod-auth_rx
|
||||
| `/ip <name>` | server | server | Show the IP of a player | |
|
||||
| `/broadcast <message>` | bring | broadcast | Send GLOBAL message in chat | |
|
||||
| `/speed <name>` | rollback | speed | Sets a speed for an any player. | |
|
||||
| `/biome [<info_name>]` | | biome/server | Shows the current(or provided name) biome info | If no assentials privs, any player wil be able, `biome/server` privilege will provide more info |
|
||||
| `/biome [<info_name>]` | rollback (& server) | biome (& server) | Shows the current(or provided name) biome info | If no assentials privs, any player wil be able, `biome` privilege works if confg params are set, otherwise admin only |
|
||||
| `/seed` | rollback | seed | Shows the seed number of the server world | If no assentials privs, any player wil be able, `biome` privilege works if confg params are set, otherwise admin only |
|
||||
| `/god [<name>]` | noclip | god_mode | Enable the god mode for current or given player | `enable_damage` enabled only of course |
|
||||
| `/ban_menu` | ban | ban | Open the ban menu | Requires GUI sfind/ui |
|
||||
|
9
init.lua
9
init.lua
@ -39,10 +39,6 @@ minetest.after(0, function()
|
||||
if essentials.check_for_updates then
|
||||
minetest.log("action", "[Essentials] Checking for updates...")
|
||||
if not minetest.request_insecure_environment() then
|
||||
if not http then
|
||||
minetest.log("error","[essentials] update check error, server http api cannot be access, unfortuantelly you are forced to added the mod to trusted ones, check README")
|
||||
return
|
||||
end
|
||||
minetest.log("action", "[Essentials] Getting an Github version...")
|
||||
http.fetch({
|
||||
url = "https://raw.githubusercontent.com/SkyBuilder1717/essentials/main/gitVersion.txt",
|
||||
@ -59,7 +55,8 @@ minetest.after(0, function()
|
||||
end
|
||||
--core.chat_send_all(dump(test))
|
||||
if git > this then
|
||||
minetest.log("error", "[Essentials] Versions doesnt match! something wrong seems YOU ARE USING OLDER VERSION!")
|
||||
minetest.log("warning", "[Essentials] Versions doesnt match!")
|
||||
core.chat_send_all("[Essentials] Your server using old version of mod! ("..core.colorize("red", version)..") Old version can have a bugs! Download v"..core.colorize("lime", result.data:gsub("[\n\\]", "")).." on ContentDB.")
|
||||
else
|
||||
local _type
|
||||
if core.is_singleplayer() then
|
||||
@ -71,7 +68,7 @@ minetest.after(0, function()
|
||||
end
|
||||
end)
|
||||
else
|
||||
minetest.log("error","[essentials] update check error, server http api cannot be access, unfortuantelly you are forced to added the mod to trusted ones, check README")
|
||||
core.chat_send_all("[Essentials] Please, add mod \'essentials\' to \"secure.trusted_mods\" for checking an updates!")
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
Loading…
x
Reference in New Issue
Block a user