Script Idea

Home Forums General Script Idea

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1969
    Encryptic
    Member

    So I started wondering about something.

    It seems to frequently occur that people take a lot more food than they need from the free chest. Would it be possible to write a script that hits the person who takes more than 64 melons out of the chest gets struck down by lightning?

    #1971
    PseudoKnight
    Member

    Not with CH yet, though that’s planned. You could do a plugin, but that’s awful specific (3 chests) for a full plugin, imo. If PhysicalShop had a cooldown, that’d be cool. Not sure if there’s room, though. I could add a separate CH script to handle the cooldown, which might be more versatile for other situations.

    #1973
    Cannibilly
    Member

    what about script that gives you a token, and then you make the chest likes the store that only takes those tokens. Then Im not sure if it would work but those token and be given when you first log in every few days or so or how ever you want to let people get free food.

    #1980
    PseudoKnight
    Member

    That’s similar to a cooldown, which technically we can already do with phatloots, but it SPAWNS items and I don’t want that. The problem is I’d want to be able to handle chest events, and I just can’t do that yet with CH. I could store the items in a database, but where’s the fun in that. Maybe I’ll just do it all in redstone and dispensers. 🙂

    I still like the idea of a cooldown for PhysicalShop, but maybe I’m thinking about alternative uses too much. I’d like the ability to prevent people from buying out my whole stock — “limit 1 per customer” type of deal.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General’ is closed to new topics and replies.