Jump to content
  • 0

[Help]AllGm = True


Thelasthero
 Share

Question

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.

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

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

 

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • 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