Jump to content
  • 0

Question

5 answers to this question

Recommended Posts

  • 0
Posted (edited)
5 hours ago, An4rchy said:

Player.java, onAction() -> if (isGM()) return;

it works thanks sorry for another question but if I wanted to hide the name of the administrator it would be in that part onAction ?

 

 

5 hours ago, An4rchy said:

Player.java, onAction() -> if (isGM()) return;

Hello, I remember in an interlude server in which if you passed the mouse over the administrator it showed an effect similar to that of the doors, how could you put that

 

 

 

 

adm.png

Edited by tensador27
  • 0
Posted

I don't think Interlude CharInfo has support for that, perhaps it could be done in another way but I'm not sure.

 

In Classic CharInfo you can hide the name.

  • 0
Posted
13 hours ago, tensador27 said:

it works thanks sorry for another question but if I wanted to hide the name of the administrator it would be in that part onAction ?

 

 

Hello, I remember in an interlude server in which if you passed the mouse over the administrator it showed an effect similar to that of the doors, how could you put that

 

 

 

 

adm.png

U can just change it but i think is possible to cover it

  • 0
Posted

with setinvisible could the name be hidden?

 

 

hello I have a problem with the target issue it works but if the player is gm you can't target another player

 

 

		if (Config.PROTECT_TARGET_ADM_ENABLE)
		{
			if (isGM() != player.isGM())
			{
				player.sendPacket(ActionFailed.STATIC_PACKET);
				player.setTarget(null);
				return;
			}
		}

 

now it works fine only one gm can target another gm

 

 

		if (Config.PROTECT_TARGET_ADM_ENABLE)
		{
			if (isGM() && player.isGM() == false)
			{
				player.sendPacket(ActionFailed.STATIC_PACKET);
				return;
			}
		}

 

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...