[Mod] Points of Interest [poi]

Post Reply
User avatar
Clyde
Member
Posts: 222
Joined: Sat Jul 30, 2016 14:23
GitHub: acmgit
In-game: clyde

[Mod] Points of Interest [poi]

by Clyde » Post

Be like a Tourist in Minetest and visit Points of Interest.

With this little Mod you can set such Points at your own World or Server and give them Names.
Then, each Player with the Interact-Priv can jump to this Points with a simple Command in the Chat or opens the Gui and can jump to the Points with a double Mouseclick.

Admins can grant a new Priv named "poi". With this Priv, the player can set or delete this Points. Can move the Points or reload the List without a complete Serverrestart.

Git: https://github.com/acmgit/minetest_poi
Download:
Release 1.0:
With Categories - https://github.com/acmgit/minetest_poi/archive/v1.0.zip
Release 2.0:
With GUI - https://github.com/acmgit/minetest_poi/archive/v2.0.zip
Release 2.1:
New feature, poi stores now the facedir to the points - https://github.com/acmgit/minetest_poi/archive/v2.1.zip

Features:
  • List sorted in alphabetical Order.
  • Supports Unified Inventory with a Button.
  • You can jump about GUI or Chat-Command.
  • GUI supports the Categories.
  • Alternative to Double-Click an Entry, you can select an Entry and press the GO-Button (Android-User).
  • Validates the List of Points against Namefilter.
  • Namefilter for Admins.
  • Categories for Points.
  • Sets Categorie 1 per default.
  • Player can only reach the GUI, if they have the Privileg Interact.
  • Player with the Priv "poi" can set a Categorie with the Number of the Categorie or the Name of the Categorie.
See the Mod in Action, visit the Server "Jungle" or viewtopic.php?p=280130#p280130.

Depends:
none

Optional:
unified_inventory

License:
CC0-1.0

HF, Clyde & Gundul.
Last edited by Clyde on Fri Jan 08, 2021 13:52, edited 11 times in total.
My Server: Welcome to Zeitsprung - deadsoft.org:49152 Jungle The next Gundul - jungle-tng.deadsoft.org:49152

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [MOD] Points of Interest [poi]

by D00Med » Post

Nice idea!
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
Clyde
Member
Posts: 222
Joined: Sat Jul 30, 2016 14:23
GitHub: acmgit
In-game: clyde

Re: [MOD] Points of Interest [poi]

by Clyde » Post

Thx D00Med ;-).

Update: Now the List of Points are sortet in alphabetical Order.
My Server: Welcome to Zeitsprung - deadsoft.org:49152 Jungle The next Gundul - jungle-tng.deadsoft.org:49152

User avatar
Clyde
Member
Posts: 222
Joined: Sat Jul 30, 2016 14:23
GitHub: acmgit
In-game: clyde

Re: [MOD] Points of Interest [poi]

by Clyde » Post

Update:
  • With Cooperation from Gundul, Admin of the Jungle-Server, PoI supports now optional unified_inventory and adds a Button to the Inventory that opens the GUI from PoI.
  • Command /poi_rename added. Now you can rename Points.
My Server: Welcome to Zeitsprung - deadsoft.org:49152 Jungle The next Gundul - jungle-tng.deadsoft.org:49152

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [MOD] Points of Interest [poi]

by azekill_DIABLO » Post

super! now we can do some touristic visits on servers! i imagine the thing: "Here you ccan see the spawn! oh! there it's the fountain of..."
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Clyde
Member
Posts: 222
Joined: Sat Jul 30, 2016 14:23
GitHub: acmgit
In-game: clyde

Re: [MOD] Points of Interest [poi]

by Clyde » Post

You're right, the basic idea behind this mod was this ;-).
My Server: Welcome to Zeitsprung - deadsoft.org:49152 Jungle The next Gundul - jungle-tng.deadsoft.org:49152

User avatar
theFox
Member
Posts: 192
Joined: Sun Feb 12, 2017 14:08
GitHub: theFox6
In-game: theFox
Location: Germany

Re: [MOD] Points of Interest [poi]

by theFox » Post

