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

    (infected)

    I was going to say get screenshots but its already on the todo. Nice plugin, I want to see how it works.
     
  3. Offline

    Spice_king

    OK, I put one up, now to sleep. It's 11:23 PM here and I might be up early.
     
  4. Offline

    (infected)

    Wow I did not think it would do that... how did you learn to use the Spout API ?
    This is very groundbreaking in potential...[zombie]
     
  5. Offline

    Spice_king

    @alta189 is making a tutorial, I just stumbled my way across the Bukkit and Spout APIs. Javadocs are helpful.
     
  6. Offline

    alta189

    Working on the tutorial tomorrow :)
     
  7. Offline

    Spice_king

    And we have source code!
    Edit:
    Oh, also, do you mind my plugins name, or does it bother you?
    Edit2:
    Moved download to Github.
     
  8. Offline

    Tauryuu

    Can you have an option to disable the rank thing?
     
  9. Offline

    alta189

    Don't mind the name at all
     
  10. yes BOSE suport is needed as thats what i use on my server keep up the good work looking forward to using this plugin
     
  11. Offline

    Spice_king

    It's in the todo list.
    Thanks, was not sure if you guys would get mad about it.
    I'm working on that today, if nothing gets in my way. Worst case, I grab my jailbroken iPod Touch, clone my code, and edit off of it.

    Found an interesting crash, happens all the time with a non-SpoutCraft client and with a SpoutCraft client with the right timing. Note to all, never assume at anytime that all clients are SpoutCraft and authed. v1.0.1 will fix that crash.

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

    PixelEather

    Dont work with Jobs,
    The cash indicator dont change and when we deco, reco, the cash indicator isnt here
     
  13. Offline

    Spice_king

    Are you using BOSE? Are you using the SpoutCraft launcher for your client?
    Edit: You can now download v1.0.1.

    Update to v1.0.1 of SpoutWallet.
    Edit: It was a two line fix, should stop this error.

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

    Cosmic Break

    why dont you have iconomy support?
     
  15. Offline

    Spice_king

    iConomy5 is done, iCo4 and iCo6 are big code changes, and I'm adding config stuff, then adding the other econs.
     
  16. Offline

    Cosmic Break

    you need to change your title to reflect v1.01
     
  17. Offline

    Spice_king

    Opps! Thanks for pointing that out.

    Now added in v1.1.0, just have to build, test, and upload!
    More econs are coming in v1.2.0, BOSE support is a high priority for me, which looks like I can do it by today.

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

    olloth

    Very nice. Now comes the hard part with spout. We need to come up with a way to move things around on the screen so that our plugins don't overlap. (and HUD plugins in general)
     
  19. Offline

    Spice_king

    I added a config option in v1.1.0 (release as soon as I fix my code)
     
  20. Offline

    crysis992

    Maybe here is a suggestion for another plugin:

    A automatic message plugin:
    instead of this money message it display in a choosen time interval a random message from the config for 5-10 seconds in a color.
    Or maybe in the middle of the screen.
     
  21. Offline

    Spice_king

    It feels almost useless, then I thought server adverts, then I thought, just put it in chat.
    Middle of screen is a no-no in my eyes.
     
  22. Offline

    olloth

    Are you going to put x, y values in the config and just have it set global for the server? I guess that can work for now
     
  23. Offline

    Spice_king

    Just y for now, Spout is making some location changes involving scaling with the client screen size.
     
  24. Offline

    olloth

    Alright, I'll do the same with Seasons, in case people install these side by side they can rearrange them however they like. Mine is in the same corner.
     
  25. Offline

    Shinfo

    A customizable display via yml or something would be great. As it stands, I feel there is too much text on the screen.

    I'd much prefer something like this:

    Money: $999999
    Rank: #999999
     
  26. Offline

    dzekins

    wow this is actually pritty cool plugin. It would be cool if this would work with Quest plugins or something like that that shows additional information. Pirtty inpresive
     
  27. Offline

    Spice_king

    Link? I just might make a new plugin to do that.

    You can now do that with v1.1.0

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

    Styx Reborn

    I can't believe how unoriginal these Spout-plugins have gone with names.
     
  29. Offline

    Spice_king

    It was 11 pm when I posted this plugin, never had a good name for it.
     
  30. Offline

    dzekins

Share This Page