[Request][Complex?] In-Game MCEdit Filters

Discussion in 'Archived: Plugin Requests' started by JRL1004, Feb 13, 2014.

  1. Offline

    JRL1004

    Plugin category: Whatever, I am horrible at choosing categories

    Suggested name: IngameMCEdit

    What I want: A plugin that allows for players to select an area with WorldEdit and then run an MCEdit Filter on all applicable things within that area (beit blocks, items, mobs, biome, etc). I know this is most likely very difficult to do as it requires not only an understanding on how MCEdit manages it's scripts for filters but also knowledge of how to incorporate those into a plugin so I am going to put what I feel is a reasonable amount of time for making this (however more time will be given if requested). As for when the plugin is done, I would like for the developer to put it on DBO because, undoubtedly, many other people could benefit from a plugin such as this.

    * To those who want to tell me to make it: I would program this myself but I have no idea how MCEdit manages it's filters and, even if I did, I feel I would be unable to incorporate it into a plugin properly.

    Ideas for commands: /Filter <Name of file>

    Ideas for permissions: MCFilter.Filter.<filename without the extension)

    When I'd like it by: Any time before March
     
  2. Offline

    scenecraft

     
  3. Offline

    AndyMcB1

    scenecraft
     
    timtower likes this.
  4. Offline

    JRL1004

    Is anyone able to help out with this?
     
  5. Online

    timtower Administrator Administrator Moderator

  6. Offline

    JRL1004

    timtower That's the thing. I may have misinterpreted what you are saying but I don't feel they need to make the whole thing. MCEdit and WorldEdit use extremely similar selection tools so really that's more of a simple switch over. As for the rest of MCEdit, the rendering and what not can be skipped as only the ability to run filters in needed. However I do understand a bit of what you mean based on that link, to attempt this would be very taxing and, even if it did work well, it would most likely break on every version do to the amount of NMS required to apply some of the filters (Eg. one that allows for offset FallingBlocks within minecarts to have the height adjusted). As for complexity, it is already possible to run in-game MCEdit filters. The only issue I have is that it requires a mod and is for 1.6.4. This post on the Minecraft forums is of a person who allows for MCEdit to be run if the actual code is converted to JavaScript, the person has even provided a GitHub link to those who want to look into it. Should the plugin be more possible with use of JavaScript filters instead of .py's, I will gladly accept that change and amend my main post.
     
  7. Online

    timtower Administrator Administrator Moderator

    JRL1004 Code in link requires forge though. You could take a look at NBTedit though
     
  8. Offline

    JRL1004

    timtower I'll do a bit of research into NBTEdit and see if I can get some useful links for others to look at. I'll edit the post and re-tag you when I have one or more links (since you seem most interested in this out of everyone).

    timtower There is an NBTExplorer source but it's written in C# and I do not have enough knowledge of that language to understand any more than that parts similar to Java.
     
  9. Online

    timtower Administrator Administrator Moderator

    JRL1004 Things that are external tools aren't usable when the server is running.
     

Share This Page