#link to internal server skript help needed
1 messages · Page 1 of 1 (latest)
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
"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
@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
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-slotlike the other if statement?
additionally: you don’t need to specify the color when making an empty new line
you are sending them to a string, you must prefix it with “server” per the docs https://skripthub.net/docs/?id=3157
[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
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
I use a velocity. Server. That is working for the first server with lobby. But teleport to second server is the problem