Inactive [ECON] SpoutWallet v1.5 - A display for your wallet [1.2.5-R5, 1.2.5-R4]

Discussion in 'Inactive/Unsupported Plugins' started by Spice_king, Aug 5, 2011.

  1. Offline

    Spice_king

    SpoutWallet - A display for your wallet:


    Please go to the BukkitDev page for the latest downloads and change log.

    Adds a line of text on screen that shows how full your wallet is. Also displays your rank. You can also toggle the display with /wallet and can use PermissionsBukkit to change who can see and who can toggle the display (P.S. Don't give toggle without use, because that's just mean!;))

    This is my first "sip" of Java from the Bukkit, and it took me a bit to get it to work.
    The plugin was a request from my brother who wanted to have something on his screen that shows his balance.

    Features:
    • Uses iConony4/5/6, BOSEconomy, EssentialsEco to find the amount of cash you are holding.
    • Shows your ranking only in iConomy5. Revoved as of V1.4.4
    • Can ignore EssentialsEco, in the event you use it for just commands.
    Requirements:
    Download SpoutWallet

    Source Code

    Sample config:
    Code:
    UpdateSpeed: 20
    yOffset: 3
    xOffset: 3
    Funds: You have %s with you.
    location: TOP_RIGHT
    color:
      rank:
        red: 255
        blue: 255
        green: 255
      funds:
        red: 255
        blue: 255
        green: 255
    
    Permissions:
    Code:
    SpoutWallet.*: Users can see and toggle the display
            Default: All players
            Grants:
                SpoutWallet.Use: true
                SpoutWallet.Toggle: true
    SpoutWallet.Use: Users can see the display
            Default: All players
    SpoutWallet.Toggle: Users can toggle the display
            Default: All players
    
    Screenshot:
    [​IMG]


    Todo list
    • Add BOSE and EssentialsEco support
    • Add config
    • Add a toggle for the display /wallet Suggested by @darkcloud784 here done in v1.4.0
    Stuff that Can't be Done Yet (Spout API change needed)

    • Add option to only show when inventory screen is open. Requested by @enenra here
    • Lock to other corners and play nice with different screen sizes. Requested by @Pawned here Done in v1.4.0
    Changelog:

    Version 1.4.4.1
    • Fixed config saving bug that was introduced by 1.4.4
    Version 1.4.4
    • Moved to Vault from Register
    • Updates for deprecated Bukkit APIs.
    • Make safe for Bukkit 1.1-R5 ;)
    More Changelog (open)

    Version 1.4.3.1
    • Fixed warnings in log (Quick fix warning: Will mess up XX_CENTER and XX_RIGHT location options, fix for this is being worked on)
    Version 1.4.3
    • Removes Widgets on disable
    Version 1.4.2
    • Added support for iConomy 6
    Version 1.4.1
    • GPLed my code
    • Fixed yOffset for Funds text
    • Added enum catches
    Version 1.4.0
    • Fixed on Spout 1.0.5 builds
    • Added Permissions (Bukkit)
    • Added colors
    • Can now use a corner other than the top left!
    • Toggle it!
    Version 1.3.1
    • Added an option to ignore Essentials, in case you use it and iConomy or BOSEcon at the same time
    • Fixed a disable error, pointed out by @Moe041991
    Version 1.3.0
    • Added support for EssentialsEcon and iConomy4 via Register
    Version 1.2.0
    • Added BOSEconomy!
    Version 1.1.0
    • Added config
    • Adds the ability to change the default messages
    • Can hide rank message
    • Change how fast it updates
    • Move the message's location on screen (up or down)
    Version 1.0.1
    • Fixed crash with non-authed or non-SpoutCraft client
    Version 1.0.0
    • First Version


    This plugin is now GPLv3!
    [​IMG]
     
    Taranis01, olimoli123 and Koutacles like this.
  2. Offline

    Spice_king

    I will point out that I don't officially support 1.0.2 Spout builds yet, as there are a bunch of GUI changes I have to look into. 1.0.2 are dev builds that should not be used on production servers. And as far as I've seen 1.0.1 SpoutCraft and 1.0.2 Spout don't work together.
     
  3. Offline

    Forecaster

    Additionally the server plugin was 1.0.1

    It was only the launcher that was updated to a dev build.
     
  4. Offline

    Spice_king

    That will do it, like I said 1.0.2 and 1.0.1 don't mix.
     
  5. Offline

    lipe123

    The problem is spout 1.01 supports none of the bandwidth decreasing features such as world caching and packet compression. I have absolutely no problems running the spout 1.01 server and 1.02 clients atm, allthough I am going to update the server to 1.02 also as soon as I get a break. My main reason for spout is to get the craftproxy features built directly into the clients so I dont get stuck with a 5-6Gb upload/DAY from just 10 ppl playing on the server. Vanially MC has some f-ing ridiculous bandwidth issues (sweden obv never heard of caps).

    Anyways Here's hoping spout will get a stable release with the good features soon so the rest of the plugins can start catching up (and then CB will update and break it all again :p)
     
  6. Offline

    Spice_king

    Well, the EU does have some sweet Internet connections for cheap. I live in a small town, so I'm getting shafted inregards to Internet. ($57 CAD for up to 7.5 Mbps down, up to 2 Mbps upstream, and a 60GB cap, http://www.speedtest.net/iphone/138000100.png just got this for a speed test on my iPod) I would other wise never pay someone to host my game servers that I want. I'll look into 1.0.2 tomorrow as I need sleep, its 12:25 AM here.
     
  7. Offline

    lipe123

    dont be in too much of a rush, the 1.0.2 serverside plugin totally doesnt work and causes my client to crash 40sec after joining and not able to join after :(
     
  8. Offline

    zipsi

    Colors support? Excellent plugin btw
     
  9. Offline

    gdude2002

    Doesn't work with the update to Spout pushed today, looking forward to an update! :3
     
  10. Offline

    Forecaster

    The spout client is now 1.0.2.0.141 non-dev
    Which has rendered this plugin non-functional unfortunately.

    Also looking forward to the inevitable update! : D
     
  11. Offline

    Spice_king

    Been having some Java and PC issues, so I'll do a mass reply.
    Will look into! In what way do you want the colors, one option for all or one for each line?
    I did have it working under an earlier dev setup, just make sure the server is up to date.
    Looks like I have to. :p
    Edit: Also I'll look into testing the new RB: 1060
     
  12. Offline

    lipe123

    Cb 1060 spout 1.0.2 -works great thanks!
     
  13. Offline

    thepackett

    could you add more places where you can put the display? like the top right corner? or the middle? etc.
     
  14. Offline

    Spice_king

    @SpoutDev just released spout 1.0.2 yesterday, I'll see what can be done.
     
  15. Offline

    thepackett

    ok, thanks :D
     
  16. Offline

    TOAST7312

    Hey @Spice_king, would it be possible to get support for MultiCurrency on this? I was thinking of switching over, but not a lot of mainstream plugins using economies seem to support it. Dunno why; there's info on how to hook into it in the OP.
     
  17. Offline

    Spice_king

    I have tried to do so with the register project, however I never got MultiCurrency to work. I'll give it another shot, might have been a config issue.
     
  18. Offline

    TOAST7312

    Alright, I appreciate it. Beyond this one I haven't been able to find an effective multiple currency economy system, so it would be good to get plugins in on this one so it has more options. Then maybe other econ plugins will try to incorporate multi-currency too.
     
  19. Offline

    Spice_king

    I would like to know how you would like it to work. You you like it to show the currency with the highest amount, try to show a few currencies, or just one which you can swap between? I would add show all, but some servers in theory may have 10+ and that would not look so good.
     
  20. Offline

    TOAST7312

    Well, this is a Spout plugin is it not? You could have a person, upon login, select which currency they want displayed; though I have no idea how that would work. I would still make show all an option so that an individual can choose what they want shown, just don't make it the default for the config. The default for the config should be the currency that the person currently has the highest of with the option(via command, gui, or what-have-you) to change out currency, view more/less/all, etc..
     
  21. Offline

    Spice_king

    Thanks, you got my gears grinding. Now to make it work. I'm multitasking between this conversation and a job application, so this might take a bit of time.
     
  22. Offline

    TOAST7312

    Oh, well good luck with your job hunt! I also appreciate, at the very least, the consideration of my ideas. I enjoy being able to contribute despite the fact that I'm incapable of programming myself.
     
  23. Offline

    Spice_king

    Looks like there is a bug in Register, involving MultiCurrency. @Acrobot has made a patch and submitted a issue for in here https://github.com/iConomy/Register/pull/7 I'm going to see if that fixes my issues on finding MultiCurrency via Register.
     
  24. Offline

    TOAST7312

    Alright, cool. I don't exactly know what that means, but cool! :# xD
     
  25. Offline

    Spice_king

    It just means the code I borrow for economy hooking needs a fix. And I can't fix it by the looks of things. I'm trying to because I want to support it, but Register is just not picking it up. :( Funny thing is, MultiCurrency is close to what I want for an economy system, but lacks some features that the older economy systems have.
     
  26. Offline

    TOAST7312

    Have you tried getting in touch with the author to try and sort it out?
     
  27. Offline

    lipe123

    Big mem leak in the current Spout RB, have to use dev to play and I get spammed by:

    Received invalid widget: Label v: 4 current v: 5
    Received invalid widget: Label v: 4 current v: 5
    X100000

    Think you could update it a lil please?
     
  28. Offline

    Spice_king

    I'm not to sure what that all means, can I get the build numbers for your copies of Spout and SpoutCraft? And also where you got that? Chat, client log, server? What it looks like is that there is a different version of Spout and SpoutCraft.

    Edit: After waking up for the day and having breakfast, I dug into the changelog for the SpoutCraft repo and found an API breakage in there. Please stick to the recommended builds for now, please. Spout 1.0.2 has one.

    FYI: By the look of things, fixing this for you will break it for everyone on the recommended.
     
  29. Offline

    lipe123

    The RB of spout is 100% unusable and they promised a fix in 24h.. but its already past that. It has a massive memory leak that uses over 2gb ram in 30mins and then just crashes, depending on how much free ram your system has.

    The error is from the spout client console, when you run spout with a bat file. Dont worry about updating it immediately, just thought you should know the current RB is unusable for many and the dev is the only "stable" version for me anyways. I'm using 1.0.2.174 client and the server is RB.
    https://github.com/SpoutDev/Spout/issues/314
     
  30. Offline

    RainRain

    Hiyo, i love this plugin, however the HUD text conflicts with other text (Ambient season, MCmmo), so i'm requesting that alike Ambient seasons, the ability to be able to modify the Y coordinates of the text to be lower.

    Thanks :D
     
  31. Offline

    Spice_king

    There is a config option in the config labeled height that will change the y coordinate.
     

Share This Page