Jump to content
  • 0

[Help]AllGm = True


Question

Posted

Guys, i want a code (i tried to make my own but i had error on eclipse), that there will be a config too. I want the code to say on L2JMods.properties file

#If set to true All new characters will have 75 access level
AllGm = False

I tried to do it by my self, i know a way i can do this

(enterworld.java

if (Config.ALL_GM)
{
activeChar.setAccessLevel(75)
}

}

, but then every char that will have 75+ access level(for example 78 or 100), will become 75 when he logs in. So i want a way that every new char will have 75 access level, and then if he gets to 76 he won't return back to 75. Thanks.

14 answers to this question

Recommended Posts

  • 0
Posted

options.prop

# If next switch is set to true every newly created character will have access level 200.

EverybodyHasAdminRights = False

yes but i don't want them to have 200 access level, i want them to have 75

 

  • 0
Posted

Thelasthero I don`t have l2jbrasil source in my eclipse.

 

But it should be easy just use search, if there is already exists such config that set gm access as 200 you for sure can change that to 75 or make your own config.

  • 0
Posted

try to add sth on enterworld.

like..

if (Config.ALL_GM && activeChar.getAccessLevel() <75) activeChar.setAcessLevel(75);

  • 0
Posted

Thelasthero I don`t have l2jbrasil source in my eclipse.

 

But it should be easy just use search, if there is already exists such config that set gm access as 200 you for sure can change that to 75 or make your own config.

hmm i think you are right i will search for that ty:)

try to add sth on enterworld.

like..

if (Config.ALL_GM && activeChar.getAccessLevel() <75) activeChar.setAcessLevel(75);

i will

Guest
This topic is now closed to further replies.


×
×
  • Create New...