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;
			}
		}

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock