[INACTIVE][ECON] BOSEconomy v0.6.2 - Simple Server Economy [714]

Discussion in 'Inactive/Unsupported Plugins' started by Cosine, Feb 18, 2011.

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

    Cosine

    THIS THREAD IS NO LONGER ACTIVE.
    PLEASE DIRECT ALL POSTS TO THE NEW BOSECONOMY THREAD AT THIS LINK.

    BOSEconomy is a simple, lightweight economy plugin. Every player owns an amount of currency and can make simple payments between one another. Read below to see all of the available features.

    BOSEconomy stands for "Brotherhood of Slaughter Economy". The plugin was originally designed for our community's Minecraft server.

    Features:
    • Players own money and can make payments between one another. Just find somebody you want to pay, and use "/pay [player] [amount]".
    • Periodic wages can be configured to pay any amount of money at any desired interval, or to pay players based on their playtime. Players can be in any number of wage brackets; these brackets determine how much the player makes.
    • Bank accounts can serve as money pools between multiple players. Anybody can pay money to a bank account, but only members are able to withdraw from the account. Owners have the additional ability to add other owners or members to their bank account.
    • A top-5 listing and basic statistics can be used to see how wealthy the server is, and to encourage competition.
    • Several admin commands allow for the modification of player money and brackets from within Minecraft.
    • The properties file allows the server owner to decide what the currency is called, how often it's payed, and much more as listed below.
    • Several straightforward plugin hooks make it simple to interface with BOSEconomy.
    Supporting Plugins:

    • Hawox's uQuest - A simple, overly customizable quest system.
    • Codisimus's Turnstile - Create turnstiles to prevent players from entering certain locations without paying.
    • Codisimus's DungeonReward - Reward players with money for reaching a certain region of the world.
    • Codisimus's PhatLoots - Players can open linked chests and be rewarded with money.
    • Baptiste Pillot's RealShop - A very simple-to-use shop system to deal materials stored in chests.
    • Koanga's TradeMod - A simple plugin allowing players to trade items.
    • Fernferret's WolfPound - Allows users to buy wolves, or get them for free.
    • TZer0's Money2XP - Train your mcMMO skills using money.
    • Retsrif's Blacksmith - Lets you repair your tools with money.
    • Rcjrrjcr's BuyAbilities - Allows players to purchase abilities or permissions with money.
    • aPunch's Challenges - Admins can start server challenges for players to beat.
    • Acrobot's iConomyChestShop - Turn a chest into a shop by simply placing a sign over it.
    • Is your plugin not on this list? Send me a message and I'll add it in!
    Setup:

    1. Place BOSEconomy.jar in your plugins folder and run the server. BOSEconomy will generate the necessary files.
    2. Open plugins/BOSEconomy/BOSEconomy.properties and configure it as you see fit. The keys are explained below under 'File Information'.
    3. Enter 'reload' in the server console to update it with your changes. BOSEconomy should now be ready to go.
    Permissions:
    Show Spoiler


    There are multiple permission settings currently available to BOSEconomy.

    Op Permissions:
    When op-permissions is enabled, server ops automatically gain access to every BOSEconomy command. Non-op players inherit permissions from Phoenix Permissions.​

    Phoenix Permissions:
    When phoenix-permissions are enabled, BOSEconomy will attempt to use TheYeti's Permissions (Phoenix) plugin. The permissions to use in Phoenix are:​
    • BOSEconomy.common - For ordinary player commands such as payment.
    • BOSEconomy.admin.money - For directly altering player money.
    • BOSEconomy.admin.bracket - For manipulating player brackets.
    • BOSEconomy.admin.bank - For creating and managing bank account.
    • BOSEconomy.admin.reload - The "/econ reload" command. Generally useful only to server owners.
    Note that these permissions have no inheritance; players with the admin permissions must be explicitly given the common permissions as well.​

    Default Permissions:
    If the Phoenix plugin can't be located, permissions are handled as if phoenix-permissions is set to false. If op-permissions is the only enabled setting, all common players are given access to the common permissions and ops are given access to all commands. If no permissions settings are enabled, all players are given access to only the common permissions.​

    To quickly check your permission settings, you can enter '/econ help' to see the list of all commands you can use.


    Commands:
    Show Spoiler

    The following is a list of commands, with a * signifying a money command, a & for a bracket command, and a $ for a bank command (relevant for Phoenix permissions).
    • /econ
      Displays your money.
    • /econ income <page>
      Lists any income brackets that you reside in, shows how much each pays, shows your total wage, and shows the payment interval.
    • /econ pay [player] [amount]
      Pays another player the given amount of money. The amount must be positive, you must be able to afford it, and the other use must be online. This is also the command to pay money to a bank account. To do so, put a $ sign infront of the name of the bank you wish to deposit into. For example: "/econ pay $MyBank 200"
    • /econ stats
      Displays the total money, total players, average money, and average income of the server. Bank accounts and excluded brackets are not factored into statistics.
    • /econ top5
      Displays the top 5 wealthiest players.
    • /econ set [player] [amount]
      * Sets the amount of money owned by the given player. Money may be set to a negative value; players with negative money can't make payments.
    • /econ view [player]
      * Displays how much money the given player owns.
    • /econ add [player] [amount]
      * Adds money to the given player.
    • /econ sub [player] [amount]
      * Subtracts money from the given player.
    • /econ clear [player]
      * Sets the player's money to zero.
    • /econ reload
      Reloads all serverside files pertaining to the plugin. This includes the properties, users, money, lastPayment, brackets, and version files. This is needed to register changes to the files made during runtime.
    • /econ bracket view [player] <page>
      & Displays a list of all brackets the given player resides in, and how much they pay.
    • /econ bracket list <page>
      & Displays a list of all existing brackets, how much they pay, and how many people are in them. This should not be confused with the 'brackets view' command. This list will contain any fake brackets that players have been added to, but these ones are not actually saved to the brackets file.
    • /econ bracket add [player] [bracket]
      & Adds the given player to the given bracket. If the bracket doesn't exist, it is created with a value of 0. The new bracket is saved to the users file, but not to the brackets file.
    • /econ bracket remove [player] [bracket]
      & Removes the given player from the given bracket.
    • /econ bracket clear [player]
      & Removes the given player from all of their brackets.
    • /econ bank create [bank] <owner1> ...
      $ Creates a new bank account with any number of initial owners.
    • /econ bank remove [bank]
      $ Removes a bank account.
    • /econ bank list <page>
      $ Lists all existing bank accounts.
    • /econ bank view [bank]
      Displays how much money is in a bank account. Only members of a bank can view its balance.
    • /econ bank listmembers [bank] <page>
      Lists the owners and members of a bank account. Only members can use this for any particular bank.
    • /econ bank withdraw [bank] [amount]
      Withdraws money from a bank. Only owners and members of the bank can use this.
    • /econ bank addowner [bank] [owner]
      Adds an owner to a bank. Only bank owners can add new owners.
    • /econ bank addmember [bank] [member]
      Adds a member to a bank. Only bank owners can add new members.
    • /econ bank removemember [bank] [member]
      Removes an owner or member from a bank. Only bank owners can remove members.
    • /econ help <page>
      Displays every command you have access to with a brief description of it. The help section displays for any unrecognized command.


    File Information:
    Show Spoiler

    BOSEconomy currently utilizes 6 files. These are generated automatically when they are needed. Depending on your settings, some of them might not generate immediately, or at all. All plugin files are expected to be in the 'plugins/BOSEconomy/' directory.

    BOSEconomy.properties:
    Stores basic settings for the plugin. This file is generated automatically. Do not pad the '=' with spaces or they will be read as part of the values.​
    • money-name: The name for a unit of currency.
    • money-name-plural: The name for a pluralized unit of currency.
    • initial-money: Brand new players will automatically start with this much money.
    • wage-interval: The number of time units between wage payments. If online-wages are enabled, this is how long a player must be online before they are paid. If online-wages is disabled, the server pays all players every time this interval elapses. Set this to zero to disable wage payments altogether.
    • wage-interval-unit: The unit to measure the wage interval in. Valid entries are: second, minute, hour, day, week
    • default-bracket: The bracket to assign new players to. Leave this blank to have no default bracket.
    • debug-mode: Displays debug messages mostly pertaining to file reading and writing. This is very spammy, so keep it off when it isn't needed.
    • op-permissions: Ops are automatically given access to every command.
    • phoenix-permissions: The plugin will utilize TheYeti's Permissions ("Phoenix") plugin.
    • online-wages: Wages are paid based on how long players are online rather than using static wage intervals.
    brackets.txt:

    Stores the wage brackets. Brackets are formed by a name and a value seperated by a space, followed by any flags. Currently the only flag is 'exclude'. Any players in an excluded bracket are ignored by top5 and statistics. There should be one bracket per line. This file is generated automatically with the default-bracket and a value of 0. Brackets should only contain letters, numbers, and underscores.​
    The following is a sample brackets.txt file:​
    Code:
    peasants 0
    knights 5
    lords 10
    kings 50
    winners 1000 exclude
    losers -2
    
    lastPayment.dat:
    Do not ever modify this file. It stores the system time of the last wage payment. The file is safe to delete however, and doing so will reset the wage counter to the current time. If online-wages is turned on, this file is removed automatically.​

    money.txt:
    Stores the amount of money owned by every recorded player, and their online playtime (used with the online-wages setting). This file is modified frequently by the server so it's best not to alter it while the plugin is running. It's created when the first player joins the server.​

    users.txt:
    Stores the wage brackets for every recorded player. New players are added to this file automatically. It can be modified directly, but it's safer to use the in-game commands for manipulating brackets and banks.​
    The following is the format for this file:​
    Code:
    <player>:<bracket1>,<bracket2>,...<bracketN>
    $<bank>:<owner1>,<owner2>,...<ownerN>:<member1>,<member2>...<memberM>
    
    version.dat:
    This is used to handle file changes between versions. This file is created automatically and should never be modified or removed.​



    Plugin Interfacing:
    Show Spoiler

    To have your plugin interface with BOSEconomy, add BOSEconomy.jar to your plugin's build path. Use the following code to get a reference to it (called from within your plugin class):​
    Code:
    Plugin temp = this.getServer().getPluginManager().getPlugin("BOSEconomy");
    BOSEconomy economy = null;
    if(temp != null)
        economy = (BOSEconomy)temp;
    
    The following methods are available for use. These are accessed directly off of the BOSEconomy plugin reference. It's up to your implementation to decide how you want to make this reference available to your code.​
    Code:
    /**
    * Gets the money owned by the given player name. To find an existing player,
    * the name must be an exact match. Note though that the name is not case
    * sensitive. When attempting to get the money of a nonexistent player, their
    * name is registered in the economy and given the default money value. To
    * check in advance whether a player is registered in the economy, use the
    * playerRegistered() method.
    *
    * @param name
    *          - The name of the player.
    * @return The amount of money owned by the player.
    */
    public int getPlayerMoney(String name)
    
    /**
    * Sets a player's money. To modify an existing player, the name must be an
    * exact match. Note though that the name is not case sensitive. If the name
    * does not match any player, it is registered into the economy and given the
    * provided money value. Players are not automatically notified of any changes
    * to their money; if desired, it must be done explicitly after calling this
    * method. If the mustBeOnline flag is set to true, the method will only
    * perform changes on players that are online and will not register
    * nonexistent players into the economy.
    *
    * @param name
    *          - The name of the player.
    * @param money
    *          - The money to set the player to.
    * @param mustBeOnline
    *          - Whether the player must be online to perform the change.
    * @return True if any changes were made, false otherwise.
    */
    public boolean setPlayerMoney(String name, int money, boolean mustBeOnline)
    
    /**
    * Adds to a player's money. Negative values will subtract money instead. Note
    * that a player's money can be negative. To modify an existing player, the
    * name must be an exact match. Note though that the name is not case
    * sensitive. If the name does not match any player, it is registered into the
    * economy and the given money value is added to it. Players are not
    * automatically notified of any changes to their money; if desired, it must
    * be done explicitly after calling this method. If the mustBeOnline flag is
    * set to true, the method will only perform changes on players that are
    * online and will not register nonexistent players into the economy.
    *
    * @param name
    *          - The name of the player.
    * @param money
    *          - The money to add to the player.
    * @param mustBeOnline
    *          - Whether the player must be online to perform the change.
    * @return True if any changes were made, false otherwise.
    */
    public boolean addPlayerMoney(String name, int money, boolean mustBeOnline)
    
    /**
    * Checks if a player is registered into the economy. All online players are
    * already considered registered. The name of the player must be an exact
    * match, though the name is not case sensitive.
    *
    * @param name
    *          - The name of the player.
    * @param mustBeOnline
    *          - If set, the method will only return true if the player is
    *          registered and is online.
    * @return Whether the player is registered in the economy.
    */
    public boolean playerRegistered(String name, boolean mustBeOnline)
    
    /**
    * Registers the given player name into the economy system. If a player with
    * this name is already registered, nothing happens.
    *
    * @param name
    *          - The name of the player to register.
    * @return True if the player was registered, or false if a player with that
    *        name already exists.
    */
    
    public boolean registerPlayer(String name)
    /**
    * Sends a message to the given player informing them of how much money they
    * have. If the player is not online, nothing happens.
    *
    * @param name
    *          - The name of the player.
    */
    public void tellPlayerMoney(String name)
    
    /**
    * Gets the amount of money in the given bank account. To find an existing
    * bank, the name must be an exact match. Note though that the name is not
    * case sensitive. When attempting to get the money of a nonexistent bank, a
    * bank by that name is created automatically. To check in advance whether a
    * bank exists, use the bankExists() method.
    *
    * @param name
    *          - The name of the bank.
    * @return The amount of money in the bank.
    */
    public int getBankMoney(String name)
    
    /**
    * Sets the amount of money in the given bank account. To modify an existing
    * bank, the name must be an exact match. Note though that the name is not
    * case sensitive. If the name does not match any bank and the mustExist flag
    * is set to false, a bank by that name is created and given the provided
    * money value. Any members of the bank who are online will not be
    * automatically notified of any changes. If desired, it must be done
    * explicitly after calling this method.
    *
    * @param name
    *          - The name of the bank.
    * @param money
    *          - The money to set the bank to.
    * @param mustExist
    *          - Whether he bank account must already exist.
    * @return True if any changes were made, false otherwise.
    */
    public boolean setBankMoney(String name, int money, boolean mustExist)
    
    /**
    * Adds to the amount of money in the given bank account. To modify an
    * existing bank, the name must be an exact match. Note though that the name
    * is not case sensitive. If the name does not match any bank and the
    * mustExist flag is set to false, a bank by that name is created and given
    * the provided money value. Any members of the bank who are online will not
    * be automatically notified of any changes. If desired, it must be done
    * explicitly after calling this method.
    *
    * @param name
    *          - The name of the bank.
    * @param money
    *          - The money to add to the bank.
    * @param mustExist
    *          - Whether he bank account must already exist.
    * @return True if any changes were made, false otherwise.
    */
    public boolean addBankMoney(String name, int money, boolean mustExist)
    
    /**
    * Checks if a bank account exists in the economy. The name of the bank must
    * be an exact match, though the name is not case sensitive.
    *
    * @param name
    *          - The name of the bank.
    * @return Whether the bank account exists.
    */
    public boolean bankExists(String name)
    
    /**
    * Creates the given bank account. If a bank with this name already exists,
    * nothing happens.
    *
    * @param name
    *          - The name of the bank to create.
    * @return True if the bank was created, or false if a bank with that name
    *        already exists.
    */
    public boolean createBank(String name)
    
    /**
    * Removes the given bank account. Members of the account are not notified of
    * the removal. If no bank with this name exists, nothing happens.
    *
    * @param name
    *          - The name of the bank to remove.
    * @return True if the bank was removed, or false no bank with that name
    *        existed.
    */
    public boolean removeBank(String name)
    
    /**
    * Adds an owner to the given bank account. Owners can withdraw funds from the
    * account and add or remove other owners and members. If the name is already
    * a member, they are promoted to an owner. The name will not be added if it
    * is null, empty, or a duplicate. If the bank account doesn't exist and the
    * mustExist flag is set to false, one by the given name is created first. The
    * name of the owner will be added regardless of whether they are online or
    * actually exist.
    *
    * @param bank
    *          - The name of the bank.
    * @param owner
    *          - The name of the owner to add.
    * @param mustExist
    *          - Whether the bank account must already exist to add an owner.
    * @return True if the owner was added, or false if otherwise. False may be
    *        returned either because the bank doesn't exist and mustExist was
    *        true, or because an owner by this name already exists.
    */
    public boolean addBankOwner(String bank, String owner, boolean mustExist)
    
    /**
    * Adds a member to the given bank account. Members can withdraw funds from
    * the account. If the name is already an owner, they are demoted to a member.
    * The name will not be added if it is null, empty, or a duplicate. If the
    * bank account doesn't exist and the mustExist flag is set to false, one by
    * the given name is created first. The name of the member will be added
    * regardless of whether they are online or actually exist.
    *
    * @param bank
    *          - The name of the bank.
    * @param member
    *          - The name of the member to add.
    * @param mustExist
    *          - Whether the bank account must already exist to add a member.
    * @return True if the member was added, or false if otherwise. False may be
    *        returned either because the bank doesn't exist and mustExist was
    *        true, or because a member by this name already exists.
    */
    public boolean addBankMember(String bank, String member, boolean mustExist)
    
    /**
    * Removes the given owner or member from the given bank account.
    *
    * @param bank
    *          - The name of the bank.
    * @param player
    *          - The name of the owner or member to remove.
    * @return True if an owner or member was removed, or false if otherwise.
    *        False may be returned either because the bank doesn't exist or
    *        because no player by this name was registered to it.
    */
    public boolean removeBankPlayer(String bank, String player)
    
    /**
    * Checks if the given name is an owner of the bank account.
    *
    * @param bank
    *          - The name of the bank.
    * @param owner
    *          - The name of the owner to check for.
    * @return True if the name is an owner, or false if otherwise. False may be
    *        returned either because the bank doesn't exist or because the given
    *        name is not an owner.
    */
    public boolean isBankOwner(String bank, String owner)
    
    /**
    * Checks if the given name is a member of the bank account. Note that owners
    * are not considered to be members in this context and that this method will
    * return false if the name of an owner is provided.
    *
    * @param bank
    *          - The name of the bank.
    * @param owner
    *          - The name of the member to check for.
    * @return True if the name is a member, or false if otherwise. False may be
    *        returned either because the bank doesn't exist or because the given
    *        name is not a member.
    */
    public boolean isBankMember(String bank, String member)
    
    /**
    * Sends a message to all online owners and members of the given bank account.
    * If no bank account exists by this name, nothing happens.
    *
    * @param bank
    *          - The name of the bank.
    * @param message
    *          - The message to send to the bank's members.
    * @param sender
    *          - The name of the sender. If the sender is a member of the bank,
    *          they are not sent the message. Leave this null to send the message
    *          to all of the members.
    */
    public void tellBankMessage(String bank, String message, String sender)
    
    /**
    * Sends a message to all online owners and members informing them of how much
    * money this bank account has. This should not be confused with
    * tellBankBalanceToPlayer(), which sends this message to a specified player.
    * This method may be useful in a context where all members were just notified
    * of a change and you wish to follow it with the new balance of the account.
    * If the bank account doesn't exist, nothing happens.
    *
    * @param bank
    *          - The name of the bank.
    * @param name
    *          - The name of the player.
    */
    public void tellBankBalance(String bank)
    
    /**
    * Sends a message to the given player informing them of how much money this
    * bank account has. This should not be confused with tellBankBalance(), which
    * sends this message to all members of the account. If the player is not
    * online, or if the bank account doesn't exist, nothing happens.
    *
    * @param bank
    *          - The name of the bank.
    * @param name
    *          - The name of the player.
    */
    public void tellBankBalanceToPlayer(String bank, String player)
    
    /**
    * Gets the initial money setting. This is how much money brand new players
    * are initialized with when they first enter the economy.
    *
    * @return The initial money.
    */
    public int getInitialMoney()
    
    /**
    * Gets the wage interval. This is how many units of time it takes for one
    * wage to elapse. The unit is specified by getWageIntervalUnit(), and should
    * be either seconds, minutes, hours, days, or weeks.
    *
    * @return The wage interval.
    */
    public int getWageInterval()
    
    /**
    * Gets the wage interval unit of time based on the current wage interval
    * multiplier.
    *
    * @return The unit of time. If the multiplier is 0, "none" is returned. If
    *        the unit can't be determined, "unknown" is returned. Return values
    *        are all lowercase and singular.
    */
    public String getWageIntervalUnit()
    
    /**
    * Gets the name of one unit of currency. This name is not capitalized and
    * should be singular. Ex: "coin"
    */
    public String getMoneyName()
    
    /**
    * Gets the name of a pluralized unit of currency. Ex: "coins"
    */
    public String getMoneyNamePlural()
    
    /**
    * Gets the name of one capitalized unit of currency. Ex: "Coin"
    */
    public String getMoneyNameCaps()
    
    /**
    * Gets the name of a capitalized and pluralized unit of currency. Ex: "Coins"
    */
    public String getMoneyNamePluralCaps()
    
    You may notice that there are some other methods, as well as some static variables. These are subject to change without warning and should never be utilized by your plugin. The methods listed above, however, will (hopefully) never need to be changed. In the event that they need to be altered, I will try to provide ample warning.​



    Download:

    -----------------------​

    Planned Features:
    • SQL support.
    • Allowing brackets to use different wage intervals.
    • Tax brackets. These brackets would take money from users and give it to another player or a bank account.
    Changelog:

    Show Spoiler

    0.6.2
    • Added bank deposit command to mirror the withdraw command. The pay command still works on banks.
    • Added several command aliases. Included is the ability to use "br" as a substitute for the "bracket" commands, and "ba" for "bank" commands.
    • Players are notified when a bank is created with them listed as an owner.
    • Made internal changes to support Bukkit build 612.
    • The plugin will now catch exceptions thrown by Phoenix Permissions and toggle phoenix-permissions off temporarily.
    • Fixed a notification bug when adding bank members whose names are a component in the names of other players.
    0.6.1

    • Fixed a bug where bank accounts duplicated after using the reload command.
    • The "banks" and "brackets" commands now use their singular forms ("bank" and "bracket").
    • Renamed BOSEconomy.admin.brackets and BOSEconomy.admin.banks to their singular forms.
    0.6.0 (Unreleased)

    • Fixed an exception when using online-wages with the wage-interval set to 0.
    • Added bank accounts and several commands to work with them.
    • Added several bank methods for other plugins to interface with.
    • Added BOSEconomy.admin.banks permission.
    • Restructured permissions slightly.
    • Unhandled command exceptions now inform the user who sent the command and prompt them to tell a server owner about it.
    • There is now a brief time limit between pay commands to prevent excessive payment spamming.
    0.5.0

    • The Permissions plugin is no longer required for BOSEconomy.
    • Added 'op-permissions' setting which gives ops permissions to all commands when enabled.
    • Added 'phoenix-permissions' setting to utilize TheYeti's Permissions ("Phoenix") plugin when enabled.
    • Added race-condition protection to file writing.
    • Added 'online-wages' setting to pay players based on online playtime instead of over a specific time interval.
    • Altered money.txt to include the online playtime of the user for the online-wages system.
    • Forced to remove 'command-label' option due to changes in the Bukkit API.
    • Added support for interaction with other plugins.
    • Players are now automatically registered into the economy for being online while the plugin is active.
    0.4.1 (First Public Release)

    • The average income now displays two decimal places.
    • Made some minor code modifications in preparation for a public release.
     
    efstajas, Ragor and Naruchico like this.
  2. Offline

    n4Ghost

    wage-interval: only when die user is online??
     
  3. Offline

    g00tch

    Can't seem to get this to work.

    I installed the plugin and it loads "apparently" when I run the server. No errors show and it says, "BOSEconomy 0.4.1 Enabled". Though when I go into the game, none of the commands work. /econ /pay/ nothing. When I type the commands in, nothing happens in game, but the server console says, "Unknown console command".

    Also, in my BOSEeconomy folder, I only have 4 files. Properties, Brackets.txt, lastPayment and version. I don't have a "money.txt" or "users.txt."

    Any help would be greatly appreciated.
    --- merged: Mar 4, 2011 6:54 AM ---
    The newest update 0.5.0 fixed the problem.

    Seems to be working perfectly now.
    --- merged: Mar 4, 2011 7:33 AM ---
    Is there a way to change the wage intervals for each bracket? Like for example: peasants to get paid every 2 hours while the King get's paid every 30 mins?

    Also, I don't know if it's available or not, but what about changing the wages? Instead of 100 "currency name" every x amount of time, 10-20-30-100-1000, etc. Also customizable to each wage bracket would be nice, like a Peasant gets paid 50 every 2 hours, while a Knight gets paid 100 every hour.
     
  4. Offline

    Cosine

    Version 0.5.0 is released! See the original post for more information. This should be compatible with Bukkit build 490+, and fix any command issues you may have been encountering. The main features I added are online wages (to pay players based on playtime rather than at static intervals) and support for interaction with other plugins. If you have any other ideas for things to add, feel free to suggest them! I made a lot of internal changes in this update, so please notify me if you find any bugs. I very well may have missed some, so I recommend backing up your BOSEconomy files before running the latest update. They'll most likely be fine, but it's better to play it safe.

    I'm not sure I understand... you might have read it while I was editing the post. The wage-interval setting pays users for how much time they spend online, rather than paying all players at static intervals.

    Glad to hear 0.5.0 works for you! If you find any problems with it, please post them. As for variable wage intervals, I'm not sure why I didn't think to do that. I'll add it to the todo list.
     
  5. Offline

    g00tch

    The variable wages and intervals would be pretty handy in a variety of different ways. Glad to be of some help :)
    --- merged: Mar 4, 2011 8:05 AM ---
    Confirmed compatible with #493
     
  6. Offline

    riuthamus

    We are looking to add further support with this plugin on some of the bigger ones that iConomy works with. If we can get their support we will be posting the plugins that work in tandem with this one! Thanks again for all the questions and suggestions. This is what helps our plugin get better each revision so if you have thoughts or suggestions please let us know.
     
  7. Offline

    g00tch

    Though a shop plugin support would be cool, the basics of BOSEconomy is all I really need. Especially once the wage intervals update comes.

    Good work guys.
     
  8. Offline

    Hawox

    uQuest will support this! I like it better than eCon already since Essentials dose not provide an API and their code is hard to intertwine >_>
     
  9. Offline

    riuthamus

    Fuck yes!! This is good to hear, if you need anything on our end please let us know!

    Sidenote, just tested and it works with version 522, so ill be having cosine change the topic title soon.
    [MERGETIME="1299665663"][/MERGETIME]
    We are updating by friday, sunday at the very latest with the new community bank accounts addon.
     
  10. Offline

    Latros

    Do any plugins work with this yet? I don't want to install MySQL or SQLite for iConomy.. this is basically iConomy, minus the need for any SQL bullshit.

    All this needs, for our server, is some way to buy / sell items via a shop compatible with BOSEconomy.

    Does such a plugin exist?
     
  11. Offline

    riuthamus

    Right now no, I am working on petitioning plugin creators for support. At this point everybody keeps making stuff for iConomy. I have got uQuest to jump on, and Custom NPC's is going to be supporting uQuest so within a week we might have full support for trading and everything.
    [MERGETIME="1299672550"][/MERGETIME]
     
  12. Offline

    Latros

    Had you considered potentially creating your own?

    The main thing that would boost this plugins popularity (and thus, other plugin developers compatibility) would be for you to create a very simple command-based buy/sell "to the server" system.

    EG, have mined 1000 cobblestone, want some use for it.... "/sell 4 1000" (requires them to be in your inventory), and be awarded lets say 1000 coins (1 cobblestone = 1 coin). Just as an example.

    Then, similarly, the server being dry on diamonds, it would provide people an alternate way of getting diamonds... 1 diamond = 750 coins. "/buy 264 1", subtracts 750 coins from your balance, awards you 1 diamond. Would also need an item "blacklist", so it wouldn't allow you to buy certain items.

    I donno, just a thought.... this would be perfect since lots of people much prefer flatfile and don't want to bother with SQL bullshit.
    [MERGETIME="1299676113"][/MERGETIME]
    -_-
     
  13. Offline

    riuthamus

    You make many good points but that kinda diverts from the main idea we had which was CURRENCY only. Now this doesnt mean we should dismiss the idea of looking at or toying with your suggestions, in fact we have already done this on several occasions. At this point our direction is to add the use of bank accounts "not owned by a player" for shared bank accounts.

    I am talking to our other plugin developer to make a shop system that would work... but he has been busy and has not had the time to make it. That is kinda the problem I have at this point is my main code people do not code for Java and dont know it. So i had to recruit minecraft players and cosine, while great at plugins, isnt made for this type of thing to push to the limit. He has a full schedule with school and other things so me tasking him to make a grand system would be overwhelming. I myself have a busy schedule otherwise I would attempt to put a hand towards the efforts. The plugin has hooks for any other plugins to easily work with it... the process now is getting those people to bite on using our system.

    In the mean time ill pose the idea to the people I have that code and see if we can get something going. I would like for this plugin to one day be as popular as iConomy but that takes time since they were the first. Also note, that this plugin will support sql and mysql at some point, but we will not remove the flatfile use either since it is by far easier to setup and manage.
     
  14. Offline

    Latros

    Okay Riu, well I wish you best of luck and I'll definitely be keeping up-to-date on your plugins status and which are compatible with it, I'll support it all the way if it sticks with flatfile!! :)
     
  15. Offline

    riuthamus

    we most certainly will. We are going to be adding the sql support for other people as well as for our own servers. If i can get the people to code for it, Java wise since i have plenty of php coders, I will have an entire market system with a website intergration to control, buy, sell, and manage the economy. Issues at this point is not having any java people, just means I have to go out and recruit! :p

    Plugin tested and confirmed to be working with 544+ and the newly intergrated:

    http://forums.bukkit.org/threads/fu...izable-quest-system-cb-493-cb-531.7092/page-5

    We have confirmed, and working, offline non attached banks. This means that admins can create bank accounts for players to throw money into. These accounts can have owners, and members!! And anybody can pay to them. This is a great system for cities, like in our server each lord of a city has a bank account for the city that they can control. They give their city delegates member rights to the bank account so they can purchase things for the city using that account. More details to come soon, we will be releasing it tomorrow.
     
  16. Offline

    penfia

    i am still wondering which shop mod do you guys use because when i am adding Iconomyshope it doesnt fit together no matter how hard i try and others too, so if you could give me a hint, ect. which mods who does accapt this "awsome" mod it would be really delicious xD
     
  17. Offline

    riuthamus

    We dont, we have player stores right now. I am working hard to get other plugin developers to work with this plugin but many of them are set in stone with iConomy support. We are talking about developing our own, but it wouldnt be with this, it would be a separate plugin all together.
     
  18. Offline

    Strongit

    Looks like a cool plugin, my users want a currency system on the server so I'll be trying this out tonight.
     
  19. Offline

    riuthamus

    Well, the main post wont be updated till cosine gets online. I can provide you with the link to the new version now.

    BOSEcon Download Now

    NEWEST FEATURES:
    - added community bank accounts ( no need to be attached to a person )
    - added permissions for creation of bank accounts
    - added owner/membership rights for bank accounts
    - anybody can pay bank accounts /pay $bankname

    NEWEST COMMANDS:
    - /econ bank create bankname ownername
    - /econ bank addmember bankname membername
    - /econ bank addowner bankname ownername
     
  20. Offline

    g00tch

    All you need now is 1 or 2 of the shop plugins to support BOSE and if the NPC guys can get the NPC's to buy/sell + support BOSE....Heaven!

    Good work guys. Love this plugin.
     
  21. Offline

    Codisimus

    I am developing a plugin that use this but I can't seem to access addBankMoney(). I don't see it I can only find addPlayerMoney(). Is it just me or is this method missing?
     
  22. Offline

    riuthamus

    our coder is not on right now, soon as he is ill make sure i ask him.
     
  23. Offline

    Codisimus

    I actually just figured it out, didn't realize there was an updated version out
     
  24. Offline

    riuthamus

    yeah, we released it last night... sorry ill keep you updated personally when we update it from now on.
     
  25. Offline

    Codisimus

    glad to hear it, and speaking of keeping each other updated I just released Turnstile v0.8 which supports BOSEconomy banks. I think I tested most of it but if you find an error let me know and feel free to request any more features.

    Just a suggestion, maybe add spoilers to the original post (its pretty long)

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

    riuthamus

    Yeah, im actually making a website with images and pictures, just taking time! :p
     
  27. Offline

    Cosine

    I added spoilers to the longer sections of the post. Also, my apologies; I completely forgot to notify you about the update.
     
  28. Offline

    Codisimus

    no worries, i should have noticed the version number at the top while looking at the plugin interfacing. I think i realized it was v0.6.1 but didn't realize that when i downloaded it it was only v0.5 i'm sure to notice it now that i'm watching this thread. just let me know if theres a big update that might break my plugin.
     
  29. Offline

    ChrisB

    Hi there,

    While working with ecoCreature, there is a function for doing a withdrawal from the player, though in BOSEcon, there does not seem to be a simple function for deducting an amount like there is one for adding (addPlayerMoney)

    Right now, I have to get use several functions... get money, setmoney with the value from get minus the penalized amount. Would be nice if there was only one function.

    Forgive my ramblings and if I make little or no sense, just adding the idea, and thank you for a very nice plugin :)
     
  30. Offline

    Codisimus

    what I did is just used a negative value for addPlayerMoney, from what I've seen it works perfectly.
     
  31. Offline

    ChrisB

    Ah, thats also one way of doing it, didn't think of that :p
     
Thread Status:
Not open for further replies.

Share This Page