Join 2,358+ Players and socialize together

Join the Community Today

Come hang out with us on the Minecraft Addicts Forums — it's the perfect place to chat, trade cool stuff, and connect with awesome builders just like you! Let's plan epic builds, create amazing worlds together, and then show off your masterpieces to everyone! Plus, we’re all about having fun, so feel free to talk about anything under the sun—games, hobbies, favorite snacks, you name it! Can't wait for you to join and share all the Minecraft magic!

PVP logging

Status
Not open for further replies.

TautWOLF

Active member
Joined
Jan 1, 2011
Messages
44
hey i was thinking and since nobody likes pvp logging on the server,

couldn't we just add 1 line of code to the user thread where when the server gets the command that the user logged off we sleep that 1 user thread for 5 seconds so there char stays in the game standing still for 5 seconds and able to die then logs off i think 5 seconds is reasonable

plus this is a good way to make it so people cant log off and on really quickly because it will say there already logged in

just a thought
~TautWOLF~
 
It wouldn't be one line of code, it would involve an entire plugin. Those plugins exist, and the idea has been tossed around before.
 
each user that connects the server makes a new thread for that 1 user so it would be like 1 line of code you wouldn't need a plugin
 
Where do you suggest you add this line of code? Just randomly stick it somewhere and hope it works? It would have to be compiled into a plugin.
 
maybe we find out what he means about it and see. I'm open to looking into it again if taut thinks he knows some things about it. lets hear it out. maybe alien already knows what he means and we can go from there. any other suggestions?
 
The only way to do this would be using a plugin, which would be hard to do as well because of our server plugins.
We have alot of plugins that come into play as soon as we log in or log out, dealing with inventory and money and warps.
So it would be hard just sticking a line of code in, which would possibly work if we were working on vanilla
 
do any other mods we have mess with user threads though or are they all still apart of the vanilla minecraft because of other plugins dont touch those threads it might still work just a thought
 
You don't have access to the individual player's threads from a bukkit plugin. The ops arent going to modify the bukkit source code, especially just to fix combat logging. Touching the players threads wouldn't even be the optimal way of doing it, nor would it only involve ONE LINE of code to change.
 
depending on how notch made the game it could be one line of code is he optimized his programming
 
One line definitely won't do anything.
Most plugins can't do what we want and end up duping the guys inventory (he keeps it when he returns and the NPC drops what he had for the killers) they usually don't return to spawn either so login at the same location.
 
sounds like you guys dont even want to try who cares if its one like of code or a plugin its like im the only one with ideas tryn to fix it and your shooting it down woow
 
If you so much as read Alien's reply, he pretty much says that it's not possible.

Most plugins can't do what we want
There is no good solution to this problem yet.
 
Well even so, why couldn't the server install a plugin? Is there a limit to how many plugins are allowed? Not to be a pain but I can't seem to realize why i notice others putting down TautWOLF's ideas. It is just an idea after all. Also, I have seen plugins on servers that give warnings out to players when they do something as much as PvP logging.
 
Well even so, why couldn't the server install a plugin? Is there a limit to how many plugins are allowed? Not to be a pain but I can't seem to realize why i notice others putting down TautWOLF's ideas. It is just an idea after all. Also, I have seen plugins on servers that give warnings out to players when they do something as much as PvP logging.

Look 3 posts up:

One line definitely won't do anything.
Most plugins can't do what we want and end up duping the guys inventory (he keeps it when he returns and the NPC drops what he had for the killers) they usually don't return to spawn either so login at the same location.
 
There's issues with most PvP logging plugins. Also, it's no where near as easy to add a plugin as you think. It takes lots of work, and in the end may not even work because of conflicts with other plugins.
 
Status
Not open for further replies.
Back
Top