Needing Help

Status
This thread has been locked.

EminemRich

Banned
Feedback score
16
Posts
475
Reactions
172
Resources
0
Hey! I'm wondering if anyone knows much about the back-end of Bungeecord, I'm wanting it so when players join they will automatically be forced to join the Hub, Some times they've connected straight to the server they logged out on, If you know please lmk!​
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Vierdant

Explorer
Supreme
Feedback score
20
Posts
627
Reactions
312
Resources
0
There is what I think it might help.
Hubbynator that can force tp the player as (JoinEvent) to the location /sethub, read the desc.
or use EasyJoinCammand to force the command /hub on join.

I hope that helped,
Tyler
 

Hunting_Potato

Developer
Deactivated
Feedback score
11
Posts
745
Reactions
425
Resources
0
Just go in the config and set the default-server to hub?
 

ItsMeBro

Feedback score
0
Posts
25
Reactions
5
Resources
0
Hey! I'm wondering if anyone knows much about the back-end of Bungeecord, I'm wanting it so when players join they will automatically be forced to join the Hub, Some times they've connected straight to the server they logged out on, If you know please lmk!​
I’d ask JoshSmith he knows a lot about Bungeecord and I think he has a small bungee until plugin that does this also
 

qIooIp

Supreme
Feedback score
3
Posts
14
Reactions
149
Resources
0
You have to change two things:

1. You have to add your hub to priorities (or whatever your hub is called)
priorities:
- Hub

2. And then change force_default_server to true.
 

michqql.jr

Premium
Feedback score
0
Posts
176
Reactions
34
Resources
0
Hey! I'm wondering if anyone knows much about the back-end of Bungeecord, I'm wanting it so when players join they will automatically be forced to join the Hub, Some times they've connected straight to the server they logged out on, If you know please lmk!​
On Player Join Event, teleport them to the world (By name in the server folder)
 

michqql.jr

Premium
Feedback score
0
Posts
176
Reactions
34
Resources
0
Yeah definitely you can teleport players from HCF to HUB with Player#teleport Kappa

???

Code:
    @EventHandler
    public void onPlayerJoin(PlayerJoinEvent e) {
       
        Player p = e.getPlayer();
        Location loc = Bukkit.getServer().getWorld("world_name").getSpawnLocation();
        p.teleport(loc);
       
    }
 

CrazyCool

Premium
Feedback score
-1
Posts
53
Reactions
25
Resources
0
..... it's all in the bungee config on your proxy server, you have to set one of the options to false from true, can't remember what it is specifically but i know it's there

Edit: Set force_default_server to false.
 
Last edited:
Status
This thread has been locked.
Top