Rpg Trade
MAJOR NEWS
I have decided that we are going to be merging all of the RPG style plugins into a single plugin, Servers that want to only use a few features from them will still be able to do so through our config files. The RpgAPI page we have will be the one the plugin gets released on. It is taking a bit longer than expected to get them all updated but we are trying to make them as configurable as possible so every server can use them exactly how they want to.
Rpg Trades
Major update V1.5
Rpg trades is a system that allows you to open a trade window between you and another player for safe trades.
Permissions
trade.invite
Features:
- trade between 2 players with a inventory based gui.
- both players must hit the "confirm" wool before a trade will go through
- if one player changes an item both players have to re-confirm so no last minute trade scams!
- multiple items can be traded at once!
- the trade system can also be used to give a player items, as long as both people confirm only one side needs items!
- set how long players have to accept a trade in config
- set how far away players can trade from in config
- set only local trades to false in config to allow trading across any distance or world!
Commands
/trade {playername} - invites a player to trade with you!
V1.5 /trade invite {playername} - invite term can be changed in config
/trade accept - accepts a pending trade invite
/trade deny - cancels a pending trade invite
Config File for V1.5
#whether players have to be within a certain distance to trade with one another onlyLocalTrades: true #if only local trades is true, this is how close a player has to be to trade TradeDistance: 10 #how many seconds before an impending trade invite is cancelled inviteTimeOut: 30 #words to display to players under different circumstances. #These are considered self explanatory so won't be elaborated upon #colors can be used with @# a.k.a. @2 = green #the first five are wrapped in '' so that the initial space will be placed in messages after a player name. Terms: Has Invited: ' Has Been Invited To Trade.' Is Invited: ' Has Invited You To Trade. please use @2trade accept @for @4trade deny.' Accepted: ' Accepted the trade.' Denied: ' Denied the Trade.' Too Far Away: ' is too far away!' Not In Trade: you are not in a trade! Error: Syntax Error use accept deny or invite! NoPerm: You do not have permission to trade! Missing Player: Cannot find player. Same World: This player must be on the same world as you! Complete: Trade Completed. Block Accept: Accept Block Deny: Deny Block Waiting: Waiting. Block Confirmed: Confirm #do not use colors in these, these are the commands players have to type in to use the trade features. Command Invite: invite Command Accept: accept Command Deny: deny
massive credit and thanks goes to RC2K7 for starting the work on this plugin and getting most of the hard stuff out of the way :)
My RPG Plugins
Rpg Click
Help fund my programming hobby :)
I'm always available to help with issues with this plugin. feel free to log onto my ts3 at voice.vartala.com or add soulofw0lf on skype (Make sure you include why you're adding me or i will likely ignore it.)
@diannafire
I agree with ulumulu1510, it needs economy support! That's the only thing stopping me from adding it to my server! great plugin you'll get tons of downloads :D. (especially with eco support)
Regards, Dakota
@frol1
I do not believe i'm going to roll all of them into one cause alot of them are used individually by servers. However.. i am currently in the process of writting the RpgAPI that will tie all of them together in pretty amazing ways, as well as give plugin dev's access to the unique features they use, allowing alot more plugins to have control over the things used with each of the individual plugins. Hopefully soon after my api is released i will have my RpgMinions plugin done which will give extreme ammounts of control of custom npc's, minions, monsters, bosses, follow pets, combat pets and more, as well as my RpgQuests, RpgClasses, and RpgSpells plugins. All of these were originally going to be server exclusive but i have decided to open the all to the public once they are finished. hopefully the RpgSuite of plugins will be enough for anyone to use that needs a full on rpg experience!
Is it possible to roll all the plugins in to one?
@diannafire
Case sensitive means that if someone types /trade fluviu22, it won't work, unless it types /trade Fluviu22
And about that trade sign. I really want to make a trade center where players come and trade..not having to type in chat every time. I used a trade chest plugin some time ago, but that project was abandoned. RPG click is not the same, is good to check the other player's inventory
Or, another idea, put a [trade] sign on a chest, and 2 players start trading when they try to open the chest
@diannafire
Yes, it could block custom items and not vanilla items.
I could most likely add a file where you could restrict certain items, though i think i'd do it by display name instead of id since restricted trade items would all most likely have display names i'm assuming?
Hi, first of all thanks for this awesome mod :) Could you add the option to restrict some items or customitems(rpgfood) to trade? this feature with a plugin antidrops allow admins to make some items atached to player. Waiting your answer and sorry for my poor english.
@MrRedstoner
thanks much :) glad you like it!
Incredible plugin.
I am looking for someone else to work with on my core server plugins, if anyone is interested please contact me on skype - soulofw0lf
@Psycho089
Thank much! I'll eventually be adding in vault economy support for it after i finish figuring out exactly how i'm supposed to do that :P and no i don't use citizens, i'm programming every npc / monster on my server by hand so i can do some awesome stuff with reputations and dynamic world events :P
Wow Amazing plugins you made there!!
+1 Like
If you use citizen on you server get Denizen, you can make custom items, make your own currency :) My server have 6 currency, the banker can convert them, bank them, and also make vouchers so you can use Vouchers and as many type of currency you want in the trade :D
@diannafire
Thank you sir, it would be really appretiated.
@ulumulu1510
I can look into it and try to figure it out :)
Could you add some sort of currency support for this plugin? I know I ask for much, but I describe how I would do it (if I'd be able to code):
Clickable items that represent money who have a config defined value gets added to the trade screen buttom. If you click them, the item gets added and will be displayed at the top of the screen but the player is not able to remove or move them by hand (nor shiftclick whatever). If the trade gets accepted, the original item changes the owner and the money (symbolized by the items) get converted to real money.
If you consider this, make it hook into vault please. This does not only safe your time but time for the admins aswell.
Thank you for reading it.
@poonjab1_0
i'm just glad people are using and enjoying them :) If you find any bugs let me know right away and i'll get em fixed asap :) though i would recommend waitting until bukkit releases V1.5 before installing, it's about 1000 times better :)
<<reply 1482796="">>
Thank you :) I am going to install it today. your plugins are really well done, Thank you.
@lazeriux
ok i got stuck working on my classes plugin so went back and did a complete re-write of trades. V1.5 has been uploaded, and includes locale terms in the config, an actual fix for the shift click bug that was previously "fixed" a /trade reload command, and much smoother performance. It will be available for download as soon as bukkit approves it.
@lazeriux
that is currently planned for a future release of all my plugins but it will probably be a couple weeks till that happens, i'm thinking by the end of the month for sure though.
Make locale file :) Then we could edit messages manually