Cake placer plugin

Discussion in 'Archived: Plugin Requests' started by nathnana2002, Jul 21, 2014.

  1. Offline

    nathnana2002

    Plugin category: Fun, Economy

    Suggested name: CakePlacerSign

    What I want: Can someone make me a plugin that when a player right clicks a sign, it places down a cake in a selected area and takes a listed amount of money? (Area Selected with worldedit) I know this might be hard, but Im sure someone can do it. Thanks in advance!

    Also the Sign could say:
    Line 1: &cRight Click
    Line 2: &cto Place a
    Line 3: &cCake!
    Line 4: &2($$$ Amount)

    And to create the sign:
    Line 1:[Cake]
    Line 2: (Nothing)
    Line 3: (Nothing)
    Line 4: ($$$ amount)

    Ideas for commands: No commands needed for this plugin. (Unless I think of any)

    Ideas for permissions: cakeplacer.make.sign Allows player to make a cake placer sign (OPS by default)
    cakeplacer.use.sign Allows a player to use the Cake Placer Sign
    (PERMISSIONS ARE OPTIONAL)

    When I'd like it by: Whenever

    Added the Format. Sorry bout that

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

    Asien

    nathnana2002 Why use WorldEdit to select an area? Do you want a cake placed for every block in the area?
     
  3. Offline

    nathnana2002

    What I mean, is I would select an area with world edit, and it would place cakes in the area I selected. Its kinda a restaurant sort of thing. You buy a cake, and it gets put on the table, or something.
     
  4. Offline

    kps1796

    I could do this with cake locations (x,y,z) in a config file, if that works. (instead of worldguard)
     
  5. Offline

    nathnana2002

    Yeah that Sounds OK
     
  6. Offline

    kps1796

    Okay, I'll do this on Thursday, unless someone wants to do it earlier.
     
  7. Offline

    Asien


    I will pick it up and start right away. Might even have it done by tonight.
     
  8. Offline

    nathnana2002

    Oh sweet. I thank both of you!
     
  9. Offline

    kps1796

    Alright.
     
  10. Offline

    Asien

    nathnana2002
    https://www.dropbox.com/s/06ulsg5kdtk0b6n/CakePlacer-v1.0.jar

    Everything you asked for except instead of WorldEdit selection, you right-click the block you want the cake to spawn on top of after placing the sign. Also, you can configure what the signs look like after they are setup in config.

    Make sure you have Vault and an economy plugin already present or else terrible things will happen.

    EDIT: Forgot to mention that the permissions are
    • cakeplacer.make
    • cakeplacer.destroy
    • cakeplacer.use
    Oops. :oops:

    EDIT 2: Fixed a tiny bug I missed where even normal signs gave "No permission!" errors. Updated file in the link. >.>
     
  11. Offline

    nathnana2002

    Ok thank you!!!
     

Share This Page