Plugin category: Mechanics Suggested name: Safe Logout or Safe Quit What I want: When a player disconnects (either through the menu or closing minecraft) an npc of them is spawned, preferably their npc not a steve skin, for a configurable time. To work around this players must type /logout or /quit. A countdown will begin in the players chat, at a configurable time. If possible also add a feature that increases the time if they were recently in pvp. All configurable times - Time since pvp, pvp safe logout time, pvp npc time. Ideas for commands: /logout or /quit Admin Commands: /SL reload, /SL set npc 20 (sets npc to spawn for 20 seconds), /SL set logout 15 (sets logout timer at 15 seconds) Ideas for permissions: SafeLogout.bypass.npc, SafeLogout.bypass.logout, SafeLogout.bypass.* When I'd like it by: As soon as possible. Anybody interested? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I can't find any other combat log plugins that use npcs other than this: http://dev.bukkit.org/server-mods/combat-tag and it doesnt use Citizens. Still looking for a developer. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
i know im saying it would de use full thats all mor config to it but a single plugin will do that donse not nee another plugin
it so no one can run away from a fight and even if they do they still lose there items to the other player
What don't you understand? I run a pvp server. I'm trying to prevent people from seeing an enemy and logging out before they get into combat. This plugin will make the player stand still for a given time after typing the command to leave safely. If a player just disconnects or shutsdown minecraft they will spawn an npc with their inventory.
Do you not understand? This is for when people see an enemy and log without being attacked or attacking.
It makes it so you have to type /logout and wait about 15 seconds in the same spot. It's to hopefully prevent people from logging out when they're in imminent danger.
So you want it so that when player a see player b, he can not log out untill 15 second has past, but if he force log out then a npc will spawn and player b can kill his npc
So A player will have to type /logout or /quit A msg will display saying 15 seconds till you can log out alive!, 14 seconds etc Then a msg will display you can now log out alive! IF he forcelogout b4 the 15seconds are over or if he doesnt do /logout or /quit a npc will spawn were the enemy can kill player a is that right?
After 15 seconds (or the configured time) the player will be disconnected from the server. If they forcelogout before the time is up an npc will be spawned.
I would like to have this plugin. This should be much easier to accomplish with the logout API from http://dev.bukkit.org/bukkit-plugins/minez-logout/
The logging out part of this wouldn't be hard, it would be the killing. You would have to have the npc be able to be killed, remember what items were in the player's inventory, and remove those items from the player's inventory when the log back on. All of that would be pretty tricky to do.
daboross True, but there are already plugins such as combat tag and combat log that accomplish this, without the safe-logout feature. Combat Tag does have an API as well: http://dev.bukkit.org/bukkit-plugins/combat-tag/pages/using-the-api/ The only thing that is not available here is spawning the npc when a player is within a radius and does not use safe-logout.
CasparW This is not the requested plugin. The requested plugin will cancel the safe logout if the player moves or is hit by an entity. Forcing a log out is still permitted but if a player is in a set area an NPC will be put in the players spot holding all of their inventory and armor to stop pvp logging. The point of this plugin is to stop PvP logging.