WorldEdit

WorldEdit

43M Downloads

[Forge] Request: Support for FakePlayers / Computer Actors

LadyCailinBot opened this issue ยท 5 comments

commented

WORLDEDIT-3261 - Reported by Alaisx

WorldEdit does not currently support execution of commands using a Forge FakePlayer, such as that utilized by the OpenComputers debug card. It would be a powerful addition to WorldEdit if this support were added, as it would enable automation and event based triggers for world editing.

Automation of WorldEdit commands would then be implemented by mod/map/adventure pack authors via scripting with a mod such as OpenComputers. This would open the door for some pretty groundbreaking map packs, with the potential for dynamic worlds which react to the player's actions as they progress through the storyline.

Automation could also be used by multiplayer server owners to modify the world based on timed or triggered events, rather than having to do so "in person". I really cannot overstate the power that automated/scriptable WorldEdit would provide.

I would also like to request this feature for 1.7.10, as modding for 1.8 is still in its infancy.

commented

Comment by octylFractal

I'll work on this soon.

commented

Comment by Alaisx

Thanks, I really appreciate it!

commented

Comment by octylFractal

After looking into it, FakePlayer extends EntityPlayerMP, so this should work. Do you have a mod that doesn't work? OpenComputers, yea?

commented

Comment by Alaisx

Yeah, OpenComputers FakePlayer doesn't work. Not sure why. Pretty sure the ComputerCraft version doesn't either.

commented

Unsure if this is still an issue or not. FakePlayers are wildly different from how they used to be, and WorldEdit is much better about allowing other sources of commands now.