Jump to content

Recommended Posts

Posted

I am making a mod for 1.7.10 and 1.8, that acts like a player capture device, kind of like a safari net, but with players and it 'stores' them in a different dim. However, my problems is that how do I get that player out if that player is no longer online.

 

My first thought would be to access the player save file, but forge doesn't seem to like that. Is there a better way to change an offline player's save file?

Posted

You can access the save file just fine. 

 

I have a routine that runs to make sure players aren't in one of my dynamic created dimensions that went away from the config and to move them back to dimension 0. 

 

Just be careful with what you are doing.  Accessing the stored data that way is ripe for opportunities to corrupt the player file.

Long time Bukkit & Forge Programmer

Happy to try and help

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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