EasyTrading
EasyTrading
Hey,
Your server is full of scammers? You have searched for an item trading plugin? Other reasons?
Here are you right!
This plugin is a simple trading plugin for items and money.
<< Features >>
- Trade items in an inventory
- Support for Money (Currency)
- Multiple ways to trade
- Protection when you click out of inventory (No item loss)
- Trade automatically stops on server reload / restart
- Cancel trade if you close inventory
- World Blacklist
- In trade you cannot pick up items
- Commands (can be disabled)
This plugin works for CB version 1.7.9 too!
<< Commands >>
/trade - Shows the help
/trade <playername> - Requests a player (accepting too)
/trade reload - Reloads the plugin (admin)
/trade blacklist <add|remove> <worldname> - Adds or Removes a world from the blacklist (admin)
/trade blacklist list - Shows all blacklisted worlds (admin)
<< Permissions >>
(Added in version 1.1)
easytrading.trade - General permission to trade
easytrading.trade.<playername> - Permission to trade for a specified player
easytrading.exempt - Permission to block trade requests
easytrading.exempt.<playername> - Permission to block trade requests from a specified player
easytrading.bypass - Permission to bypass exempted players
easytrading.admin - Permission to use admin commands
<< Installation >>
- Download this plugin
- Drag and drop it into your plugins folder
- Restart your server
- Edit the config.yml as you like (see here)
- (optional) Add Vault to your server and an Economy system to use the money trading system
- (optional) Add ProtocolLib to your server to use Sign input for money input
WARNING
WARNING
Plugins that uses the same Inventorynames as EasyTrading are NOT compatible with this Plugin!
<< How to use >>
- Player A Shift + Right-Click Player B to send a trade request
- Player B Shift + Right-Click Player A to accept the trade
- Both can put items on the left side of the inventory
- You can see the targets offer on the right-side of the inventory
- Click on "Accept Trade" to accept the trade, you can deny the Trade by clicking "Deny Trade"
- To clear your offer click on "Clear your offer"
- To cancel the trade click on "Stop Trade" or close your inv
- To see the player who is trading with you hover over the player head
<< Bugs? Translation fails? >>
If you found a bug please write me a comment or use the ticket tracker!
My english is not the best, I'm still learning! If you have an improvement of the text messages write me a PM and say what text message into what text message!
<< Ideas? >>
Please write me a PM if you have any idea for this plugin!
<< Future Planned >>
Permissions to tradeA special item to make a requestMultiple options to tradeSupport for Vault (Currency)World-BlacklistCommandsConfigurable MessagesItem-Blacklist- Editable interfaces
It would be cool if someone could make a video about the plugin!
-
View User Profile
-
Send Message
Posted Aug 17, 2014Geiles Plugin!
Wäre noch schön wenn Du eine Item Blacklist einfügen könntest. Also, dass bestimmte Items nicht gehandelt werden können.
Danke!
www.realistic-minecraft.de
-
View User Profile
-
Send Message
Posted Aug 15, 2014@Anno35
Great! Thank you!
-
View User Profile
-
Send Message
Posted Aug 14, 2014@madtomic
Yes.
-
View User Profile
-
Send Message
Posted Aug 14, 2014This support cb1.7.9-r0.2?
-
View User Profile
-
Send Message
Posted Aug 13, 2014@xIPad3Zockerx
Du kannst auch in Deutsch schreiben ;) Ich werde dieses Problem in der nächsten Version fixen.
-
View User Profile
-
Send Message
Posted Aug 12, 2014i found a way to cheat :)
If 'player 1' press ready, 'player 2' can click 'delete items' and then on ready and he get the items from 'player 1' but 'player 1' dont get the items from 'player 2'
Sry for my english #germany
-
View User Profile
-
Send Message
Posted Aug 10, 2014Hello there, can you provide the GitHub source code? I'd like to translate it into French and you want it to you. best regards
-
View User Profile
-
Send Message
Posted Aug 9, 2014@Anno35
You would be surprised. I've already donated to two plugins and I'm a coder myself, I could have just stolen the idea and made it myself ;) But it's nice to have things already done for you. Even a small amount, $1-20 occasionally when you don't expect it, is a help! Sometimes it can come when most needed also.
-
View User Profile
-
Send Message
Posted Aug 6, 2014@ZeriyaGaming
The messages are fixed in the next version. I can allow donations every time. But I hadn't thought that anyone would donate.
-
View User Profile
-
Send Message
Posted Aug 6, 2014Says "you have get" Can you please change to "you got" (Suggestion: Configurable messages) Also can you change "sneak button" to "shift" in the money menu. Since some of my users use Ctrl to sneak, they got confused and i did too.
P.S. Will you be allowing donations soon?
-
View User Profile
-
Send Message
Posted Aug 5, 2014@DrkMatr1984
I'll see what I can do ;) But now I still collect more ideas.
-
View User Profile
-
Send Message
Posted Aug 5, 2014@Anno35
Protocollib has some kind of method for opening up the sign GUI to get input. Maybe keep it the way it is, but add a small "if statement" at load and again at the listener for protocolib detection, and if detected, redirect to a separate function that pulls up a sign Gui where the player can enter the exact amount. Then have a button that let's you discard the amount and reinput a different amount if you mess up.
This way you could support a better way to handle money, while still supporting the old way for smaller servers that don't have protocollib installed.
-
View User Profile
-
Send Message
Posted Aug 5, 2014@madtomic
Caused by: java.lang.NullPointerException at de.Truhera.EasyTrading.Events.TradeInvClick.onInvClick(TradeInvClick.java:46) [?:?]
I think this was caused by trying to initiate a trade with a person in creative gamemode. This plugin is great! I just wish you would post the source code to github so fellow developers could fix small things like nullpoint exceptions and help you out. I'm a coder also who runs a server, so when I run across small things like this I usually take the time to fix them myself so I can use the plugin. I hate decompilng myself and then not being able to share my fixes with the author/community!
-
View User Profile
-
Send Message
Posted Aug 5, 2014@madtomic
There is a method for removing money. I'll rethink this idea.
-
View User Profile
-
Send Message
Posted Aug 5, 2014I would suggest to adding button for 0-9 so players can input the amout. with the current method. it's hard to keep track because you can't minus when you input too much.
-
View User Profile
-
Send Message
Posted Aug 5, 2014But every now and then, I get this errors.
10:31:40 AM [10:31:40 ERROR]: Could not pass event InventoryClickEvent to EasyTrading v1.0 10:31:40 AM org.bukkit.event.EventException 10:31:40 AM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:486) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:471) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:1361) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM at net.minecraft.server.v1_7_R1.PacketPlayInWindowClick.a(SourceFile:32) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM at net.minecraft.server.v1_7_R1.PacketPlayInWindowClick.handle(SourceFile:10) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM Caused by: java.lang.NullPointerException 10:31:40 AM at de.Truhera.EasyTrading.Economy.PlayerAccount.updateMoneyOffer(PlayerAccount.java:34) [?:?] 10:31:40 AM at de.Truhera.EasyTrading.Events.MoneyInvClick.onMoneyInvClick(MoneyInvClick.java:44) [?:?] 10:31:40 AM at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source) [?:?] 10:31:40 AM at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_51] 10:31:40 AM at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_51] 10:31:40 AM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:318) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 10:31:40 AM ... 13 more
-
View User Profile
-
Send Message
Posted Aug 5, 2014@Anno35
I'm using CB1.7.2-r0.3 with latest Vault and latest build of iConomy support by Vault. I got it to work. :)
-
View User Profile
-
Send Message
Posted Aug 4, 2014@sanegaming
Good idea, I'll add this feature.
@madtomic
You need Vault the newest version of Vault for your CB version and a supported Economy system for Vault. If you have CB 1.7.9 it could lead to bugs. I recommend you to use an alternate Economy system.
-
View User Profile
-
Send Message
Posted Aug 2, 2014how to trade money? I try click to edit and nothing happen. this support vault? i'm using iconomy. is this supported?
-
View User Profile
-
Send Message
Posted Aug 1, 2014Command trade is nice to go with this. But traditional trade are done in person or via a mail system.