So, Im making my own server selector plugin with Skungee, and I have this:
And if somehow click on pickaxe it send all players on server to server "resky". But I don't want that. I want to send only the player who clicked on iron pickaxe, how can I do it?
code_language.skript:
on inventory click:
if event-item is iron pickaxe named "&d&lResidence":
set {_h} to player's name
skungee send players "%{_h}%" to bungeecord server "resky"