Changed to 4.0.0
All files containing versions changed to 4.0.0 - all files
This commit is contained in:
parent
0514df712f
commit
ee9f2ce3ff
@ -35,9 +35,9 @@ This is a Minetest mod to assist anyone with commands in game. It adds commands
|
||||
|
||||
13. /build \<Target\> | \<Me\> - This will allow the target to build and break in the world.
|
||||
|
||||
15. /ver - This will display the JCA version information in chat.
|
||||
14. /ver - This will display the JCA version information in chat.
|
||||
|
||||
16. /stat - This will show the status of the server. This includes the game version, game type, server uptime, max lag, currently online clients and JCA version.
|
||||
15. /stat - This will show the status of the server. This includes the game version, game type, server uptime, max lag, currently online clients and JCA version.
|
||||
|
||||
16. /b \<Target\> | \<$list\> - This will ban the target's ip from the server or list the banned players.
|
||||
## Privileges
|
||||
@ -55,6 +55,6 @@ Thank you for downloading this mod, I hope that it proves useful and the issues
|
||||
### License
|
||||
Copyright (C) 2024 Jafacakes10 <https://github.com/Jafacakes10/>
|
||||
|
||||
Latest release: V 3.1.0
|
||||
Latest release: V 4.0.0
|
||||
|
||||
Latest readme change: 05/11/2024 - @Jafacakes10
|
||||
|
2
init.lua
2
init.lua
@ -21,7 +21,7 @@ dofile(minetest.get_modpath("jca") ..'/build.lua')
|
||||
dofile(minetest.get_modpath("jca") ..'/nobuild.lua')
|
||||
dofile(minetest.get_modpath("jca") ..'/noclip.lua')
|
||||
dofile(minetest.get_modpath("jca") ..'/clip.lua')
|
||||
-- V 3.1.0
|
||||
-- V 4.0.0
|
||||
dofile(minetest.get_modpath("jca") ..'/ver.lua')
|
||||
dofile(minetest.get_modpath("jca") ..'/stat.lua')
|
||||
dofile(minetest.get_modpath("jca") ..'/b.lua')
|
2
stat.lua
2
stat.lua
@ -2,6 +2,6 @@ minetest.register_chatcommand("stat", {
|
||||
description = "This will show the server status",
|
||||
func = function(name)
|
||||
local stat = minetest.get_server_status(name, false)
|
||||
minetest.chat_send_player(name, "Current server stats: " ..stat.. " | JCA version: 3.1.0")
|
||||
minetest.chat_send_player(name, "Current server stats: " ..stat.. " | JCA version: 4.0.0")
|
||||
end,
|
||||
})
|
2
ver.lua
2
ver.lua
@ -2,6 +2,6 @@ minetest.register_chatcommand("ver", {
|
||||
description = "This will display JCA version information",
|
||||
func = function(name)
|
||||
local player
|
||||
minetest.chat_send_player(name, "This server is running: Jafa Command Assistant: 3.1.0 -- For more info go to jca.jafacakes10.co.uk -- Thank you for downloading!")
|
||||
minetest.chat_send_player(name, "This server is running: Jafa Command Assistant: 4.0.0 -- For more info go to jca.jafacakes10.co.uk -- Thank you for downloading!")
|
||||
end,
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user