[MECH] SPITEMS V1.3.3 Drop Items and Blocks w/ Spout [1185]

Discussion in 'Inactive/Unsupported Plugins' started by Polyurethan, Aug 18, 2011.

  1. Offline

    Polyurethan

    Drop Items from popup-window to inventory.
    Download: SPITEMS_v1.3.3
    Version: 1.3.3
    [​IMG]


    Requirements:
    • Spout and Spoutcraft - Required both to launch the plugin.
    • Tested with:
      RecommenedBuild #381 Spout
      RecommenedBuild #449 Spoutcraft
      RecommenedBuild #151 Spoutcraft Launcher
    • Optional:
      • iConomy 5.01 Link
      • PermissionEx v1.14 Link
    Features:
    • iConomy Support (5.0.1)
    • Permission support (PermissionEx v1.14)
    • Drop-Multiplikator : x1 x32 x64 (changeable via button).
    • Change Items in :
      Adminitemlist.yml Operatoritemlist.yml Memberitemlist.yml Guestitemlist.yml
      to add or remove Items from Popup. use: true/false
    • Change key for Popup (Standard: U)
    Permissions:

    Operator"ops.txt" used if no Permission-system installed.

    Code:
    Action:                                        Permission Node:
    Open  Adminitemlist.yml                        spitems.admin
    Open Operateritemlist.yml                      spitems.operator
    Open Memberitemlist.yml                        spitems.member
    Open Guestitemlist.yml                         spitems.guest
    
    Change Button for Menu:

    You can change it in "config.yml". See List:
    Show Spoiler

    KEY_0 to KEY_9
    KEY_A to KEY_Z
    KEY_F1 to KEY_F16
    KEY_ESCAPE
    KEY_MINUS
    KEY_EQUALS
    KEY_BACK
    KEY_TAB
    KEY_LBRACKET
    KEY_RBRACKET
    KEY_RETURN
    KEY_LCONTROL
    KEY_RCONTROL
    KEY_SEMICOLON
    KEY_APOSTROPHE
    KEY_GRAVE
    KEY_LSHIFT
    KEY_RSHIFT
    KEY_BACKSLASH
    KEY_COMMA
    KEY_PERIOD
    KEY_SLASH
    KEY_MULTIPLY
    KEY_LMENU
    KEY_SPACE
    KEY_CAPITAL
    KEY_NUMLOCK
    KEY_SCROLL
    KEY_NUMPAD0 to KEY_NUMPAD9
    KEY_SUBTRACT
    KEY_ADD
    KEY_DECIMAL
    KEY_KANA
    KEY_CONVERT
    KEY_NOCONVERT
    KEY_YEN
    KEY_NUMPADEQUALS
    KEY_CIRCUMFLEX
    KEY_AT
    KEY_COLON
    KEY_UNDERLINE
    KEY_KANJI
    KEY_STOP
    KEY_AX
    KEY_NUMPADENTER
    KEY_NUMPADCOMMA
    KEY_DIVIDE
    KEY_SYSRQ
    KEY_RMENU
    KEY_PAUSE
    KEY_HOME
    KEY_UP
    KEY_PRIOR
    KEY_LEFT
    KEY_RIGHT
    KEY_END
    KEY_DOWN
    KEY_NEXT
    KEY_INSERT
    KEY_DELETE
    KEY_LMETA
    KEY_LWIN
    KEY_RMETA
    KEY_RWIN


    Changes in YML. :
    Show Spoiler

    Code:
    blocks:                                         <- DO NOT CHANGE:    (Data for Button : Blocks )
        RED_WOOL:                         <-Change name  (for Tooltip)
            id: 35                                    <-Change ID of item    35=WOOL
            cost: 20                                <-For Economy support in future
            itemdata: 14                        <- RED Wool Data
            use:  true                             <-use:  true  (show in spitems)  , use: false   (dont show)
    ...
    items:                                         <- DO NOT CHANGE:      (Data for Button : Items )
        TORCH:                                 <-Name for tooltip
            id: 50                                  <-ID of item  Torch
            cost: 20                               <-for future support
            itemdata: none                   <- No additional BlockData (Colors,Dyes...) MUST BE     none
            use:  false                            <-Dont show in spitems
    ...
    
    Aditional block data ONLY if avaiable otherwise give a NullPointerExeption-Error.
    ALL Blocks are in all yml. files.  Turn   ON/OFF      with     use: true  /  use: false
    



    Known Issues:


    TODO:
    • Optimize code
    Changes:

    Show Spoiler

    v1.3.3
    • If prize "0" (zero), prize does not display on tooltip.
    • Updated Itemlists.yml (Adminitemlist.yml , Operatoritemlist.yml , .......) to 1.8.1
      Thx @roellie88
    v1.3.2
    • Fixed Itemlists.yml (Adminitemlist.yml , Operatoritemlist.yml , .......)
      • WOOL WHITE:
        id: 35
        cost: 0
        itemdata: 0
        use: true
      • STEP STONE:
        id: 44
        cost: 0
        itemdata: 0
        use: true
      • STEP SANDSTONE:
        id: 44
        cost: 0
        itemdata: 1
        use: true
      • STEP WOOD:
        id: 44
        cost: 0
        itemdata: 2
        use: true
      • STEP COBBLESTONE:
        id: 44
        cost: 0
        itemdata: 3
        use: true
      • DYE INK SAC:
        id: 351
        cost: 0
        itemdata: 0
        use: true


        Warning copy/paste : the spacings must be the same as in the yml.
    v1.3.1

    • Fixed Icon size
    v.1.3


    • UI-design (thx to Sh4dow)
    • iConomy support
    • Stretch-Bug fixed
    • if iConomy detected
      • remove "Clear Inventory"-Button
      • add Money Label
    • Adminitemlist have cost: 0 on all Items
    v.1.2.2


    • Fixed Chat-SPITEMS Bug
    v.1.2.1



    • Fixed OP-Bug
    v.1.2



    • Completely new coded.
    • Added Permissions.
    • Added :
      "Adminitemlist.yml" "Operatoritemlist.yml" "Memberitemlist.yml" "Guestitemlist.yml"
    • Fillup Stacks before create new one.
    v.1.1



    • Changeable Items via "Itemlist.txt" (auto-generated if not exist)
    • OnlyOP : true/false Option added in config.yml
    • Pressing PopUp-Key will close Popupwindow (Standard: U)
    • Compare UUID from created popup against event.activepopup.uuid
    v.1.0



    • Release
     
  2. Offline

    Cosmic Break

    So its like TooManyItems, without the client mod?
     
  3. Offline

    Polyurethan

    You need Spout and Spoutcraft client mod, than it works like TooManyItems.
     
  4. Offline

    Taranis01

    thats great :) they said TooManyItems would break the Spoutclient (even it works without any error, i dont know...) but Spitems is a good solution.
    Could you make it more like TooManyItems so you can choose the items when the iventory is open? And maybe also a trash feature (moving items from inventory into it to delete the items).
     
    TyanColte and r3kUBetyHP27 like this.
  5. Offline

    Cosmic Break

    position of the tooltips definitely are wrong, is it possible to brighten many of the icons.
     
  6. Offline

    DrakeBD

    yes tooltips are incorrect but other than that wicked plugin using this on my server and the admins love it saves us from constantly installing toomanyitems and modding files THANKS :) keep up the good work
     
  7. Offline

    Kane

    This is pretty bad ass. I would have no use for this besides maybe test server. But I must say you done a wonderful job and its another birth of a spout plugin!

    Also add change notes and such. Check other plugins for examples since you will not have this approved without the required format.
     
  8. Offline

    Norex

    Nice one :). For me it works fine, dont need the combination with the inventory. I think it's better to have all items at a glance. Thanks for the good Work!
     
  9. Offline

    Taranis01

    yeah, thats true. My problem is the extra key that needs assigned to Spitems/that needs to be pressed.
    On the inventory screen you could use both of the free space on the left and on the right for sure.
     
  10. Offline

    AgentKid

    Amazing. Works great (even though I've memorized all the item codes), but could you add Permissions Support? I'd like to be able to use this on my Creative world for everyone, but can't risk opting them all. If not, could you simply add a 'use-op=true/false' option and 'enabled-worlds: world, world_nether' option, as that would function just as well (for my purposes at least).

    EDIT: Added to the Spout Plugin List
     
    r3kUBetyHP27 likes this.
  11. Offline

    EMOberger

    Even though toomanyitems works i suppose this is useful.
     
  12. Offline

    zipsi

    for some reason it doesnt work for me.. keypressing simply does nothing, yes server has spout and i'm running spoutcraft
     
  13. Offline

    midget_3111

    I can't wait for this plugin to have Permissions!
     
  14. Offline

    crysis992

    Found a bug:

    If a non-op press U or just use the "u" while chatting, example he wanna type "you" in the chatbox, he get spammed with "You are not OP".
    Maybe disable completly the message if someone isnt Operator.
     
  15. Offline

    EnlightendDead

    Toomanyitems doesnt work with Spoutcraft client.
     
  16. Offline

    EMOberger

    Really? wow i wonder what that is than 0.o
    Show Spoiler

    [​IMG]

    -.- if it didn't work why would i say it did?
     
  17. Offline

    EspoDev

    Source code?
     
  18. Offline

    EnlightendDead

    Devs says client mods don't work with it. I didn't know :p So dont get mad at me.
     
  19. Offline

    EMOberger

    The devs say simple answer=no to keep people from asking stupid questions. and i'm not mad sorry if it came off that way.
     
  20. Offline

    L5D

    Be careful, you compare the texts to detect button press. If someone makes an interface with buttons with the same texts, conflict ....

    You have to store instances of widgets for comparison.
     
  21. Offline

    Taranis01

    to be exact they said about TooManyItems, that it maybe works but it breaks some parts of Spout although
     
  22. Offline

    sddddgjd

    That is you breaking spout...when you install toomanyitems,you break a (small) part of spout!
     
  23. Offline

    MindEngineer

    Nice job...testing now!

    Looking forward to permission support. Could you please add text labels to all items?
     
  24. Offline

    dark_hunter

    The Devs of Spout have said like a millon times not to mod the Spoutcraft launcher.
     
  25. Offline

    rafradek

    My suggestions:

    -Remove all "unused blocks" of type: BED_BLOCK IRONDOOR_BLOCK
    -When you click a block / object sort the items received
    -Left click received 1 block, Right 64, double left click 32
    -Pressing again the button closes the window.
     
  26. Offline

    superbomb17

    doesnt work with Spout 1.2.134
     
  27. Offline

    zipsi

    fix the tooltips, otherwise awesome!
     
  28. Offline

    RGadelha

    Second that and what about the spruce sapling , birch sapling, colored wools etc.? :rolleyes:
    Thank you for this great plug-in :D
     
  29. Offline

    EMOberger

    They do not. They say
    "Eventually, Spoutcraft will allow server plugins to add custom blocks/items/entities/vehicles to the game, without users having to manipulate or corrupt core game files. After users have installed the initial Spoutcraft modification, no future changes will be needed, since everything will be done, per-server. Players will be able to jump from a highly modded server with hundreds of new blocks and a custom texture pack to a vanilla server without exiting the client, or changing the way they already use the game. Server admins will be able to add plugins that have diverse and much more advanced capabilities - including, but not limited to custom items, custom textures, custom blocks, custom entities/vehicles, etc.

    In the meantime, Spoutcraft will continue to break compatibility with existing client mods. This will mean that all client mods will eventually be incompatible with Spoutcraft."
    The only reason why they even have this on there OP is to keep people from asking stupid questions. your a developer, but yet you act as if you know nothing about minecraft's code or spouts code. So again, mods do work, it is just a little more complicated so the devs of spout say that ^ to avoid having to explain how to have client mods.

    Not if you do it right.

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

    dark_hunter

    Save yourself a headache and read the short answer. :)

    Of couse they do! I was there in the thread!

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

Share This Page