Inactive [DEV] BukkitContrib Alpha 0.1.7 [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Afforess, May 21, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Afforess

    BukkitContrib is superseded by Spout, the new Bukkit/Client framework.
     
  2. Offline

    RGadelha

    Is MineDJ broken after BukkitContrib SMP/SSP update?
    Edit:
    No, I think MineDJ broke itself!
     
  3. Offline

    Afforess

    A bit. Mostly from exhaustion.
    No, sorry if I was not clear - I just meant that your position is unenviable.
    Um - what's the difference, lol?

    1.) Feel free to look at SimpleAppearanceManager.java and point out any mistakes, it's what controls the appearance. I believe setGlobalSkin looks okay, but I could be mistaken...

    3.) Hmm, I'll look into it further.
    4.) Yep. I'm planning on doing some trickery with the login packet so you know immediately onPlayerJoin.
    5.) No, I decided against that. A player can just rename it, giving a false impression.

    Ask the author - I did not break any API.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  4. Offline

    RGadelha

    I've edited my post, I think MineDJ broke itself!
     
  5. Offline

    Wulfspider

    I understand completely. Don't kill yourself over it though!

    Well, hopefully we'll get things worked out. It's all been a learning experience for both Contex and I and hopefully I will be getting more involved in the actually coding down the road once I am able to.

    I'm just saying that it works fine without the SP mod. We've trying to figure out a fix though.
     
  6. Offline

    alfskan

  7. Offline

    alta189

  8. Offline

    DiddiZ

    Figured out a better way then including Contrib in next LB release: Auto download the current version :D

    Some other devs may could want to include it also, idk, so I just drop it here:
    Code:
    public void onEnable() {
        log = getServer().getLogger();
        final PluginManager pm = getServer().getPluginManager();
        if (pm.getPlugin("BukkitContrib") == null)
            try {
                download(log, new URL("http://bit.ly/autoupdateBukkitContrib"), new File("plugins/BukkitContrib.jar"));
                pm.loadPlugin(new File("plugins/BukkitContrib.jar"));
                pm.enablePlugin(pm.getPlugin("BukkitContrib"));
            } catch (final Exception ex) {
                log.warning("[LogBlock] Failed to install BukkitContrib, you may have to restart your server or install it manually.");
            }
    }
    
    public static void download(Logger log, URL url, File file) throws IOException {
        if (!file.getParentFile().exists())
            file.getParentFile().mkdir();
        if (file.exists())
            file.delete();
        file.createNewFile();
        final int size = url.openConnection().getContentLength();
        log.info("Downloading " + file.getName() + " (" + size / 1024 + "kb) ...");
        final InputStream in = url.openStream();
        final OutputStream out = new BufferedOutputStream(new FileOutputStream(file));
        final byte[] buffer = new byte[1024];
        int len, downloaded = 0, msgs = 0;
        final long start = System.currentTimeMillis();
        while ((len = in.read(buffer)) >= 0) {
            out.write(buffer, 0, len);
            downloaded += len;
            if ((int)((System.currentTimeMillis() - start) / 500) > msgs) {
                log.info((int)((double)downloaded / (double)size * 100d) + "%");
                msgs++;
            }
        }
        in.close();
        out.close();
        log.info("Download finished");
    }
    
     
  9. Offline

    KiloWhiskey

    @Afforess Is there any way to make it possible to see and modify users's inventories while they are offline?
     
  10. If you just want to *see* and you don't need a plugin, you can use INVedit program and look into <worldname>/players/ folder.

    Also, if INVedit has it's source public, you can look into it to see how it reads those files and you can make a plugin for that :p you don't need bukkitcontrib for it since inventories are server-side.
     
  11. Offline

    RGadelha

    PlayerEditor is working for me but I didn't test the cape yet.
    Edit:
    Wait, I'm using 0.9.0, I'm gonna test 0.9.1...
    Edit2:
    No errors in console but it's not working, back to 0.9.0 :(
    Edit3:
    0.9.1 is not loading :confused:
    Edit4:
    My fault, I've just downloaded and forgot to change the extension from zip to rar. NOOB!
    It's working :)
     
  12. Offline

    Afforess

    Oh, Nice! I will link to this in the OP.

    Cool idea, I will see what I can do.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
    DiddiZ likes this.
  13. Offline

    Nightgunner5

  14. Offline

    FrostyWolf

    Zan's Minimap no longer works with your client mod. I know you where supporting it before, did you decide not to now?
     
  15. Offline

    Afforess

    Should still work, assuming you install it before BC.
     
  16. Offline

    FrostyWolf

    I'm using the latest zan mini map mod. I install it first, it works fine, after I apply bukkitcontrib on top of it, the minimap no longer shows up in game, nor do [Z] or [M] do anything. He just updated for 1.7.3, maybe thats it?
     
  17. Offline

    paully104

    IF YOU HAVE THE ISSUE OF BUKKIT CONTRIB IS NOT INSTALLED FOR BCMUSIC
    • Uninstall DefaultCommands
     
  18. Offline

    alfskan

    ok.

    I posted it playereditor`s thread also.

    Doesnt work means, all of player editor`s function doesnt work.

    It means bukkitcontrib conflicts with mcpatcher.

    player editor has no prob.

    cause it works when I installed only bukkitcontrib sp mod.
     
  19. Offline

    morizuki

    can this support the Chat Plugins like iChat? cause when I type and enter.. and tried to look up it(pressing up).. it won't show up..
     
  20. Offline

    FrostyWolf

    To elebarate on this:
    I am now fairly certain the newest version of the mini map mod is whats causing this. I have tried it on 3 computers, the mini map mod works on all three of them, but then when I copy into the minecraft.jar, BC works fine, but no more mini map.
     
  21. Offline

    John309

    Is it already compatible with MCPatcher? Always seem to glitch here? How about other mods? When I install some mod(such as Zan's Minimap or TooManyItems) after this it just doesn't work correctly...
     
  22. Offline

    Afforess

    BukkitContrib is incompatible with TMI.

    In the next release, the HD Texture fix from MCPatcher will be built in.
     
  23. Offline

    oJawsho

    Kind of fuzzy when using this... but, how exactly do i get the.. play custom music one to go on my server.
    I took a look at it... but had no idea how to add it and what not.

    I did download the bukkkitcontrib to my paid server, and uploaded the .jar
    Could you maybe help me a bit more with getting the rest done?
    I'd greatly appreciate it.
     
  24. Offline

    banana_poop

    @Afforess Really REALLY COOL, this will be Epic just a few notes

    - Could u add an API where the server can find out weather the player has bukkitcontribclient installed (Could be usefull for multi world servers with a speacil world that uses this, however i won't need it just someone else might)

    - Now something i really need would u make it HIGHLY recomned that plugin devoplers put BukkitContrib in plugin title, or just compile a list of all known BukkitContrib Plugins???

    Thanks ill be watching this thread and looking into it :)
     
  25. Offline

    Afforess

    You need a separate plugin - Bukkitcontrib is an API, not a mod.
     
  26. Offline

    MiracleM4n

    Me love you long time for this Afforess..Just sayin
     
  27. Offline

    Afforess

    Thanks - there already is a way for other plugin to detect players with the client installed.

    I'll compile a list of plugins tomorrow.

    A note to people looking for the GUI API. It's lagging - mainly because I hit a serious of snags with Textures. I discovered Notch has no built in way to handle non-standard, not-inside-of-texture-pack texture files. I had to go and write my entire solution for it, along with testing, management, etc. (This is also the reason setSun & setMoon texture URL's do not work).

    Good news, I integrated the HD Texture mod into BukkitContrib client, so HD textures will work out of the box.
     
  28. Offline

    Sniper3

    Awesome job Afforess! This is something Notch should've done ages ago!

    I love that you have the HD fix built right in! Just need to get Zan's minimap added or working and my .jar will be complete!
     
  29. Offline

    alta189

    BukkitContrib is an API that developers use in their plugins, it doesn't do any of functions above, but allows other plugins to hook into it and access these functions. An example is my plugin, Player Editor, which uses BukkitContrib to apply Skins, Capes, and Titles.
     
  30. Offline

    blah900

    ? The set moon and set sun texture URL's seem to work fine for me. I use photobucket to host it, unless you mean local files.
     
  31. Offline

    alta189

    Good luck :/ Let me know if I can help ;)
     
Thread Status:
Not open for further replies.

Share This Page