Trusty Trade
Trusty Trade
LOGO COMING SOONAbout
This is a simple lightweight plugin that allows players to trade in an RPG-type styleI made this plugin because sadly, you can't trust everybody, and RPGTrade wasn't getting updated to 1.7
This plugin is highly configurable, allowing you to change every aspect including text (localization.yml) and help items (config.yml)
Commands
(if you type the command without the text in parenthesis it will have the same result)command | description | permission node |
---|---|---|
/tt | the master command and an alias for "/tt help" | tt.help |
/tt a(ccept) | accept a trade offer | |
/tt d(ecline) | decline a trade offer | |
/tt r(eload) | reload the config and localization | tt.reload |
/tt t(rade(with)) | start a trade with/between the given player(s) | tt.trade |
/trade | an alias for "/tt trade" | tt.trade |
Permissions
permission node | description | default | ignored with "use permissions: false" |
---|---|---|---|
tt.trade.force | allows forcing trades between other players (/trade <player 1> <player 2> force) | op | false |
tt.help | permission to do "/tt help" | everyone | true |
tt.reload | permission to do "/tt reload" | op | false |
tt.trade | permission to start a trade with other players | everyone | true |
tt.trade.interact | permission to start a trade with other players by interacting with them | everyone | true |
tt.trade.invincible | any player with this will be invincible and will not be targeted by monsters during trades | everyone | true |
tt.trade.mulitiworld | allows starting trades with players in other worlds | op | false |
tt.trade.other | allows starting trades between other players (/trade <player 1> <player 2>) | op | false |
TODOs
- add in an option for per player localization for servers with players from all over the world, might require a database
- add in some kind of API so other plugins can use trading for NPCs → coming in the next build
- <s>add separate permission node for "/trade <player1> <player2>"</s> → added "tt.trade.other"
- fix shift events for moving items around when the trade inventory is open
- set max distance for trading (bypassable with permissions) → coming in the next build
- <s>play around with console/commandblock "/trade" (it works fine now)</s> → everything works now
known bugs
- Lightloader only: items can be removed from the trade inventory and will only vanish after next inventory update
Sorry for a really delayed replay... I just finished a few important projects (including rewriting some mods and plugins), this one is next :D If anyone has issues contact me as soon as possible via a PM.
Please source code...
Anyone else having issues with TrustyTrade?
Here is my debug.log: TrustyTrade debug.log
Here is a snipit of my minecraft log showing the error: Minecraft Log TrustyTrade error
Anyone have any ideas what might be the issue?
I beg to add config in n distance units for trade's Capability
Bugs:
I beg to eliminate defects. Sorry for my english, I'm from Russia
Please add a way to allow trade only if players are few blocks away :)
Please add Configuration with disable/enable economy
@DerekZil
/trade should work, but if it for some reason doesn't, please tell me when (also a debug log could be helpful)
@delsolsi213
I will test it tonight, I'll PM if I find anything. :)
Edit: Also remove the Dropbox link, Bukkit has to approve the links for the plugins. (Just so they don't delete your writing.)
@DerekZil
use aliases for now. also is there any knwon dupe bugs?
Can you make /trade work as well? :)