ATMsigns
Many servers like to use a kind of item based economy, where Gold Ingots or Emeralds can be converted into currency on a 1 Ingot:1 Dollar basis or similar. The problem we've had is that depositing and withdrawing can be cumbersome and confusing, since the only way to do it at the moment is to set up [Buy] and [Sell] signs (from Essentials), which people can easily get confused.
This plugin provides one interactive sign that can be used to deposit of withdraw a specified item in return for a credit of a specified quantity of currency.
For example, you could set the config to allow:
1 Gold = $1
1 Diamond = $100
1 Emerald = $1000
The plugin also supports up to 2 alternative item currencies, so your users can deposit (for example):
- 1 Iron for 1 Dollar OR
- 1 Gold for 10 Dollars OR
- 1 Diamond for 100 Dollars
(Or whatever you configure it to)
Withdrawals will always give the first (main) item.
Signs are owned by their creator (or other player specified on line 4)
You can also set a deposit / withdraw fee to be charged to players using ATM signs. The fee can either be paid to the sign's owner or simply deducted from the ATM user. Fees can be either a fixed amount or a percentage (depending on config). Fees are fixed at one rate/percentage for all ATMs.
As of v1.3
Thanks to popular demand, you can now set a name for your items other than the default Bukkit name, so for example you can call a "GOLD INGOT" "Gold" and a "GOLD NUGGET" "Nugget", in fact you can call it whatever you like!
As of v1.5
Now all the new types of wood can be used for ATM Signs, and the config is now based on the item name rather than the old ID numbers. The item name is not case sensitive.
Features
- ONE ATM sign for deposits and withdrawls
- Left-click the sign to pick your option
- Right-Click the sign to interact
- No database, no commands, very simple and lightweight plugin
- Configure what item can be converted to currency
- Allow deposits of up to 3 different item types
- Configure how much each item is worth in currency
- Charge a fee for using an ATM sign
- Permissions for creating/destroying/using ATM signs
Permissions
atmsigns.* : Can use, create and destroy ATM signs
atmsigns.use : Can use ATM signs
atmsigns.create : Can create ATM signs (and break own ATMsigns)
atmsigns.break : Can destroy anybody's ATM signs
Creation
- Place a sign
- Put [atm] in the first line
- (optional) Put the owners name in line 4
- That's it!
Usage
- Scroll through menu options by left clicking sign
- Right Click to activate option
- When withdrawing, Right Click = Withdraw 1, Crouch + Right Click = Withdraw 10
Commands
There are no commands!
Requirements
- An economy plugin
Installation
Place the jar in your /plugins folder and reload!
Configuration
Set your chosen item(s), currency value(s) and fee settings in the (newly created) /plugin/ATMsigns/config.yml
Default setting is:
item: "emerald"
currency: 1 (1 emerald = $1)
alt_item1: "none" (Disabled)
alt_item1_curr: 0 (No value)
alt_item2: "none" (Disabled)
alt_item2_curr: 0 (No value)
deposit_fee: 0.00 (How much to charge for deposits)
withdraw_fee: 0.00 (How much to charge for withdrawals)
percentag_fee: false (Set to true to charge a percentage rather than flat fee)
fee_to_owner: true (Sign owner receives the fees)
Server/Pack Usage
Sure, feel free to use it where you like!
Donations
To show your support and help me justify to my wife why I spend so much time on Minecraft, please donate using the Donate button in the top right corner of this page, or support Ellitopia on patreon at http://patreon.com/ellitopia
Thank you
Other Projects
Click Here to take a look at the other plugins I am proud to take responsibility for
OMG dude I love you. this is the BEST ADD-ON FOR ANY ECONOMY PLUGIN!!!! Fionally I have finished my link of IC2 Coins-Emoneys-buying worldGuard regions!
PEOPLE CAN DEPOSIT AND WITHDRAW MONEY HAYO!!!!!
Tested: Working with CraftBukkit 1.1-R3 (#1846)
Plugin reviewed by DarkCraftia. Thanks buddy!
Nice ill test this out and let you know how it goes.
@Xyberviri
Version 1.2 has just been uploaded and is awaiting verification.
I have added:
NOTE Existing signs will need to be re-made when updating to v1.2
@Xyberviri
You can allow anyone you like to create an ATM sign by giving them the .create permission . You may not want to give them the .destroy permission as that could lead to griefing.
As far as transaction fees are concerned, I'm sure I could add something like that, however at the moment (since it doesn't use a database) there's no way to track who owns the sign. I will have a look at maybe changing line4 to the name of the owner and have the options scroll rather than have the cursor move?
Hi there ellbristow, would it be possible to let some one other than a mod create these signs and set a "transaction" fee. This would let players create Banks and charge players for exchanging their money just like real banks.
I know this is asking allot, what i currently do is let players create sign shops and set the price for the "money" item and between buying and selling they can charge a fee.
Tested: Working with CraftBukkit 1.1-R1 (#1818)
Version 1.0.2 uploaded to fix some bugs. No new features.
Great, thanks for the fast response looking forward to testing ;)
Version 1.0.1 Uploaded and awaiting verification.
@natbyte
Actually... I just found the problem. Fixing now
@natbyte
Please submit this as a ticket and attach your config.yml nd (if there is anything) details of the error thrown up in the console.
Thanks
Great plugin we use it over on Minecraftserver.com However using the latest version 1.0.0, with iConomy 6 and Vault (latest version), deposit seems to be broken even when using just one type of currency the gold ingot, the ingot is removed from your inventory however the iConomy balance does not increase by the number of ingots removed, withdraw works as does balance on the signs, all permission nodes are correct.
However as soon as we downgrade back to the earlier version all works perfectly, would like to be able to use the other items for currency, any ideas?
@fromgate
My plan with this plugin was to keep it simple and tidy. I think adding multiple currencies in both directions will add a lot of extra coding for not a lot of benefit. I will consider adding that kind of thing later, but for now I think it's best to leave it as a single currency for withdrawals. After all, it was originally single currency in both directions!
Regarding the item names, I have stuck to the original item names to save confusion. I edited out any underscores and replaced them with spaces... so if you see anywhere where that hasn't happened let me know... but for now I will leave it with the original names. Again, that doesn't mean I won't consider adding it later.
If you submit both of these items as tickets They will stay in the list as requests so I don't forget.
Hmm... How about withdraw? If I need a diamond, not a gold?
Is it possible to make a menu in first line: "== Gold == ", "== Diamond ==", "== Steel ==" And I think it good idea to add an item name parameter: I don't like "gold_ingot" name, I call it "gold".
Thank you
Thanks for fastest feature implementation ever =D We'll test it today.
Looks neat and functional, subscribed to file updates.
Version 1.0.0 uploaded and awaiting verification.
Thanks to a ticket request by DaveDee, I have now added 2 optional 'alternative' items which can be deposited for a different amount of currency.
For Example, users can deposit:
Check it out and send me your feedback!
Tested against CraftBukkit [1717] for 1.1 compatibility