Page 1 of 1

[Mod] Locked Travelnet [locked_travelnet] (for PvP-servers)

Posted: Tue Dec 17, 2013 04:34
by Sokomine
This is a special version of my travelnet mod, combined with my locks mod. It adds a shared locked travelnet similar to the shared locked chests from the locks mod - that is, you do need a key or keychain to use that particular travelnet. Also you either have to be the owner or given permission to use that box.

The travelnet has - in contrast to the normal one - a more orangeish color (thanks to VanessaE for that!). Elevator and elevator doors are not (yet?) available.
Image

Please do not use the mod on servers that are dedicated to building. It would be annoying there. This is purely for those servers that want to have PvP.

Version: 2.3.1
Liszence: GPLv3 for code; WTFPL for textures (done by VanessaE)
Depends: * travelnet
* locks
Download: https://github.com/Sokomine/locked_trav ... all/master
Browse code: https://github.com/Sokomine/locked_travelnet

Posted: Tue Dec 17, 2013 13:29
by Topywo
Nice combination!
Sokomine wrote: Please do not use the mod on servers that are dedicated to building. It would be annoying there. This is purely for those servers that want to have PvP.
Using it on a server dedicated to building might be useful to keep unwanted guests from an area 'under construction'.


Edit: Typo.

Posted: Tue Dec 17, 2013 18:18
by Sokomine
Topywo wrote: Using it on a server dedicated to building might be useful to keep unwanted guests from an area 'under construction'.
There might be a few limited legitimate uses on a server dedicated to building. In the end, I'm afraid there would be people who'd abuse it by making everything private and by taking the spirit of a pvp server to those creative ones. Usually, a sign "under construction" ought to be enough at a construction site.

Posted: Wed Dec 18, 2013 03:25
by Enke
Awesome!

Unfortunately, an "under construction" sign isn't enough to keep many people away. Maybe have it so that there is a special priv allowing people to access any locked travelnet?

Posted: Wed Dec 18, 2013 15:42
by CraigyDavi
Nice.

Posted: Wed Dec 18, 2013 23:58
by stormchaser3000
hmm mabey a priv with the name of the travel net network that is granted to the owner and only the owner and people admins with the alltnet priv can share or use the travelnet network

Posted: Fri Dec 20, 2013 19:51
by Sokomine
Enke wrote: Maybe have it so that there is a special priv allowing people to access any locked travelnet?
Such a priv exists already: Grant "openlocks" in order to use the travelnet, or "diglocks" (additionally allows to dig the protected travelnet). The priv extends to all shared locked objects from my locks mod.

Re: [Mod] locked_travelnet (for PvP-servers only!)

Posted: Fri Sep 12, 2014 16:42
by Sokomine
Re-added screenshot.

Re: [Mod] Locked Travelnet [locked_travelnet] (for PvP-serve

Posted: Mon Jan 19, 2015 04:00
by Danfun64
I know this is a necrobump, but I am having trouble configuring the locked travelnet. I can work the regular one just fine. I have a key, but when I right click on the private travelnet box all I get is the standard travelnet menu, which is useless. I once got it to work properly, but I don't remember how. Got any suggestions?

Re: [Mod] Locked Travelnet [locked_travelnet] (for PvP-serve

Posted: Sat Aug 20, 2016 21:43
by Sokomine
The locked travelnet does work again now and doesn't close its formspec prematurely. You'll need the current version of the travelnet mod as well in order for it to work.

Re: [Mod] Locked Travelnet [locked_travelnet] (for PvP-serve

Posted: Fri Mar 24, 2017 14:42
by poikilos
Now that minetest_game has keys, and node ownership is rather standardized, is there any chance you might:

use minetest_game's new keys (right click on teleporter with skeleton key to transform the key) instead of locks mod, if this is possible with custom nodes such as travelnet
* if behavior of locks can be customized, perhaps make all teleporters or elevator boxes in that specific network work with the key when you right-click with the skeleton key


OR

use protection (use whatever ownership checking method protector:door_* uses, which somehow works with both ShadowNinja's areas and protector:protect* nodes):

one way to do protected teleporter (permission to configure, & also to use either source or destination):
* only someone who has permission to the node can configure it.
* anyone can use it unless perhaps source OR destination is in an area to which the person does not have permission

another way to do protected teleporter (permission to configure; easier to program?):
* only someone who has permission to the node can configure it.
* users are instructed to put teleporter in protected area but not in enclosed area where they want to prevent entry

Re: [Mod] Locked Travelnet [locked_travelnet] (for PvP-serve

Posted: Sat Jul 15, 2017 02:52
by redblade7
After installing this on my The Valleys sandbox server, I'm having a problem where after using the travelnet, it automatically "removes" the location, and teleporting back and punching it "re-attaches" it. No matter how many times I do this, it always automatically removes the previous spot. Anyone know how to fix this?

Re: [Mod] Locked Travelnet [locked_travelnet] (for PvP-serve

Posted: Tue Jul 18, 2017 02:23
by Sokomine
redblade7 wrote: After installing this on my The Valleys sandbox server, I'm having a problem where after using the travelnet, it automatically "removes" the location, and teleporting back and punching it "re-attaches" it. No matter how many times I do this, it always automatically removes the previous spot. Anyone know how to fix this?
That ought not happen. If you've added a location you need to punch all other travelnets on the same network once so that they take notice of the new net. Stations are only deleted when the receiving travelnet is found missing. Does the error still occour?

Re: [Mod] Locked Travelnet [locked_travelnet] (for PvP-serve

Posted: Tue Jul 18, 2017 03:02
by redblade7
Sokomine wrote:
redblade7 wrote: After installing this on my The Valleys sandbox server, I'm having a problem where after using the travelnet, it automatically "removes" the location, and teleporting back and punching it "re-attaches" it. No matter how many times I do this, it always automatically removes the previous spot. Anyone know how to fix this?
That ought not happen. If you've added a location you need to punch all other travelnets on the same network once so that they take notice of the new net. Stations are only deleted when the receiving travelnet is found missing. Does the error still occour?
Nope, I've even tried removing them both, changing the network names, and putting them facing in different directions, and they always behave like that.

The mod is installed on The Valleys, if you want to take a look and you can't find mese, catch me on IRC.

Re: [Mod] Locked Travelnet [locked_travelnet] (for PvP-serve

Posted: Sun Mar 10, 2019 15:26
by Sokomine
locked_travelnet has been updated in order to work with the changed behaviour of the travelnet (=click on button to dig it). The buttons for "config" and "authorize" ought to show up in more situations now as well.

Please update locks and travelnet mod as well to get the new behaviour.

Re:

Posted: Sun Mar 10, 2019 19:28
by Linuxdirk
Enke wrote:Unfortunately, an "under construction" sign isn't enough to keep many people away. Maybe have it so that there is a special priv allowing people to access any locked travelnet?
Have protection and place two steel doors facing each other then? Two doors because people can easily bug through one door on servers due to lag.