Using Minetest in a school

cailseducation
New member
 
Posts: 4
Joined: Thu Jul 09, 2015 17:40

Using Minetest in a school

by cailseducation » Fri Jul 10, 2015 15:49

I think there are many benefits of using Minetest in a school and would like to develop and share resources for teachers to use in class. I'm even looking at coding to create mods.
My one concern is that it's too easy to access public servers and this is an e-safety risk for schools. Does anyone know how to disable the public servers tab. I know that the ip addresses can be individually blocked but this isn't reliable as new ones appear frequently.
 

User avatar
lag01
Member
 
Posts: 190
Joined: Sun Mar 16, 2014 03:41
GitHub: AndrejIT
IRC: lag01
In-game: lag

Re: Using Minetest in a school

by lag01 » Fri Jul 10, 2015 16:28

In minetest.conf you can change
serverlist_url =
to your own server list(i am not sure how to make one, but code is available at github) or just to
serverlist_url = localhost
And also block outgoing port 30000-30099 on schools router.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Using Minetest in a school

by rubenwardy » Fri Jul 10, 2015 16:34

Remove public server list



This gets rid of the public server list, but doesn't disable multiplayer - the user can still connect to a server if they know its IP address.

Go to minetest/builtin/tab_multiplayer.lua
Delete a line like this: "checkbox[0,4.85;cb_public_serverlist;" .. fgettext("Public Serverlist") .. ";" ..
(it is line 29 in my file)

Replace

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
if core.setting_getbool("public_serverlist") then
   asyncOnlineFavourites()
else
   menudata.favorites = core.get_favorites("local")
end


with
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
if core.setting_getbool("public_serverlist") then
   core.setting_set("public_serverlist", "false")
   menudata.favorites = core.get_favorites("local")
end


or Remove multiplayer



This hides all multiplayer join/start from the mainmenu. It is still possible to join a multiplayer game using the command line ("minetest --address redcrab.suret.net --port 30401 --go") to stop this, you'll need to add 30000 - 30100 to your firewall.

Go to minetest/builtin/mainmenu/init.lua

Remove the following lines:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
tv_main:add(tab_multiplayer)
tv_main:add(tab_server)


near line 129.
Last edited by rubenwardy on Tue Jan 12, 2016 15:01, edited 2 times in total.
 

cailseducation
New member
 
Posts: 4
Joined: Thu Jul 09, 2015 17:40

Re: Using Minetest in a school

by cailseducation » Fri Jul 10, 2015 17:41

Brilliant, I'll give this a try
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Using Minetest in a school

by rubenwardy » Fri Jul 10, 2015 18:09

Note that if you do the second one ("Remove multiplayer") there is no point doing the first ("Remove public server list")
 

cailseducation
New member
 
Posts: 4
Joined: Thu Jul 09, 2015 17:40

Re: Using Minetest in a school

by cailseducation » Fri Jul 10, 2015 19:11

Ok great thanks, does this mean that with online servers disabled local servers can still be used, ie on the same network. Hopefully that's the case.
 

User avatar
ExeterDad
Member
 
Posts: 1121
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad

Re: Using Minetest in a school

by ExeterDad » Fri Jul 10, 2015 19:29

cailseducation wrote:Ok great thanks, does this mean that with online servers disabled local servers can still be used, ie on the same network. Hopefully that's the case.

Yes. But the users will have to manually type in the ip address and port number of the local server(s)for the first login of each one. Then the ip address(s) will appear in the list for later logins.

Just keep in mind. If users learn the ip addresses of the public servers... they will still be able to join them. They are just "invisible."
٩(̾●̮̮̃̾•̃̾)۶

Kibbie and I have a beautiful public server now! HOMETOWN
 

cailseducation
New member
 
Posts: 4
Joined: Thu Jul 09, 2015 17:40

Re: Using Minetest in a school

by cailseducation » Fri Jul 10, 2015 20:11

Yes, that's fine, I don't think that will be an issue, no less so than internet access. As lonk as they can't easily look at a list of servers on minetest. I can already create local servers using the computer name, eg room4-12 as the PC name on the network. Thanks for all the help.
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 9 guests

cron