v .8.53

Details

  • Filename
    DynamicEconomy.jar
  • Uploaded by
  • Uploaded
    Jun 11, 2012
  • Size
    177.69 KB
  • Downloads
    464
  • MD5
    e98dde28e8101dcc8d27118495a0a1b9

Supported Bukkit Versions

  • CB 1.2.5-R4.0

Changelog

A few new features!

  • DynamicSign has been extended to now show Purchase & Sales Taxes!

In order to have a dynamicsign display the current sales or purchase tax, do the following:

  1. On the first line, write just "dynamicsign" as usual
  2. On the second line, write either "purchasetax" or "salestax".
  3. Enjoy.

The Tax signs will update just like any dynamic sign, if the tax changes. So, it'll update whenever you change the tax in the config and reload the config, OR if you use the ingame /settax command.

  • Finally found a good way to fix loans
    • When I say FIX loans, I'm referring to the problem where, if a user has less than what's due, DE just puts their balance at $0 (aka, they don't pay their full amount). In fact, if a user has $0 at the time a loan for even, say, $50000 is due, DE would have charged them and thought everything was OK. Well now there's a solution.

The answer? DEBT. Basically, when its time to pay a loan, DE will charge the user what's due. If they can't pay the entire amount, then DE will mark down how much they have left to pay, and mark them as "IN DEBT". (If you use more than one loan, then don't worry, each loan has its own DEBT marker). If they are in debt for one or more loans, they will NOT be able to take out any loans until they've paid all of their debts. Also, DE will pretty much take money from their account every 15 seconds until the loans are paid.

You'll notice that each loan now has a "debt" property, which holds the amount they still owe, if any. The "debtStatus" property, is true or false, and tells whether the user has a debt on that loan (each loan has this property).

Lastly, there's an entire new section in Loans.yml under "loans" called "debts". This section has the names of users, followed by whether they are in debt or not. This is their "overall" debt status. If ANY of their loans have a "debtStatus" of true, then this will be true. If NONE of their loans have a "debtStatus" of true, then this will be false.

Overall, they can take out loans as long as this "debt" is marked as false. Otherwise, they'll be denied loans.

  • Custom Aliases!
    • I've added alias.yml, a brand new file that holds the aliases for all the items (An alias is a word that stands in for the actual true name. For example, in Items.yml the item is called STONE, but you can call /buy STONE, SMOOTHSTONE, or 1. Those three are all aliases. Now you can add your own!)

Upon using this new version of DE, DE will generate "alias.yml", which, if you open it, will hold all the aliases that formerly existed in DE, now in this file. You can add your own simply by adding it to the end of the file in the form of "ALIAS: ITEM", where they both have to be caps, alias is the alias, and ITEM is the true item name as found in Items.yml.

ALSO with this utility are the commands /addalias [Alias] [Item] and /removealias [Alias]. They're pretty self explanatory. The permission for both is dynamiceconomy.alias

Enjoy!

* Pistons and Stickypistons, when sold, do not get removed from inventory. I recommend putting them on the banned list until this is fixed!