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:
@sk8r2k9
Thanks for your work :)
From what testing I've been able to do, This seems to be still working on 1.3.1.
This Project isn't abandoned, I'm working on a completely rewritten version, as this became almost impossible to work with. No ETA yet.
I'll be trying to get a new version out very soon. Currently, Fixing every bug that has been produced from switching to SQL is very tedious, and slow. The release will also be quite experimental, as it will be including a large amount of changes, So some bugs may slip through! Just a heads up for anyone interested. =)
@omgitsmit
Thanks for the info, Will update. =)
That's odd that you were having issues with the distance setting, I'll look into it.
As for charging for Exchanges, Do you mean similar to that of a tax? Such as a percentage or set amount? If so, I can probably implement that quite easily =)
Glad you like the plugin and thanks for the feedback, I appreciate it =D
New vault has been updated to support the new Sandtsone blocks. You may want to update your info. Also, i've been having issues with the distance limit. Even when i set it, it still allows me to send the gift no matter what distance is between the player and i. I will test it some more, maybe its something in my permissions. Also, is there any way to charge for gifts/trades/swaps?
Thanks for an awesome plugin!
EDIT: I got the distance working with the /sgift set distance commands instead of manually editing the conf file :)
@MCBuncey
Not a problem! =3
Ty very much sorry for the late replay
@Conderan
@MCBuncey
Both of these features have been added to 1.4 =)
@Conderan
@MCBuncey
I'll see if I can get both these features into 1.4.
@sk8r2k9
Let me clearify...
Guy 1 and Guy 2 live in world A. Guy 3 and guy 4 live in world B.
I want Guy 1 and guy 2 to be able to gift or trade. I want guy 3 and guy 4 to be able to gift only. HOWEVER, I do not want guy 1 or guy 2 to be able to exchange items (across worlds) at all with guy 3 or guy 4.
Why? I run mini-games.
@sk8r2k9
Ty very much
@MCBuncey @fragmatiklv
New update to fix your problems is awaiting approval. =)
@MCBuncey
sgift.something.* Permissions are kinda funky atm, I'm going to separate them better soon.
For now, Just add the separate permission nodes for each part, sgift.trade.accept, sgift.trade.start etc.
Also, if you want, you could try making sure your negative permissions are after the sgift.trade.* permission, That could help. If it's already like that, then just use the separate permission nodes, Like suggested above.
Sorry for the inconvenience, I'll fix the permissions soon.
@sk8r2k9
For some reason trade auto and trade auto - deny are both on Even I tried what you suggestion below on my permissions using PEX
- sgift.trade.* - -sgift.trade.auto - -sgift.trade.autodeny
@fragmatiklv
I'll add some permission nodes to allow toggling of the Auto-Features. They should be off by default anyway, But just add the -sgift.trade.auto and -sgift.trade.autodeny permission nodes to your players for now, and that will force them to default to off, but they will still be able to toggle them until I add the permission nodes for toggling (Later tonight).
I forgot to list the Auto-Deny permission in the permission listing page. Sorry.
I'll get an update out tonight, Hopefully.
have new problems =(( ive added: sgift.trade.trade sgift.trade.help sgift.trade.accept sgift.trade.deny sgift.trade.cancel sgift.trade.start
i didnt add sgift.trade.auto
now people must write /trade auto-deny if they want to start trade and even if we dont have trade.auto flag or make it -sgift.trade.auto (with minus), its doesnt matter - you can use /trade auto without this perm.
can u maybe make more perms and make this USELESS options off my default
look if people download your plugin - they want to trade, they dont want to trade be closed by default and i dont want to see cmd /trade auto because i have big server, 100 online and half of em are 12-year old jokers, with stupid jokes, and if il give em this cmd that wil be bad for some players
so my prob is - i dont want to see /trade auto-deny, i want to trade by default and i dont want to see /trade auto. help me pls
@Conderan
You can use a plugin which supports per-world permissions. Such as PermissionsEx
o.O is there a way to set it up that people in one world cannot get gifts with people in any other.. but, people in all other worlds can trade or gift between eachother? If so... how?
@fragmatiklv
Aha! I Have managed to replicate it! Thank you!
Sorry for being so ignorant >.> I'll be fixing this and a couple of other bugs in the next couple of hours. =)
Sorry again!
EDIT: About the Auto-Accept feature, That was requested by someone, Here
il explain again.
i have - 100$
player 1 sends me 1 gravel for 100$ player 2 also sends me 1 gravel for 100$
so i need to have 200$ to accept this deals but i accept it twice and get 2 gravel and both of my friend got 100$ so its dupe of money
im using standart plugins such as essentials economy, pex and vault
sorry about last posts. im russian, maybe i said smth wrong so u didnt understand me
btw I cant imagine situation where i can use new feature - auto accept. maybe in gifts...but its useless i think