That means this mod is like Compass GPS?
my mods and subgames (ง'̀-'́)ง

User avatar
Clyde
Member
Posts: 222
Joined: Sat Jul 30, 2016 14:23
GitHub: acmgit
In-game: clyde

Re: [MOD] Points of Interest [poi]

by Clyde » Post

No, it don't show you any Point. It's more like a Public Travelnet. A substitute of commands on some server, that you can find, when you with an certain command will teleportet to a certain Point.
With this mod the admin is able to set such "Commands" as Points and can grant Players the Privileg to set such Point's too. All other Player with Interact-Privilege can use the Points but can't set, delete, move and so on this Points.
My Server: Welcome to Zeitsprung - deadsoft.org:49152 Jungle The next Gundul - jungle-tng.deadsoft.org:49152

User avatar
Clyde
Member
Posts: 222
Joined: Sat Jul 30, 2016 14:23
GitHub: acmgit
In-game: clyde

Re: [MOD] Points of Interest [poi]

by Clyde » Post

Update:
  • Namefilter
  • Categories for Points
My Server: Welcome to Zeitsprung - deadsoft.org:49152 Jungle The next Gundul - jungle-tng.deadsoft.org:49152

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [MOD] Points of Interest [poi]

by azekill_DIABLO » Post

+1 this seems good!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Clyde
Member
Posts: 222
Joined: Sat Jul 30, 2016 14:23
GitHub: acmgit
In-game: clyde

Re: [MOD] Points of Interest [poi]

by Clyde » Post

Update:

In Cooperation with Gundul, Admin of the Server Jungle, we present now:
POI with Categories and GUI.

Whats new now:

The Admin can now define Categories for the Point's, like Markets, Buildings or what ever you want.
Player with the POI-Privilege can then set the Point's to this from the Admin given Categories.
If a Player set's a Point without a Categorie, the Point gets automatic the first Categorie. For example: General.
Player can set a Categorie with the Number of the Categorie or the Name of the Categorie.
Player can change only the Categorie of an Point too.
A new GUI which supports now the Categories.
A GO-Button for Android-Player.
All Commands and some more at the Chatconsole available too.
To reach the GUI, Player needs the Privileg Interact.

Happy Sightseeing

Clyde & Gundul.
My Server: Welcome to Zeitsprung - deadsoft.org:49152 Jungle The next Gundul - jungle-tng.deadsoft.org:49152

u18398

Re: [MOD] Points of Interest [poi]

by u18398 » Post

Clyde wrote:Update:

In Cooperation with Gundul, Admin of the Server Jungle, we present now:
POI with Categories and GUI.

Do not believe him ! Clyde did all the work. :) I only added a small window.




Click on the Button to open PoI - window :
Image


Choose from categories and select your destination :
Image

u18398

Management Gui

by u18398 » Post

Today I found some time to write the management gui. You need poi priv to access it.
Access it from the usual poi_gui. But be careful it is just finished a few minutes ago. There
might be still some errors I do not know of.

Github pull request is made.


In pictures :
Image

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Points of Interest [poi]

by azekill_DIABLO » Post

i love that trash icon :D i should use the default trash icon from creative inventory, or from United Inv.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

u18398

Re: [Mod] Points of Interest [poi]

by u18398 » Post

azekill_DIABLO wrote:i love that trash icon :D i should use the default trash icon from creative inventory, or from United Inv.
Unified trash icon collection :) I like my trash icon. It is for admin only anyway.
But software is free available at github, so people can edit the png file to
whatever they want to :)

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Points of Interest [poi]

by azekill_DIABLO » Post

:) okay!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Clyde
Member
Posts: 222
Joined: Sat Jul 30, 2016 14:23
GitHub: acmgit
In-game: clyde

Re: [Mod] Points of Interest [poi]

by Clyde » Post

Update:
PoI stores now to the points the current facedir of the player.
This is backward compatible by read the old points.
After changing or store a new point, the point have the new format.

Code for facedir by Treer. Thank you.

Special Greetings, Clyde.
My Server: Welcome to Zeitsprung - deadsoft.org:49152 Jungle The next Gundul - jungle-tng.deadsoft.org:49152

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 8 guests