[Mod] SimpleWarp Mod Bug Fix [simple_warp]

0xFireball
New member
 
Posts: 2
Joined: Thu Jun 09, 2016 22:00
GitHub: 0xFireball

[Mod] SimpleWarp Mod Bug Fix [simple_warp]

by 0xFireball » Thu Jun 09, 2016 22:09

Hello!
I'm new to the Minetest Forums and modding in general.
This mod is simply a tiny bugfix to this mod: https://forum.minetest.net/viewtopic.php?t=10681
I'm not sure as to what to do to contribute to the original mod, so I just made a new repository. Please let me know if I made a mistake.

Changes:
- Add a gitignore file to ignore warp definitions
- Fix an issue with warping that caused the server to crash
- Change the file extension of warp definitions

Original mod description:
This mod adds private and public warps to Minetest.

List of commands :
/setwarp <name> (set a private warp at your current position)
/delwarp <name> (delete a private warp)
/setwarpall <name> (set a public warp at your current position)
/delwarpall <name> (delete a public warp)
/warps <index> (outputs the list of private warps, set page index to go to the next page)
/warpsall <index> (outputs the list of public warps, set page index to go to the next page)
/warp <location> (move to warp position)
Privs :
usewarp (can warp to worldwide/private locations)
warpown (can set/del private locations)
warpall (can set/del public locations)

Note :
The public locations have primary name claim, that means if you use /setwarp test and 'test' is already used publicly, the mod will throw an error. But if you had already set 'test' as private, /setwarpall test will ignore your location and you'll end up with conflicting names (in that case /warp test will always move you to the public location). An easy solution is to prefix the public locations.

Back to my modifications:

License: lgpl 2.1 as per the original work
Download: https://gitlab.com/ExaPhaserMinetest/simple_warp/repository/archive.zip?ref=master
Installation : Unzip the file and rename it to "simple_warp". Then move it to the mod directory.
Code: https://gitlab.com/ExaPhaserMinetest/simple_warp
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] SimpleWarp Mod Bug Fix [simple_warp]

by azekill_DIABLO » Sat Jun 11, 2016 10:18

you should change the name! anyway +1
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 4 guests

cron