diff --git a/Readme.md b/Readme.md index 5a16020..6ed23f7 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,81 @@ -myadmin +#myadmin ------- -Adds admin tools and chat commands to Minetest. +Adds admin tools Player Join Rules, curseword detection, chat commands and more to Minetest. + + +#Tools + +2 tools included. + +Ultimate tool - Removes node right away with no delay and no wear. Items do not go into inventory + to get tool use /giveme ut + +Ultimate tool with drops - Same as Ultimate tool except nodes go into your inventory + to get tool use /giveme utd + + +#Chats + +These are fun little chat commands. They include things like /afk, /back, /bbl, /happy, /sad, /mad +You can get a full list of the commands by using /chats + +#Curse Words + +This is a list of words that are banned on the server. These words can be editted in the settings.txt file. + + +#Privs + +The privs part is a set of privs for different levels of players. You can set the level with a chat command. + +The levels are + +Super Admin +Admin +Moderator +Helper +Normal Player +Punish +Unpunish +Silence +Ghost + +If you want the available commands do /myadmin_commands +Super admin is not in the list because it is reserved for above admin people but not all privs. + + +#Spawn + +Spawn is an easy way to set spawn locations. In the settings.txt file you can set the chat command and coordinates for the spawn locations. + + +#Start + +Start is the screen that is shown to new players when they join the server. You can list the rules in rules.txt. The player then can agree to the rules or not. +If the player doess not agree to the rules then he/she will be kicked from the server. + + +#Extras + +Extras are extra neat things that I would like to see on servers. Right now there is only one extra but I plan on adding more. + +/setbar is a command to set the size of the hotbar. You can set it from 1 - 16. + + + + + + + + + + + + + + + + licence - DWYWPL diff --git a/chat.lua b/chat.lua index 638f4b4..5194d93 100644 --- a/chat.lua +++ b/chat.lua @@ -112,17 +112,3 @@ minetest.register_chatcommand("mining", { return true end, }) -minetest.register_chatcommand("max", { - privs = {shout = true}, - func = function(name, param) - minetest.chat_send_all("Max is the greatest guy ever! Except for Batman. Batman is better!") - return true - end, -}) -minetest.register_chatcommand("bat", { - privs = {shout = true}, - func = function(name, param) - minetest.chat_send_all("Batman is the greatest guy ever! Except for Max. Max is better!") - return true - end, -}) diff --git a/init.lua b/init.lua index f712ef8..c9a1381 100644 --- a/init.lua +++ b/init.lua @@ -11,20 +11,6 @@ if input then end -print(myadmin.server_name) - - - - - - - - - - - - - dofile(minetest.get_modpath("myadmin").."/tools.lua") dofile(minetest.get_modpath("myadmin").."/spawn.lua")