Jump to content

Recommended Posts

Posted

Hey guys,

 

I'm looking to see if it's at all possible to create a forge-based mod that is only required to be installed on the server (I.E not installed on the client.)

 

I have got one working, so that's not really my main question, unless there's something I should know.

 

My main question is how do I identify the username of a player logging in via the serverside. I've been trying to implement IConnectionHandler into a custom class, but trying to pull the username field from EntityPlayer crashes the server, saying there is no such field.

 

Posted

I'm trying to make a mod that keeps track of individual players (loosely). It also gives them a name prefix and a restriction set based on a group they're previously assigned..

 

This means that even for their first logon, they should be assigned a prefix and a group, as soon as they log in..

 

I've already made a plugin for bukkit (not published), and now I'm trying to make it for forge aswell

 

 

So what I'm trying to ask is how to get the instance of the a player as they join the server, only from the server side

Posted

PlayerEvent only seems to have HarvestCheck and BreakSpeed fields though

 

I should probably mention that of course I'm trying to make it in 1.5.2 (for compatibility with modpacks)

 

Sorry to be a pain

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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