your current location:首页 > news>How to develop a plug -in [AFG] forging of "Forging: Certification": Authforge Minecraft Game

How to develop a plug -in [AFG] forging of "Forging: Certification": Authforge Minecraft Game

2024-12-10 17:57:32|Myriagame |source:minecraft skins

This tutorial is set by the author's setting without permission.

First of all, you have to develop MOD, because the plug -in (hereinafter referred to as the Certification "of" Forging: Certification "is also the FML MOD.

The main class of this MOD is Net.Heipiao.authForge.authForge.AuthForge_bus is the event bus of "Forging: Certification", which will be issued in the package of three Player in the package net.Heipiao.authforge.events.AFPlayRevent will not be sent out.

PlayerLoginfairDevent: Player's login failed

PlayerloginsuccessEvent: Player login successfully

PlayersignUpevent: Player registration successfully

These events can obtain instances of "Forging: Certification" through Getafinst and get players through Getplayer.AuthForge.playernotLoggedin is a list of unliked players. AuthForge.conn is a database connection.