Inactive [GEN] GiftSend v0.8 - Send items to other players[RB 1.2.3-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by Nitnelave, May 25, 2011.

  1. Offline

    Nitnelave

    GiftSend
    Version 0.8
    Tested on RB 1.2.3-R0.1

    THIS PLUGIN IS OUTDATED : A MORE RECENT VERSION CAN BE FOUND HERE.


    This is a fork of the abandoned SendGift.
    This plugin allows players to send items to each other. As opposed to the /give command, it does not generate the items out of the blue, but takes them from the sender's inventory. You can send items to players offline (configurable), and they will get it when they log in! You can set a fee for sending items. Permissions is optional, with OP fallback.

    /send <player> <amount> (item name or ID) (damage or color ID)
    /gift <player> <amount> (item name or ID) (damage or color ID)

    The item defaults to the one you're holding if not specified.

    When updating to 0.8, delete your config file.

    Features :
    • You can send items to other players via a simple command
    • You can send items to players offline, they'll get them when they log in (configurable).
    • Maximum range people can send items (configurable)
    • Allow cross world transfers (configurable, disallow offline transfers to enforce)
    • Fee per transaction.
    • Supports Permissions, but has OP fallback, or just allow-everyone (configurable)
    • Supports both item IDs and item names
    • Supports colored wool and damaged tools (sends the first tool it finds, damaged or not)
    • Supports OddItem for item names
    • Supports Vault Economy for transaction fee
    Permissions nodes (case sensitive):
    • GiftSend.send to allow sending items
    • GiftSend.nofee to allow sending for free (requires the send node)
    Download
    Older versions

    Source

    TODO: (will only implement if explicitely requested)

    Some more advanced taxing features (number of stacks, number of items...)
    Suggestions?

    Known Bugs :
    None :D ... (so far!)

    Changelog :
    • v0.8 -- Updated for CB1.2.3 -- switched to Vault for iconomy
    • v0.7 -- Support for BukkitPerms, crossworld setting.
    • v0.6 -- Added a fee per transaction, iConomy and BosEconomy support.
    • v0.5.1 -- fixed duplicate sending bug.
    • v0.5 - Fixed bug with item in hand durability, improved handling of durability for tools
    • v0.4.1 - The item ACTUALLY defaults to the one you're holding :p. Fixed a NullPointerException
    • v0.4 - The item defaults to the one you're holding if not specified
    • v0.3 - Fixed cookie bug. Fixed limitation on item sending (no longer 64 max). Fixed illegal stack sizes or sending more than the other can receive : it gets logged in the offline file, so that the user gets it after. Added support for OddItem.
    • v0.2.1 - Various bug fixes, including : not being able to send damaged tools (now send the first tools it finds), unstackable items stacking. WARNING: this version is no longer compatible with the transaction files from the older SendGift and from the older versions. Delete them.
    • v0.2 - Added OP Fallback. Updated the config to allow a choice of permissions.
    • v0.1 - First release. Forked SendGift, fixed main bugs. Learned Java :p
     
    zok, efstajas and Taranis01 like this.
  2. Offline

    Nitnelave

    I haven't updated it for a while, so I may not be up to date with iconomy. I'll check and update this week-end.
     
  3. Offline

    Redstorm3265

    Ok Well thanks for keeping up with it :D Ill be checking back for an update!
     
  4. Any chance of an R5 update?
     
  5. Offline

    Nitnelave

    I'll try to update in the coming week for economy systems, permissions and 1.2
    Please bear with me, as I already have other plugins to update (like CreeperHeal) and I'm really busy.
     
  6. Offline

    Nitnelave

    You're lucky, I got time to update it! version 0.8 is out, and supports RB 1.2.3-R0.1

    I use Vault for economy now.
     
  7. Offline

    nemisisx

    ok sweet how about a real mailbox like a chest with a sign on it that has the word mailbox and the players name on it and when they log in they get a prompt telling them they have mail (i do understand its going to be hard if not impossible to send money this way) and money can just be sent the old way i guess idk that is you department lol
     
  8. Offline

    Nitnelave

    I probably won't do that. If I'm bored, one day, I might consider it, but I believe there are other plugins out there that do this, and I stopped developing this plugin (just maintaining it, now).
     
  9. Offline

    nemisisx

    yes i found it, im going with that one, thank you tho.
     
  10. Offline

    Deano

    Mine does the same thing. even when writing the whole string.
    sad, My users were SO excited to see this. but its not working.
    at 1st the config was completely empty. so I took what i could find on this forum and used that but im still getting.
    An internal Error occured while attempting ect ect ect.
     
  11. Offline

    Nitnelave

    Could you post the exact message you get (it's really important for me that it is from the version you actually use, for the line numbers)?
    Do you get the problem of defaulting to the item in hand too?
    I'm aware of the config problem, I'll fix it this week-end.
     
  12. Offline

    Zoroark173

    Could you add EssentialsEco please? It only says iConomy and BOSEeconomy,
     
  13. Same message here too.
     
  14. Offline

    Nitnelave

    Ok, I got a new version that should fix the problem (by the way, it was because you didn't have Vault, but now you don't need it any more.).
    For economy, I now only support Vault... but that's OK, they support everyone ^^
     
  15. Offline

    Zoroark173

    So as long as I have Vault, It supports EssentialsEco?
     
  16. Offline

    Nitnelave

    Check if Vault supports EssentialEco, but I think so. If they do support it, I do too, through them.
     
  17. Offline

    Zoroark173

    Thank you!
     
  18. Offline

    quickclay

    Maybe some sort of confirmation by the receiver when a gift is sent "So and so wants to send you a gift. To accept type /giftaccept" This would prvent people from just unloading all their junk on others. Looking forward to trying this out. :)
     
  19. Offline

    Nitnelave

    I'll think about that when I next have some free time.
     
  20. Offline

    rafalon

    I have an idea! Make sending in-hand items :D, because some players don't know all ID's.
     
  21. Offline

    quickclay

    This is the default if you don't put in an item name.
     
  22. Keep throwing this on /send:

    Code:
    09:50:27 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'send' in plugin GiftSend v0.8
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:469)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:907)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:867)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:850)
            at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116)
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
            at com.GiftSend.GiftSend.GiftSend.onCommand(GiftSend.java:148)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 12 more
    
     
  23. Offline

    Nitnelave

    Are you sure you have the latest version? There cannot be an error at line 148, so you must have an older version. Make sure that you have Vault if you want to use economy (or if you have use-vault to true).
     
  24. Offline

    hanimallover

  25. Offline

    Nitnelave

    It should be fine with 1.2.4. Try it, and if you encounter bugs, I'll try to fix them.
     
  26. Offline

    zecheesy

    @Nitnelave
    Make the range global?
    Have another option on the config to make it global so players from around the world can send you stuff!
    This would be great! I wouldn't have to set my max-range to 1000000000000000000000
     
  27. Offline

    Nitnelave

    Set it to 0, so there's no check ^^
     
  28. Offline

    Adrenaline

    Update source at Github
     
  29. Offline

    Nitnelave

    Here you go, it is updated!
     
  30. Offline

    Adrenaline

    Bug: 1.2.5: when type /gift etd.. plugin send doubled items to player..
     
  31. Offline

    Nitnelave

    I'll have a look at it when I can, but that might not be until next weekend
     

Share This Page