10-30-2015, 04:37 PM
Hello,
I just started developing plugins for Cuberite, but now I'm stuck at two points:
1. Redirect a Player to another Server
How to redirect a player to another Server; I added a rightclick hook and compared the coordinates with a list of signs, but how to continue?
2. Get a cPlayer or cWorld class
How to "link" a cPlayer class to a Player? I know how to use it if I get one through a hook, but if I need a second one of another player, I don't know how to get it
I'd be happy if you help me!
PS: I'm from Germany, so please excuse my bad english!:D
I just started developing plugins for Cuberite, but now I'm stuck at two points:
1. Redirect a Player to another Server
How to redirect a player to another Server; I added a rightclick hook and compared the coordinates with a list of signs, but how to continue?
2. Get a cPlayer or cWorld class
How to "link" a cPlayer class to a Player? I know how to use it if I get one through a hook, but if I need a second one of another player, I don't know how to get it
I'd be happy if you help me!
PS: I'm from Germany, so please excuse my bad english!:D