Skip to content

[Share].logout command

Featured Replies

create on datapack > voicedcommandhandler a new file .logout command and paste this in the command .. then you maybe gotta reg it on the gameserver , you know how > heres what you need to paste on the .logout java file

and

/*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
* 
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
* 
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.gameserver.handler.voicedcommandhandlers;

import com.l2jserver.gameserver.handler.IVoicedCommandHandler;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;

public class logout implements IVoicedCommandHandler
{
private static final String[] VOICED_COMMANDS = { "logout"};

public boolean useVoicedCommand(String command, L2PcInstance activeChar, String params)
{
	if (command.equalsIgnoreCase("logout"))
		activeChar.logout(false);
	return true;
}

public String[] getVoicedCommandList()
{
	return VOICED_COMMANDS;
}
}

 

All Credits : ` Dawn®This content is hidden. Please sign in or create an account to view it.

cool shit mate , really the idea is very good .. Keep it up!

credits for one who where helping you?

  • Author

credits for one who where helping you?

all Credits to me.lol

This is completly Useless, but also brilliant. Thanks for sharing it with MxCheaters community Dawn, your shares rocks as hell :P

 

NOTE: Because everybody is giving Karma for simple Codes, i will give you too. Take it. +1

tell a reason of being useless

tell a reason of being useless

actually point a reason of being useful

actually point a reason of being useful

alt+x logout confirm ok

totally useless

can be hacked and logout in combat, u didnt add a simple protection for a logout shit lol.

 

totally useless.

o thanks for share it's useless!!Thanks Dawn!!

if is useless why u are telling ooo and thnx dawn?

 

@ontopic

 

nice idea dude

if is useless why u are telling ooo and thnx dawn?

 

@ontopic

 

nice idea dude

[gr]lew oti einai xrishmo thanks Dawn telos

[gr]lew oti einai xrishmo thanks Dawn telos

[gr] useless = axristo | usefull = xrisimo xD

[gr]lew oti einai xrishmo thanks Dawn telos

read the post above me and u ll get the point! ;p
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.