[Mod] Inventory Warp [0.0] [inventorywarp_0gb_us]

Post Reply
User avatar
0gb.us
Member
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000
Contact:

[Mod] Inventory Warp [0.0] [inventorywarp_0gb_us]

by 0gb.us » Post

Development of inventorywarp_0gb_us will no longer continue. People wanted more warp points, so I built something else. It is called teleport_0gb_us, and provides an unlimited number of warp points, but each has a cost. If anyone is interested in this, it is being developed as part of 0gb.us_game, the game used at 0gb.us:30000.

Topic: http://forum.minetest.net/viewtopic.php?id=3808
Github: https://github.com/0gb-us/0gb.us_game/t ... gb.us_game


[mod] Inventory Warp [0.0] [inventorywarp_0gb_us]

Code license: GNU LGPL version 2
Image license: No images included.

Plugin dependencies: inventory_plus

Image

I was going to install teleporters_reloaded, but the forum was down and I couldn't download it, so I built this instead. Like teleporters_reloaded, it provides a settable home, mine, and build location that can be warped to at any time, individual to each player. However, this plugin adds it to the menu instead of providing chat command access. In addition, to make sure you are never trapped, a suicide button is included, to send you back to the spawn point. Please note that this DOES count as a death, so if something such as bones is installed, you will, for example, loose all your items. The code for menu itself was taken from Celeron55's experimental plugin, with a few things removed, and a few things added.

I know the responses it gives have bad capitalization, punctuation, and grammar (such as "Teleported to your Build"), but that allows it to store/process less strings, so unless someone actually cares, I'm going to leave it as it is.

Done:
I'm adding support for inventory_plus, and have already finished the code to also show the player skin instead of the default skin if player_textures is installed (not included in this version). I decided to post this now instead of finishing inventory_plus support because I may be taking over inventory_plus soon, and change it up a bit, giving me more options to work with.
Last edited by 0gb.us on Sat Feb 23, 2013 19:46, edited 1 time in total.

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

Download link?
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
0gb.us
Member
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000
Contact:

by 0gb.us » Post

What? I didn't include a download link? Well, that was rather lame of me. When I went to go get the link, it seems I had forgotten to upload it as well. Tisk, tisk.

Anyway, I no longer had a stable copy of the plugin because I've been messing with it, so I finished up what I've been working on, and uploaded it. Since the original version 0.0 was never available, I'll just call this on version 0.0.

http://0gb.us/minetest/download.php?plu ... 0gb_us-0.0

Additions: Commands!

While I would have liked to use commands such as /gohome and /die, people are more familiar with /home and /spawn, so I used those so people wouldn't have to learn as many new commands.

A command was added for every functional button. Each command does what it sounds like it should. Added commands include /home, /sethome, /mine, /setmine, /build, /setbuild, and /spawn.

In addition, this plugin is now compatible with (and requires) inventory_plus, and is also compatible with (but does not require) player_textures.

User avatar
guilleelcapoextra
Member
Posts: 70
Joined: Sat Oct 13, 2012 23:49
Location: uruguay
Contact:

by guilleelcapoextra » Post

nice

User avatar
davidpace
Member
Posts: 685
Joined: Wed Oct 17, 2012 11:09
Location: United States

by davidpace » Post

THIS IS AMAZING!!!!
Taking a break for a while see ya guys!

In some of my posts I will be putting "Secret" White sentences.. Tell me if you see them!!! :D

User avatar
yohoho
Member
Posts: 13
Joined: Tue Nov 27, 2012 17:47

by yohoho » Post

Does this work with the bags mod?

User avatar
davidpace
Member
Posts: 685
Joined: Wed Oct 17, 2012 11:09
Location: United States

by davidpace » Post

Pretty Sure it does :)
Taking a break for a while see ya guys!

In some of my posts I will be putting "Secret" White sentences.. Tell me if you see them!!! :D

User avatar
0gb.us
Member
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000
Contact:

by 0gb.us » Post

Thanks to inventory_pus, yes, it is compatible with bags.

User avatar
RAPHAEL
Member
Posts: 627
Joined: Tue Nov 01, 2011 09:09
Location: Earth

