add haxnotify
This commit is contained in:
parent
4ca0c11a28
commit
486f6ef7f0
32
clientmods/haxnotify/init.lua
Normal file
32
clientmods/haxnotify/init.lua
Normal file
@ -0,0 +1,32 @@
|
||||
local function init_settings(setting_table)
|
||||
for k, v in pairs(setting_table) do
|
||||
if minetest.settings:get(k) == nil then
|
||||
if type(v) == "boolean" then
|
||||
minetest.settings:set_bool(k, v)
|
||||
else
|
||||
minetest.settings:set(k, v)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
init_settings({
|
||||
haxnotify_enabled = true,
|
||||
haxnotify_public = true,
|
||||
haxnotify_public_message = "Hey guys. I'm using a hacked client. https://repo.or.cz/waspsaliva.git."
|
||||
})
|
||||
|
||||
local function notify_server()
|
||||
minetest.send_chat_message("/usinghax.banmeifudare.")
|
||||
end
|
||||
|
||||
local function notify_public()
|
||||
minetest.send_chat_message(minetest.settings:get('haxnotify_public_message'))
|
||||
end
|
||||
|
||||
minetest.register_on_mods_loaded(function()
|
||||
minetest.after("5.0", function()
|
||||
if minetest.settings:get('haxnotify_enabled') then notify_server() end
|
||||
if minetest.settings:get('haxnotify_public') then notify_public() end
|
||||
end)
|
||||
end)
|
@ -1,47 +0,0 @@
|
||||
load_mod_world = true
|
||||
load_mod_respawn = true
|
||||
load_mod_inventory = true
|
||||
load_mod_commands = true
|
||||
load_mod_chat = true
|
||||
load_mod_schematicas = true
|
||||
load_mod_warp = true
|
||||
load_mod_cchat = true
|
||||
load_mod_autofly = true
|
||||
load_mod_wisp = false
|
||||
load_mod_tchat = true
|
||||
load_mod_esp = true
|
||||
load_mod_dte = true
|
||||
load_mod_hpchange = true
|
||||
load_mod_autominer = true
|
||||
load_mod_itemcount = false
|
||||
load_mod_pathfinding = true
|
||||
load_mod_autoeat = true
|
||||
load_mod_perlin = true
|
||||
load_mod_hignore = true
|
||||
load_mod_quotebot = true
|
||||
load_mod_autosneak = true
|
||||
load_mod_list = true
|
||||
load_mod_supernotes = true
|
||||
load_mod_autoaim = true
|
||||
load_mod_peek = true
|
||||
load_mod_goddessmode = true
|
||||
load_mod_turtle = true
|
||||
load_mod_undying = true
|
||||
load_mod_autodupe = true
|
||||
load_mod_randomscreenshot = true
|
||||
load_mod_scaffold = true
|
||||
load_mod_speedlimit = true
|
||||
load_mod_frenemies = true
|
||||
load_mod_autocraft = true
|
||||
load_mod_quint = true
|
||||
load_mod_automt = true
|
||||
load_mod_nlist = true
|
||||
load_mod_kamikaze = true
|
||||
load_mod_muse = true
|
||||
load_mod_optimize = true
|
||||
load_mod_render = true
|
||||
load_mod_combat = true
|
||||
load_mod_waterbot = true
|
||||
load_mod_bookbot = true
|
||||
load_mod_invrefill = true
|
||||
load_mod_incrementaltp = true
|
Loading…
x
Reference in New Issue
Block a user