sGift
sGift
Appears to be working on 1.3.1.
sGift is a plugin that handles private Trading (Economies supported by Vault) and Gifting of items between players. Players can privately sell and gift their Items to other players without the need to meet up or find a safe spot to trade.
Features:
- Gift any number of Items from your inventory to another player, and let the other player choose to Accept, or Deny the Gift.
- Trade any amount of Items from your inventory with another player, for cash, using any Economy supported by Vault.
- Swap Items between players (Item for Item trading)
- Full permissions support.
- In-Game Configurability.
- Very customisable.
- Hooks into Vault
Pre-Requisites:
- Vault. Plugin will auto-disable if Vault is not found.
- An Economy plugin (Such as iConomy 6) for trading to function.
- A Permissions plugin (Such as PEX) The permissions plugin should support negative permissions, Otherwise you will run into problems when using the Auto-Features.
Planned Features:
Red: Not yet coded.
Orange: Coding has begun, Expect in near future.
Green: Implemented, Will be in next version.
- Implement MySQL/SQLite
- Configurable
Timeouts(Implemented) and cooldowns - Check if player has left, cancel any exchanges they're involved in, refund items when player rejoins
- Some form of Tax or Charge system
Any suggestions?
Known Problems:
v1.2.3 - v1.4.2
- If you're running an old version of Vault (Including, and prior to, 1.2.15) you will get errors occasionally. Make sure to update to Vault 1.2.16!
Useful stuff:
@fragmatiklv
Nope, Still can't replicate it... Could you tell me what Economy plugin you're using? What other plugins you have? Or maybe you could elaborate exactly as to what the bug is.
Let me explain with a simple log, In this Log, Sk8r2K10 is recieving 1 gravel from Player for $20, and 1 gravel from Player2 for $20. He accepts both, and it works as it should.
Log:
money Sk8r2k10
19:53:56 [INFO] [Money] Sk8r2k10's Balance: 100.00 Dollars
money Player
19:54:01 [INFO] [Money] Player's Balance: 100.00 Dollars
money Player2
19:54:08 [INFO] [Money] Player2's Balance: 100.00 Dollars
19:54:55 [INFO] [sGift 1.3] Sk8r2K10 recieved 1 Gravel from Player2 for 20Dollar(s)
19:54:58 [INFO] [sGift 1.3] Sk8r2K10 recieved 1 Gravel from Player for 20Dollar(s)
money Sk8r2K10
19:55:09 [INFO] [Money] Sk8r2K10's Balance: 60.00 Dollars
money Player
19:55:12 [INFO] [Money] Player's Balance: 120.00 Dollars
money player2
19:55:16 [INFO] [Money] player2's Balance: 120.00 Dollars
The bug you describe either doesn't exist, or I am just completely unable to replicate it. Sorry.
no, its still working. u need to have 2 deals in one time and then write /trade accept twice
maybe u can make only 1 deal at one time?
@Almantsas
Could you post the Help section of your Config file here please?
EDIT: "Invalid Configuration Exception: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 97." I think this bit makes it pretty clear what you've done wrong =P
Basically remove the ?'s and !'s etc. from your Config and you should be golden.
error on server start:
@fragmatiklv
Haha, Fair enough =P
Again, I'm unable to replicate this, As it just accepts them in order of who requested a Trade last, One at a time. I Think this bug must have been fixed (Albeit accidentally) in 1.3 then. I'd recommend updating. =)
sorry, was drunk.
for example one man have 150$. 2 people send him trade with same id,quantity and price 150. when he accepts, he will buy it from 2 persons and pay 150$ each
smthing like this
@HockeyMike24
Possibly, I'll look into a way of doing this, and see if I can cram it into 1.3 =)
Could you add an option in the config? Make it so people have to be x distance to trade, x being blocks between players.
@fragmatiklv
After trying for quite a long time, I can't replicate your bug at all. Each player starts with an Arrow and $20
This is how I tried to replicate it:
Sk8r2K10 -> 1 Arrow $1 -> Player
Player -> 1 Arrow $1 -> Player2
Player2 -> 1 Arrow $1 -> Sk8r2K10
Sk8r2K10 Denies.
Player Accepts.
Player2 Accepts.
No problems, Sk8r2K10 has 0 Arrows and $21 ($+1 from selling his Arrow to Player), Player has 1 Arrow and $20 ($+0 from selling 1 Arrow to Player2 and buying 1 Arrow from Sk8r2k10), Player2 has 2 Arrows and $19 ($-1 for buying an Arrow from Player).
14:24:32 [INFO] [sGift 1.2.5] Sk8r2K10 denied 1 Arrow from Player2 for 1 Dollar(s)
14:25:26 [INFO] [sGift 1.2.5] Player2 recieved 1 Arrow from Player for 1Dollar(s)
14:25:34 [INFO] [sGift 1.2.5] Player recieved 1 Arrow from Sk8r2K10 for 1Dollar(s)
So, I think the method you described doesn't work. If you could get the actual way of producing this bug, I would be able to fix it, Otherwise there's not much I can do. (I'd recommend asking the player who did it how he did it, with a small reward in return). Apologies if I missed your point completely.
Also, Please don't call someone's plugin an "epic fail" if they have put hard work and effort into it, Especially if you "actually don't know this bug".... I Would appreciate it if you can clarify how to do the bug.
However, On a good note, This helped me find and crush a couple of other bugs that slipped through, So they'll be fixed in the next version.
Tested..working..awesome...thx :)
@Drehverschluss
No problem! The new Nodes have been added, I'm just waiting for the file to be approved.
this is awesome thx for that :)
@Drehverschluss
Okie Doke, I'll go ahead and add a load more perm nodes. =)
Would be sick if you can split the Permssions more defined...Like to accept and to satrt a Trade you have 2 sepperate perms.
@titen96
I've been thinking about adding this, So I suppose that could be in the next version. =)
is it possible to gift/trade the item that you're currently holding? instead of having to type the item name?
@xXSshadowXx
Okie Doke, That should have fixed the Dupe bug. Just need to wait for the file to be confirmed. =)
@xXSshadowXx
Ah. Right, I'll fix that now. Thanks for reporting. =)
@sk8r2k9
Hey one of my admins just reported this to me here it is in his words
"If you send enchanted items. you dont lose them, but the person also recieves the item but not enchanted."
I restricted the perms to admin only for now. Do you want me to file a ticket or is this sufficient?
ooo. Looks nice. I'm going to test it out right now.