#link to internal server skript help needed

1 messages · Page 1 of 1 (latest)

jaunty apex
#

Hello, I would like to use an event slot to sent the player to my other internal server.
But it does not work. Who and how can somebody help?

neat canopy
#

use an inventory click event
check the name of the GUI (seeing as you probably have not set a metadata tag)
check the name of the item
send the player to your other server

mint heath
#

"But it does not work."
What does not work? Do you have code for this?
If you want us to be able to tell why your code doesnt work, we need to see the code

jaunty apex
#

@mint heath and @neat canopy This is de code: command /galaxygamemode:
trigger:
set metadata tag "galaxygamemodemain" of player to chest inventory with 3 rows named " &0 >> Galaxy gamemodes << "
set slot 9 of metadata tag "galaxygamemodemain" of player to player's skull named "&9%player%"
set slot 8 of metadata tag "galaxygamemodemain" of player to barrier named "&cSluit menu" with lore "&7" and "&7Sluit het menu waar je nu in zit." and "&7"
set slot 26 of metadata tag "galaxygamemodemain" of player to water bucket named "&9Teleport naar Survival" with lore "&7" and "&7Klik hier om te Survivallen." and "&7"
open (metadata tag "galaxygamemodemain" of player) to player

on inventory click:
if event-inventory = (metadata tag "galaxygamemodemain" of player):
cancel event
if index of event-slot is 8:
close player's inventory
if event-slot is 26:
send player to "GalaxyVoid-Survival"
close player's inventory

mint heath
#

if event-slot is 26:
Shouldnt this

  • a) Be indented within the event-inventory = (metadata tag "galaxygamemodemain" of player) section
  • b) use index of event-slot like the other if statement?
neat canopy
#

additionally: you don’t need to specify the color when making an empty new line

jaunty apex
#

Now it is this

#

FYI the GalaxyVoid-Survival is a internal server in my hosting

neat canopy
jaunty apex
#

[07:23:05 INFO]: /172.31.46.2:52718 lost connection: If you wish to use IP forwarding, please enable it in your BungeeCord config as well!

#

Do I need the Skungee plugin?

#

I cant get it to work. Is there another way someone can help me?

#

@mint heath

neat canopy
# jaunty apex Do I need the Skungee plugin?

you do not, that is a vanilla skript effect

you are probably not using a bungeecord proxy then, look it up for your correct proxy or use transfer packets if you aren’t using a proxy

jaunty apex
#

I use a velocity. Server. That is working for the first server with lobby. But teleport to second server is the problem