Fortune Cookie Gadget
1.18
Enjoy a sweet treat and wise words with this pretty fun gadget.
![[IMG]](/proxy/image?url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FH70MthA14SPuJY1PCQ%2Fgiphy.gif)
Features:
- Custom fortune item doesn't have to be a cookie.
- You can add your own fortunes.
- Configurable messages and sounds.
- Disable specific worlds.
- Item cooldown.
- Update Checker.
Commands:
- /fortunecookiegadget — The main command for Fortune Cookie Gadget.
- /fortunecookiegadget version — Retrieve version information of the plugin currently installed on your server.
- /fortunecookiegadget reload — Reload the plugin's configuration file.
Alias:
/fcg
Permissions:
- fortunecookiegadget.use — Allow the player to use the gadget.
- fortunecookiegadget.version — Allows access to use /fortunecookiegadget version command.
- fortunecookiegadget.reload — Allows access to use /fortunecookiegadget reload command.
Operators have all permissions by default.
Config:
Code (YAML):
Check-For-Updates
: true
Cost
: 0.0
# The cost per use of fortune cookie. This requires Vault and an economy plugin to be installed.
# For a list of all Minecraft materials: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
Item:
Give-On-Join
: true
Type
: COOKIE
Display-Name
:
"&aFortune Cookie Gadget &7(Right Click)"
Lore
:
-
"&7What's better than a"
-
"&7cookie? A cookie that gives"
-
"&7solid life advice! Enjoy a"
-
"&7sweet treat and wise words"
-
"&7with this Fortune Cookie"
-
"&7gadget."
Slot
: 4
Glow
: true
Disabled-Worlds
:
- world_nether
- world_the_end
Countdown-Messages:
'10':
Message
:
"&e{player}&f: Oh look, a cookie!"
Enable-Sound
: false
Sound
: ENTITY_VINDICATOR_AMBIENT
Volume
: 10.0
Pitch
: 1.0
'7':
Message
:
"&e{player}&f: That cookie was delicious!"
Enable-Sound
: true
Sound
: ENTITY_PLAYER_BURP
Volume
: 10.0
Pitch
: 1.0
'4':
Message
:
"&e{player}&f: But wait, there was a piece of paper in it! What does it say?"
Enable-Sound
: false
Sound
: ITEM_BOOK_PAGE_TURN
Volume
: 10.0
Pitch
: 1.0
# Placeholders:
#
# - Fortune: {fortune}
# - Cooldown: {player} {time}
# - Insufficient-Funds: {player} {cost}
# - No-Fortunes: None
# - No-Permission: None
Messages:
Fortune
:
"&eFortune Cookie&f: {fortune}"
Cooldown
:
"&cYou must wait another &e{time}s &cbefore using this!"
Insufficient-Funds
:
"&cYou have insufficient funds to use the fortune cookie &7(Required: &e{cost}&7)&c."
No-Fortunes
:
"&cThis cookie does not have any fortunes, maybe try another one?"
No-Permission
:
"&cYou have insufficient permissions to do this."
Fortunes
:
-
"If you think that nobody cares about you, try not paying your bills!"
-
"Strong people don't put others down. They lift them up and slam them on the ground for maximum damage."
-
"Sometimes the best thing you can say is nothing at all."
-
"Love is telling someone to go to hell then worrying about them getting there safely."
-
"A mind is like a parachute - it doesn't work if it's not open."
-
"A balanced diet does not mean holding a cake in each hand!"
-
"The universe contains protons, neutrons, electrons and morons."
-
"The fortune you seek is inside another cookie."
-
"In a hairdressing shop with 2 hairdressers, choose the one with the worst haircut."
-
"Why not make a new friend today? Add them with /friend!"
-
"You'll win that SkyWars game. Just keep trying until you succeed!"
-
"If there aren't any open doors, try a window. If there aren't any open windows, stop trying to break into my house!"
-
"Sell a man a fish, he'll eat for a day. Teach a man to fish, you'll lose a customer!"
-
"If at first you don't succeed, skydiving is not the sport for you!"
-
"Always eat your tacos over a tortilla. That way if stuff spills out, you have another taco!"
-
"Make someone else's day by being a good sport, and somebody will make yours!"
-
"You started out with nothing, and you still have most of it."
-
"Improve your memory by doing unforgettable things."
-
"Relationships are like algebra. You look at your X and wonder Y?"
-
"Tomorrow, take a left turn. Then a right turn. Then another left turn. You have now reached your destination."
-
"If you're not happy where you are, take a few steps to the left. If you're still not happy then we cannot help you."
- "There are three kinds of people in the world
: those who can count, and those who can't.
"
- "If you're not supposed to eat after dark, why is there a light in the refrigerator?
"
- "Help! I am being held prisoner in the server fortune cookie factory! Please send help for me!
"
- "If you push hard enough you can get through
any obstacle - except a door marked \
"pull\"!
"
- "How much deeper would the ocean be without sea sponges?
"
- "Don't worry if Plan A fails - the alphabet has 25 more letters!
"
- "Only listen to advice gained from cookies - do not trust other fortune-telling foods!
"
- "Change your password to \
"incorrect\". That way if you forget it, your computer will tell you what it is!
"
- "Some of us learn from the mistakes of others; the rest are others.
"
- "When life gives you lemons, make lemonade. When life gives you limes, throw the limes out the window and buy some damn lemonade!
"
- "In case of fire, exit the building BEFORE posting about it on the forums!
"
- "Take regular breaks from playing - it's good for your health!
"
- "Disregard
all previous fortunes.
"
- "When people say they've been to
all four corners of the globe, where are they talking about? The globe doesn't have corners!
"
- "If you don't want someone to ask you to do something again, do it terribly the first time!
"
- "The next sentence is a lie. The previous sentence is the truth.
"
- "If you forget what you look like, just look into a mirror. If the mirror doesn't look back, it's a window!
"
- "If Mom says
no, ask Dad!
"
- "Do it! Just do it! Don't let your dreams be dreams, just do it!
"
- "34
% of statistics found on the internet are completely made up!"
-
"Life is like a box of chocolates. Some people are soft-centered, some are tough and chewy, and a few are just plain nuts!"
-
"The early bird gets the worm, but that's gross who would want a worm???"
-
"Money talks; it usually says goodbye."
-
"If you need to get your family's attention, just turn off the WiFi for a minute!"
If you have issues please do NOT post them as a review, please use the discussion page or feel free to PM me.
Enjoy!