Jump to content

Recommended Posts

Posted

I was wondering if there was a way to create a [1.7.10] server-side only mod where it registers a command such as /modfolder <player>. 

Once the sender runs the command, it will tell the sender what mods the target <player> has loaded in with, this message is already displayed on server-join anyways in the console logs, but I was wondering if there was a way to make this into a command.

Posted (edited)

1.7.10 is no longer supported on this forum.

Update to a modern version of Minecraft to receive support.

 

If the target version is 1.12.2, I would do something like create an event subscriber for player join event and create a Map that records the player's mods (if that info is available in the event).

When the command is executed, just search up the player in the Map.

Keep in mind that the client can always lie about what mods are loaded, so the result might not be 100% reliable.

Edited by DavidM

Some tips:

  Reveal hidden contents

 

  • Guest locked this topic
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.