Posted December 27, 20168 yr I wanna write a mod to verify extra data on connecting server (before player joining world to prevent potential damage). I've written mods before but my knowledge about network is only limited to SimpleNetworkWrapper. Maybe I should use ClientConnectedToServerEvent? But I can't find many useful examples or documents about it. Any help is appreciated!
December 27, 20168 yr I wanna write a mod to verify extra data on connecting server (before player joining world to prevent potential damage). I've written mods before but my knowledge about network is only limited to SimpleNetworkWrapper. Maybe I should use ClientConnectedToServerEvent? But I can't find many useful examples or documents about it. Any help is appreciated! I think you need to be more specific on the data you want to check. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
December 28, 20168 yr Author I wanna write a mod to verify extra data on connecting server (before player joining world to prevent potential damage). I've written mods before but my knowledge about network is only limited to SimpleNetworkWrapper. Maybe I should use ClientConnectedToServerEvent? But I can't find many useful examples or documents about it. Any help is appreciated! I think you need to be more specific on the data you want to check. In my situation, it's extra authorization data input by user. I do know online-mode, whitelist, authme plugins, but I still need another password-like thing for a special server. It is asked when minecraft started by popping up a input box, and I want to verify it before player joined server.
December 29, 20168 yr Why? Just use a whitelist... Probably because password distribution is easier than accessing the file and adding the information. I wanna write a mod to verify extra data on connecting server (before player joining world to prevent potential damage). I've written mods before but my knowledge about network is only limited to SimpleNetworkWrapper. Maybe I should use ClientConnectedToServerEvent? But I can't find many useful examples or documents about it. Any help is appreciated! I think you need to be more specific on the data you want to check. In my situation, it's extra authorization data input by user. I do know online-mode, whitelist, authme plugins, but I still need another password-like thing for a special server. It is asked when minecraft started by popping up a input box, and I want to verify it before player joined server. It would have to be a server and client mod. You will need a custom gui and custom packet. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
December 29, 20168 yr Author Why? Just use a whitelist... Probably because password distribution is easier than accessing the file and adding the information. I wanna write a mod to verify extra data on connecting server (before player joining world to prevent potential damage). I've written mods before but my knowledge about network is only limited to SimpleNetworkWrapper. Maybe I should use ClientConnectedToServerEvent? But I can't find many useful examples or documents about it. Any help is appreciated! I think you need to be more specific on the data you want to check. In my situation, it's extra authorization data input by user. I do know online-mode, whitelist, authme plugins, but I still need another password-like thing for a special server. It is asked when minecraft started by popping up a input box, and I want to verify it before player joined server. It would have to be a server and client mod. You will need a custom gui and custom packet. yeah I've written a gui to allow user type in information. But how to use custom packet? I have used SimpleNetworkWrapper before, but is it possible to use it before player joining world and prevent login if verify fails? Any hint of which class or event I should use is okay...
December 29, 20168 yr Author why ?? if i what to go evil and break stuff your mod is not going to stop me Well it's something like two-factor authentication. It's a shame but someone's password was leaked before. And I can't change mojang account login mechanism. When I using authme(or another bukkit plugin that allowed third party auth, can't remember the name) before, there were bugs to allow player do bad things when he have logged in the server but not provided password. Since all plugins have to let player type server command to auth, they have to allow player logged in before auth. So I want to make a mod to auth BEFORE a player entity can join the server. Will there still be a change to break things? If so, is it possible to use other methods to prevent that?
December 29, 20168 yr Author and how did it leak ?? Well, that player didn't tell me, but he did do damage to our private server. I think maybe he use a common/weak password or maybe a friend of him just guessed the password and wanna troll him.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.