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

    PassivePicasso

    I actually queried CelticMinstrel about this and he informed me I was mistaken, so I must have misunderstood something he said at some point unfortunately. However, any way to differentiate ItemStacks so that two items of the same type could be used for different things would be excellent.
    However, this mod comes with a client portion, so could we allow for that to be changed using both the server and client side to accomplish this?

    Concerning the onInventoryCraft event, can this be used to alter the outcome of a given recipe? (this kinda goes along with the functionality I requested)
     
  3. Offline

    Afforess

    Item stacks (and all items) are differentiaed by their type. That's the point. The type is what makes them unique. Custom (new) items is planned, but a long ways off.

    Inventory events do not require the optional client mod. For reference, I've added a @ClientOnly annotation to functions that require the client mod.
    Yes.
     
  4. Offline

    LeGenDaryX

    Im wondering because i couldn't figure it out.. How can i use skins on the server everyone can see?
    Does this also need the clientmod?
     
  5. Offline

    Afforess

    Yes. BukkitContrib will not change or allow you to change skins on your own. You need BukkitContrib and another plugin that uses it - like CapeMe.
     
  6. Offline

    Birdman33573

    Nub question but does this let you have single player mods on your server? such as mo creatures and mo freaks and weirdos? or do they have to be compatible? or does it not do that anyways?
     
  7. Offline

    Afforess

    It doesn't. Custom entities/items/blocks is a long term plan, but nothing ATM.
     
    Birdman33573 likes this.
  8. Offline

    Sabinno

    A question: I've been wanting to create a private portal-esque plugin for my server, but I need nether portal blocks to be able to face downward. I don't suppose this is possible in the Bukkit API. Is it possible at all in Minecraft? I'd certainly love to have downward-facing portal blocks in the BukkitContrib API(if possible), as they're are the only realistic blocks to make portals out of :/
    Thanks in advance;
    -Sabinno-
     
  9. Offline

    alta189

    I dont think so... You would have to create a new block to accomplish that.
     
  10. Offline

    Kainzo

  11. Offline

    narrowtux

  12. Offline

    Afforess

    No idea, but looks like an issue in heroes. I'd let Red or Rigby know. IMHO, I'd add a bunch of debug statements that fire if anything is null in there, since unknown source is kinda useless.
     
  13. Offline

    Kainzo

    We found some possible exploits with crafting EXP nodes... however, we'll be able to work them out on the Heroes side of it.
     
  14. Offline

    ReddVette

    i downloaded the Client mod, and got a document that is NOT a zip. is this because i am using a mac?

    any other sources to download from?
     
  15. Offline

    TPO

    If i'm right, using this it is possible to create a plugin that binds commands to keys?
     
  16. Offline

    PassivePicasso

    Custom items is planned for BukkitContrib? To what degree is this planned, are you talking server side served graphics, with server side handled systems kind of thing, or is this more along the lines of taking a Sword, and extending it to provide a different tip, and additional fields?
     
  17. Offline

    Archelaus

    Code:
           if(event.getSlotType() == InventorySlotType.RESULT) {
                if(event.getCursor() != null) {
                    plugin.log(Level.INFO, event.getCursor().getType().toString());
                    return;
                }
    
                ItemStack result = event.getItem();
                if(plugin.getConfigManager().getProperties().craftingExp.containsKey(result.getType())) {
                    Hero hero = plugin.getHeroManager().getHero(player);
                    if(hero.getHeroClass().getExperienceSources().contains(ExperienceType.CRAFTING)) {
                        hero.gainExp(plugin.getConfigManager().getProperties().craftingExp.get(result.getType()), ExperienceType.CRAFTING);
                        return;
                    }
                }
            }

    This is the code. I have nothing in my hand when crafting but upon crafting, it returns the item name I have just crafted.
    This is in a onInventoryClicked event by the way. We can't use onInventoryCraft due to it not returning the cursor.
     
  18. Offline

    Kainzo

    This is preventing us from allowing Crafting EXP sources in Heroes - because of the obvious dupe/etc
     
  19. Offline

    narrowtux

    Try 7zX or The Unarchiver from the Mac App Store.
     
  20. Offline

    Afforess

    Fully featured interface for client mods to add totally new items, entities, etc. The specifics are lacking, because, they haven't been decided on.

    What I do know:
    Anything a SP mod can do, a Bukkit plugin will be able to, too
    After clients install BukkitContrib, all the SP mods needed for each server will auto download and start up, sandboxed. They will not have read/write permission, except in a small storage area.

    The goal is for it to be secure, and dead simple for users & developers. I would not count on anything released on this end until Fall/Winter.

    That is because by the time the click has been registered, the item has been crafted. You need to deal with the InventoryCraftEvent.

    Okay. Next time, please let me know from the beginning, I can add the cursor to the event. ;)

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

    Archelaus

    Alright. I know you'll hate me for this, but I'm pressed for time, could I get an estimate for a fix?
     
  22. Offline

    Afforess

  23. Offline

    alta189

    @Afforess could you add a way to get text from the players clipboard?
     
  24. Offline

    Afforess

    Good idea. I certainly can.
     
  25. Offline

    alta189

    Thanks :D
     
  26. Offline

    Afforess

    Updated the OP, should be much more clear. ;)
     
  27. Offline

    alta189

    One thing you might want to add, is a list of plugins that use BukkitContrib, because this thread gets asked often how do they use this to get a custom skin/cape/etc

    Just a thought ;)
     
  28. Offline

    Afforess

    Do you know of the plugins offhand? All I know are InvScanner, Capeme, LogBlock and Heroes...
     
  29. Offline

    alta189

    I can't think of any others... You could ask developers to message you about their plugins if they use BukkitContrib
     
  30. Offline

    Kane

    I'm confused @Afforess where is MinecartMania Support <3
     
  31. Offline

    alta189

    @Afforess .... I am getting this error when applying skins/capes....

    Code:
    java.lang.NullPointerException
            at org.bukkitcontrib.player.SimpleAppearanceManager.checkUrl(SimpleAppea
    ranceManager.java:289)
            at org.bukkitcontrib.player.SimpleAppearanceManager.setGlobalSkin(Simple
    AppearanceManager.java:26)
            at net.minedev.playereditor.BukkitContribHandler.setAll(BukkitContribHan
    dler.java:134)
            at net.minedev.playereditor.listeners.PEPlayerListener$1.run(PEPlayerLis
    tener.java:24)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:138)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:386)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
Thread Status:
Not open for further replies.

Share This Page