Mythruna

Modder's Workbench => Scripting => Topic started by: Rayblon on September 14, 2014, 07:47:17 PM



Title: Warps?
Post by: Rayblon on September 14, 2014, 07:47:17 PM
I'm not a codermusgroveas you probably know, so when an idea that's actually possible strikes... well, I can't really act upon it when it involves modding...

Now, I don't know just how extensive support for Mythruna modding is, but I figure that, at the very least, warps should be possible as a server mod/plugin (since I'm fairly certain teleporting is a thing).

What do I mean by warps, exactly?

Basically, if you're familiar with SMP Minecraft, you've probably seen them. They're destinations you can teleport to using a command along the lines of "~warp wonderland" or "~warp giant_toilet" where wonderland and giant_toilet are groups of coordinates.

Warp creation would only be possible by administrators(or whatever rank an administrator would be) by default, probably.

If this is already a thing then I'm more oblivious than I thought... xD


Title: Re: Warps?
Post by: pspeed on September 14, 2014, 09:48:47 PM
Server admins can currently teleport (tp) to a specific location.  This is done with a groovy script that mods can certainly override to use some kind of text lookup.  They probably wouldn't even break a sweat.


Title: Re: Warps?
Post by: Rayblon on September 14, 2014, 10:08:47 PM
Server admins can currently teleport (tp) to a specific location.  This is done with a groovy script that mods can certainly override to use some kind of text lookup.  They probably wouldn't even break a sweat.

Yay! :D

Modders, yuh bes' be gettin' on tuh dis. :3


Title: Re: Warps?
Post by: Michael on September 15, 2014, 04:03:03 AM
Server admins can currently teleport (tp) to a specific location.  This is done with a groovy script that mods can certainly override to use some kind of text lookup.  They probably wouldn't even break a sweat.

Yay! :D

Modders, yuh bes' be gettin' on tuh dis. :3
But I too lazy. :c


Title: Re: Warps?
Post by: Rayblon on September 15, 2014, 11:35:12 AM
But I too lazy. :c

That's why warps should be a thing.

Because we're all too lazy to just walk in Mythruna. :P


Title: Re: Warps?
Post by: Rayblon on September 15, 2014, 07:45:06 PM
Okay... So I'm trying to get another friend of mine to code it... She kind of promised me a Minecraft server plugin but... You know...

Anyway, she can probably do it, but she knows nothing about this game and is a bit of a novice to the trade. What would she need to know going in?


Title: Re: Warps?
Post by: pspeed on September 15, 2014, 08:45:20 PM
That entirely depends on what she already knows.  I think plenty of articles have been posted here for someone with Java knowledge.


Title: Re: Warps?
Post by: GaraQuor on October 06, 2014, 05:05:05 AM
http://simcraft.vacau.com/Warps.init.groovy (http://simcraft.vacau.com/Warps.init.groovy)

A little warp system for you :)

It's for server, for create a warp, type : ~createwarp thenameofthewarp
for the list of warp, type : ~listwarp
for tp to the warp, type : ~warp thenameofthewarp

Warning this script is hard coded ^^ , i have make it in five minute. use it with prudence.

If i have the time and the desire, I do it again correctly


Title: Re: Warps?
Post by: Rayblon on October 06, 2014, 11:51:09 AM
Holy crap! That's awesome, gara! Thanks! :D