Idea - In-Server Location List Based on Mauvebics Bookmarks

LazyJ
Member
 
Posts: 479
Joined: Wed Sep 12, 2012 12:29

Idea - In-Server Location List Based on Mauvebics Bookmarks

by LazyJ » Thu Sep 27, 2012 22:38

Here's an idea for those who are adept at coding.

Server maps can get quite large and detailed with so many folks building. It may be helpful to have a list of interesting places... a tourist guide of sorts... that everyone on the server could access.

Mauvebic wrote a handy mod called "Bookmarks" (the lastest version is packaged in the "Riventest" mod http://minetest.net/forum/viewtopic.php?id=2399). This mod creates a file called "bookmarks.go" in the /worlds folder. In this file are all the locations set, in-game, by the user (or added with to the file with a text editor). Typing "/listgo" in the F10-console or chat produces a list of locations and their coordinates. Then all a player has to do is type in "/go <locationname>", ie: "/go camelot" and they are teleported to "Camelot" on the map.

Now, in a server you may not want everyone freely adding bookmarks to the main list. That's where a coder would have to come in and adapt Mauvebic's code (or maybe it is something as simple as setting the read-write-execute file permissions to bookmarks.go) so as to limit write access to admins only.

I've observed on the "Servers" forum, player usually have to ask for "interact" or "build" privileges and provide their in-game nickname on each respective server thread.

Perhaps by using this protocol, players could submit to the moderator/admin of the thread/server for concideration, the title and coordinates of what they would like added to the main location list.

It would also be useful for people looking for a server to join if they could, by default, access this list and be able to teleport to those locations even without "interact"/"build" privs. A way of taking the grand tour of the server map without having to aimlessly wander around for long periods of time.

Thanks.
.: Minetest 0.4.14 ~ Linux Mint ~ A moka pot, a French press, a dirty coffee cup, and a spoiled-rotten kitty :.
Visit our Minetest server at: LinuxGaming2.com, port 30000
Screenshots, overview maps, and server info at: http://forum.minetest.net/viewtopic.php?f=10&t=5684
My blog: http://lazyjminetest.blogspot.com/
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Fri Sep 28, 2012 01:49

Thats a great idea. I was going to write a GUI for it but ran out of time.

A really simple, but similar mod is Home GUI.

Infinite Chests uses formspecs by loading in buttons that are defined by the user (chests). Bookmarks GUI can do the same thing, just get a list of bookmarks, and make each into a button. Player can define a new bookmark (if they have priv), and player can goto any bookmark just by clicking the button.
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Fri Sep 28, 2012 03:55

 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 7 guests

cron