[MISC] SimpleGive v1.2 - Giving Items + Permissions + Custom Values [818]

Discussion in 'Inactive/Unsupported Plugins' started by captainawesome7, May 6, 2011.

  1. Offline

    captainawesome7

    SimpleGive v1.2 - Give people Stuff!
    SimpleGive is a basic /i and /give. It uses permissions and a txt file where you can define your own item names.
    Commands <necessary> [optional]:
    /give <playername> <itemname/id> [amount] [durability] - Gives an item stack to a player
    /i <itemname/id> [amount] [durability] - Gives an item stack to yourself
    Permissions Nodes:
    simplegive.give - Allows you to use /give
    simplegive.item - Allows you to use /i
    simplegive.item.id (replace id with the item id that they are allowed to give, * gives them all)
    simplegive.give.id (replace id with the item id that they are allowed to give, * gives them all)

    Configuration:
    • It makes a file at /plugins/SimpleGive/Items.txt
    • The file contains itemnames=idnumbers
    • To define your own item names, just format it like this:
    • stone=1
    • When you type /i stone, it will give you 64 of 1, which is stone :)
    Features:
    • Give items to people!
    • Give items to yourself!
    • Permissions!
    • Item Specific Permission Nodes!
    • Custom item names!
    • Give colored wool!
    • Console Support!
    Wool:
    wool (open)

    Use this image. Type /i wool 64 c
    Replacing c with the light gray number to the bottom left of the 35 above the colored wool.
    For dye, type /i dye 64 c
    Replacing c with the light gray number to the bottom left of the 351 above dye
    [​IMG]

    Downloads:
    Planned Changes:
    • Add config value for the in game confirmation message
    Changelog:
    Version 1.2
    • Added item specific permission nodes,
    • simplegive.give.id
    • simplegive.item.id
    Version 1.1
    • Fixed console usage.
    Version 1.0
    • Release!
    [​IMG] To me to support my plugins :)
    Video of this plugn in action here :)

    @lordkalem
    YOU ARE A RETARD!!!
    IT IS OPTIONAL GEESUS CHRIST

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  2. Offline

    turpinator

    Basically put, can you set names to the different colours of wool, the different dyes, the different half-steps, or the different saplings?
     
  3. Offline

    captainawesome7

  4. Offline

    RTRD

    In the config there is a fail:

    Code:
    bacon=320=
     
  5. Offline

    captainawesome7

    RTRD likes this.
  6. Offline

    RTRD

    @captainawesome7 Is it possible to remove items from the list so people can't spawn certain items? And is it possible to overide the Essentials /i or /item? Because i am thinking of using this for Donators on my server.
     
  7. Offline

    captainawesome7

    @RTRD You can disable /i and /item in the essentials config. I am currently working on the blacklist so that will be implemented soon.
     
  8. Offline

    RTRD

    But can you use the blacklist for certain groups?
     
  9. Offline

    captainawesome7

    @RTRD I don't know, I'm not exactly sure how I am going to go about doing the blacklist, for now though, there isn't one. Check back in a few days.
     
  10. Offline

    RTRD

    ok, cool.
     
  11. Offline

    Fakkabakka

    Uhm.. do you got a mirror for the download? When I press the DOWNLOAD link it doesn't pop up and I can't download it. Ive tried it on my friends computer, but it didn't work there either!! Please help?? :(
     
  12. Offline

    captainawesome7

    Um, what? It works for me.. Click here.
    Raw URL:
    http://dl.dropbox.com/u/17402100/SimpleGive.jar
     
  13. Offline

    Fakkabakka

    Oops! Google Chrome could not connect to dl.dropbox.com


    Neither of the URLs u gave me works..
     
  14. Offline

    captainawesome7

    ? I'm using google chrome right now, and I just re-downloaded it :/
     
  15. Offline

    Fakkabakka

    Are you sure you can't help me? Can you upload it to another website? What did you do to download it? I tried to download dropbox and it still won't work!
     
  16. Offline

    captainawesome7

    @Fakkabakka
    Mirror:
    <Edit by Moderator: Redacted mediafire url>

    All I did was click the link, and google chrome said are you sure you wand to donwload, with the save and discard buttons, so I accepted and it downloaded it :/
    but mediafire mirror above

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 14, 2016
  17. Offline

    Fakkabakka

  18. Offline

    turpinator

    But could you implement that in a release please? I'm running a crafting server and the players would like easier access to the individual items without having to look up their durability, the exact same way this was built for just the normal IDs.
     
  19. Offline

    captainawesome7

    @turpinator Okay, but that will be in a little while.
     
  20. Offline

    turpinator

    I appreciate that much, thank you for your patience in answering my question and understanding my need.
     
  21. Offline

    Nitnelave

    Woo, I've got a big bug! First of all, when I type /i item_name_that_doesn't_exist, it tells me An internal error occurs (it would be nice if it told you that the item doesn't exist);
    But most important, logged as an admin, I try /give, and it says An internal error occured and throws this
    Error (open)
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'give' in plugin SimpleGive v1.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:699)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
    at me.captain.SimpleGive.SimpleGive.onCommand(SimpleGive.java:151)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more

    and, of course, it doesn't work... Using CB 803 and SimpleGive 1.1
     
  22. Offline

    fregaPT I steal plugins as my own

    This isn't working correctly sometimes
    When I type in: /give or i fregaPT wool 10 in the console:
    INTERNAL ERROR
    Then:
    When it works /give fregaPT wool 10
    YOU DON'T HAVE PERMISSION TO DO THAT
    I am admin in permissions, and I'm an op!
    Explanation!
     
  23. Offline

    captainawesome7

    It doesn't matter if ur an admin in permissions you have to have the node...
    As far as /i in the console: No shit? Why would that work in the console? You're going to give the console dirt? What?
    and /i doesn't need a playername! Why would you do /i fregaPT wool 10? Seriously?
    I will test the plugin against the latest RB now, but I do expect it to work fine.
     
  24. Offline

    fregaPT I steal plugins as my own

    Wow
    Sorry if I don't know the I thing!
    ...............
    And I went to the console to see if an error appears !
    I have my reasons!
     
  25. Offline

    therik

    howe do i do so everyone can use the /i and /give comand? :p
     
  26. Offline

    captainawesome7

    You set up permissions
     
  27. Offline

    RTRD

  28. Offline

    captainawesome7

    @RTRD Um, I can work on it I guess...
    Alright, I'm going to be honest, I forgot completely about this plugin. What am I supposed to add?
     
  29. Offline

    RTRD

    Blacklist for certain groups. Or a admin override. ;)
     
  30. Offline

    captainawesome7

    @RTRD Aight, let me edit the op, I worked on a permissions type blacklist ...

    @RTRD I added item specific nodes for giving items and /i items. Works basically like a blacklist. You still have to have simplegive.item and simplegive.item.1 to be able to give yourself stone with /i

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  31. Offline

    RTRD

    Thanks! But thats will be a lot of work on the admin side. It would have been a lot easier if you can use a txt file to edit. ;)
     

Share This Page