Inventory and Spawning Item Help

Shabobawob

New member
Jan 15, 2018
9
2
0
45
Hey Trekkan,

Thanks for the reply, I actually did figure that part out!

I guess now I have a couple issues... When I go to view my player's inventory... I can't see any pictures.

The next is spawning items.

Any help would be greatly appreciated!
 
Trek... I feel so dumb... All I had to do was restart the server. Thank you for all the help.

I guess my next line of business is doing /home, /sethome, etc.

Can you offer any help with this?
 
Trek... I feel so dumb... All I had to do was restart the server. Thank you for all the help.

I guess my next line of business is doing /home, /sethome, etc.

Can you offer any help with this?

Hey, I'm just glad its working for ya. =)

As to the /home type of stuff, that's already built in as the teleport system. You can enable it on the Teleport/misc tab.

Then click the gear icon (Event Editor), and look for the "Player Public Chat" events. There are four teleport commands already there, !t, !at, !rt and !lt. You can edit/change them to whatever you want. =)
 
Hey, I'm just glad its working for ya. =)

As to the /home type of stuff, that's already built in as the teleport system. You can enable it on the Teleport/misc tab.

Then click the gear icon (Event Editor), and look for the "Player Public Chat" events. There are four teleport commands already there, !t, !at, !rt and !lt. You can edit/change them to whatever you want. =)

So I did enable it... I guess one of the things that's getting me is that I would like to do all / "commands". Like /commands - Gives user a list of commands... /home - brings you home... /sethome - sets home location... /safe - sets up a home base.

I did get "/set xxxx" to work for setting locations and I did get "/go xxx" to work for going to locations... So I am getting it, but I would like all commands to start with "/", and not need a space, is there a way?
 
You would need to edit each of the commands under "Player Public Chat" type, and change the ! to a /, then they'll do that.

You can make a new command, for instance /help and then in the script section, add a row for each item, like:

say "/home - brings you home"
say "/sethome - sets home location"
 
Trek,

Thanks for all your help again! I might need to possibly do a remote session with you to see how you would write some of these command scripts. I am at a point that I'm happy with for now though.

I guess the last question I have is setting a location as "Safe" for players to start at. The coordinate format "xxxx xxxx xxxx" is a little confusing. How do I correlate this with map locations. I generally only see locations as 2D on the map, this seems to be 3D (having a z-axis). Please let me know if I'm reading this incorrectly.

Thanks for all your help so far. You are a savior!
 
Trek,

Thanks for all your help again! I might need to possibly do a remote session with you to see how you would write some of these command scripts. I am at a point that I'm happy with for now though.

I guess the last question I have is setting a location as "Safe" for players to start at. The coordinate format "xxxx xxxx xxxx" is a little confusing. How do I correlate this with map locations. I generally only see locations as 2D on the map, this seems to be 3D (having a z-axis). Please let me know if I'm reading this incorrectly.

Thanks for all your help so far. You are a savior!

No problem, glad to help! =) Ask any questions you have, also feel free to hang out on our Discord channel (link on the right of the main page here).

The easiest way to get the coordinates would be to go where you want the location to be with your character. Then look in RAT and right click your name, then Copy To Clipboard -> Position. That'll add the position in the format it should be to your clipboard, then paste it where you want it to go.

If you want a safe place for players to start, I would do what I said above, then go to the the teleport tab and create a teleport there. This way you can set the name of it.

Then, in the event editor, create an event similar to below (I'm typing this up off the top of my head, could have a mistake)

Type: Player Public Chat
Conditional: STARTSWITH:!safe:LEVEL:<=1
Script: teleportplayer {{player_name}} {tele_nameoftheteleportyoujustcreatedinthestepabove}