LAN World Plug-n-Play

LAN World Plug-n-Play

951k Downloads

Functionality even when UI can't be accessed

xamionex opened this issue ยท 6 comments

commented

Do you think it's possible to have something like this for legacy4j?
As it has it's own button for open to lan and doesn't display this mod's one at all

commented

Do you think it's possible to have something like this for legacy4j?

Unfortunately, that is something really hard to support. Both this mod and legacy4j implement their own copy of the "Open to Lan" screen. One has to override the other. Also, merging the changes made by the two mods is almost impossible...

I think it makes more sense to let this mod override the "Open to Lan" of legacy4j. Functions should take priority over appearance.

commented

That's what I was thinking of, so that'd be great imo
Additionally if that's hard as well, you could make a command to use the mod instead
Something like Custom LAN has this

commented

Additionally if that's hard as well, you could make a command to use the mod instead

That sounds like a good idea.

We could add new commands to control:

  1. Turn on and off Online-mode
  2. Specify the port when starting the server
  3. Turn on and off UPNP at anytime
  4. Add an option to /uuidfixer command to toggle UUID fixer. Currently /uuidfixer only controls the rule set, not the main switch
commented
  • Command for toggling online mode
  • /Publish or /Lan command
  • /LanUPNP true/false
  • /UUIDFixer should toggle instead of controlling the ruleset
    could also be /uuidfixer toggle/set (set would have the different modes)
  • (optional) Possibly put all of these commands in a subcommand of /mcwifipnp or /lanworld
    ex. (/lanworld <publish/upnp/uuidfixer>)
commented

Possibly put all of these commands in a subcommand of /mcwifipnp or /lanworld

By design, uuidfixer can be a dedicated server-side function as well, so it goes into its own command.
/onlinemode on|off may also be used on the dedicated server, so it deserves its own command as well.
same rule applies to /upnp on|off.

The vanilla publish command allows you to specify the port, so we are not going to touch it.

commented

It's really up to how you guys wanna design it as for me all I want is for it to work in the end,
I just thought having everything in a single command will be easier to manage than to have 3 different commands,
like you know how luckperms has /lp <groups/users> <permissions/...> <set/unset...>