AEco - Lightweight Economic, Shops and Locks
New Version 2.0 and up (2.1)!
The complete AEco code has been rewritten, its lighter than ever before! Each part of the plugin is now more independent, this means that when you disable a part of the plugin it will not run in the background, it will be completely gone! Also the item price list has been updated to Minecraft 1.1 thanks to Flagiata.
AEco a must have for every survival based server!
AEco
AEco is a three in one plug-in, it features: Locks, Shops and a small Economy. Every part of this plugin can be disabled if you wish, also every message can be customized. AEco works with the default Bukkit permissions plugin.
Locks
Locks can be used to lock chests, furnaces and dispensers. Players can create locks by clicking with nothing in their hand on a lockable item, when a lock is created players can unlock and lock it by clicking on it. Unlocking and locking can only be done by the player who created the lock, removing a lock is very simple the owner of the lock should click on it with dirt (configurable) in his hand to remove the lock.
Economy
The Economy part of this plugin makes sure players have wallets an can make payments, this is used by the shops part of the plugin for example. Admins can change the value of wallets. Players can (when enabled) sell items to the server, using the prices.dsp file server admins can set prices that should be used when selling items to the server.
Shops
Shops can be used to sell items to other players, to create a shop a player should take the item that he wants to sell in to his hand, then he should type the following command: /shop create 5 150. The first number in this command is the amount of items he wants to sell, the second number is the price for each item he wants. When a player uses this command nothing will happen because he should click on a chest to actual create the shop.
Features
- All languages available because all messages are configurable.
- Lightweight
- Enable features only if you really need them
- Locks
- Works on Chests, Furnaces and Dispensers
- No commands needed
- Automatic protection from explosions and other players
- Economy
- Easy to edit contents of someone's wallet
- Choose your currency
- Sell to server command
- Shops
- No sings, this means after creating a shop players can put their own sing nearby it
- Works with any item
- Create infinite shops
- Automatic protection from explosions and other players
Contents
Downloads
Plug-in: (Most recent 2.1)
- Version 2.1
- Version 2.0.1
- Version 2.0
- Older versions down (Change log / Downloads)
Default prices file (Most recent 1.1)
Change-log / Downloads
- New configuration options:
- Lock chests (true/false)
- Lock furnaces (true/false)
- Lock dispensers (true/false)
- Dispenser locks now 100% safe,dispensers will only dispense items when they are unlocked, locked dispensers will never dispense any thing.
- Added some safety code that checks for old lock locations. Used in different ways: When you MC edit a world, when other plugins remove chests, furnaces or dispensers, when *difficult explanation about coding and stuff here*. And just for safety you never know...
- Edited some default configuration messages (chat colors)
- Shop abort command works again
- Completely rewritten the code
- Bukkit event system updated
- Bukkit configuration system updated
- Minecarft 1.1 Compatible
- Made the specific parts of the plugin more standalone, when disabling a part it won't run in the background its gone... totally gone!
- Lots and lots of other improvements
- Old configuration files won't work any more!
- Permission nodes have been changed !
- Moved some config messages to a new location:
- playermaxamount
- playernotfound
- Added the "Sell to server" command, including new messages.
- Renamed the economic part of the plugin from wallet to Economy.
- Added a currency configuration (ex: $, €, Gold).
- Added a message after a shop command was executed.
- Disabling specific features does now really disable the commands!
- Fixed a few small bugs, and improved some code.
- Initial Release
My home country is Holland, so please if you find any grammar or spelling error pm me!!
Will this pluggin ever get updated to lock doors or beds perhaps? i love the simplicity of the pluggin, so i would love to have things like that added. Or, is there and easy way for me to add doors and such to the lockable blocks??
Found a couple bugs:
First if you create a shop and sell spruce wood planks, then purchase the planks later, they will always be Oak Planks.
Sometimes when the server is restarted, the formatting for the messages no longer work. The coloring for the text (especially the shop text) seems to stop working.
It's sign not sing.
I have 2 questions: How do you create an infinite shop? Is there a way to rename a shop? I'm not asking for the default shop name just on how to rename a few shops.
Would love to use this plugin, is there a dev build for 1.2.3?
Edit: Also does the Economy use any Standard Coding like Vault I think it was? Just want to know if I have to write something specific or not :D
@eddine67
Fixed
I found a small bug i will have to fix:When you place a button near a dispenser it will just drop the block if its locked or not. I'm now going to make it so that if you push a button and the dispenser is locked nothing will happen, only if the dispenser is unlocked the item will be dropped.I place a dispenser and a button near it. When I push the button, the item sold is droped (instead that the item is immediately in the player's inventory)
@eddine67
Do you mean the dispenser is droped, or the stuff inside it?
Can you do that if we push a button/lever near a dispenser, the block is droped ?
Potential names:
Locksmith, Shopsmith, Mineconomy, Store-gasbord (pun on smorgasbord), MCTrader
@F3rr0X Strange but nice that it works right now! If you encounter any problems or have ideas just leave a comment.
Rolf
@rolf_smit
I know that there is no question mark. Thats the reason why i am confused.
I have an virtual Server running with Debian 6.0 x64 minimal
-java version "1.6.0_26", Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
-bukkit version is: git-Bukkit-0.0.0-1131-g86b7fa8-b1337jnks
I really hope that you can help me with these informations.
Edit: I don't know why but suddenly it works. Today i restartet the server a few times an there is no error massage and ingame it is all fine.
I've nothing changed.
F3rr0X
@F3rr0X
Very strange, a question mark should not be a problem, today i tried to get this error but I could not get it. Second, the default configuration file that is generated does not contain question marks.
If i may ask, On which OS does you server run on? What java version are you using? Your bukkit version?
It works fine.
I reinstalled the plugin, but today i used only the jar and not your zip-package with the config-file and this time the server generated me a config, a prices.dsp and the save folder. First time it created nothing and thats why it doesn't worked. But isn't it build 33? Anyway.
Thank you very much.
Edit: after server restart same problems Edit 2: there is a error "19:12:42 [SEVERE] Config file plugins/AEco/configuration.yml isn't valid! unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 253 19:12:42 [INFO] [AEco] Found and will use plugin Permissions v2.7.2 19:12:42 [INFO] [AEco] AEco has been enabled"
i didn't changed anything in this file, if i delete the configuration.yml befor every restart it generates a new and then it works
F3rr0X
@F3rr0X
In the configuration file, did you enable the /sell command? And is the economy enabled?
When you start up the server it should generate a prices.dsp file, just drop the downloaded version over the generated one.
If it still doesn't work: upload your AEco map and i will take a look, and check your plugin version (it should be build 32).
Tried it out but i think i doesn't work or i make something wrong. Everytime i write a command in chat it lists the command's that named like this e.g: typed in "/sell" and then it shown me that there is a command "/sell <amount>", i written it in with a value and the output in chat is the same. And where do i have to put the prices.dsp file in?
@F3rr0X
Not tested, but it should work! comment if works please ;)
Rolf
Hi cool plugin but does it work with bPermissions
@Malcolm2608
Going to do that.
Rolf
@swift_fox24
You'r right, but i made this plugin for my own server and it works fine on it. Now i present it to the public. A key point of the plugin is that it's small and light weight, and i think there are some people that really need this.