[INACTIVE][GEN] CelthixGift v0.2 - Bless your players with a timed, and randomized gift. [740]

Discussion in 'Inactive/Unsupported Plugins' started by vaiquero, May 9, 2011.

  1. Offline

    vaiquero

    CelthixGift - Bless your players with a timed gift.:
    Version: v0.2

    What this plugin does is allow you to give a unique gift to each and one of your beloved online players every hour or so (configurable). The configuration file is very flexible as all you have to do is modify the gift item list, the gift message, and the gift's quantity. It is very simple right now and follows off Bukkit's scheduler, the default time is about 5 minutes. There are no commands available, and I am free to suggestions on what I should add or modify to this plugin.

    Features:
    * Completely random selection of items and quantity in list.
    * Scheduled event of gifting with a configurable delay.
    * Lightweight, no excess features added.
    * Give a happy thought to players with a customizable gift message.
    * iConomy 5.0 Support

    <Edit by Moderator: Redacted mediafire url>
    Source Code coming soon.

    Changelog:
    Version 0.2
    * Added in iConomy Support
    * Updated configuration

    Version 0.1
    * Initial release of CelthixGift
     
    Last edited by a moderator: Dec 14, 2016
  2. Offline

    Lookatmego

  3. Offline

    vaiquero

    Thanks, I am hoping you got any words of advice or suggestions =).

    I am also open to plugin requests since I got tons of free time.
     
  4. Offline

    Lookatmego

    hm would be cool if you could make it so it drops the items in a chest somewhere and gives players cord like a quest for the items
     
  5. Offline

    vaiquero

    Well, this is more of a gifting plugin than a quest plugin. Your suggestion is possible, however if the chest is scattered, it would be too hard to find.
     
  6. Offline

    thecoolwolf

    it already exist one of those. i used it on my server for a while but i don't remember the name of it though:(
     
  7. Offline

    m5k

    iConomy support please. I wish to be able to grant money to a player every 60 minutes.
     
  8. Offline

    vaiquero

    The next version is up! iConomy 5.0 support is added and you can now give a hourly gift with some cash =).
     
  9. Offline

    thecoolwolf

    you can already do this with iconomy itself^^'' just check config
     
  10. Offline

    Bonkerz

    a command for test my new config will be great, something like "/giftgive"
     
  11. Offline

    vaiquero

    What exactly do you mean by that, do you mean a persistant configuration and an ingame gift item list editor? Or..?
     
  12. Offline

    TimeDeatH

    Thanks for taking in my request! I'm looking forward to using this on my server.

    Edit: I tried it with default configuration and it worked fine, but when I edited the config file to add more blocks, the server kept spitting an error at me.

    Config:

    Code:
    gift:
        message: '[Gift] Thank you for playing our server, have a gift!'
        choice: 1,3,4,5,6,12,13,14,15,17,20,22,23,24,25,27,28,35,37,38,39,40,41,42,44,45,47,48,50,53,54,57,58,61,65,66,67,69,70,72,76,77,80,81,82,84,85,86,87,88,89,91,256,257,258,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,327,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,2256,2257    useIconomy: 'false'
        iconomyAmount: '0'
        delay: '5000'
        maxquantity: '3'
    
    and heres what the server tells me:

    Edit2: I solved it, when looking at the above code. Notepad doesn't like YAML format, so I just used wordpad to fix the mistake and now it works :D
     
  13. Offline

    Taranis01

    Hello vaiquero,

    how can i disable the plugin by config? i just tried to set all lines to commentlines (with #), but got error messages spamming my logfile up to 20Mb :D

    and how to add a new gift?
    Show Spoiler
    gift:
    message: '[Gift] Thank you for playing our server, have a gift!'
    choice: 1
    useIconomy: 'false'
    iconomyAmount: '0'
    delay: '50000000'
    maxquantity: '1'

    gift1:
    message: '[Gift] Thank you for playing our server, have a gift!'
    choice: 1
    useIconomy: 'false'
    iconomyAmount: '0'
    delay: '50000000'
    maxquantity: '1'

    or this way:
    Show Spoiler
    gift:
    message: '[Gift] Thank you for playing our server, have a gift!'
    choice: 1
    useIconomy: 'false'
    iconomyAmount: '0'
    delay: '50000000'
    maxquantity: '1'

    message: '[Gift] Thank you for playing our server, have a gift!'
    choice: 1
    useIconomy: 'false'
    iconomyAmount: '0'
    delay: '50000000'
    maxquantity: '1'


    thank you
     
  14. Offline

    TimeDeatH

    To add different types of gifts, you must put in the data values for the items in the choice part, example:
    choice: 1,2,3,4,5
    This will give me grass, stone,dirt,cobblestone, or a wooden plank (random of course).
    Here is all the item data values: http://www.minecraftwiki.net/wiki/Data_values#Block_IDs

    edit: also with that delay setup, you will get 1 gift every 83 hours... the conversion is: 1000 = 1 minute

    I think a command to opt out of getting drops would be useful for OPs, because they can already get any item they'd like.
     
  15. Offline

    Taranis01

    okey, looks like the thing i wanted is not possible...so:

    REQ:
    - different Gifts (= with different giftmessages, delays,....all different!)
    - Permissions support ( different Gifts for different Groups)
    - a feature for a random choice (like it is already) and for a defined choice.
    for ex:
    where X:Y:d means:
    X = ID
    Y = quantity
    d = its defined, u will get it every time

    or:
     
  16. Offline

    vaiquero

    Hmph, that seems to complicate it a bit more, I will try add that in when I finish setting up my dedicated server,
     
  17. Offline

    Taranis01

    yeah, i would love it :)
     
  18. Offline

    Plague

    Please update to latest recommended CB
     
  19. Offline

    Taranis01

    it works with CB766!
     
  20. Offline

    Plague

    that's beside the point
     
  21. Offline

    Juze

    @vaiquero : Please test against latest RB or considered inactive.
     
  22. Offline

    Taranis01

    @vaiquero
    will you carry on celthixgift? if not pls tell it so someone can fork it :)
     
  23. Offline

    Plague

    inactive then
     

Share This Page