Everything posted by J15t98J
-
Closing a player socket / forcing it to time out
I don't really want to crash the client. What error would the serverauth packet produce?
-
Closing a player socket / forcing it to time out
Unfortunately, there isn't, as far as I can see.
-
[Server][Unsolved] AttackEntityEvent, is retreiving the Player possible?
Sq is, as you said, the Player class. Just import org.bukkit.entity.Player (I think).
-
Closing a player socket / forcing it to time out
Mew, I've already got that set up, and just need a way to kick the player without it saying "Disconnected by Server" at the top. Also, displaying the connection error GUI is client side, so I'd have to send a packet (if there is one); otherwise I would have to mod the client, which I don't want to do
-
Closing a player socket / forcing it to time out
Any idea on how to do it? I have everything else set up - custom YAML config files, event listeners etc. I just need a way to fake a realistic connection error
-
[Server][Unsolved] AttackEntityEvent, is retreiving the Player possible?
I can't find the API, link me please?
-
Updating LWJGL for my mod
As in, how do you get a newer version of LWJGL to run your mod with? http://www.lwjgl.org/download.php Right here.
-
[Server][Unsolved] AttackEntityEvent, is retreiving the Player possible?
Mod author (Mevans) or mod author (someone else)?
-
Closing a player socket / forcing it to time out
So. I'm currently writing a Bukkit plugin which allows moderators to ban someone with a slightly different command, so that instead of seeing a ban message when they log in, the server closes / times out the socket they are connecting on, so they just see a connection error and don't suspect anything. However, Bukkit's API doesn't have the ability to close sockets / force them to time out, as far as I can tell. Is there a way to accomplish this with Forge, and if so, how? I know it's a slightly odd request, any help appreciated
-
[Server][Unsolved] AttackEntityEvent, is retreiving the Player possible?
a. Anything registered properly as an entity should fire that listener when you hit it. What mod is it? b. What are you trying to do with it / do you need it for? And what method (from what library) is it?
-
[Server][Unsolved] AttackEntityEvent, is retreiving the Player possible?
Instead of using forge events (which I don't know at all), you could use Bukkit events (which I do). Note that your class will have to implement org.bukkit.event.Listener. If you choose to place the listener in a different class to your main one, in the onEnable() function in your main class, you will need to add: getServer().getPluginManager().registerEvents(new <class name here>(), this); This is how it is done in Bukkit, anyway. Not sure if it changes for ForgeBukkit.
IPS spam blocked by CleanTalk.