[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

    riuthamus

    Ah, that might be possible, ill go over that with the plugin guy tomorrow and we can see what we can work out. Thanks again, these are all great ideas.
     
  3. Offline

    darthsiddious

    thats kinda what i was talking about. it would make it so much easier to just type in one command rather then multiple commands
     
  4. Offline

    JackTDawson

    Here is a question that one of my OPs had.. Can you add and take away Brackets In Game ? Because it looked like you can. but we cannot find a way to do it.
     
  5. Offline

    riuthamus

    Yes you can, the command is simple

    /Econ bracket add membername bracketname
    /Econ bracket remove member bracket
     
  6. Offline

    JackTDawson

    and that makes the bracket and puts it into the bracket txt file ? and then you can assign an amount to that bracket in game as well ? Which will also save it to the brackets txt file ?

    testing this now.. thanks for the help. :)


    EDIT : Ok just checked.. its NOT saving the brackets in the brackets txt file the way your showing me how to do it.. its why this is so confusing. And according to what you shown me, it doesn't make the brackets, it only adds members to the brackets.. I need to know a way to MAKE the brackets in game. Not add members. I already figured that one out.
     
  7. Offline

    riuthamus

    When you said, add and take away I thought you meant for a player, miscommunication there. And, actually there is not a way to do the brackets in game at this point. It is an option in the .70 release. We didnt add it at first because the idea was to have them all setup OUTSIDE before the server ran. Some people showed interest in having the ability in game as well so we added it in.

    So for now you can do it with the txt file, but soon you will be able to do it in game. Sorry if this causes any extra stress or problems.
     
  8. Offline

    JackTDawson

    Ahh thats perfect.. ok i'll wait for your 0.70 then.. :)
     
  9. Offline

    pizza9555

    AH now im seeing it. thx guys.
     
  10. Offline

    xTremeGamersPH

    Very awesome plugin, The best for those who doesnt have phpmyadmin or sql hosting. Really awesome sir. Good job,

    i hope there will be more plugin that will work with this specially iConomyChest

    And i also suggest do not use MySQL, this will not keep up with iConomy if this will use MySQL, so i think Improving this w/o any use of MySQL will keep this no. 1 of its kind. and someday will exceed iConomy!. Go sir cousine i believe in you.

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

    craftopia.net

    Its very simple to do, just find the Bracket.txt file in your BOSE plugin directory, and open it. You'll see the name of the bracket, a space, and a number. Just add another bracket, the number represents how much they get paid per hour (or whatever you set as the pay interval), save the file and reload the plugin. Now you can add people to that bracket.
     
  12. Offline

    JackTDawson

    You missed the point entirely. I know you can manually do it with the text file. read what I was asking. I said in game. :)
     
  13. Offline

    daaniel

    link is broken:(
     
  14. Offline

    gbear605

    When I tried to run the plugin, I got this error in server.log::

    Code:
    2011-04-21 04:46:17 [SEVERE] Could not load 'plugins/BOSEconomy.jar' in folder 'plugins': 
    java.io.FileNotFoundException: Jar does not contain plugin.yml
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:57)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  15. Offline

    JackTDawson

    Which version of bukkit are you running ?
     
  16. Offline

    gbear605

    646.
     
  17. Offline

    JackTDawson

    dude that's why. Update to 684. Its a current release. http://ci.bukkit.org/job/dev-CraftBukkit/684/

    The current version of BOSEconmy works with it just fine. I get no JAVA errors. CB684 also works with the current version of Permissions and Essentials and WW and WG. I have them running smoothly on my server.

    UPDATED CORRECTION : The permissions file I am using is from the permissions link from one of the coders there. Its not directly from the Author. You can find the file on the Permissions thread about page 82 +. Read through the thread and you'll see where rcjrrjcr posted a link to a FIXED version of permissions.
     
  18. Offline

    vip

    sry 4 my bad english. I am from germany. The plugin looks really great. I downloaded it and unziped it. but there is no .jar file included. There is a folder cosine,Meta-INF and a permission.jar and a plugin.yml.

    The instruction at the beginning said: Place BOSEconomy.jar in your plugins folder and run the server. BOSEconomy will generate the necessary files.
    Where can i download this jar file ????
     
  19. Offline

    gbear605

    You rename the .zip file you downloaded to BOSEconomy.jay
     
  20. Offline

    vip

    Did you meen .jar or .jay ?

    I think you ment .jar. So, I did that and started the server but it didn't work. Here is my log-file.
    It say's it can't load the BOSEconomy.jar, even so I copied it in the plugin directory and it's there.

    Please help me!

    >
    > 08:43:52 [INFO] Done (0.125s)! For help, type "help" or "?"
    > 08:43:52 [INFO] Loaded EssentialsChat build 2.1.31 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    > 08:43:52 [INFO] Loaded EssentialsProtect build 2.1.31 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    > 08:43:52 [INFO] Loaded EssentialsSpawn build 2.1.31 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    > 08:43:52 [INFO] Fake Permissions version 2.5.1 is enabled!
    > 08:43:52 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    > 08:43:52 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    > 08:43:52 [INFO] Loaded Essentials build 2.1.31 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:57)
    java.io.FileNotFoundException: Jar does not contain plugin.yml
    > 08:43:51 [SEVERE] Could not load 'plugins/BOSEcon062.jar' in folder 'plugins':
    > 08:43:50 [INFO] Preparing start region
    > 08:43:50 [INFO] Preparing level "world"
    > 08:43:50 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-663-gee614b4-b689jnks (MC: 1.5_02)
    > 08:43:50 [INFO] Starting Minecraft server on I TOOK IT OUT
    > 08:43:50 [INFO] Loading properties
    > 08:43:50 [INFO] Starting minecraft server version Beta 1.5_02
    16 achievements
    [Lnet.minecraft.server.Statistic;@15b0afd
    146 recipes
    [Lnet.minecraft.server.Statistic;@15b0afd
     
  21. Offline

    gbear605

    That version of bukkit MAY be the problem, and yes, I meant jar
     
  22. Offline

    riuthamus

    @vip Version 663, running minecraft 1.5_02.... that doesnt even make sense. 684 was still wrapped with version 1.4

    Also, BOSEcon works with the most recent version 702 since I checked it this morning, although I do not suggest you run 702 since there are so many issues with bukkit at that point.

    @JackTDawson thanks for your help with answering stuff. I was out for a week due to a server event we are doing, taking up most of my time since I am participating in the event, when normally I would just sit back and manage it.

    @daaniel we were moving our website to another host because of high traffic. We wanted to provide a more solid experience for our users and thus we moved to a better host. The host transfer has been completed and we are now running back up and ready. Also, mirror2 could have worked for you since that is hosted from my personal dropbox, or was... I wish this forum would let two people mod a post!
     
  23. Offline

    vip

    I installed it as Version 689
    > 08:43:50 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-663-gee614b4-b689jnks (MC: 1.5_02)
    and not as 663 like you wrote. Who is right now?
     
  24. Offline

    JackTDawson

    @riuthamus Hey no problem man.. its all good.. :)
    @vip Your correct about 689 it is 1.5

    09:29:06 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-663-
    gee614b4-b689jnks (MC: 1.5_02)

    However, I do believe that the latest version of bukkit 1.5 at the time I write this it is now 714. And it works with Pheonix Permissions 2.7 and version 0.6.2 of BOSE. I have tested it myself.

    Show Spoiler

    09:35:57 [INFO] Starting minecraft server version Beta 1.5_02
    09:35:57 [INFO] Loading properties
    09:35:57 [INFO] Starting Minecraft server on *:25565
    09:35:57 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-686-
    g71ef92a-b714jnks (MC: 1.5_02)
    09:35:57 [INFO] Preparing level "world"
    09:35:57 [INFO] Preparing start region
    09:35:57 [INFO] [Permissions] (Phoenix) was Initialized.
    09:35:57 [INFO] BOSEconomy: Located Phoenix Permissions 2.7.
    09:35:57 [INFO] BOSEconomy 0.6.2 enabled.
    09:35:58 [INFO] [MotherNature] Using Permissions version 2.7 for permission hand
    ling
    09:35:58 [INFO] [MotherNature] Plugin enabled! (version 1.2)
    09:35:58 [INFO] [Permissions] version [2.7] (Phoenix) loaded
    09:35:58 [INFO] Done (0.076s)! For help, type "help" or "?"
    >


    I was also running this version of BOSE on my 1.4 server just fine with CB684. Hope this info helps.
     
  25. Offline

    riuthamus

    I ran on 684 and had no issues, i run it on 714 right now, with no issues, i have permissions 2.5 and had no issues, i currently run 2.7 and have no issues. Seriously there is not much you can do to mess this plugin up. If you would like, i can teamview you and look at the files on your server and help you further. Let me know.
     
  26. Offline

    darthsiddious

    so im just wondering something right now. are you guys thinking about switching over to canarymod? if not, i was wondering if you would allow a third party to transfer this plugin over to that format. i really like this plugin very much, but bukkit is making my life miserable with the constant updates. anyways, thanks again guys.
     
  27. Offline

    Plague

    Don't use a plus sign in the version tag. If you really need to use more versions, use [X-Y] or [X,Y].
     
  28. Offline

    Fuzzylightning

    We're running this plugin on the latest bukkit builds and it's working flawlessly. I'm also a programmer, and porting LocalShops to BOSEconomy was very easy. Thank you SO much for excellent documentation.

    We're running this mod concurrently with iConomy so that we can visualize our Creative (iConomy with DynamicMarket) and Survival PvP (BOSEconomy with LocalShops, uQuest and others) worlds. This is why I needed to port LocalShops. I see that the LocalShops team is planning multi-economy support as a feature in the future. However, I'm considering writing my own LocalShops clone with a view to adding Factions specific features, and will definitely be adding BOSEconomy support.

    I see that tax brackets are already on your planned feature list, but we'd love to see them!
    Another request I might make is to possibly extend your API to add multi-world functionality. For example, we might be able to add world-specific currencies and link them, much like how the MultiInv plugin works - except with economy. This would be with a view to simplifying our server's plugin setup. (More plugins = more problems)
     
  29. Offline

    Cosine

    Glad to hear everything is working nicely for you. If you have any requests for the API, send them my way.

    A general note to anybody using this plugin is that I'm terribly busy as finals approach and haven't had time to deliver the tax brackets and various other changes being promised for v0.7.0. Once classes end in a couple weeks I'll be able to commit time to the plugin and finish implementing those features. Until then, the only updates I expect to release would be bug fixes or quick compatibility changes if Bukkit alters their API. I apologize to anybody waiting on these features and appreciate your continued support of BOSEconomy.
     
  30. Offline

    jonassm

    Does this work for the newest Build?

    Kkthxbai :)
     
  31. Offline

    LucidLethargy

    I do not believe this supports this, but I was under the impression wage brackets could pay players based on how much they have. For example, new players may receive 5 drakes every 10 minutes until they have 100, in which they are considered well enough to not receive help.

    The reason I am hoping for this is actually because I want to use this awesome system for mana, not coin. You see, with this system I can cap people off at 50 or so, and have them gain back "mana" which they can use for spells.

    So if this is not how it works, please add it in! Your system could be INVALUABLE to admins like myself since no mana plugin is in existence! If not for anything else, at least make the ability to cap off the coin at a certain number, which would also work.

    Anyway, this is just a humble suggestion from an admin who has been waiting months for such a system to incorporate into his server. Your plugin is just PERFECT as it could also give my non-magical players the ability to skill up in mcmmo, rather than use magic! It's just limitless what I can do with some simple tweaks!
     
Thread Status:
Not open for further replies.

Share This Page