by RAPHAEL » Post

I wouldn't mind seeing two homes, mines and builds. Sometimes people have more than one of each lol. Otheriwse I love this mod. It has proven very useful.
Last edited by RAPHAEL on Thu Dec 06, 2012 09:44, edited 1 time in total.
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)

User avatar
0gb.us
Member
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000
Contact:

by 0gb.us » Post

I had thought that three warp points was already pushing boundaries, so I hadn't even considered adding three more. I have had times when more would have been very helpful though. Times such as every other day.

I'll add a second of each warp type in the next release. I might also throw in a setting, to allow server administrators to specify whether users should be allowed to have three or six warp points (NOT on a per user basis).

tux_peng
Member
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Post

This looks great! But, how do I set the spawn point?
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info

User avatar
0gb.us
Member
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000
Contact:

by 0gb.us » Post

There is no spawn point defined by this plugin. The "Die (Respawn)" button and /spawn command just kill you, and allow the game to respawn you in whatever way is set up.

Assuming there are no other non-default plugins installed, use the command "/set -n static_spawnpoint -13,4,50", or add "static_spawnpoint = -13,4,50" to your configuration file to set a spawn point. If a spawn point is not defined in this way, you'll respawn somewhere near the center of the map.

I would love to set up the /spawn command that doesn't the user, I just don't know how. If someone has any ideas, I'd love to hear them. I know how to get and parse the static_spawnpoint setting, but what do I do if no static spawn point has been set? I want to preserve the ability to spawn in a somewhat randomized location in this case.

Spots
Member
Posts: 124
Joined: Tue Jul 24, 2012 12:12
Location: Outta my mind someplace.

by Spots » Post

I know that bookmarks does that it sets a many points as you need you just name them what you want then type (if i remember right) /go "bookmark name" i use the home and the book mark home for me home point and the book mark for like "mine1" , "mine2" , "forest" , "farm" ....bookmarks - http://minetest.net/forum/viewtopic.php?id=2321 and i just found a bookmarks GUI by cornernote - http://minetest.net/forum/viewtopic.php?id=3219 , maybe you can check the code there and see if that helps

User avatar
0gb.us
Member
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000
Contact:

by 0gb.us » Post

Spots wrote:I know that bookmarks does that it sets a many points as you need you just name them what you want then type (if i remember right) /go "bookmark name" i use the home and the book mark home for me home point and the book mark for like "mine1" , "mine2" , "forest" , "farm" ....bookmarks - http://minetest.net/forum/viewtopic.php?id=2321 and i just found a bookmarks GUI by cornernote - http://minetest.net/forum/viewtopic.php?id=3219 , maybe you can check the code there and see if that helps
Okay, that sounds like something I'd take the time to make. It may sake a while, as I do have some other things to deal with, such as homework, so be patient.

To be clear, are you wanting a way for server staff to set warp points that everyone can warp to (I was actually planning on building that eventually), or something to allow all users to set their own warp points, that only they can warp to?

Spots
Member
Posts: 124
Joined: Tue Jul 24, 2012 12:12
Location: Outta my mind someplace.

by Spots » Post

you could set it either way i tend to play single player and set my warp to the spots i most use like home , 2-3 different mines, my tree farm,and my vault for storage

User avatar
0gb.us
Member
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000
Contact:

by 0gb.us » Post

Spots wrote:you could set it either way i tend to play single player and set my warp to the spots i most use like home , 2-3 different mines, my tree farm,and my vault for storage
Okay, so what is it about bookmarks_gui that doesn't meet your needs? I ask so I can make sure mine DOES meet your needs.

User avatar
0gb.us
Member
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000
Contact:

by 0gb.us » Post

Development of inventorywarp_0gb_us will no longer continue. People wanted more warp points, so I built something else. It is called teleport_0gb_us, and provides an unlimited number of warp points, but each has a cost. If anyone is interested in this, it is being developed as part of 0gb.us_game, the game used at 0gb.us:30000.

Topic: http://forum.minetest.net/viewtopic.php?id=3808
Github: https://github.com/0gb-us/0gb.us_game/t ... gb.us_game

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests