Page 1 of 1

[Mod] Bookmarks GUI [bookmarks_gui]

PostPosted: Fri Sep 28, 2012 03:26
by cornernote
Bookmarks GUI for Minetest

Players can set bookmark positions and then go to them using the inventory screen.

Requirements

Documentation | GitHub Project

Image

About

This module is open source, so it's distributed freely. If you find it useful then I ask not for your wealth, but simply to spare your time to consider the world we share by watching Earthlings, a multi-award winning film available to watch online for free. A must-see for anyone who wishes to make the world a better place.

Credits

Inspired by Bookmarks by mauvebic

License

BSD-3-Clause, Copyright © 2014 Brett O'Donnell

PostPosted: Fri Sep 28, 2012 11:44
by cHyper
awesome mod,

but how can i remove a bookmark ??

PostPosted: Sat Sep 29, 2012 00:53
by cornernote
Hi,

Copy the "go" button and input from the formspec, rename them to delete.

Then in the recieve fields function add a compule of lines to remove from the bookmarks file. Don't forget to pull request your changes. =)

I'll add a delete next week if nobody else has done it by then.

PostPosted: Wed Oct 03, 2012 23:18
by cornernote
added a delete button

PostPosted: Thu Oct 04, 2012 03:35
by cHyper
cornernote wrote:added a delete button



very awesome...
cool mod...

PostPosted: Sat Oct 13, 2012 10:00
by CaKeSs
Seems Cool, and very helpful *after 5 minutes, play mt, set position near lava, dug more underground,got lost, went to position,...fell in dungeon masters.*

PostPosted: Thu Oct 25, 2012 13:44
by 0gb.us
Wow, this is great! Thanks for making this. I'm also using your graphical home interface. They both make great ways to make sure players don't get trapped underground.

cornernote wrote:Server priv is required to set bookmarks.


I think there might be an error. I keep logging in with random names, and I have permission to add and remove bookmarks without having given these new accounts the correct privilege. By the way, what is the correct privilege?

Thank you!

EDIT: Apparently, the problem is in Minetest or my server, not your mod. Any account with a name starting with a digit has full privileges. Oddly enough, it only seems to do that on my server, not other people's servers.

EDIT: Never mind, that doesn't seem to be the pattern anymore. Some new accounts can fly and set bookmarks, while others cannot. I'll have to get this figured out before I make the server public.

PostPosted: Thu Oct 25, 2012 16:14
by cornernote
It may be because the client has the same IP as the server. Try connecting from another computer.

PostPosted: Thu Oct 25, 2012 21:29
by 0gb.us
cornernote wrote:It may be because the client has the same IP as the server. Try connecting from another computer.


Yeah, it seems to be something along those lines. Last night, I started up the game in one window, and used another to connect to localhost. That seems to fix the problem as well. However, it doesn't explain the inconsistency. When connecting to the server by not specifying an address, the the account only SOMETIMES acts like it has all the privileges. About half of the accounts can fly and make bookmarks when I log in to them, and the other half cannot. I guess it doesn't matter at the moment, but it is something I want to look into later.

You mentioned that a privilege is needed to make bookmarks. What privilege do I need to bestow to allow someone to add and remove bookmarks?

Thanks!

PostPosted: Fri Oct 26, 2012 01:10
by cornernote
you need to do:
/grant [player] server
or
/grant [player] all

PostPosted: Fri Oct 26, 2012 13:01
by 0gb.us
Okay, so when you said you needed server privilege, you meant the privilege called server. I thought you meant a privilege ON the server, and hadn't specified which one. My bad.

Thanks!

PostPosted: Mon Nov 05, 2012 10:59
by Zeg9
Removed ?? Why ?