Mods Server

Rpg Trade

  • 8.1k views 0 today
  • save_alt 468 downloads
Game Version
Minecraft 1.5
Progress
100% complete
Added Creditmassive credit and thanks goes to RC2K7 for s… info
  • 11
  • 7
  • 21
soulofw0lf
Lvl 42Master Modder
35
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.

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

Rpg Party

Rpg Trade

Rpg Guilds

RPG Food

RPG Lobby

RPG Achievements

RPG Spawns

Help fund my programming hobby :)
httpwwwvartalacomdonationsjpeg

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.)

2 Update Logs

Update #2 : by soulofw0lf 05/13/2013 11:11:12 pmMay 14, 2013 @ 3:11 am UTC


Change log



- fixed an issue with shift clicking causing you to lose your item
- added locale terms into the config so each server owner can have his players seeing what he wants them to see
- added color coding into all display messages. messages can now look however you want them to!
- /trade invite now requires a player name
- /trade used alone no longer gives you a console error
- added in a /trade reload command for quickly updating your server after messing with the config file. no more server reloads needed!
- increased the performance of the trade window so no more graphic glitches occurring making you think you've lost an item!
- locale terms include customizable player commands. don't like /trade invite ? use /trade start instead!!
- general rework of the coding to make everything perform quick and be less intensive on servers!


Known caveats



this was built on CB 1.5.2 r0.2 not 0.1 but i don't think that should cause any problems.
other than that?
none. it is my belief that all bugs are finally removed. if you find any at all let me know!
LOAD MORE LOGS

More like this

  Have something to say?

Ikea
04/25/2014 10:25 am
Level 4 : Apprentice Explorer
You have a large selection of really useful plugins


Subscribed
1
Amethystpear
05/14/2013 5:20 am
Level 5 : Apprentice Network
Just an awsome plugin nice work fav and diamond for you :-D
1
soulofw0lf
05/14/2013 6:04 am
Level 42 : Master Modder
Thanks much glad you enjoy it!
1
SocialP2
05/11/2013 12:11 pm
Level 25 : Expert Spelunker
Future Feature:

When a person puts the item in there you can see it. + If you click confirm you have to pick it up and drag it into your inventory + If its a named item you can re-name it if you shift click it (But only works 1nce)
1
GewoonVin
05/11/2013 10:55 am
Level 1 : New Explorer
future feature:

shop block input 1 (Your item) and input 2 (whatever the block has)
1
soulofw0lf
05/11/2013 11:38 am
Level 42 : Master Modder
could you eloborate on that idea a bit?
1
GewoonVin
05/11/2013 12:41 pm
Level 1 : New Explorer
what do you mean (i am dutch so i can't understand all english words)
1
soulofw0lf
05/11/2013 1:27 pm
Level 42 : Master Modder
i was hoping you could explain what your future feature idea was a bit more?
1
GewoonVin
05/11/2013 1:33 pm
Level 1 : New Explorer
ow

that you can place a block and set like
2 gold ingot for a emerald

than in survival you'll pay 2 gold and you'll get 1 emerald
1
soulofw0lf
05/11/2013 2:09 pm
Level 42 : Master Modder
This plugin is really just designed for trade between two players, adding in economy features really isn't planned at all.
1
surferconor425
05/08/2013 2:31 pm
Level 1 : New Explorer
Nice mod but it would make more sense if it was a Bukkit plugin, as the majority of people play survivial multiplayer than Modded Survival Multiplayer.
1

Welcome