Jump to content

enderMague

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by enderMague

  1. ok i want to edit a method in nethandlerloginserver to allow nopremium players join a online mode true server but with some disadvantages encouraging them to buy premium, server must have online mode on so premium players can join normally, i can try to subscrive to playerjoinevent and replicate the vanilla auth in my mod and change online mode to false but i think that it could make it incompatible with other mods or sponge plugins and any change i could do at that point could conflict with other mods that check the gameprofile of players, instead if i edit the method it wont conflict with anything since is one of the first methods that get executed when a player connects.
  2. Hi, im making a mod and for some modules in really need to edit some vanilla classes and i have some questions, first, suppose that class A implements IFMLLoadingPlugin and class B implements IClassTransformer, does class A loads class B? And do i have to call class A from Main class in for example preinit event? What i did create a normal mod and then add those classes to use asm and call class A in preinit event but the asm part isnt working, it doesnt show in log when i run the server so what im doing wrong? Please help im new to modding Thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.